From c4241e32214c65254684e774cd59f97b6fd7422f Mon Sep 17 00:00:00 2001 From: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> Date: Fri, 25 Sep 2020 04:31:10 -0700 Subject: [PATCH 01/71] Added more docstring context and sample code for `receive_messages()` (#13789) * added docs and a sample code * uncommented * added better docstrings * changed sample * changed docstrings --- .../azure/storage/queue/_queue_client.py | 11 +++++ .../storage/queue/aio/_queue_client_async.py | 2 + .../samples/queue_samples_message.py | 40 +++++++++++++++++-- 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py index f8e626370263..56f4207b2a75 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py @@ -500,6 +500,17 @@ def receive_messages(self, **kwargs): messages to retrieve from the queue, up to a maximum of 32. If fewer are visible, the visible messages are returned. By default, a single message is retrieved from the queue with this operation. + `by_page()` can be used to provide a page iterator on the AsyncItemPaged if messages_per_page is set. + `next()` can be used to get the next page. + .. admonition:: Example: + + .. literalinclude:: ../samples/queue_samples_message.py + :start-after: [START receive_messages_listing] + :end-before: [END receive_messages_listing] + :language: python + :dedent: 12 + :caption: List pages and corresponding messages from the queue. + :keyword int visibility_timeout: If not specified, the default value is 0. Specifies the new visibility timeout value, in seconds, relative to server time. diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py index 21e710554e2a..0bf0b9076763 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py @@ -419,6 +419,8 @@ def receive_messages(self, **kwargs): messages to retrieve from the queue, up to a maximum of 32. If fewer are visible, the visible messages are returned. By default, a single message is retrieved from the queue with this operation. + `by_page()` can be used to provide a page iterator on the AsyncItemPaged if messages_per_page is set. + `next()` can be used to get the next page. :keyword int visibility_timeout: If not specified, the default value is 0. Specifies the new visibility timeout value, in seconds, relative to server time. diff --git a/sdk/storage/azure-storage-queue/samples/queue_samples_message.py b/sdk/storage/azure-storage-queue/samples/queue_samples_message.py index 9b5ab659b05c..f5c72c54a120 100644 --- a/sdk/storage/azure-storage-queue/samples/queue_samples_message.py +++ b/sdk/storage/azure-storage-queue/samples/queue_samples_message.py @@ -146,7 +146,7 @@ def send_and_receive_messages(self): # Delete the queue queue.delete_queue() - def delete_and_clear_messages(self): + def list_message_pages(self): # Instantiate a queue client from azure.storage.queue import QueueClient queue = QueueClient.from_connection_string(self.connection_string, "myqueue4") @@ -154,6 +154,39 @@ def delete_and_clear_messages(self): # Create the queue queue.create_queue() + try: + queue.send_message(u"message1") + queue.send_message(u"message2") + queue.send_message(u"message3") + queue.send_message(u"message4") + queue.send_message(u"message5") + queue.send_message(u"message6") + + # [START receive_messages_listing] + # Store two messages in each page + message_batches = queue.receive_messages(messages_per_page=2).by_page() + + # Iterate through the page lists + print(list(next(message_batches))) + print(list(next(message_batches))) + + # There are two iterations in the last page as well. + last_page = next(message_batches) + for message in last_page: + print(message) + # [END receive_messages_listing] + + finally: + queue.delete_queue() + + def delete_and_clear_messages(self): + # Instantiate a queue client + from azure.storage.queue import QueueClient + queue = QueueClient.from_connection_string(self.connection_string, "myqueue5") + + # Create the queue + queue.create_queue() + try: # Send messages queue.send_message(u"message1") @@ -181,7 +214,7 @@ def delete_and_clear_messages(self): def peek_messages(self): # Instantiate a queue client from azure.storage.queue import QueueClient - queue = QueueClient.from_connection_string(self.connection_string, "myqueue5") + queue = QueueClient.from_connection_string(self.connection_string, "myqueue6") # Create the queue queue.create_queue() @@ -213,7 +246,7 @@ def peek_messages(self): def update_message(self): # Instantiate a queue client from azure.storage.queue import QueueClient - queue = QueueClient.from_connection_string(self.connection_string, "myqueue6") + queue = QueueClient.from_connection_string(self.connection_string, "myqueue7") # Create the queue queue.create_queue() @@ -245,6 +278,7 @@ def update_message(self): sample.set_access_policy() sample.queue_metadata() sample.send_and_receive_messages() + sample.list_message_pages() sample.delete_and_clear_messages() sample.peek_messages() sample.update_message() From 046e1926e18c88444e3f9dceadcd44d510787145 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 25 Sep 2020 11:42:19 -0700 Subject: [PATCH 02/71] Replace docstring code blocks with literalincludes (#13948) --- .../azure/keyvault/keys/crypto/_client.py | 127 +++----- .../azure/keyvault/keys/crypto/aio/_client.py | 127 +++----- ..._examples_crypto.test_encrypt_decrypt.yaml | 270 ++++++++++++++++-- ...ypto_async.test_encrypt_decrypt_async.yaml | 68 +++-- .../tests/test_examples_crypto.py | 47 ++- .../tests/test_examples_crypto_async.py | 43 ++- 6 files changed, 424 insertions(+), 258 deletions(-) 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 361d2c13af61..c75d0089bb8b 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 @@ -40,23 +40,12 @@ class CryptographyClient(KeyVaultClientBase): :keyword transport: transport to use. Defaults to :class:`~azure.core.pipeline.transport.RequestsTransport`. :paramtype transport: ~azure.core.pipeline.transport.HttpTransport - Creating a ``CryptographyClient``: - - .. code-block:: python - - from azure.identity import DefaultAzureCredential - from azure.keyvault.keys.crypto import CryptographyClient - - credential = DefaultAzureCredential() - - # create a CryptographyClient using a KeyVaultKey instance - key = key_client.get_key("mykey") - crypto_client = CryptographyClient(key, credential) - - # or a key's id, which must include a version - key_id = "https://.vault.azure.net/keys/mykey/fe4fdcab688c479a9aa80f01ffeac26" - crypto_client = CryptographyClient(key_id, credential) - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START create_client] + :end-before: [END create_client] + :caption: Create a CryptographyClient + :language: python + :dedent: 8 """ def __init__(self, key, credential, **kwargs): @@ -126,18 +115,12 @@ def encrypt(self, algorithm, plaintext, **kwargs): :param bytes plaintext: bytes to encrypt :rtype: :class:`~azure.keyvault.keys.crypto.EncryptResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import EncryptionAlgorithm - - # the result holds the ciphertext and identifies the encryption key and algorithm used - result = client.encrypt(EncryptionAlgorithm.rsa_oaep, b"plaintext") - ciphertext = result.ciphertext - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START encrypt] + :end-before: [END encrypt] + :caption: Encrypt bytes + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.encrypt, algorithm): @@ -169,15 +152,12 @@ def decrypt(self, algorithm, ciphertext, **kwargs): :param bytes ciphertext: encrypted bytes to decrypt :rtype: :class:`~azure.keyvault.keys.crypto.DecryptResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import EncryptionAlgorithm - - result = client.decrypt(EncryptionAlgorithm.rsa_oaep, ciphertext) - print(result.plaintext) - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START decrypt] + :end-before: [END decrypt] + :caption: Decrypt bytes + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.decrypt, algorithm): @@ -206,18 +186,12 @@ def wrap_key(self, algorithm, key, **kwargs): :param bytes key: key to wrap :rtype: :class:`~azure.keyvault.keys.crypto.WrapResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import KeyWrapAlgorithm - - # the result holds the encrypted key and identifies the encryption key and algorithm used - result = client.wrap_key(KeyWrapAlgorithm.rsa_oaep, key_bytes) - encrypted_key = result.encrypted_key - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START wrap_key] + :end-before: [END wrap_key] + :caption: Wrap a key + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.wrap_key, algorithm): @@ -247,15 +221,12 @@ def unwrap_key(self, algorithm, encrypted_key, **kwargs): :param bytes encrypted_key: the wrapped key :rtype: :class:`~azure.keyvault.keys.crypto.UnwrapResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import KeyWrapAlgorithm - - result = client.unwrap_key(KeyWrapAlgorithm.rsa_oaep, wrapped_bytes) - key = result.key - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START unwrap_key] + :end-before: [END unwrap_key] + :caption: Unwrap a key + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.unwrap_key, algorithm): @@ -283,23 +254,12 @@ def sign(self, algorithm, digest, **kwargs): :param bytes digest: hashed bytes to sign :rtype: :class:`~azure.keyvault.keys.crypto.SignResult` - Example: - - .. code-block:: python - - import hashlib - from azure.keyvault.keys.crypto import SignatureAlgorithm - - digest = hashlib.sha256(b"plaintext").digest() - - # sign returns a tuple with the signature and the metadata required to verify it - result = client.sign(SignatureAlgorithm.rs256, digest) - - # the result contains the signature and identifies the key and algorithm used - signature = result.signature - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START sign] + :end-before: [END sign] + :caption: Sign bytes + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.sign, algorithm): @@ -331,15 +291,12 @@ def verify(self, algorithm, digest, signature, **kwargs): :param bytes signature: signature to verify :rtype: :class:`~azure.keyvault.keys.crypto.VerifyResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import SignatureAlgorithm - - verified = client.verify(SignatureAlgorithm.rs256, digest, signature) - assert verified.is_valid - + .. literalinclude:: ../tests/test_examples_crypto.py + :start-after: [START verify] + :end-before: [END verify] + :caption: Verify a signature + :language: python + :dedent: 8 """ self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.verify, algorithm): 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 408b11619d4e..487611ad3b5c 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 @@ -39,23 +39,12 @@ class CryptographyClient(AsyncKeyVaultClientBase): :keyword transport: transport to use. Defaults to :class:`~azure.core.pipeline.transport.AioHttpTransport`. :paramtype transport: ~azure.core.pipeline.transport.AsyncHttpTransport - Creating a ``CryptographyClient``: - - .. code-block:: python - - from azure.identity.aio import DefaultAzureCredential - from azure.keyvault.keys.crypto.aio import CryptographyClient - - credential = DefaultAzureCredential() - - # create a CryptographyClient using a KeyVaultKey instance - key = await key_client.get_key("mykey") - crypto_client = CryptographyClient(key, credential) - - # or a key's id, which must include a version - key_id = "https://.vault.azure.net/keys/mykey/fe4fdcab688c479a9aa80f01ffeac26" - crypto_client = CryptographyClient(key_id, credential) - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START create_client] + :end-before: [END create_client] + :caption: Create a CryptographyClient + :language: python + :dedent: 8 """ def __init__(self, key: "Union[KeyVaultKey, str]", credential: "AsyncTokenCredential", **kwargs: "Any") -> None: @@ -121,18 +110,12 @@ async def encrypt(self, algorithm: "EncryptionAlgorithm", plaintext: bytes, **kw :param bytes plaintext: bytes to encrypt :rtype: :class:`~azure.keyvault.keys.crypto.EncryptResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import EncryptionAlgorithm - - # the result holds the ciphertext and identifies the encryption key and algorithm used - result = client.encrypt(EncryptionAlgorithm.rsa_oaep, b"plaintext") - ciphertext = result.ciphertext - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START encrypt] + :end-before: [END encrypt] + :caption: Encrypt bytes + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.encrypt, algorithm): @@ -163,15 +146,12 @@ async def decrypt(self, algorithm: "EncryptionAlgorithm", ciphertext: bytes, **k :param bytes ciphertext: encrypted bytes to decrypt :rtype: :class:`~azure.keyvault.keys.crypto.DecryptResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import EncryptionAlgorithm - - result = await client.decrypt(EncryptionAlgorithm.rsa_oaep, ciphertext) - print(result.plaintext) - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START decrypt] + :end-before: [END decrypt] + :caption: Decrypt bytes + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.decrypt, algorithm): @@ -199,18 +179,12 @@ async def wrap_key(self, algorithm: "KeyWrapAlgorithm", key: bytes, **kwargs: "A :param bytes key: key to wrap :rtype: :class:`~azure.keyvault.keys.crypto.WrapResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import KeyWrapAlgorithm - - # the result holds the encrypted key and identifies the encryption key and algorithm used - result = await client.wrap_key(KeyWrapAlgorithm.rsa_oaep, key_bytes) - encrypted_key = result.encrypted_key - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START wrap_key] + :end-before: [END wrap_key] + :caption: Wrap a key + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.wrap_key, algorithm): @@ -239,15 +213,12 @@ async def unwrap_key(self, algorithm: "KeyWrapAlgorithm", encrypted_key: bytes, :param bytes encrypted_key: the wrapped key :rtype: :class:`~azure.keyvault.keys.crypto.UnwrapResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import KeyWrapAlgorithm - - result = await client.unwrap_key(KeyWrapAlgorithm.rsa_oaep, wrapped_bytes) - key = result.key - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START unwrap_key] + :end-before: [END unwrap_key] + :caption: Unwrap a key + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.unwrap_key, algorithm): @@ -275,23 +246,12 @@ async def sign(self, algorithm: "SignatureAlgorithm", digest: bytes, **kwargs: " :param bytes digest: hashed bytes to sign :rtype: :class:`~azure.keyvault.keys.crypto.SignResult` - Example: - - .. code-block:: python - - import hashlib - from azure.keyvault.keys.crypto import SignatureAlgorithm - - digest = hashlib.sha256(b"plaintext").digest() - - # sign returns a tuple with the signature and the metadata required to verify it - result = await client.sign(SignatureAlgorithm.rs256, digest) - - # the result contains the signature and identifies the key and algorithm used - signature = result.signature - print(result.key_id) - print(result.algorithm) - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START sign] + :end-before: [END sign] + :caption: Sign bytes + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.sign, algorithm): @@ -324,15 +284,12 @@ async def verify( :param bytes signature: signature to verify :rtype: :class:`~azure.keyvault.keys.crypto.VerifyResult` - Example: - - .. code-block:: python - - from azure.keyvault.keys.crypto import SignatureAlgorithm - - verified = await client.verify(SignatureAlgorithm.rs256, digest, signature) - assert verified.is_valid - + .. literalinclude:: ../tests/test_examples_crypto_async.py + :start-after: [START verify] + :end-before: [END verify] + :caption: Verify a signature + :language: python + :dedent: 8 """ await self._initialize(**kwargs) if self._local_provider.supports(KeyOperation.verify, algorithm): diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto.test_encrypt_decrypt.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto.test_encrypt_decrypt.yaml index ed4c596cc339..830a057b3958 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto.test_encrypt_decrypt.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto.test_encrypt_decrypt.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/create?api-version=7.1 response: @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 29 Jul 2020 16:12:46 GMT + - Tue, 22 Sep 2020 19:28:06 GMT expires: - '-1' pragma: @@ -43,16 +43,112 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: - - 1.1.10.0 + - 1.1.60.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '1651' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 19:28:06 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AlwvbNgef3xIsX85sWhxB-Y; expires=Thu, 22-Oct-2020 19:28:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZI112Co59HUdRlj5l1FjYL-GtWT5odHazVkTgmKjeSpjwk6V6pXsTlY40aysRxzvmAVRu_DKStNsypFc3-cn-EZx2qwe6p0iGDREnfdZw21bK2qZ2gqqSpYf1-WmfY-s7sIBMqYABiSD30KTXPGKjkVGWcz7FFSMBlW6UBi4KLydsgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11063.12 - WUS2 ProdSlices + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - stsservicecookie=estsfd; fpc=AlwvbNgef3xIsX85sWhxB-Y; x-ms-gateway-slice=estsfd; + esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZI112Co59HUdRlj5l1FjYL-GtWT5odHazVkTgmKjeSpjwk6V6pXsTlY40aysRxzvmAVRu_DKStNsypFc3-cn-EZx2qwe6p0iGDREnfdZw21bK2qZ2gqqSpYf1-WmfY-s7sIBMqYABiSD30KTXPGKjkVGWcz7FFSMBlW6UBi4KLydsgAA + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '945' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 19:28:06 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AlwvbNgef3xIsX85sWhxB-Y; expires=Thu, 22-Oct-2020 19:28:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=prod; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11063.12 - WUS2 ProdSlices + status: + code: 200 + message: OK - request: body: '{"kty": "RSA"}' headers: @@ -67,12 +163,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/create?api-version=7.1 response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/96ec6cf1a63b47309ea6461a9732f90e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pmPK6ag96sTZwpT7p2swqy6uP36ZKkhx5PQV0FzLoYs6lMfi1aQqfvbWKev-cW4bagUX6ifwV9BAiCyowDNcPPwB7hs7NbQCZh4nbqkItyKWj7dtjnJ_9uLQHACwhArsqm1kSBx7I-PjmxJMHLcQDCMxbrp8EgA-gbceU36SrWi7eWoEBmdJt4qbX18_84oUk8L5GWclyTRsj7V6zLJW27RKnY8kF_kKk2M1bKvwg8CVyhtNDukUQtRjg-Vk-yDH1WmA1F3rGI9t2pAePB_swuHEKyQ0-IgR1sGtQH1DFxy4zW8_pIvf_0f0QfZKtxKWb9AiqAp03ppzSFUoCbrtSw","e":"AQAB"},"attributes":{"enabled":true,"created":1596039167,"updated":1596039167,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/59f0b0cc3d5b4050a718effceaf012d4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ymr7cgYciYY7XkdJ882XMFcDGDp3SJt5jBMZc0af7Spm_x7L5E_NNHUXdfiMAFd0gz6XPsh5wRS9K4i7fJ8SM_aPm2VZWakqbBLv4BCXHZAxwPITUDZl9rU16v848zt-Ou-5cN17J-V1M6-xa-Yn0wgVFQ58zKpZl8jaLlXXC8JUSgWbvMJgNHt79zTE5821iIzwugCqiNacTYb3u8JJ-TlkKC4eoJ-QyLOFRL3RGXa7Ilpf0rXkc1mU59p8ZFgbHImHrhBWqOqOJPymQ9nVh7pjKz0wCDCkL-IQzdD_JfYQFNMnOiXBhYeDf2jzUWKOIE7k9p1V8KEBBRLU5HQwoQ","e":"AQAB"},"attributes":{"enabled":true,"created":1600802887,"updated":1600802887,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -81,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 29 Jul 2020 16:12:47 GMT + - Tue, 22 Sep 2020 19:28:07 GMT expires: - '-1' pragma: @@ -93,18 +189,160 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: - - 1.1.10.0 + - 1.1.60.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP", "value": "gn4VUa0qnLXkLv9OOjSRlhU4bisRJ2HI0rFApAI3w5ZJJaz7B9OznJr7X7igP2hlzOTI2_VLc0VkQnAH9-QGGp5xmMfD4N8GspAe_Y5omR8uB62VuwkXEfVi9BJT_pVFq382_B1a1iQMh5KgZQeNK5TptNg7JkxOgvFBAQc-E55KnPyyWSv6WKkg6MYEgyW2RIEZiqVJR7sJ0bg_WGvAIhxp8I_ZPk7ztGBoge3RBF1hWRfnMlI9pPl0Y6enVN2AynZOZoztbLugFC2zWnpn_-KNfPdDWIrdxvX2306lnUdCBMpQfgaTYxulV7pB7P4q3jlsNfVnuj2W53FQyoZNsg"}' + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/?api-version=7.1 + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/59f0b0cc3d5b4050a718effceaf012d4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ymr7cgYciYY7XkdJ882XMFcDGDp3SJt5jBMZc0af7Spm_x7L5E_NNHUXdfiMAFd0gz6XPsh5wRS9K4i7fJ8SM_aPm2VZWakqbBLv4BCXHZAxwPITUDZl9rU16v848zt-Ou-5cN17J-V1M6-xa-Yn0wgVFQ58zKpZl8jaLlXXC8JUSgWbvMJgNHt79zTE5821iIzwugCqiNacTYb3u8JJ-TlkKC4eoJ-QyLOFRL3RGXa7Ilpf0rXkc1mU59p8ZFgbHImHrhBWqOqOJPymQ9nVh7pjKz0wCDCkL-IQzdD_JfYQFNMnOiXBhYeDf2jzUWKOIE7k9p1V8KEBBRLU5HQwoQ","e":"AQAB"},"attributes":{"enabled":true,"created":1600802887,"updated":1600802887,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '711' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 19:28:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - westus + x-ms-keyvault-service-version: + - 1.1.60.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '1651' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 19:28:07 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AtKlaP0vFjhFjWQ7A5HppHc; expires=Thu, 22-Oct-2020 19:28:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZINOhJQTcmi8BrSF6cdviSQygEu3yolIp7Meg2qoGsD4GMEJwEsy9g8nKKWRpqqg07st8C81HTSo4en40UYb5iyoV-6uHORtcauILpxHCE0kWB8FHF9lUa7y-rnSmk09tXgO46t6L1jlx8CIb6rBl0at_ZHntO-25gwT7u8duxqyEgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11063.12 - WUS2 ProdSlices + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - stsservicecookie=estsfd; fpc=AtKlaP0vFjhFjWQ7A5HppHc; x-ms-gateway-slice=estsfd; + esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZINOhJQTcmi8BrSF6cdviSQygEu3yolIp7Meg2qoGsD4GMEJwEsy9g8nKKWRpqqg07st8C81HTSo4en40UYb5iyoV-6uHORtcauILpxHCE0kWB8FHF9lUa7y-rnSmk09tXgO46t6L1jlx8CIb6rBl0at_ZHntO-25gwT7u8duxqyEgAA + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '945' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 19:28:07 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=AtKlaP0vFjhFjWQ7A5HppHc; expires=Thu, 22-Oct-2020 19:28:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=prod; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11063.12 - WUS2 ProdSlices + status: + code: 200 + message: OK +- request: + body: '{"alg": "RSA-OAEP", "value": "SkqtWNQmT4ynwSV7IRBVR7DIEolC-uLI34GLhX4qUwHvtOgSSWwYLnJUi5w2lY9fTr4xc-TOoo4W0LZGWBNWTVx2Dk_9F_vWNlvVYYgYKciMHEcAzixDl640bE9RBxRdRpPgomh-T6ZuLyU5ysQEIuB3Sa7ROJdUg49MesjY0qF1gaWGlGLqXt0tYOVUyCgKciooAeCvkoMlvcwxCMQZOUwQB2xuNKniYvUoukduvLr6kvvIpGeH9rXtJtEeN34ixb-0vPsvQ7OUQ3e8ufaO5D21FEN8rYHz_ncNTkuYI1-Gk6TMiiZd9Yu_3iJ5pDSyBtRwXr6J7caIdtdoxOl4WQ"}' headers: Accept: - application/json @@ -117,12 +355,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/96ec6cf1a63b47309ea6461a9732f90e/decrypt?api-version=7.1 + uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/59f0b0cc3d5b4050a718effceaf012d4/decrypt?api-version=7.1 response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/96ec6cf1a63b47309ea6461a9732f90e","value":"cGxhaW50ZXh0"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key67c4112b/59f0b0cc3d5b4050a718effceaf012d4","value":"cGxhaW50ZXh0"}' headers: cache-control: - no-cache @@ -131,7 +369,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 29 Jul 2020 16:12:48 GMT + - Tue, 22 Sep 2020 19:28:07 GMT expires: - '-1' pragma: @@ -143,11 +381,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: - - 1.1.10.0 + - 1.1.60.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto_async.test_encrypt_decrypt_async.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto_async.test_encrypt_decrypt_async.yaml index 2a62ff902b88..a2424e9f654b 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto_async.test_encrypt_decrypt_async.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_examples_crypto_async.test_encrypt_decrypt_async.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 response: @@ -20,7 +20,7 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Wed, 29 Jul 2020 16:12:42 GMT + date: Tue, 22 Sep 2020 19:28:07 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains @@ -28,14 +28,14 @@ interactions: resource="https://vault.azure.net" x-aspnet-version: 4.0.30319 x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + x-ms-keyvault-network-info: conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.10.0 + x-ms-keyvault-service-version: 1.1.60.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://tedxav4nlf76in6rmu4uqkft.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 + url: https://uwasldanaxd7ilup6xz7i362.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 - request: body: '{"kty": "RSA"}' headers: @@ -46,32 +46,62 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/69c1397af1e54dc6aa6b1686c3f87dce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oh-baN6Z88m0DXV4aIOFQG85nlR4cGsRp-G1QkiVkSsVenMbtyziRlLpuIklJG-63235gfYKjWk27yWxMbki1DGMktGQQXYD3Yc6cyii7-z9XGsWFBYd0HfqMj7YYC4FaCFc9o-PqRSZdPe647n30gN34dAmc7b-5u9kTU1vM4-uMUGVu9MGYq4PJpFU2VK-YsCdt3HD38zrPkY-arMVROaU12OrAMu_CEloy6kKngKEK04CSuiaz3SfC_JeNphOQxIQQ_ULlw9Q0zPoPJITqe3xXj_21s1HhMyzPgPBUyVe1uLK7P0HpclJnMzt8lU5K7GcljTQz6GIaNGm-03NEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1596039163,"updated":1596039163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/8393c9879c8e41eda1f540b72f079bcc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qDF9NF5qKFBryCWvn7fMEExkmLoOHttqG33VoPfJkziHitFy4TMzoNpm94Y5_OIKFtV5ZohntYgilQ8VdtQDGMjeTybOiMLbefsmIlrw5pUMGoCaRCkan6oYlnEkvHlDz7_el7oeKOOM6VPM7p4gdlVH5IhzXf8XYQXHKFyxC40L8Aj2UOwcgZ6QJOmq8BdERhyc1Tukx38JeJf1NbWlS5Q0jf3KAd6Eck64BdC-aXW7njj2pLdfguiMPUFeBskEfHfUy9B27dmm875u2Yzvg7RvRpj54R-XbilKjRdJ8kMTpuQmJHjAw_zb6kaXjzzwmW3KtuPUSX_Vm5sF76K7Pw","e":"AQAB"},"attributes":{"enabled":true,"created":1600802888,"updated":1600802888,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '711' content-type: application/json; charset=utf-8 - date: Wed, 29 Jul 2020 16:12:43 GMT + date: Tue, 22 Sep 2020 19:28:08 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains x-aspnet-version: 4.0.30319 x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + x-ms-keyvault-network-info: conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.10.0 + x-ms-keyvault-service-version: 1.1.60.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://tedxav4nlf76in6rmu4uqkft.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 + url: https://uwasldanaxd7ilup6xz7i362.vault.azure.net/keys/crypto-test-encrypt-key56281625/create?api-version=7.1 - request: - body: '{"alg": "RSA-OAEP", "value": "EjrGZRi_v9dZk4IEa9voPEY9BhcXmaoOnzxcnNrim-cHkrjdqbwLK0vc-6tywgh1rETNXvl_9HGNRovJX9MRgJLyVBmqWQZPhJ1fD8tvfveNA9DxWL6EKlHUz_roN6aKEcziSUBOCv4q3NosMYLGZsS3kgpVg1TM-fW6awoOSQWTa3tjmHVCtOjE09Wd_9uimZuRhd4vkdUaAsxHOqA4YIV5MAQe3k1gDR1SZQjjrIy_NcFqfBzX10H9prPgXLgaR84t5dPr4uv6IEx-E0yoohW15ay_UmCj-GwD-xfPj2YHt3Uhih9NnJqWIlvRINEf0IM_RVRFqhOh9VSgUzKHMQ"}' + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/?api-version=7.1 + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/8393c9879c8e41eda1f540b72f079bcc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qDF9NF5qKFBryCWvn7fMEExkmLoOHttqG33VoPfJkziHitFy4TMzoNpm94Y5_OIKFtV5ZohntYgilQ8VdtQDGMjeTybOiMLbefsmIlrw5pUMGoCaRCkan6oYlnEkvHlDz7_el7oeKOOM6VPM7p4gdlVH5IhzXf8XYQXHKFyxC40L8Aj2UOwcgZ6QJOmq8BdERhyc1Tukx38JeJf1NbWlS5Q0jf3KAd6Eck64BdC-aXW7njj2pLdfguiMPUFeBskEfHfUy9B27dmm875u2Yzvg7RvRpj54R-XbilKjRdJ8kMTpuQmJHjAw_zb6kaXjzzwmW3KtuPUSX_Vm5sF76K7Pw","e":"AQAB"},"attributes":{"enabled":true,"created":1600802888,"updated":1600802888,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '711' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 19:28:08 GMT + expires: '-1' + pragma: no-cache + strict-transport-security: max-age=31536000;includeSubDomains + x-aspnet-version: 4.0.30319 + x-content-type-options: nosniff + x-ms-keyvault-network-info: conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; + x-ms-keyvault-region: westus + x-ms-keyvault-service-version: 1.1.60.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://uwasldanaxd7ilup6xz7i362.vault.azure.net/keys/crypto-test-encrypt-key56281625/?api-version=7.1 +- request: + body: '{"alg": "RSA-OAEP", "value": "Ke5GRukmTUpUNJ9Xf2FtK2ftkHsKhV04fv9HKpCQ6-CLnPr8OpMd99hi6cLqRXd97tRmiPk3420oJm5wmDghU_oJYo4jQucpOWtBtGsv1ZLIC00K_1Q5MLcvGuGLp9ZvkNWW7ZGAFid-i20i1BGhCVPk98HV9G97jwgy-JJGYtgTSSNA6ha69Ia1e0m9SV4RjkXC9gpSypEIYqkei7reUCo8oYbMDHPcobUAvpvjFJS1KDpw0kfp7JSz6wr-mygm6QUuc9plQ2x-vUbDsqcRqsEX7wL2JtfWqymWog5k_n1Jf9nbJbr2vaKEC_odbkO2tDUFECMbhJdVpzMqLhpRpw"}' headers: Accept: - application/json @@ -80,28 +110,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/69c1397af1e54dc6aa6b1686c3f87dce/decrypt?api-version=7.1 + uri: https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/8393c9879c8e41eda1f540b72f079bcc/decrypt?api-version=7.1 response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/69c1397af1e54dc6aa6b1686c3f87dce","value":"cGxhaW50ZXh0"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/crypto-test-encrypt-key56281625/8393c9879c8e41eda1f540b72f079bcc","value":"cGxhaW50ZXh0"}' headers: cache-control: no-cache content-length: '151' content-type: application/json; charset=utf-8 - date: Wed, 29 Jul 2020 16:12:44 GMT + date: Tue, 22 Sep 2020 19:28:09 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains x-aspnet-version: 4.0.30319 x-content-type-options: nosniff - x-ms-keyvault-network-info: conn_type=Ipv4;addr=73.135.72.237;act_addr_fam=InterNetwork; + x-ms-keyvault-network-info: conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.10.0 + x-ms-keyvault-service-version: 1.1.60.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://tedxav4nlf76in6rmu4uqkft.vault.azure.net/keys/crypto-test-encrypt-key56281625/69c1397af1e54dc6aa6b1686c3f87dce/decrypt?api-version=7.1 + url: https://uwasldanaxd7ilup6xz7i362.vault.azure.net/keys/crypto-test-encrypt-key56281625/8393c9879c8e41eda1f540b72f079bcc/decrypt?api-version=7.1 version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto.py b/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto.py index 51b3243bd5b0..bd1356ab51f1 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto.py @@ -2,11 +2,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -import functools -import hashlib -import os - -from azure.keyvault.keys import KeyClient from azure.keyvault.keys.crypto import CryptographyClient from devtools_testutils import ResourceGroupPreparer, KeyVaultPreparer @@ -26,11 +21,21 @@ def __init__(self, *args, **kwargs): @CryptoClientPreparer() def test_encrypt_decrypt(self, key_client, credential, **kwargs): key_name = self.get_resource_name("crypto-test-encrypt-key") - key = key_client.create_rsa_key(key_name) + key_client.create_rsa_key(key_name) + + # [START create_client] + # create a CryptographyClient using a KeyVaultKey instance + key = key_client.get_key(key_name) + crypto_client = CryptographyClient(key, credential) + + # or a key's id, which must include a version + key_id = "https://.vault.azure.net/keys//fe4fdcab688c479a9aa80f01ffeac26" + crypto_client = CryptographyClient(key_id, credential) + # [END create_client] + client = CryptographyClient(key, credential) # [START encrypt] - from azure.keyvault.keys.crypto import EncryptionAlgorithm # the result holds the ciphertext and identifies the encryption key and algorithm used @@ -38,20 +43,15 @@ def test_encrypt_decrypt(self, key_client, credential, **kwargs): ciphertext = result.ciphertext print(result.key_id) print(result.algorithm) - # [END encrypt] # [START decrypt] - from azure.keyvault.keys.crypto import EncryptionAlgorithm result = client.decrypt(EncryptionAlgorithm.rsa_oaep, ciphertext) print(result.plaintext) - # [END decrypt] - pass - @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @CryptoClientPreparer() @@ -62,8 +62,7 @@ def test_wrap_unwrap(self, key_client, credential, **kwargs): key_bytes = b"5063e6aaa845f150200547944fd199679c98ed6f99da0a0b2dafeaf1f4684496fd532c1c229968cb9dee44957fcef7ccef59ceda0b362e56bcd78fd3faee5781c623c0bb22b35beabde0664fd30e0e824aba3dd1b0afffc4a3d955ede20cf6a854d52cfd" - # [START wrap] - + # [START wrap_key] from azure.keyvault.keys.crypto import KeyWrapAlgorithm # the result holds the encrypted key and identifies the encryption key and algorithm used @@ -71,16 +70,14 @@ def test_wrap_unwrap(self, key_client, credential, **kwargs): encrypted_key = result.encrypted_key print(result.key_id) print(result.algorithm) + # [END wrap_key] - # [END wrap] - - # [START unwrap] + # [START unwrap_key] from azure.keyvault.keys.crypto import KeyWrapAlgorithm result = client.unwrap_key(KeyWrapAlgorithm.rsa_oaep, encrypted_key) key = result.key - - # [END unwrap] + # [END unwrap_key] @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @@ -91,27 +88,21 @@ def test_sign_verify(self, key_client, credential, **kwargs): client = CryptographyClient(key, credential) # [START sign] - import hashlib from azure.keyvault.keys.crypto import SignatureAlgorithm digest = hashlib.sha256(b"plaintext").digest() - # sign returns a tuple with the signature and the metadata required to verify it + # sign returns the signature and the metadata required to verify it result = client.sign(SignatureAlgorithm.rs256, digest) - - # the result contains the signature and identifies the key and algorithm used print(result.key_id) print(result.algorithm) signature = result.signature - # [END sign] # [START verify] - from azure.keyvault.keys.crypto import SignatureAlgorithm - verified = client.verify(SignatureAlgorithm.rs256, digest, signature) - assert verified.is_valid - + result = client.verify(SignatureAlgorithm.rs256, digest, signature) + assert result.is_valid # [END verify] diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto_async.py index 47111080ee92..53cdd146078f 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto_async.py @@ -2,11 +2,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -import functools -import hashlib -import os - -from azure.keyvault.keys.aio import KeyClient from azure.keyvault.keys.crypto.aio import CryptographyClient from devtools_testutils import ResourceGroupPreparer, KeyVaultPreparer from _shared.test_case_async import KeyVaultTestCase @@ -25,32 +20,37 @@ def __init__(self, *args, **kwargs): @CryptoClientPreparer() async def test_encrypt_decrypt_async(self, key_client, credential, **kwargs): key_name = self.get_resource_name("crypto-test-encrypt-key") - key = await key_client.create_rsa_key(key_name) + await key_client.create_rsa_key(key_name) + + # [START create_client] + # create a CryptographyClient using a KeyVaultKey instance + key = await key_client.get_key(key_name) + crypto_client = CryptographyClient(key, credential) + + # or a key's id, which must include a version + key_id = "https://.vault.azure.net/keys//fe4fdcab688c479a9aa80f01ffeac26" + crypto_client = CryptographyClient(key_id, credential) + # [END create_client] + client = CryptographyClient(key, credential) # [START encrypt] - from azure.keyvault.keys.crypto import EncryptionAlgorithm - # encrypt returns a tuple with the ciphertext and the metadata required to decrypt it + # the result holds the ciphertext and identifies the encryption key and algorithm used result = await client.encrypt(EncryptionAlgorithm.rsa_oaep, b"plaintext") print(result.key_id) print(result.algorithm) ciphertext = result.ciphertext - # [END encrypt] # [START decrypt] - from azure.keyvault.keys.crypto import EncryptionAlgorithm result = await client.decrypt(EncryptionAlgorithm.rsa_oaep, ciphertext) print(result.plaintext) - # [END decrypt] - pass - @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @CryptoClientPreparer() @@ -61,8 +61,7 @@ async def test_wrap_unwrap_async(self, key_client, credential, **kwargs): key_bytes = b"5063e6aaa845f150200547944fd199679c98ed6f99da0a0b2dafeaf1f4684496fd532c1c229968cb9dee44957fcef7ccef59ceda0b362e56bcd78fd3faee5781c623c0bb22b35beabde0664fd30e0e824aba3dd1b0afffc4a3d955ede20cf6a854d52cfd" - # [START wrap] - + # [START wrap_key] from azure.keyvault.keys.crypto import KeyWrapAlgorithm # wrap returns a tuple with the wrapped bytes and the metadata required to unwrap the key @@ -70,15 +69,13 @@ async def test_wrap_unwrap_async(self, key_client, credential, **kwargs): print(result.key_id) print(result.algorithm) encrypted_key = result.encrypted_key + # [END wrap_key] - # [END wrap] - - # [START unwrap] + # [START unwrap_key] from azure.keyvault.keys.crypto import KeyWrapAlgorithm result = await client.unwrap_key(KeyWrapAlgorithm.rsa_oaep, encrypted_key) - - # [END unwrap] + # [END unwrap_key] @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @@ -89,25 +86,21 @@ async def test_sign_verify_async(self, key_client, credential, **kwargs): client = CryptographyClient(key, credential) # [START sign] - import hashlib from azure.keyvault.keys.crypto import SignatureAlgorithm digest = hashlib.sha256(b"plaintext").digest() - # sign returns a tuple with the signature and the metadata required to verify it + # sign returns the signature and the metadata required to verify it result = await client.sign(SignatureAlgorithm.rs256, digest) print(result.key_id) print(result.algorithm) signature = result.signature - # [END sign] # [START verify] - from azure.keyvault.keys.crypto import SignatureAlgorithm verified = await client.verify(SignatureAlgorithm.rs256, digest, signature) assert verified.is_valid - # [END verify] From ebd382c970d17fb4134692d6615f5125d00de9c6 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 25 Sep 2020 17:40:57 -0700 Subject: [PATCH 03/71] Correct azure-eventhub example (#14050) --- sdk/identity/azure-identity/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/identity/azure-identity/README.md b/sdk/identity/azure-identity/README.md index a644028a6e25..19c67c0bd9c1 100644 --- a/sdk/identity/azure-identity/README.md +++ b/sdk/identity/azure-identity/README.md @@ -137,17 +137,17 @@ an error. The following example demonstrates creating a credential which will attempt to authenticate using managed identity, and fall back to authenticating via the Azure CLI when a managed identity is unavailable. This example uses the -`EventHubClient` from the [azure-eventhub][azure_eventhub] client library. +`EventHubProducerClient` from the [azure-eventhub][azure_eventhub] client library. ```py -from azure.eventhub import EventHubClient +from azure.eventhub import EventHubProducerClient from azure.identity import AzureCliCredential, ChainedTokenCredential, ManagedIdentityCredential managed_identity = ManagedIdentityCredential() azure_cli = AzureCliCredential() credential_chain = ChainedTokenCredential(managed_identity, azure_cli) -client = EventHubClient(host, event_hub_path, credential_chain) +client = EventHubProducerClient(namespace, eventhub_name, credential_chain) ``` ## Async credentials From 6414ea431c5f580fab859bfd92dd41335c7e7b3f Mon Sep 17 00:00:00 2001 From: Gene Hazan Date: Sat, 26 Sep 2020 19:17:22 -0700 Subject: [PATCH 04/71] Update CODEOWNERS (#14054) @divya-jay @alongafni FYI --- .github/CODEOWNERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 38a455f02ca6..2b621fa991e1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -25,7 +25,8 @@ # PRLabel: %Storage /sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft @tasherif-msft @kasobol-msft -/sdk/applicationinsights/ @alexeldeib +/sdk/applicationinsights/azure-applicationinsights/ @divya-jay @geneh @alongafni +/sdk/loganalytics/azure-loganalytics/ @divya-jay @geneh @alongafni # PRLabel: %Batch /sdk/batch/ @bgklein @xingwu1 From eb141f3bc98269e717115db830e0e694e17cce3d Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 28 Sep 2020 09:41:15 -0700 Subject: [PATCH 05/71] Update Key Vault readmes (#14068) Closes #14027. - link to Code of Conduct FAQ - add missing import to administration samples - correct impressions links (%2FF -> %2F) --- sdk/keyvault/azure-keyvault-administration/README.md | 12 ++++++------ sdk/keyvault/azure-keyvault-certificates/README.md | 10 +++++----- sdk/keyvault/azure-keyvault-keys/README.md | 10 +++++----- sdk/keyvault/azure-keyvault-secrets/README.md | 10 +++++----- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/README.md b/sdk/keyvault/azure-keyvault-administration/README.md index 84ba800b3172..dfbc9d9dbe09 100644 --- a/sdk/keyvault/azure-keyvault-administration/README.md +++ b/sdk/keyvault/azure-keyvault-administration/README.md @@ -146,7 +146,7 @@ List the role definitions available for assignment. ```python from azure.identity import DefaultAzureCredential -from azure.keyvault.administration import KeyVaultAccessControlClient +from azure.keyvault.administration import KeyVaultAccessControlClient, KeyVaultRoleScope credential = DefaultAzureCredential() @@ -166,7 +166,7 @@ Before creating a new role assignment in the [next snippet](#create-get-and-dele ```python from azure.identity import DefaultAzureCredential -from azure.keyvault.administration import KeyVaultAccessControlClient +from azure.keyvault.administration import KeyVaultAccessControlClient, KeyVaultRoleScope credential = DefaultAzureCredential() @@ -314,10 +314,10 @@ you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -This project has adopted the -[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, -see the Code of Conduct FAQ or contact opencode@microsoft.com with any -additional questions or comments. +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information, see the +[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact opencode@microsoft.com with any additional questions or comments. [azure_cloud_shell]: https://shell.azure.com/bash diff --git a/sdk/keyvault/azure-keyvault-certificates/README.md b/sdk/keyvault/azure-keyvault-certificates/README.md index 2eaf42f4ed92..245a8605a7b0 100644 --- a/sdk/keyvault/azure-keyvault-certificates/README.md +++ b/sdk/keyvault/azure-keyvault-certificates/README.md @@ -398,10 +398,10 @@ you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -This project has adopted the -[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, -see the Code of Conduct FAQ or contact opencode@microsoft.com with any -additional questions or comments. +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information, see the +[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact opencode@microsoft.com with any additional questions or comments. [default_cred_ref]: https://aka.ms/azsdk/python/identity/docs#azure.identity.DefaultAzureCredential [azure_cloud_shell]: https://shell.azure.com/bash @@ -431,4 +431,4 @@ additional questions or comments. [certificates_samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-certificates/samples [soft_delete]: https://docs.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-certificates%2FFREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-certificates%2FREADME.png) diff --git a/sdk/keyvault/azure-keyvault-keys/README.md b/sdk/keyvault/azure-keyvault-keys/README.md index 48920866e4b4..ccb89439a96f 100644 --- a/sdk/keyvault/azure-keyvault-keys/README.md +++ b/sdk/keyvault/azure-keyvault-keys/README.md @@ -420,10 +420,10 @@ you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -This project has adopted the -[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, -see the Code of Conduct FAQ or contact opencode@microsoft.com with any -additional questions or comments. +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information, see the +[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact opencode@microsoft.com with any additional questions or comments. [azure_cloud_shell]: https://shell.azure.com/bash [azure_core_exceptions]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core#azure-core-library-exceptions @@ -450,4 +450,4 @@ additional questions or comments. [key_samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys/samples [soft_delete]: https://docs.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-keys%2FFREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-keys%2FREADME.png) diff --git a/sdk/keyvault/azure-keyvault-secrets/README.md b/sdk/keyvault/azure-keyvault-secrets/README.md index 4cc95452cbb9..c80dd184b3fe 100644 --- a/sdk/keyvault/azure-keyvault-secrets/README.md +++ b/sdk/keyvault/azure-keyvault-secrets/README.md @@ -398,10 +398,10 @@ you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -This project has adopted the -[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, -see the Code of Conduct FAQ or contact opencode@microsoft.com with any -additional questions or comments. +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information, see the +[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact opencode@microsoft.com with any additional questions or comments. [azure_cloud_shell]: https://shell.azure.com/bash [azure_core_exceptions]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core#azure-core-library-exceptions @@ -427,4 +427,4 @@ additional questions or comments. [secret_samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-secrets/samples [soft_delete]: https://docs.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-secrets%2FFREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fkeyvault%2Fazure-keyvault-secrets%2FREADME.png) From e7e5d4f5e357359851c94c31313871b4d8c08cb7 Mon Sep 17 00:00:00 2001 From: egelfand Date: Mon, 28 Sep 2020 12:25:44 -0700 Subject: [PATCH 06/71] [eventgrid] Update README.md (#14030) Fix broken pip link by adding missing reference to https://pypi.org/project/pip/. --- sdk/eventgrid/azure-eventgrid/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/eventgrid/azure-eventgrid/README.md b/sdk/eventgrid/azure-eventgrid/README.md index 7ee2a682c11b..1912432e46f1 100644 --- a/sdk/eventgrid/azure-eventgrid/README.md +++ b/sdk/eventgrid/azure-eventgrid/README.md @@ -223,6 +223,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [python-eg-ref-docs]: https://aka.ms/azsdk/python/eventgrid/docs [python-eg-samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventgrid/azure-eventgrid/samples [python-eg-changelog]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventgrid/azure-eventgrid/CHANGELOG.md +[pip]: https://pypi.org/project/pip/ [azure_portal_create_EG_resource]: https://ms.portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.EventGrid%2Ftopics [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential From b75b8b0855c50a8c5a532c8eae80f06800bcb3b1 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Mon, 28 Sep 2020 14:45:04 -0700 Subject: [PATCH 07/71] commit metrics advisor (#14072) * commit metrics advisor --- eng/.docsettings.yml | 1 + eng/tox/allowed_pylint_failures.py | 1 + .../azure-ai-metricsadvisor/CHANGELOG.md | 4 + .../azure-ai-metricsadvisor/MANIFEST.in | 5 + .../azure-ai-metricsadvisor/README.md | 438 + .../azure-ai-metricsadvisor/azure/__init__.py | 1 + .../azure/ai/__init__.py | 1 + .../azure/ai/metricsadvisor/__init__.py | 20 + .../ai/metricsadvisor/_generated/__init__.py | 16 + ...ice_metrics_advisor_restapi_open_ap_iv2.py | 57 + .../_generated/_configuration.py | 57 + .../metricsadvisor/_generated/aio/__init__.py | 10 + ...ice_metrics_advisor_restapi_open_ap_iv2.py | 49 + .../_generated/aio/_configuration.py | 51 + .../_generated/aio/operations/__init__.py | 13 + ..._advisor_restapi_open_ap_iv2_operations.py | 2952 ++++++ .../_generated/models/__init__.py | 449 + ...trics_advisor_restapi_open_ap_iv2_enums.py | 333 + .../_generated/models/_models.py | 6983 +++++++++++++++ .../_generated/models/_models_py3.py | 7943 +++++++++++++++++ .../_generated/operations/__init__.py | 13 + ..._advisor_restapi_open_ap_iv2_operations.py | 2996 +++++++ .../ai/metricsadvisor/_generated/py.typed | 1 + .../azure/ai/metricsadvisor/_helpers.py | 185 + .../_metrics_advisor_administration_client.py | 1183 +++ .../metricsadvisor/_metrics_advisor_client.py | 716 ++ .../_metrics_advisor_key_credential.py | 22 + .../_metrics_advisor_key_credential_policy.py | 28 + .../azure/ai/metricsadvisor/_version.py | 9 + .../azure/ai/metricsadvisor/aio/__init__.py | 13 + ...ics_advisor_administration_client_async.py | 1082 +++ .../aio/_metrics_advisor_client_async.py | 715 ++ .../ai/metricsadvisor/models/__init__.py | 199 + .../azure/ai/metricsadvisor/models/_models.py | 2470 +++++ .../azure/ai/metricsadvisor/py.typed | 0 .../dev_requirements.txt | 5 + .../azure-ai-metricsadvisor/samples/README.md | 73 + ...ample_anomaly_alert_configuration_async.py | 330 + ...e_anomaly_detection_configuration_async.py | 267 + .../sample_authentication_async.py | 64 + .../async_samples/sample_data_feeds_async.py | 236 + .../async_samples/sample_feedback_async.py | 120 + .../async_samples/sample_hooks_async.py | 166 + .../async_samples/sample_ingestion_async.py | 115 + .../sample_anomaly_alert_configuration.py | 309 + .../sample_anomaly_detection_configuration.py | 252 + .../samples/sample_authentication.py | 56 + .../samples/sample_data_feeds.py | 220 + .../samples/sample_feedback.py | 114 + .../samples/sample_hooks.py | 151 + .../samples/sample_ingestion.py | 103 + .../sdk_packaging.toml | 9 + .../azure-ai-metricsadvisor/setup.cfg | 2 + .../azure-ai-metricsadvisor/setup.py | 89 + .../tests/async_tests/base_testcase_async.py | 493 + ..._alert_config_multiple_configurations.yaml | 280 + ...fig_series_group_alert_direction_both.yaml | 275 + ...fig_series_group_alert_direction_down.yaml | 275 + ...onfig_series_group_alert_direction_up.yaml | 274 + ...onfig_series_group_severity_condition.yaml | 275 + ...anomaly_alert_config_snooze_condition.yaml | 274 + ...ert_config_top_n_alert_direction_both.yaml | 274 + ...ert_config_top_n_alert_direction_down.yaml | 273 + ...alert_config_top_n_alert_direction_up.yaml | 273 + ...alert_config_top_n_severity_condition.yaml | 273 + ...fig_whole_series_alert_direction_both.yaml | 274 + ...fig_whole_series_alert_direction_down.yaml | 274 + ...onfig_whole_series_alert_direction_up.yaml | 274 + ...onfig_whole_series_severity_condition.yaml | 273 + ...async.test_list_anomaly_alert_configs.yaml | 27 + ...anomaly_alert_by_resetting_properties.yaml | 261 + ...date_anomaly_alert_config_with_kwargs.yaml | 272 + ...pdate_anomaly_alert_config_with_model.yaml | 273 + ...ly_alert_config_with_model_and_kwargs.yaml | 270 + ...test_get_data_feed_ingestion_progress.yaml | 27 + ....test_list_data_feed_ingestion_status.yaml | 31 + ..._data_feed_ingestion_status_with_skip.yaml | 60 + ...sync.test_refresh_data_feed_ingestion.yaml | 30 + ...test_create_data_feed_from_sql_server.yaml | 123 + ...ed_from_sql_server_with_custom_values.yaml | 124 + ...e_data_feed_with_application_insights.yaml | 91 + ...test_create_data_feed_with_azure_blob.yaml | 86 + ...create_data_feed_with_azure_cosmos_db.yaml | 88 + ...est_create_data_feed_with_azure_table.yaml | 87 + ...t_create_data_feed_with_data_explorer.yaml | 89 + ...c.test_create_data_feed_with_datalake.yaml | 88 + ...t_create_data_feed_with_elasticsearch.yaml | 89 + ...reate_data_feed_with_http_request_get.yaml | 85 + ...eate_data_feed_with_http_request_post.yaml | 87 + ...c.test_create_data_feed_with_influxdb.yaml | 88 + ...nc.test_create_data_feed_with_mongodb.yaml | 89 + ...sync.test_create_data_feed_with_mysql.yaml | 87 + ...test_create_data_feed_with_postgresql.yaml | 87 + ...ds_async.test_create_simple_data_feed.yaml | 85 + ...data_feeds_async.test_list_data_feeds.yaml | 30 + ...t_list_data_feeds_with_data_feed_name.yaml | 27 + ...list_data_feeds_with_granularity_type.yaml | 30 + ..._async.test_list_data_feeds_with_skip.yaml | 56 + ...test_list_data_feeds_with_source_type.yaml | 29 + ...sync.test_list_data_feeds_with_status.yaml | 27 + ...date_data_feed_by_reseting_properties.yaml | 162 + ...ync.test_update_data_feed_with_kwargs.yaml | 162 + ...sync.test_update_data_feed_with_model.yaml | 163 + ...pdate_data_feed_with_model_and_kwargs.yaml | 163 + ...st_hooks_async.test_create_email_hook.yaml | 108 + ...test_hooks_async.test_create_web_hook.yaml | 108 + .../test_hooks_async.test_list_hooks.yaml | 29 + ...te_email_hook_by_resetting_properties.yaml | 136 + ...nc.test_update_email_hook_with_kwargs.yaml | 136 + ...ync.test_update_email_hook_with_model.yaml | 137 + ...date_email_hook_with_model_and_kwargs.yaml | 136 + ...date_web_hook_by_resetting_properties.yaml | 139 + ...sync.test_update_web_hook_with_kwargs.yaml | 138 + ...async.test_update_web_hook_with_model.yaml | 139 + ...update_web_hook_with_model_and_kwargs.yaml | 139 + ..._multiple_series_and_group_conditions.yaml | 171 + ...nfig_with_series_and_group_conditions.yaml | 156 + ..._configuration_whole_series_detection.yaml | 200 + ...list_metric_anomaly_detection_configs.yaml | 32 + ...ection_config_by_resetting_properties.yaml | 210 + ...t_update_detection_config_with_kwargs.yaml | 230 + ...st_update_detection_config_with_model.yaml | 230 + ...etection_config_with_model_and_kwargs.yaml | 229 + ..._live_async.test_add_anomaly_feedback.yaml | 33 + ..._async.test_add_change_point_feedback.yaml | 33 + ..._live_async.test_add_comment_feedback.yaml | 33 + ...t_live_async.test_add_period_feedback.yaml | 33 + ...r_client_live_async.test_get_feedback.yaml | 31 + ...ve_async.test_get_incident_root_cause.yaml | 26 + ...ve_async.test_get_metrics_series_data.yaml | 33 + ...sor_client_live_async.test_get_series.yaml | 31 + ...t_list_alerts_for_alert_configuration.yaml | 32 + ...e_async.test_list_anomalies_for_alert.yaml | 30 + ...anomalies_for_detection_configuration.yaml | 1338 +++ ...on_values_for_detection_configuration.yaml | 37 + ...client_live_async.test_list_feedbacks.yaml | 35 + ...e_async.test_list_incident_root_cause.yaml | 27 + ...e_async.test_list_incidents_for_alert.yaml | 30 + ...incidents_for_detection_configuration.yaml | 1065 +++ ...ync.test_list_metric_dimension_values.yaml | 65 + ...test_list_metric_enriched_series_data.yaml | 32 + ...nc.test_list_metric_enrichment_status.yaml | 31 + ...c.test_list_metric_series_definitions.yaml | 3027 +++++++ ...e_async.test_list_metrics_series_data.yaml | 33 + .../test_anomaly_alert_config_async.py | 1099 +++ .../test_data_feed_ingestion_async.py | 70 + .../async_tests/test_data_feeds_async.py | 1095 +++ .../tests/async_tests/test_hooks_async.py | 279 + ...t_metric_anomaly_detection_config_async.py | 824 ++ .../test_metrics_advisor_client_live_async.py | 236 + .../tests/base_testcase.py | 461 + .../azure-ai-metricsadvisor/tests/conftest.py | 14 + ..._alert_config_multiple_configurations.yaml | 393 + ...fig_series_group_alert_direction_both.yaml | 388 + ...fig_series_group_alert_direction_down.yaml | 388 + ...onfig_series_group_alert_direction_up.yaml | 387 + ...onfig_series_group_severity_condition.yaml | 388 + ...anomaly_alert_config_snooze_condition.yaml | 386 + ...ert_config_top_n_alert_direction_both.yaml | 386 + ...ert_config_top_n_alert_direction_down.yaml | 385 + ...alert_config_top_n_alert_direction_up.yaml | 385 + ...alert_config_top_n_severity_condition.yaml | 385 + ...fig_whole_series_alert_direction_both.yaml | 386 + ...fig_whole_series_alert_direction_down.yaml | 386 + ...onfig_whole_series_alert_direction_up.yaml | 386 + ...onfig_whole_series_severity_condition.yaml | 385 + ...onfig.test_list_anomaly_alert_configs.yaml | 38 + ...anomaly_alert_by_resetting_properties.yaml | 360 + ...date_anomaly_alert_config_with_kwargs.yaml | 371 + ...pdate_anomaly_alert_config_with_model.yaml | 372 + ...ly_alert_config_with_model_and_kwargs.yaml | 369 + ...test_get_data_feed_ingestion_progress.yaml | 38 + ....test_list_data_feed_ingestion_status.yaml | 42 + ..._data_feed_ingestion_status_with_skip.yaml | 82 + ...tion.test_refresh_data_feed_ingestion.yaml | 40 + ...test_create_data_feed_from_sql_server.yaml | 168 + ...ed_from_sql_server_with_custom_values.yaml | 169 + ...e_data_feed_with_application_insights.yaml | 125 + ...test_create_data_feed_with_azure_blob.yaml | 120 + ...create_data_feed_with_azure_cosmos_db.yaml | 122 + ...est_create_data_feed_with_azure_table.yaml | 121 + ...t_create_data_feed_with_data_explorer.yaml | 123 + ...s.test_create_data_feed_with_datalake.yaml | 122 + ...t_create_data_feed_with_elasticsearch.yaml | 123 + ...reate_data_feed_with_http_request_get.yaml | 119 + ...eate_data_feed_with_http_request_post.yaml | 121 + ...s.test_create_data_feed_with_influxdb.yaml | 122 + ...ds.test_create_data_feed_with_mongodb.yaml | 123 + ...eeds.test_create_data_feed_with_mysql.yaml | 123 + ...test_create_data_feed_with_postgresql.yaml | 121 + ...ta_feeds.test_create_simple_data_feed.yaml | 119 + .../test_data_feeds.test_list_data_feeds.yaml | 41 + ...t_list_data_feeds_with_data_feed_name.yaml | 38 + ...list_data_feeds_with_granularity_type.yaml | 41 + ..._feeds.test_list_data_feeds_with_skip.yaml | 78 + ...test_list_data_feeds_with_source_type.yaml | 40 + ...eeds.test_list_data_feeds_with_status.yaml | 38 + ...date_data_feed_by_reseting_properties.yaml | 217 + ...eds.test_update_data_feed_with_kwargs.yaml | 217 + ...eeds.test_update_data_feed_with_model.yaml | 218 + ...pdate_data_feed_with_model_and_kwargs.yaml | 218 + .../test_hooks.test_create_email_hook.yaml | 153 + .../test_hooks.test_create_web_hook.yaml | 153 + .../test_hooks.test_list_hooks.yaml | 40 + ...te_email_hook_by_resetting_properties.yaml | 191 + ...ks.test_update_email_hook_with_kwargs.yaml | 191 + ...oks.test_update_email_hook_with_model.yaml | 192 + ...date_email_hook_with_model_and_kwargs.yaml | 191 + ...date_web_hook_by_resetting_properties.yaml | 194 + ...ooks.test_update_web_hook_with_kwargs.yaml | 193 + ...hooks.test_update_web_hook_with_model.yaml | 194 + ...update_web_hook_with_model_and_kwargs.yaml | 194 + ..._multiple_series_and_group_conditions.yaml | 227 + ...nfig_with_series_and_group_conditions.yaml | 212 + ..._configuration_whole_series_detection.yaml | 279 + ...list_metric_anomaly_detection_configs.yaml | 43 + ...ection_config_by_resetting_properties.yaml | 351 + ...t_update_detection_config_with_kwargs.yaml | 307 + ...st_update_detection_config_with_model.yaml | 307 + ...etection_config_with_model_and_kwargs.yaml | 307 + ...client_live.test_add_anomaly_feedback.yaml | 44 + ...t_live.test_add_change_point_feedback.yaml | 44 + ...client_live.test_add_comment_feedback.yaml | 44 + ..._client_live.test_add_period_feedback.yaml | 44 + ...advisor_client_live.test_get_feedback.yaml | 42 + ...ent_live.test_get_incident_root_cause.yaml | 38 + ...ent_live.test_get_metrics_series_data.yaml | 44 + ...s_advisor_client_live.test_get_series.yaml | 43 + ...t_list_alerts_for_alert_configuration.yaml | 43 + ...nt_live.test_list_anomalies_for_alert.yaml | 41 + ...anomalies_for_detection_configuration.yaml | 1360 +++ ...on_values_for_detection_configuration.yaml | 48 + ...visor_client_live.test_list_feedbacks.yaml | 46 + ...nt_live.test_list_incident_root_cause.yaml | 38 + ...nt_live.test_list_incidents_for_alert.yaml | 41 + ...incidents_for_detection_configuration.yaml | 1087 +++ ...ive.test_list_metric_dimension_values.yaml | 87 + ...test_list_metric_enriched_series_data.yaml | 43 + ...ve.test_list_metric_enrichment_status.yaml | 42 + ...e.test_list_metric_series_definitions.yaml | 3740 ++++++++ ...nt_live.test_list_metrics_series_data.yaml | 44 + .../tests/test_anomaly_alert_config.py | 1060 +++ .../tests/test_data_feed_ingestion.py | 57 + .../tests/test_data_feeds.py | 1028 +++ .../tests/test_hooks.py | 255 + .../test_metric_anomaly_detection_config.py | 806 ++ .../tests/test_metrics_advisor_client_live.py | 163 + sdk/metricsadvisor/ci.yml | 36 + shared_requirements.txt | 2 + 249 files changed, 77162 insertions(+) create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/MANIFEST.in create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/README.md create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_configuration.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_configuration.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models_py3.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/py.typed create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_version.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/py.typed create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/dev_requirements.txt create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_alert_configuration_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_detection_configuration_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_data_feeds_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_feedback_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_hooks_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_ingestion_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_alert_configuration.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_detection_configuration.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_authentication.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_data_feeds.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_feedback.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_hooks.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_ingestion.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/sdk_packaging.toml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/setup.cfg create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/setup.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_multiple_configurations.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_snooze_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_list_anomaly_alert_configs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_get_data_feed_ingestion_progress.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status_with_skip.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_refresh_data_feed_ingestion.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server_with_custom_values.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_application_insights.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_blob.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_cosmos_db.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_table.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_data_explorer.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_datalake.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_elasticsearch.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_get.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_post.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_influxdb.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mongodb.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mysql.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_postgresql.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_simple_data_feed.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_data_feed_name.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_granularity_type.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_skip.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_source_type.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_by_reseting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_email_hook.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_web_hook.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_list_hooks.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_list_metric_anomaly_detection_configs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_anomaly_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_change_point_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_comment_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_period_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_incident_root_cause.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_metrics_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_series.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_alerts_for_alert_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_alert.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_dimension_values_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_feedbacks.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incident_root_cause.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_alert.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_dimension_values.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enriched_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enrichment_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_series_definitions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metrics_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feed_ingestion_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_hooks_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/conftest.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_multiple_configurations.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_snooze_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_severity_condition.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_list_anomaly_alert_configs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_get_data_feed_ingestion_progress.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status_with_skip.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_refresh_data_feed_ingestion.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server_with_custom_values.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_application_insights.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_blob.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_cosmos_db.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_table.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_data_explorer.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_datalake.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_elasticsearch.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_get.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_post.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_influxdb.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mongodb.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mysql.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_postgresql.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_simple_data_feed.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_data_feed_name.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_granularity_type.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_skip.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_source_type.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_by_reseting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_email_hook.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_web_hook.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_list_hooks.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_list_metric_anomaly_detection_configs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_by_resetting_properties.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model_and_kwargs.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_anomaly_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_change_point_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_comment_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_period_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_feedback.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_incident_root_cause.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_metrics_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_series.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_alerts_for_alert_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_alert.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_dimension_values_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_feedbacks.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incident_root_cause.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_alert.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_detection_configuration.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_dimension_values.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enriched_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enrichment_status.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_series_definitions.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metrics_series_data.yaml create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feed_ingestion.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feeds.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_hooks.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py create mode 100644 sdk/metricsadvisor/ci.yml diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 861b1db6be21..103fdb6a8b86 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -49,6 +49,7 @@ known_content_issues: - ['sdk/synapse/azure-synapse-artifacts/README.md', '#4554'] - ['sdk/synapse/azure-synapse-nspkg/README.md', '#4554'] - ['sdk/anomalydetector/azure-ai-anomalydetector/README.md', '#4554'] + - ['sdk/metricsadvisor/azure-ai-metricsadvisor/README.md', '#4554'] - ['sdk/applicationinsights/azure-applicationinsights/README.md', '#4554'] - ['sdk/batch/azure-batch/README.md', '#4554'] - ['sdk/cognitiveservices/azure-cognitiveservices-anomalydetector/README.md', '#4554'] diff --git a/eng/tox/allowed_pylint_failures.py b/eng/tox/allowed_pylint_failures.py index e9505fee9cf9..6dbd4075a3e1 100644 --- a/eng/tox/allowed_pylint_failures.py +++ b/eng/tox/allowed_pylint_failures.py @@ -47,4 +47,5 @@ "azure-synapse-accesscontrol", "azure-synapse-nspkg", "azure-ai-anomalydetector", + "azure-ai-metricsadvisor", ] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md new file mode 100644 index 000000000000..ff7212600d5e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md @@ -0,0 +1,4 @@ +# Release History + +## 1.0.0b1 (Unreleased) + diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/MANIFEST.in b/sdk/metricsadvisor/azure-ai-metricsadvisor/MANIFEST.in new file mode 100644 index 000000000000..ded513877297 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/MANIFEST.in @@ -0,0 +1,5 @@ +recursive-include tests *.py +recursive-include samples *.py *.md +include *.md +include azure/__init__.py +include azure/ai/__init__.py diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md new file mode 100644 index 000000000000..1093abf6bb97 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -0,0 +1,438 @@ +# Azure Metrics Advisor client library for Python +Metrics Advisor is a scalable real-time time series monitoring, alerting, and root cause analysis platform. + +[Source code]() | [Package (Pypi)][package] | [API reference documentation]() | [Product documentation][ma_docs] + +## Getting started + +### Install the package + +Install the Azure Metrics Advisor client library for Python with pip: + +```commandline +pip install azure-ai-metricsadvisor --pre +``` + +### Prerequisites + +* Python 2.7, or 3.5 or later is required to use this package. +* You need an [Azure subscription][azure_sub], and a [Metrics Advisor serivce][ma_service] to use this package. + +### Authenticate the client + +You will need two keys to authenticate the client: + +The subscription key to your Metrics Advisor resource. You can find this in the Keys and Endpoint section of your resource in the Azure portal. +The API key for your Metrics Advisor instance. You can find this in the web portal for Metrics Advisor, in API keys on the left navigation menu. + +We can use the keys to create a new `MetricsAdvisorClient` or `MetricsAdvisorAdministrationClient`. + +```py +import os +from azure.ai.metricsadvisor import ( + MetricsAdvisorKeyCredential, + MetricsAdvisorClient, + MetricsAdvisorAdministrationClient, +) + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") + +client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + +admin_client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) +``` + +## Key concepts + +### DataFeed + +A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of: + +- timestamps +- zero or more dimensions +- one or more measures. + +### Metric + +A `Metric` is a quantifiable measure that is used to monitor and assess the status of a specific business process. It can be a combination of multiple time series values divided into dimensions. For example a web health metric might contain dimensions for user count and the en-us market. + +### AnomalyDetectionConfiguration + +`AnomalyDetectionConfiguration` is required for every time series, and determines whether a point in the time series is an anomaly. + +### Anomaly & Incident + +After a detection configuration is applied to metrics, `Incident`s are generated whenever any series within it has an `Anomaly`. + +### Alert + +You can configure which anomalies should trigger an `Alert`. You can set multiple alerts with different settings. For example, you could create an alert for anomalies with lower business impact, and another for more important alerts. + +### Hook + +Metrics Advisor lets you create and subscribe to real-time alerts. These alerts are sent over the internet, using a `Hook`. + +## Examples + +- [Add a data feed from a sample or data source](#add-a-data-feed-from-a-sample-or-data-source) +- [Check ingestion status](#check-ingestion-status) +- [Configure anomaly detection configuration](#configure-anomaly-detection-configuration) +- [Configure alert configuration](#configure-alert-configuration) +- [Query anomaly detection results](#query-anomaly-detection-results) + +### Add a data feed from a sample or data source + +```py +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient +from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + DataFeedSchema, + Metric, + Dimension, + DataFeedOptions, + DataFeedRollupSettings, + DataFeedMissingDataPointFillSettings + ) + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") +sql_server_connection_string = os.getenv("METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING") +query = os.getenv("METRICS_ADVISOR_SQL_SERVER_QUERY") + +client = MetricsAdvisorAdministrationClient( + service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +data_feed = client.create_data_feed( + name="My data feed", + source=SQLServerDataFeed( + connection_string=sql_server_connection_string, + query=query, + ), + granularity="Daily", + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=datetime.datetime(2019, 10, 1), + options=DataFeedOptions( + data_feed_description="cost/revenue data feed", + rollup_settings=DataFeedRollupSettings( + rollup_type="AutoRollup", + rollup_method="Sum", + rollup_identification_value="__CUSTOM_SUM__" + ), + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + access_mode="Private" + ) +) + +return data_feed +``` + +### Check ingestion status + +```py +import datetime +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") +data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + +client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +ingestion_status = client.list_data_feed_ingestion_status( + data_feed_id, + datetime.datetime(2020, 9, 20), + datetime.datetime(2020, 9, 25) +) +for status in ingestion_status: + print("Timestamp: {}".format(status.timestamp)) + print("Status: {}".format(status.status)) + print("Message: {}\n".format(status.message)) +``` + +### Configure anomaly detection configuration +```py +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient +from azure.ai.metricsadvisor.models import ( + ChangeThresholdCondition, + HardThresholdCondition, + SmartDetectionCondition, + SuppressCondition, + MetricDetectionCondition, +) + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") +metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + +client = MetricsAdvisorAdministrationClient( + service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) +) +hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) +) +smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) +) + +detection_config = client.create_metric_anomaly_detection_configuration( + name="my_detection_config", + metric_id=metric_id, + description="anomaly detection config for metric", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + change_threshold_condition=change_threshold_condition, + hard_threshold_condition=hard_threshold_condition, + smart_detection_condition=smart_detection_condition + ) +) + +return detection_config +``` + +### Configure alert configuration + +```py +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient +from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + TopNGroupScope, + MetricAnomalyAlertConditions, + SeverityCondition, + MetricBoundaryCondition, + MetricAnomalyAlertSnoozeCondition +) +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") +anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") +hook_id = os.getenv("METRICS_ADVISOR_HOOK_ID") + +client = MetricsAdvisorAdministrationClient( + service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +alert_config = client.create_anomaly_alert_configuration( + name="my alert config", + description="alert config description", + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=10, + period=5, + min_top_count=5 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + upper=50 + ) + ), + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=2, + snooze_scope="Metric", + only_for_successive=True + ) + ), + ], + hook_ids=[hook_id] +) + +return alert_config +``` + +### Query anomaly detection results + +```py +import datetime +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") + +client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +results = client.list_alerts_for_alert_configuration( + alert_configuration_id=alert_config_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + time_mode="AnomalyTime", +) +for result in results: + print("Alert id: {}".format(result.id)) + print("Create on: {}".format(result.created_on)) + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") +alert_id = os.getenv("METRICS_ADVISOR_ALERT_ID") + +client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +results = client.list_anomalies_for_alert( + alert_configuration_id=alert_config_id, + alert_id=alert_id, +) +for result in results: + print("Create on: {}".format(result.created_on)) + print("Severity: {}".format(result.severity)) + print("Status: {}".format(result.status)) +``` + +### Async APIs + +This library includes a complete async API supported on Python 3.5+. To use it, you must +first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/). +See +[azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/README.md#transport) +for more information. + + +```py +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential +from azure.ai.metricsadvisor.aio import MetricsAdvisorClient, MetricsAdvisorAdministrationClient + +client = MetricsAdvisorClient( + service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) + +admin_client = MetricsAdvisorAdministrationClient( + service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key) +) +``` + +## Troubleshooting + +### General + +The Azure Metrics Advisor clients will raise exceptions defined in [Azure Core][azure_core]. + +### Logging + +This library uses the standard [logging][python_logging] library for logging. +Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO +level. + +Detailed DEBUG level logging, including request/response bodies and unredacted +headers, can be enabled on a client with the `logging_enable` keyword argument: +```python +import sys +import logging +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + +# Create a logger for the 'azure' SDK +logger = logging.getLogger('azure') +logger.setLevel(logging.DEBUG) + +# Configure a console output +handler = logging.StreamHandler(stream=sys.stdout) +logger.addHandler(handler) + +# This client will log detailed information about its HTTP sessions, at DEBUG level +client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key), + logging_enable=True +) + +``` + +## Next steps + +### More sample code + + For more details see the [samples README](https://github.com/Azure/azure-sdk-for-python-pr/tree/feature/metricsadvisor/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md). + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require +you to agree to a Contributor License Agreement (CLA) declaring that you have +the right to, and actually do, grant us the rights to use your contribution. For +details, visit [cla.microsoft.com][cla]. + +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information see the [Code of Conduct FAQ][coc_faq] +or contact [opencode@microsoft.com][coc_contact] with any +additional questions or comments. + + +[ma_docs]: https://aka.ms/azsdk/python/metricsadvisor/docs +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_sub]: https://azure.microsoft.com/free/ +[package]: https://pypi.org/ +[ma_service]: https://go.microsoft.com/fwlink/?linkid=2142156 +[python_logging]: https://docs.python.org/3.5/library/logging.html + +[cla]: https://cla.microsoft.com +[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ +[coc_contact]: mailto:opencode@microsoft.com \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py new file mode 100644 index 000000000000..69e3be50dac4 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py new file mode 100644 index 000000000000..69e3be50dac4 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/__init__.py new file mode 100644 index 000000000000..5adad272a2e6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from ._version import VERSION +from ._metrics_advisor_client import MetricsAdvisorClient +from ._metrics_advisor_administration_client import MetricsAdvisorAdministrationClient +from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential + + +__all__ = [ + "MetricsAdvisorClient", + "MetricsAdvisorAdministrationClient", + "MetricsAdvisorKeyCredential", +] + + +__version__ = VERSION diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/__init__.py new file mode 100644 index 000000000000..46ede884dc73 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/__init__.py @@ -0,0 +1,16 @@ +# 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 ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2 import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 +__all__ = ['AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py new file mode 100644 index 000000000000..578c8d011632 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py @@ -0,0 +1,57 @@ +# 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 typing import TYPE_CHECKING + +from azure.core import PipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + +from ._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration +from .operations import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin +from . import models + + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2(AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin): + """Azure Cognitive Service Metrics Advisor REST API (OpenAPI v2). + + :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://:code:``.cognitiveservices.azure.com). + :type endpoint: str + """ + + def __init__( + self, + endpoint, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + base_url = '{endpoint}/metricsadvisor/v1.0' + self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint, **kwargs) + self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_configuration.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_configuration.py new file mode 100644 index 000000000000..7b349a754686 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/_configuration.py @@ -0,0 +1,57 @@ +# 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 typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + +VERSION = "unknown" + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(Configuration): + """Configuration for AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://:code:``.cognitiveservices.azure.com). + :type endpoint: str + """ + + def __init__( + self, + endpoint, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if endpoint is None: + raise ValueError("Parameter 'endpoint' must not be None.") + super(AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration, self).__init__(**kwargs) + + self.endpoint = endpoint + kwargs.setdefault('sdk_moniker', 'ai-metricsadvisor/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/__init__.py new file mode 100644 index 000000000000..3ee9a022c9b1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2 import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 +__all__ = ['AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2'] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py new file mode 100644 index 000000000000..fa3983cddbc3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2.py @@ -0,0 +1,49 @@ +# 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 typing import Any + +from azure.core import AsyncPipelineClient +from msrest import Deserializer, Serializer + +from ._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration +from .operations import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin +from .. import models + + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2(AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin): + """Azure Cognitive Service Metrics Advisor REST API (OpenAPI v2). + + :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://:code:``.cognitiveservices.azure.com). + :type endpoint: str + """ + + def __init__( + self, + endpoint: str, + **kwargs: Any + ) -> None: + base_url = '{endpoint}/metricsadvisor/v1.0' + self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint, **kwargs) + self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_configuration.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_configuration.py new file mode 100644 index 000000000000..19f2549a0028 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/_configuration.py @@ -0,0 +1,51 @@ +# 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 typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +VERSION = "unknown" + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(Configuration): + """Configuration for AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://:code:``.cognitiveservices.azure.com). + :type endpoint: str + """ + + def __init__( + self, + endpoint: str, + **kwargs: Any + ) -> None: + if endpoint is None: + raise ValueError("Parameter 'endpoint' must not be None.") + super(AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration, self).__init__(**kwargs) + + self.endpoint = endpoint + kwargs.setdefault('sdk_moniker', 'ai-metricsadvisor/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/__init__.py new file mode 100644 index 000000000000..cbb0e496d2f9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/__init__.py @@ -0,0 +1,13 @@ +# 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 ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin + +__all__ = [ + 'AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin', +] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py new file mode 100644 index 000000000000..c988fe827ebb --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py @@ -0,0 +1,2952 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin: + + async def get_active_series_count( + self, + **kwargs + ) -> "models.UsageStats": + """Get latest usage stats. + + Get latest usage stats. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UsageStats, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.UsageStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UsageStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_active_series_count.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UsageStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_active_series_count.metadata = {'url': '/stats/latest'} # type: ignore + + async def get_anomaly_alerting_configuration( + self, + configuration_id: str, + **kwargs + ) -> "models.AnomalyAlertingConfiguration": + """Query a single anomaly alerting configuration. + + Query a single anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnomalyAlertingConfiguration, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyAlertingConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnomalyAlertingConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + async def update_anomaly_alerting_configuration( + self, + configuration_id: str, + body: object, + **kwargs + ) -> None: + """Update anomaly alerting configuration. + + Update anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param body: anomaly alerting configuration. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + async def delete_anomaly_alerting_configuration( + self, + configuration_id: str, + **kwargs + ) -> None: + """Delete anomaly alerting configuration. + + Delete anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + async def create_anomaly_alerting_configuration( + self, + body: "models.AnomalyAlertingConfiguration", + **kwargs + ) -> None: + """Create anomaly alerting configuration. + + Create anomaly alerting configuration. + + :param body: anomaly alerting configuration. + :type body: ~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyAlertingConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations'} # type: ignore + + def get_alerts_by_anomaly_alerting_configuration( + self, + configuration_id: str, + body: "models.AlertingResultQuery", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.AlertResultList"]: + """Query alerts under anomaly alerting configuration. + + Query alerts under anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param body: query alerting result request. + :type body: ~azure.ai.metricsadvisor.models.AlertingResultQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AlertResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AlertResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_alerts_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AlertingResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AlertingResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AlertResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_alerts_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/query'} # type: ignore + + def get_anomalies_from_alert_by_anomaly_alerting_configuration( + self, + configuration_id: str, + alert_id: str, + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.AnomalyResultList"]: + """Query anomalies under a specific alert. + + Query anomalies under a specific alert. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AnomalyResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomalies_from_alert_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_anomalies_from_alert_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies'} # type: ignore + + def get_incidents_from_alert_by_anomaly_alerting_configuration( + self, + configuration_id: str, + alert_id: str, + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.IncidentResultList"]: + """Query incidents under a specific alert. + + Query incidents under a specific alert. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_from_alert_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_incidents_from_alert_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents'} # type: ignore + + async def get_anomaly_detection_configuration( + self, + configuration_id: str, + **kwargs + ) -> "models.AnomalyDetectionConfiguration": + """Query a single anomaly detection configuration. + + Query a single anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnomalyDetectionConfiguration, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDetectionConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnomalyDetectionConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + async def update_anomaly_detection_configuration( + self, + configuration_id: str, + body: object, + **kwargs + ) -> None: + """Update anomaly detection configuration. + + Update anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: anomaly detection configuration. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + async def delete_anomaly_detection_configuration( + self, + configuration_id: str, + **kwargs + ) -> None: + """Delete anomaly detection configuration. + + Delete anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + async def create_anomaly_detection_configuration( + self, + body: "models.AnomalyDetectionConfiguration", + **kwargs + ) -> None: + """Create anomaly detection configuration. + + Create anomaly detection configuration. + + :param body: anomaly detection configuration. + :type body: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDetectionConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations'} # type: ignore + + def get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + self, + configuration_id: str, + **kwargs + ) -> AsyncIterable["models.AnomalyAlertingConfigurationList"]: + """Query all anomaly alerting configurations for specific anomaly detection configuration. + + Query all anomaly alerting configurations for specific anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyAlertingConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyAlertingConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomaly_alerting_configurations_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyAlertingConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_anomaly_alerting_configurations_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/alert/anomaly/configurations'} # type: ignore + + def get_series_by_anomaly_detection_configuration( + self, + configuration_id: str, + body: "models.DetectionSeriesQuery", + **kwargs + ) -> AsyncIterable["models.SeriesResultList"]: + """Query series enriched by anomaly detection. + + Query series enriched by anomaly detection. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query series detection result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionSeriesQuery + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SeriesResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.SeriesResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.SeriesResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_series_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionSeriesQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionSeriesQuery') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SeriesResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_series_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/series/query'} # type: ignore + + def get_anomalies_by_anomaly_detection_configuration( + self, + configuration_id: str, + body: "models.DetectionAnomalyResultQuery", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.AnomalyResultList"]: + """Query anomalies under anomaly detection configuration. + + Query anomalies under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query detection anomaly result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionAnomalyResultQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AnomalyResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomalies_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionAnomalyResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionAnomalyResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_anomalies_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/query'} # type: ignore + + def get_dimension_of_anomalies_by_anomaly_detection_configuration( + self, + configuration_id: str, + body: "models.AnomalyDimensionQuery", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.AnomalyDimensionList"]: + """Query dimension values of anomalies. + + Query dimension values of anomalies. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query dimension values request. + :type body: ~azure.ai.metricsadvisor.models.AnomalyDimensionQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyDimensionList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AnomalyDimensionList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDimensionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_dimension_of_anomalies_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDimensionQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDimensionQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyDimensionList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_dimension_of_anomalies_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/dimension/query'} # type: ignore + + def get_incidents_by_anomaly_detection_configuration( + self, + configuration_id: str, + body: "models.DetectionIncidentResultQuery", + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.IncidentResultList"]: + """Query incidents under anomaly detection configuration. + + Query incidents under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query detection incident result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionIncidentResultQuery + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionIncidentResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionIncidentResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_incidents_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query'} # type: ignore + + def get_incidents_by_anomaly_detection_configuration_next_pages( + self, + configuration_id: str, + top: Optional[int] = None, + token: Optional[str] = None, + **kwargs + ) -> AsyncIterable["models.IncidentResultList"]: + """Query incidents under anomaly detection configuration. + + Query incidents under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param top: + :type top: int + :param token: + :type token: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_by_anomaly_detection_configuration_next_pages.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if token is not None: + query_parameters['$token'] = self._serialize.query("token", token, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_incidents_by_anomaly_detection_configuration_next_pages.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query'} # type: ignore + + def get_root_cause_of_incident_by_anomaly_detection_configuration( + self, + configuration_id: str, + incident_id: str, + **kwargs + ) -> AsyncIterable["models.RootCauseList"]: + """Query root cause for incident. + + Query root cause for incident. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param incident_id: incident id. + :type incident_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RootCauseList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.RootCauseList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.RootCauseList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_root_cause_of_incident_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'incidentId': self._serialize.url("incident_id", incident_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'incidentId': self._serialize.url("incident_id", incident_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RootCauseList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_root_cause_of_incident_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/{incidentId}/rootCause'} # type: ignore + + def list_data_feeds( + self, + data_feed_name: Optional[str] = None, + data_source_type: Optional[Union[str, "models.DataSourceType"]] = None, + granularity_name: Optional[Union[str, "models.Granularity"]] = None, + status: Optional[Union[str, "models.EntityStatus"]] = None, + creator: Optional[str] = None, + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.DataFeedList"]: + """List all data feeds. + + List all data feeds. + + :param data_feed_name: filter data feed by its name. + :type data_feed_name: str + :param data_source_type: filter data feed by its source type. + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :param granularity_name: filter data feed by its granularity. + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param status: filter data feed by its status. + :type status: str or ~azure.ai.metricsadvisor.models.EntityStatus + :param creator: filter data feed by its creator. + :type creator: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataFeedList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeedList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_data_feeds.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if data_feed_name is not None: + query_parameters['dataFeedName'] = self._serialize.query("data_feed_name", data_feed_name, 'str') + if data_source_type is not None: + query_parameters['dataSourceType'] = self._serialize.query("data_source_type", data_source_type, 'str') + if granularity_name is not None: + query_parameters['granularityName'] = self._serialize.query("granularity_name", granularity_name, 'str') + if status is not None: + query_parameters['status'] = self._serialize.query("status", status, 'str') + if creator is not None: + query_parameters['creator'] = self._serialize.query("creator", creator, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataFeedList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_data_feeds.metadata = {'url': '/dataFeeds'} # type: ignore + + async def create_data_feed( + self, + body: "models.DataFeedDetail", + **kwargs + ) -> None: + """Create a new data feed. + + Create a new data feed. + + :param body: parameters to create a data feed. + :type body: ~azure.ai.metricsadvisor.models.DataFeedDetail + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DataFeedDetail') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_data_feed.metadata = {'url': '/dataFeeds'} # type: ignore + + async def get_data_feed_by_id( + self, + data_feed_id: str, + **kwargs + ) -> "models.DataFeedDetail": + """Get a data feed by its id. + + Get a data feed by its id. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataFeedDetail, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.DataFeedDetail + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedDetail"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_data_feed_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('DataFeedDetail', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_data_feed_by_id.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + async def update_data_feed( + self, + data_feed_id: str, + body: object, + **kwargs + ) -> None: + """Update a data feed. + + Update a data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: parameters to update a data feed. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_data_feed.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + async def delete_data_feed( + self, + data_feed_id: str, + **kwargs + ) -> None: + """Delete a data feed. + + Delete a data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_data_feed.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + async def get_metric_feedback( + self, + feedback_id: str, + **kwargs + ) -> "models.MetricFeedback": + """Get a metric feedback by its id. + + Get a metric feedback by its id. + + :param feedback_id: + :type feedback_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MetricFeedback, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.MetricFeedback + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricFeedback"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_metric_feedback.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'feedbackId': self._serialize.url("feedback_id", feedback_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('MetricFeedback', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_metric_feedback.metadata = {'url': '/feedback/metric/{feedbackId}'} # type: ignore + + def list_metric_feedbacks( + self, + body: "models.MetricFeedbackFilter", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.MetricFeedbackList"]: + """List feedback on the given metric. + + List feedback on the given metric. + + :param body: metric feedback filter. + :type body: ~azure.ai.metricsadvisor.models.MetricFeedbackFilter + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricFeedbackList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricFeedbackList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricFeedbackList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_metric_feedbacks.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedbackFilter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedbackFilter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MetricFeedbackList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_metric_feedbacks.metadata = {'url': '/feedback/metric/query'} # type: ignore + + async def create_metric_feedback( + self, + body: "models.MetricFeedback", + **kwargs + ) -> None: + """Create a new metric feedback. + + Create a new metric feedback. + + :param body: metric feedback. + :type body: ~azure.ai.metricsadvisor.models.MetricFeedback + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_metric_feedback.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedback') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_metric_feedback.metadata = {'url': '/feedback/metric'} # type: ignore + + def list_hooks( + self, + hook_name: Optional[str] = None, + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.HookList"]: + """List all hooks. + + List all hooks. + + :param hook_name: filter hook by its name. + :type hook_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either HookList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.HookList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.HookList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_hooks.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if hook_name is not None: + query_parameters['hookName'] = self._serialize.query("hook_name", hook_name, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('HookList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_hooks.metadata = {'url': '/hooks'} # type: ignore + + async def create_hook( + self, + body: "models.HookInfo", + **kwargs + ) -> None: + """Create a new hook. + + Create a new hook. + + :param body: Create hook request. + :type body: ~azure.ai.metricsadvisor.models.HookInfo + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'HookInfo') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_hook.metadata = {'url': '/hooks'} # type: ignore + + async def get_hook( + self, + hook_id: str, + **kwargs + ) -> "models.HookInfo": + """Get a hook by its id. + + Get a hook by its id. + + :param hook_id: Hook unique ID. + :type hook_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HookInfo, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.HookInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.HookInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('HookInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + async def update_hook( + self, + hook_id: str, + body: object, + **kwargs + ) -> None: + """Update a hook. + + Update a hook. + + :param hook_id: Hook unique ID. + :type hook_id: str + :param body: Update hook request. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + async def delete_hook( + self, + hook_id: str, + **kwargs + ) -> None: + """Delete a hook. + + Delete a hook. + + :param hook_id: Hook unique ID. + :type hook_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + def get_data_feed_ingestion_status( + self, + data_feed_id: str, + body: "models.IngestionStatusQueryOptions", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.IngestionStatusList"]: + """Get data ingestion status by data feed. + + Get data ingestion status by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: The query time range. + :type body: ~azure.ai.metricsadvisor.models.IngestionStatusQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IngestionStatusList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.IngestionStatusList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IngestionStatusList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_data_feed_ingestion_status.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionStatusQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionStatusQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IngestionStatusList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_data_feed_ingestion_status.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionStatus/query'} # type: ignore + + async def reset_data_feed_ingestion_status( + self, + data_feed_id: str, + body: "models.IngestionProgressResetOptions", + **kwargs + ) -> None: + """Reset data ingestion status by data feed to backfill data. + + Reset data ingestion status by data feed to backfill data. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: The backfill time range. + :type body: ~azure.ai.metricsadvisor.models.IngestionProgressResetOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.reset_data_feed_ingestion_status.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionProgressResetOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + reset_data_feed_ingestion_status.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionProgress/reset'} # type: ignore + + async def get_ingestion_progress( + self, + data_feed_id: str, + **kwargs + ) -> "models.DataFeedIngestionProgress": + """Get data last success ingestion job timestamp by data feed. + + Get data last success ingestion job timestamp by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataFeedIngestionProgress, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedIngestionProgress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_ingestion_progress.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('DataFeedIngestionProgress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ingestion_progress.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionProgress'} # type: ignore + + def get_metric_data( + self, + metric_id: str, + body: "models.MetricDataQueryOptions", + **kwargs + ) -> AsyncIterable["models.MetricDataList"]: + """Get time series data from metric. + + Get time series data from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query time series data condition. + :type body: ~azure.ai.metricsadvisor.models.MetricDataQueryOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricDataList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricDataList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricDataList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_data.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDataQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDataQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MetricDataList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_metric_data.metadata = {'url': '/metrics/{metricId}/data/query'} # type: ignore + + def get_metric_series( + self, + metric_id: str, + body: "models.MetricSeriesQueryOptions", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.MetricSeriesList"]: + """List series (dimension combinations) from metric. + + List series (dimension combinations) from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: filter to query series. + :type body: ~azure.ai.metricsadvisor.models.MetricSeriesQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricSeriesList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricSeriesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_series.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricSeriesQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricSeriesQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MetricSeriesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_metric_series.metadata = {'url': '/metrics/{metricId}/series/query'} # type: ignore + + def get_metric_dimension( + self, + metric_id: str, + body: "models.MetricDimensionQueryOptions", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.MetricDimensionList"]: + """List dimension from certain metric. + + List dimension from certain metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query dimension option. + :type body: ~azure.ai.metricsadvisor.models.MetricDimensionQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricDimensionList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricDimensionList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricDimensionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_dimension.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDimensionQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDimensionQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MetricDimensionList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_metric_dimension.metadata = {'url': '/metrics/{metricId}/dimension/query'} # type: ignore + + def get_anomaly_detection_configurations_by_metric( + self, + metric_id: str, + **kwargs + ) -> AsyncIterable["models.AnomalyDetectionConfigurationList"]: + """Query all anomaly detection configurations for specific metric. + + Query all anomaly detection configurations for specific metric. + + :param metric_id: metric unique id. + :type metric_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyDetectionConfigurationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.AnomalyDetectionConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDetectionConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomaly_detection_configurations_by_metric.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyDetectionConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_anomaly_detection_configurations_by_metric.metadata = {'url': '/metrics/{metricId}/enrichment/anomalyDetection/configurations'} # type: ignore + + def get_enrichment_status_by_metric( + self, + metric_id: str, + body: "models.EnrichmentStatusQueryOption", + skip: Optional[int] = None, + top: Optional[int] = None, + **kwargs + ) -> AsyncIterable["models.EnrichmentStatusList"]: + """Query anomaly detection status. + + Query anomaly detection status. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query options. + :type body: ~azure.ai.metricsadvisor.models.EnrichmentStatusQueryOption + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EnrichmentStatusList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.EnrichmentStatusList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.EnrichmentStatusList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_enrichment_status_by_metric.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'EnrichmentStatusQueryOption') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'EnrichmentStatusQueryOption') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('EnrichmentStatusList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_enrichment_status_by_metric.metadata = {'url': '/metrics/{metricId}/status/enrichment/anomalyDetection/query'} # type: ignore diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/__init__.py new file mode 100644 index 000000000000..16881cbd60a9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/__init__.py @@ -0,0 +1,449 @@ +# 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. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AlertResult + from ._models_py3 import AlertResultList + from ._models_py3 import AlertSnoozeCondition + from ._models_py3 import AlertingResultQuery + from ._models_py3 import AnomalyAlertingConfiguration + from ._models_py3 import AnomalyAlertingConfigurationList + from ._models_py3 import AnomalyAlertingConfigurationPatch + from ._models_py3 import AnomalyDetectionConfiguration + from ._models_py3 import AnomalyDetectionConfigurationList + from ._models_py3 import AnomalyDetectionConfigurationPatch + from ._models_py3 import AnomalyDimensionList + from ._models_py3 import AnomalyDimensionQuery + from ._models_py3 import AnomalyFeedback + from ._models_py3 import AnomalyFeedbackValue + from ._models_py3 import AnomalyProperty + from ._models_py3 import AnomalyResult + from ._models_py3 import AnomalyResultList + from ._models_py3 import AzureApplicationInsightsDataFeed + from ._models_py3 import AzureApplicationInsightsDataFeedPatch + from ._models_py3 import AzureApplicationInsightsParameter + from ._models_py3 import AzureBlobDataFeed + from ._models_py3 import AzureBlobDataFeedPatch + from ._models_py3 import AzureBlobParameter + from ._models_py3 import AzureCosmosDBDataFeed + from ._models_py3 import AzureCosmosDBDataFeedPatch + from ._models_py3 import AzureCosmosDBParameter + from ._models_py3 import AzureDataExplorerDataFeed + from ._models_py3 import AzureDataExplorerDataFeedPatch + from ._models_py3 import AzureDataLakeStorageGen2DataFeed + from ._models_py3 import AzureDataLakeStorageGen2DataFeedPatch + from ._models_py3 import AzureDataLakeStorageGen2Parameter + from ._models_py3 import AzureTableDataFeed + from ._models_py3 import AzureTableDataFeedPatch + from ._models_py3 import AzureTableParameter + from ._models_py3 import ChangePointFeedback + from ._models_py3 import ChangePointFeedbackValue + from ._models_py3 import ChangeThresholdCondition + from ._models_py3 import CommentFeedback + from ._models_py3 import CommentFeedbackValue + from ._models_py3 import DataFeedDetail + from ._models_py3 import DataFeedDetailPatch + from ._models_py3 import DataFeedIngestionProgress + from ._models_py3 import DataFeedList + from ._models_py3 import DetectionAnomalyFilterCondition + from ._models_py3 import DetectionAnomalyResultQuery + from ._models_py3 import DetectionIncidentFilterCondition + from ._models_py3 import DetectionIncidentResultQuery + from ._models_py3 import DetectionSeriesQuery + from ._models_py3 import Dimension + from ._models_py3 import DimensionGroupConfiguration + from ._models_py3 import DimensionGroupIdentity + from ._models_py3 import ElasticsearchDataFeed + from ._models_py3 import ElasticsearchDataFeedPatch + from ._models_py3 import ElasticsearchParameter + from ._models_py3 import EmailHookInfo + from ._models_py3 import EmailHookInfoPatch + from ._models_py3 import EmailHookParameter + from ._models_py3 import EnrichmentStatus + from ._models_py3 import EnrichmentStatusList + from ._models_py3 import EnrichmentStatusQueryOption + from ._models_py3 import ErrorCode + from ._models_py3 import FeedbackDimensionFilter + from ._models_py3 import HardThresholdCondition + from ._models_py3 import HookInfo + from ._models_py3 import HookInfoPatch + from ._models_py3 import HookList + from ._models_py3 import HttpRequestDataFeed + from ._models_py3 import HttpRequestDataFeedPatch + from ._models_py3 import HttpRequestParameter + from ._models_py3 import IncidentProperty + from ._models_py3 import IncidentResult + from ._models_py3 import IncidentResultList + from ._models_py3 import InfluxDBDataFeed + from ._models_py3 import InfluxDBDataFeedPatch + from ._models_py3 import InfluxDBParameter + from ._models_py3 import IngestionProgressResetOptions + from ._models_py3 import IngestionStatus + from ._models_py3 import IngestionStatusList + from ._models_py3 import IngestionStatusQueryOptions + from ._models_py3 import Metric + from ._models_py3 import MetricAlertingConfiguration + from ._models_py3 import MetricDataItem + from ._models_py3 import MetricDataList + from ._models_py3 import MetricDataQueryOptions + from ._models_py3 import MetricDimensionList + from ._models_py3 import MetricDimensionQueryOptions + from ._models_py3 import MetricFeedback + from ._models_py3 import MetricFeedbackFilter + from ._models_py3 import MetricFeedbackList + from ._models_py3 import MetricSeriesItem + from ._models_py3 import MetricSeriesList + from ._models_py3 import MetricSeriesQueryOptions + from ._models_py3 import MongoDBDataFeed + from ._models_py3 import MongoDBDataFeedPatch + from ._models_py3 import MongoDBParameter + from ._models_py3 import MySqlDataFeed + from ._models_py3 import MySqlDataFeedPatch + from ._models_py3 import PeriodFeedback + from ._models_py3 import PeriodFeedbackValue + from ._models_py3 import PostgreSqlDataFeed + from ._models_py3 import PostgreSqlDataFeedPatch + from ._models_py3 import RootCause + from ._models_py3 import RootCauseList + from ._models_py3 import SQLServerDataFeed + from ._models_py3 import SQLServerDataFeedPatch + from ._models_py3 import SeriesConfiguration + from ._models_py3 import SeriesIdentity + from ._models_py3 import SeriesResult + from ._models_py3 import SeriesResultList + from ._models_py3 import SeverityCondition + from ._models_py3 import SeverityFilterCondition + from ._models_py3 import SmartDetectionCondition + from ._models_py3 import SqlSourceParameter + from ._models_py3 import SuppressCondition + from ._models_py3 import TopNGroupScope + from ._models_py3 import UsageStats + from ._models_py3 import ValueCondition + from ._models_py3 import WebhookHookInfo + from ._models_py3 import WebhookHookInfoPatch + from ._models_py3 import WebhookHookParameter + from ._models_py3 import WholeMetricConfiguration +except (SyntaxError, ImportError): + from ._models import AlertResult # type: ignore + from ._models import AlertResultList # type: ignore + from ._models import AlertSnoozeCondition # type: ignore + from ._models import AlertingResultQuery # type: ignore + from ._models import AnomalyAlertingConfiguration # type: ignore + from ._models import AnomalyAlertingConfigurationList # type: ignore + from ._models import AnomalyAlertingConfigurationPatch # type: ignore + from ._models import AnomalyDetectionConfiguration # type: ignore + from ._models import AnomalyDetectionConfigurationList # type: ignore + from ._models import AnomalyDetectionConfigurationPatch # type: ignore + from ._models import AnomalyDimensionList # type: ignore + from ._models import AnomalyDimensionQuery # type: ignore + from ._models import AnomalyFeedback # type: ignore + from ._models import AnomalyFeedbackValue # type: ignore + from ._models import AnomalyProperty # type: ignore + from ._models import AnomalyResult # type: ignore + from ._models import AnomalyResultList # type: ignore + from ._models import AzureApplicationInsightsDataFeed # type: ignore + from ._models import AzureApplicationInsightsDataFeedPatch # type: ignore + from ._models import AzureApplicationInsightsParameter # type: ignore + from ._models import AzureBlobDataFeed # type: ignore + from ._models import AzureBlobDataFeedPatch # type: ignore + from ._models import AzureBlobParameter # type: ignore + from ._models import AzureCosmosDBDataFeed # type: ignore + from ._models import AzureCosmosDBDataFeedPatch # type: ignore + from ._models import AzureCosmosDBParameter # type: ignore + from ._models import AzureDataExplorerDataFeed # type: ignore + from ._models import AzureDataExplorerDataFeedPatch # type: ignore + from ._models import AzureDataLakeStorageGen2DataFeed # type: ignore + from ._models import AzureDataLakeStorageGen2DataFeedPatch # type: ignore + from ._models import AzureDataLakeStorageGen2Parameter # type: ignore + from ._models import AzureTableDataFeed # type: ignore + from ._models import AzureTableDataFeedPatch # type: ignore + from ._models import AzureTableParameter # type: ignore + from ._models import ChangePointFeedback # type: ignore + from ._models import ChangePointFeedbackValue # type: ignore + from ._models import ChangeThresholdCondition # type: ignore + from ._models import CommentFeedback # type: ignore + from ._models import CommentFeedbackValue # type: ignore + from ._models import DataFeedDetail # type: ignore + from ._models import DataFeedDetailPatch # type: ignore + from ._models import DataFeedIngestionProgress # type: ignore + from ._models import DataFeedList # type: ignore + from ._models import DetectionAnomalyFilterCondition # type: ignore + from ._models import DetectionAnomalyResultQuery # type: ignore + from ._models import DetectionIncidentFilterCondition # type: ignore + from ._models import DetectionIncidentResultQuery # type: ignore + from ._models import DetectionSeriesQuery # type: ignore + from ._models import Dimension # type: ignore + from ._models import DimensionGroupConfiguration # type: ignore + from ._models import DimensionGroupIdentity # type: ignore + from ._models import ElasticsearchDataFeed # type: ignore + from ._models import ElasticsearchDataFeedPatch # type: ignore + from ._models import ElasticsearchParameter # type: ignore + from ._models import EmailHookInfo # type: ignore + from ._models import EmailHookInfoPatch # type: ignore + from ._models import EmailHookParameter # type: ignore + from ._models import EnrichmentStatus # type: ignore + from ._models import EnrichmentStatusList # type: ignore + from ._models import EnrichmentStatusQueryOption # type: ignore + from ._models import ErrorCode # type: ignore + from ._models import FeedbackDimensionFilter # type: ignore + from ._models import HardThresholdCondition # type: ignore + from ._models import HookInfo # type: ignore + from ._models import HookInfoPatch # type: ignore + from ._models import HookList # type: ignore + from ._models import HttpRequestDataFeed # type: ignore + from ._models import HttpRequestDataFeedPatch # type: ignore + from ._models import HttpRequestParameter # type: ignore + from ._models import IncidentProperty # type: ignore + from ._models import IncidentResult # type: ignore + from ._models import IncidentResultList # type: ignore + from ._models import InfluxDBDataFeed # type: ignore + from ._models import InfluxDBDataFeedPatch # type: ignore + from ._models import InfluxDBParameter # type: ignore + from ._models import IngestionProgressResetOptions # type: ignore + from ._models import IngestionStatus # type: ignore + from ._models import IngestionStatusList # type: ignore + from ._models import IngestionStatusQueryOptions # type: ignore + from ._models import Metric # type: ignore + from ._models import MetricAlertingConfiguration # type: ignore + from ._models import MetricDataItem # type: ignore + from ._models import MetricDataList # type: ignore + from ._models import MetricDataQueryOptions # type: ignore + from ._models import MetricDimensionList # type: ignore + from ._models import MetricDimensionQueryOptions # type: ignore + from ._models import MetricFeedback # type: ignore + from ._models import MetricFeedbackFilter # type: ignore + from ._models import MetricFeedbackList # type: ignore + from ._models import MetricSeriesItem # type: ignore + from ._models import MetricSeriesList # type: ignore + from ._models import MetricSeriesQueryOptions # type: ignore + from ._models import MongoDBDataFeed # type: ignore + from ._models import MongoDBDataFeedPatch # type: ignore + from ._models import MongoDBParameter # type: ignore + from ._models import MySqlDataFeed # type: ignore + from ._models import MySqlDataFeedPatch # type: ignore + from ._models import PeriodFeedback # type: ignore + from ._models import PeriodFeedbackValue # type: ignore + from ._models import PostgreSqlDataFeed # type: ignore + from ._models import PostgreSqlDataFeedPatch # type: ignore + from ._models import RootCause # type: ignore + from ._models import RootCauseList # type: ignore + from ._models import SQLServerDataFeed # type: ignore + from ._models import SQLServerDataFeedPatch # type: ignore + from ._models import SeriesConfiguration # type: ignore + from ._models import SeriesIdentity # type: ignore + from ._models import SeriesResult # type: ignore + from ._models import SeriesResultList # type: ignore + from ._models import SeverityCondition # type: ignore + from ._models import SeverityFilterCondition # type: ignore + from ._models import SmartDetectionCondition # type: ignore + from ._models import SqlSourceParameter # type: ignore + from ._models import SuppressCondition # type: ignore + from ._models import TopNGroupScope # type: ignore + from ._models import UsageStats # type: ignore + from ._models import ValueCondition # type: ignore + from ._models import WebhookHookInfo # type: ignore + from ._models import WebhookHookInfoPatch # type: ignore + from ._models import WebhookHookParameter # type: ignore + from ._models import WholeMetricConfiguration # type: ignore + +from ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums import ( + AnomalyAlertingConfigurationCrossMetricsOperator, + AnomalyAlertingConfigurationPatchCrossMetricsOperator, + AnomalyDetectorDirection, + AnomalyPropertyAnomalyStatus, + AnomalyScope, + AnomalyValue, + ChangePointValue, + DataFeedDetailPatchDataSourceType, + DataFeedDetailPatchFillMissingPointType, + DataFeedDetailPatchNeedRollup, + DataFeedDetailPatchRollUpMethod, + DataFeedDetailPatchStatus, + DataFeedDetailPatchViewMode, + DataFeedDetailRollUpMethod, + DataFeedDetailStatus, + DataSourceType, + DimensionGroupConfigurationConditionOperator, + Direction, + EntityStatus, + FeedbackQueryTimeMode, + FeedbackType, + FillMissingPointType, + Granularity, + HookInfoPatchHookType, + HookType, + IncidentPropertyIncidentStatus, + IngestionStatusType, + NeedRollupEnum, + PeriodType, + SeriesConfigurationConditionOperator, + Severity, + SnoozeScope, + TimeMode, + ViewMode, + WholeMetricConfigurationConditionOperator, +) + +__all__ = [ + 'AlertResult', + 'AlertResultList', + 'AlertSnoozeCondition', + 'AlertingResultQuery', + 'AnomalyAlertingConfiguration', + 'AnomalyAlertingConfigurationList', + 'AnomalyAlertingConfigurationPatch', + 'AnomalyDetectionConfiguration', + 'AnomalyDetectionConfigurationList', + 'AnomalyDetectionConfigurationPatch', + 'AnomalyDimensionList', + 'AnomalyDimensionQuery', + 'AnomalyFeedback', + 'AnomalyFeedbackValue', + 'AnomalyProperty', + 'AnomalyResult', + 'AnomalyResultList', + 'AzureApplicationInsightsDataFeed', + 'AzureApplicationInsightsDataFeedPatch', + 'AzureApplicationInsightsParameter', + 'AzureBlobDataFeed', + 'AzureBlobDataFeedPatch', + 'AzureBlobParameter', + 'AzureCosmosDBDataFeed', + 'AzureCosmosDBDataFeedPatch', + 'AzureCosmosDBParameter', + 'AzureDataExplorerDataFeed', + 'AzureDataExplorerDataFeedPatch', + 'AzureDataLakeStorageGen2DataFeed', + 'AzureDataLakeStorageGen2DataFeedPatch', + 'AzureDataLakeStorageGen2Parameter', + 'AzureTableDataFeed', + 'AzureTableDataFeedPatch', + 'AzureTableParameter', + 'ChangePointFeedback', + 'ChangePointFeedbackValue', + 'ChangeThresholdCondition', + 'CommentFeedback', + 'CommentFeedbackValue', + 'DataFeedDetail', + 'DataFeedDetailPatch', + 'DataFeedIngestionProgress', + 'DataFeedList', + 'DetectionAnomalyFilterCondition', + 'DetectionAnomalyResultQuery', + 'DetectionIncidentFilterCondition', + 'DetectionIncidentResultQuery', + 'DetectionSeriesQuery', + 'Dimension', + 'DimensionGroupConfiguration', + 'DimensionGroupIdentity', + 'ElasticsearchDataFeed', + 'ElasticsearchDataFeedPatch', + 'ElasticsearchParameter', + 'EmailHookInfo', + 'EmailHookInfoPatch', + 'EmailHookParameter', + 'EnrichmentStatus', + 'EnrichmentStatusList', + 'EnrichmentStatusQueryOption', + 'ErrorCode', + 'FeedbackDimensionFilter', + 'HardThresholdCondition', + 'HookInfo', + 'HookInfoPatch', + 'HookList', + 'HttpRequestDataFeed', + 'HttpRequestDataFeedPatch', + 'HttpRequestParameter', + 'IncidentProperty', + 'IncidentResult', + 'IncidentResultList', + 'InfluxDBDataFeed', + 'InfluxDBDataFeedPatch', + 'InfluxDBParameter', + 'IngestionProgressResetOptions', + 'IngestionStatus', + 'IngestionStatusList', + 'IngestionStatusQueryOptions', + 'Metric', + 'MetricAlertingConfiguration', + 'MetricDataItem', + 'MetricDataList', + 'MetricDataQueryOptions', + 'MetricDimensionList', + 'MetricDimensionQueryOptions', + 'MetricFeedback', + 'MetricFeedbackFilter', + 'MetricFeedbackList', + 'MetricSeriesItem', + 'MetricSeriesList', + 'MetricSeriesQueryOptions', + 'MongoDBDataFeed', + 'MongoDBDataFeedPatch', + 'MongoDBParameter', + 'MySqlDataFeed', + 'MySqlDataFeedPatch', + 'PeriodFeedback', + 'PeriodFeedbackValue', + 'PostgreSqlDataFeed', + 'PostgreSqlDataFeedPatch', + 'RootCause', + 'RootCauseList', + 'SQLServerDataFeed', + 'SQLServerDataFeedPatch', + 'SeriesConfiguration', + 'SeriesIdentity', + 'SeriesResult', + 'SeriesResultList', + 'SeverityCondition', + 'SeverityFilterCondition', + 'SmartDetectionCondition', + 'SqlSourceParameter', + 'SuppressCondition', + 'TopNGroupScope', + 'UsageStats', + 'ValueCondition', + 'WebhookHookInfo', + 'WebhookHookInfoPatch', + 'WebhookHookParameter', + 'WholeMetricConfiguration', + 'AnomalyAlertingConfigurationCrossMetricsOperator', + 'AnomalyAlertingConfigurationPatchCrossMetricsOperator', + 'AnomalyDetectorDirection', + 'AnomalyPropertyAnomalyStatus', + 'AnomalyScope', + 'AnomalyValue', + 'ChangePointValue', + 'DataFeedDetailPatchDataSourceType', + 'DataFeedDetailPatchFillMissingPointType', + 'DataFeedDetailPatchNeedRollup', + 'DataFeedDetailPatchRollUpMethod', + 'DataFeedDetailPatchStatus', + 'DataFeedDetailPatchViewMode', + 'DataFeedDetailRollUpMethod', + 'DataFeedDetailStatus', + 'DataSourceType', + 'DimensionGroupConfigurationConditionOperator', + 'Direction', + 'EntityStatus', + 'FeedbackQueryTimeMode', + 'FeedbackType', + 'FillMissingPointType', + 'Granularity', + 'HookInfoPatchHookType', + 'HookType', + 'IncidentPropertyIncidentStatus', + 'IngestionStatusType', + 'NeedRollupEnum', + 'PeriodType', + 'SeriesConfigurationConditionOperator', + 'Severity', + 'SnoozeScope', + 'TimeMode', + 'ViewMode', + 'WholeMetricConfigurationConditionOperator', +] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums.py new file mode 100644 index 000000000000..9ce04927e4e1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums.py @@ -0,0 +1,333 @@ +# 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 enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AnomalyAlertingConfigurationCrossMetricsOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """cross metrics operator + + should be specified when setting up multiple metric alerting configurations + """ + + AND_ENUM = "AND" + OR_ENUM = "OR" + XOR = "XOR" + +class AnomalyAlertingConfigurationPatchCrossMetricsOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """cross metrics operator + """ + + AND_ENUM = "AND" + OR_ENUM = "OR" + XOR = "XOR" + +class AnomalyDetectorDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """detection direction + """ + + BOTH = "Both" + DOWN = "Down" + UP = "Up" + +class AnomalyPropertyAnomalyStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """anomaly status + + only return for alerting anomaly result + """ + + ACTIVE = "Active" + RESOLVED = "Resolved" + +class AnomalyScope(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Anomaly scope + """ + + ALL = "All" + DIMENSION = "Dimension" + TOP_N = "TopN" + +class AnomalyValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + AUTO_DETECT = "AutoDetect" + ANOMALY = "Anomaly" + NOT_ANOMALY = "NotAnomaly" + +class ChangePointValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + AUTO_DETECT = "AutoDetect" + CHANGE_POINT = "ChangePoint" + NOT_CHANGE_POINT = "NotChangePoint" + +class DataFeedDetailPatchDataSourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """data source type + """ + + AZURE_APPLICATION_INSIGHTS = "AzureApplicationInsights" + AZURE_BLOB = "AzureBlob" + AZURE_COSMOS_DB = "AzureCosmosDB" + AZURE_DATA_EXPLORER = "AzureDataExplorer" + AZURE_DATA_LAKE_STORAGE_GEN2 = "AzureDataLakeStorageGen2" + AZURE_TABLE = "AzureTable" + ELASTICSEARCH = "Elasticsearch" + HTTP_REQUEST = "HttpRequest" + INFLUX_DB = "InfluxDB" + MONGO_DB = "MongoDB" + MY_SQL = "MySql" + POSTGRE_SQL = "PostgreSql" + SQL_SERVER = "SqlServer" + +class DataFeedDetailPatchFillMissingPointType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """the type of fill missing point for anomaly detection + """ + + SMART_FILLING = "SmartFilling" + PREVIOUS_VALUE = "PreviousValue" + CUSTOM_VALUE = "CustomValue" + NO_FILLING = "NoFilling" + +class DataFeedDetailPatchNeedRollup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """mark if the data feed need rollup + """ + + NO_ROLLUP = "NoRollup" + NEED_ROLLUP = "NeedRollup" + ALREADY_ROLLUP = "AlreadyRollup" + +class DataFeedDetailPatchRollUpMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """roll up method + """ + + NONE = "None" + SUM = "Sum" + MAX = "Max" + MIN = "Min" + AVG = "Avg" + COUNT = "Count" + +class DataFeedDetailPatchStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """data feed status + """ + + ACTIVE = "Active" + PAUSED = "Paused" + +class DataFeedDetailPatchViewMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """data feed access mode, default is Private + """ + + PRIVATE = "Private" + PUBLIC = "Public" + +class DataFeedDetailRollUpMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """roll up method + """ + + NONE = "None" + SUM = "Sum" + MAX = "Max" + MIN = "Min" + AVG = "Avg" + COUNT = "Count" + +class DataFeedDetailStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """data feed status + """ + + ACTIVE = "Active" + PAUSED = "Paused" + +class DataSourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + AZURE_APPLICATION_INSIGHTS = "AzureApplicationInsights" + AZURE_BLOB = "AzureBlob" + AZURE_COSMOS_DB = "AzureCosmosDB" + AZURE_DATA_EXPLORER = "AzureDataExplorer" + AZURE_DATA_LAKE_STORAGE_GEN2 = "AzureDataLakeStorageGen2" + AZURE_TABLE = "AzureTable" + ELASTICSEARCH = "Elasticsearch" + HTTP_REQUEST = "HttpRequest" + INFLUX_DB = "InfluxDB" + MONGO_DB = "MongoDB" + MY_SQL = "MySql" + POSTGRE_SQL = "PostgreSql" + SQL_SERVER = "SqlServer" + +class DimensionGroupConfigurationConditionOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """condition operator + + should be specified when combining multiple detection conditions + """ + + AND_ENUM = "AND" + OR_ENUM = "OR" + +class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """value filter direction + """ + + BOTH = "Both" + DOWN = "Down" + UP = "Up" + +class EntityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + ACTIVE = "Active" + PAUSED = "Paused" + +class FeedbackQueryTimeMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """time mode to filter feedback + """ + + METRIC_TIMESTAMP = "MetricTimestamp" + FEEDBACK_CREATED_TIME = "FeedbackCreatedTime" + +class FeedbackType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """feedback type + """ + + ANOMALY = "Anomaly" + CHANGE_POINT = "ChangePoint" + PERIOD = "Period" + COMMENT = "Comment" + +class FillMissingPointType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """the type of fill missing point for anomaly detection + """ + + SMART_FILLING = "SmartFilling" + PREVIOUS_VALUE = "PreviousValue" + CUSTOM_VALUE = "CustomValue" + NO_FILLING = "NoFilling" + +class Granularity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + YEARLY = "Yearly" + MONTHLY = "Monthly" + WEEKLY = "Weekly" + DAILY = "Daily" + HOURLY = "Hourly" + MINUTELY = "Minutely" + SECONDLY = "Secondly" + CUSTOM = "Custom" + +class HookInfoPatchHookType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """hook type + """ + + WEBHOOK = "Webhook" + EMAIL = "Email" + +class HookType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """hook type + """ + + WEBHOOK = "Webhook" + EMAIL = "Email" + +class IncidentPropertyIncidentStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """incident status + + only return for alerting incident result + """ + + ACTIVE = "Active" + RESOLVED = "Resolved" + +class IngestionStatusType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """latest ingestion task status for this data slice. + """ + + NOT_STARTED = "NotStarted" + SCHEDULED = "Scheduled" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + NO_DATA = "NoData" + ERROR = "Error" + PAUSED = "Paused" + +class NeedRollupEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """mark if the data feed need rollup + """ + + NO_ROLLUP = "NoRollup" + NEED_ROLLUP = "NeedRollup" + ALREADY_ROLLUP = "AlreadyRollup" + +class PeriodType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """the type of setting period + """ + + AUTO_DETECT = "AutoDetect" + ASSIGN_VALUE = "AssignValue" + +class SeriesConfigurationConditionOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """condition operator + + should be specified when combining multiple detection conditions + """ + + AND_ENUM = "AND" + OR_ENUM = "OR" + +class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """min alert severity + """ + + LOW = "Low" + MEDIUM = "Medium" + HIGH = "High" + +class SnoozeScope(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """snooze scope + """ + + METRIC = "Metric" + SERIES = "Series" + +class TimeMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """time mode + """ + + ANOMALY_TIME = "AnomalyTime" + CREATED_TIME = "CreatedTime" + MODIFIED_TIME = "ModifiedTime" + +class ViewMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """data feed access mode, default is Private + """ + + PRIVATE = "Private" + PUBLIC = "Public" + +class WholeMetricConfigurationConditionOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """condition operator + + should be specified when combining multiple detection conditions + """ + + AND_ENUM = "AND" + OR_ENUM = "OR" diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py new file mode 100644 index 000000000000..22610cff4ef0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py @@ -0,0 +1,6983 @@ +# 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 azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class AlertingResultQuery(msrest.serialization.Model): + """AlertingResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param time_mode: Required. time mode. Possible values include: "AnomalyTime", "CreatedTime", + "ModifiedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.TimeMode + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'time_mode': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'time_mode': {'key': 'timeMode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertingResultQuery, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.time_mode = kwargs['time_mode'] + + +class AlertResult(msrest.serialization.Model): + """AlertResult. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar alert_id: alert id. + :vartype alert_id: str + :ivar timestamp: anomaly time. + :vartype timestamp: ~datetime.datetime + :ivar created_time: created time. + :vartype created_time: ~datetime.datetime + :ivar modified_time: modified time. + :vartype modified_time: ~datetime.datetime + """ + + _validation = { + 'alert_id': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'created_time': {'readonly': True}, + 'modified_time': {'readonly': True}, + } + + _attribute_map = { + 'alert_id': {'key': 'alertId', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertResult, self).__init__(**kwargs) + self.alert_id = None + self.timestamp = None + self.created_time = None + self.modified_time = None + + +class AlertResultList(msrest.serialization.Model): + """AlertResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AlertResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[AlertResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertResultList, self).__init__(**kwargs) + self.next_link = kwargs['next_link'] + self.value = kwargs['value'] + + +class AlertSnoozeCondition(msrest.serialization.Model): + """AlertSnoozeCondition. + + All required parameters must be populated in order to send to Azure. + + :param auto_snooze: Required. snooze point count, value range : [0, +∞). + :type auto_snooze: int + :param snooze_scope: Required. snooze scope. Possible values include: "Metric", "Series". + :type snooze_scope: str or ~azure.ai.metricsadvisor.models.SnoozeScope + :param only_for_successive: Required. only snooze for successive anomalies. + :type only_for_successive: bool + """ + + _validation = { + 'auto_snooze': {'required': True}, + 'snooze_scope': {'required': True}, + 'only_for_successive': {'required': True}, + } + + _attribute_map = { + 'auto_snooze': {'key': 'autoSnooze', 'type': 'int'}, + 'snooze_scope': {'key': 'snoozeScope', 'type': 'str'}, + 'only_for_successive': {'key': 'onlyForSuccessive', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertSnoozeCondition, self).__init__(**kwargs) + self.auto_snooze = kwargs['auto_snooze'] + self.snooze_scope = kwargs['snooze_scope'] + self.only_for_successive = kwargs['only_for_successive'] + + +class AnomalyAlertingConfiguration(msrest.serialization.Model): + """AnomalyAlertingConfiguration. + + 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. + + :ivar anomaly_alerting_configuration_id: anomaly alerting configuration unique id. + :vartype anomaly_alerting_configuration_id: str + :param name: Required. anomaly alerting configuration name. + :type name: str + :param description: anomaly alerting configuration description. + :type description: str + :param cross_metrics_operator: cross metrics operator + + should be specified when setting up multiple metric alerting configurations. Possible values + include: "AND", "OR", "XOR". + :type cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationCrossMetricsOperator + :param hook_ids: Required. hook unique ids. + :type hook_ids: list[str] + :param metric_alerting_configurations: Required. Anomaly alerting configurations. + :type metric_alerting_configurations: + list[~azure.ai.metricsadvisor.models.MetricAlertingConfiguration] + """ + + _validation = { + 'anomaly_alerting_configuration_id': {'readonly': True}, + 'name': {'required': True}, + 'hook_ids': {'required': True, 'unique': True}, + 'metric_alerting_configurations': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'anomaly_alerting_configuration_id': {'key': 'anomalyAlertingConfigurationId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'cross_metrics_operator': {'key': 'crossMetricsOperator', 'type': 'str'}, + 'hook_ids': {'key': 'hookIds', 'type': '[str]'}, + 'metric_alerting_configurations': {'key': 'metricAlertingConfigurations', 'type': '[MetricAlertingConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyAlertingConfiguration, self).__init__(**kwargs) + self.anomaly_alerting_configuration_id = None + self.name = kwargs['name'] + self.description = kwargs.get('description', None) + self.cross_metrics_operator = kwargs.get('cross_metrics_operator', None) + self.hook_ids = kwargs['hook_ids'] + self.metric_alerting_configurations = kwargs['metric_alerting_configurations'] + + +class AnomalyAlertingConfigurationList(msrest.serialization.Model): + """AnomalyAlertingConfigurationList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnomalyAlertingConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyAlertingConfigurationList, self).__init__(**kwargs) + self.value = kwargs['value'] + + +class AnomalyAlertingConfigurationPatch(msrest.serialization.Model): + """AnomalyAlertingConfigurationPatch. + + :param name: Anomaly alerting configuration name. + :type name: str + :param description: anomaly alerting configuration description. + :type description: str + :param cross_metrics_operator: cross metrics operator. Possible values include: "AND", "OR", + "XOR". + :type cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationPatchCrossMetricsOperator + :param hook_ids: hook unique ids. + :type hook_ids: list[str] + :param metric_alerting_configurations: Anomaly alerting configurations. + :type metric_alerting_configurations: + list[~azure.ai.metricsadvisor.models.MetricAlertingConfiguration] + """ + + _validation = { + 'hook_ids': {'unique': True}, + 'metric_alerting_configurations': {'unique': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'cross_metrics_operator': {'key': 'crossMetricsOperator', 'type': 'str'}, + 'hook_ids': {'key': 'hookIds', 'type': '[str]'}, + 'metric_alerting_configurations': {'key': 'metricAlertingConfigurations', 'type': '[MetricAlertingConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyAlertingConfigurationPatch, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.cross_metrics_operator = kwargs.get('cross_metrics_operator', None) + self.hook_ids = kwargs.get('hook_ids', None) + self.metric_alerting_configurations = kwargs.get('metric_alerting_configurations', None) + + +class AnomalyDetectionConfiguration(msrest.serialization.Model): + """AnomalyDetectionConfiguration. + + 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. + + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id. + :vartype anomaly_detection_configuration_id: str + :param name: Required. anomaly detection configuration name. + :type name: str + :param description: anomaly detection configuration description. + :type description: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param whole_metric_configuration: Required. + :type whole_metric_configuration: ~azure.ai.metricsadvisor.models.WholeMetricConfiguration + :param dimension_group_override_configurations: detection configuration for series group. + :type dimension_group_override_configurations: + list[~azure.ai.metricsadvisor.models.DimensionGroupConfiguration] + :param series_override_configurations: detection configuration for specific series. + :type series_override_configurations: list[~azure.ai.metricsadvisor.models.SeriesConfiguration] + """ + + _validation = { + 'anomaly_detection_configuration_id': {'readonly': True}, + 'name': {'required': True}, + 'metric_id': {'required': True}, + 'whole_metric_configuration': {'required': True}, + 'dimension_group_override_configurations': {'unique': True}, + 'series_override_configurations': {'unique': True}, + } + + _attribute_map = { + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'whole_metric_configuration': {'key': 'wholeMetricConfiguration', 'type': 'WholeMetricConfiguration'}, + 'dimension_group_override_configurations': {'key': 'dimensionGroupOverrideConfigurations', 'type': '[DimensionGroupConfiguration]'}, + 'series_override_configurations': {'key': 'seriesOverrideConfigurations', 'type': '[SeriesConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyDetectionConfiguration, self).__init__(**kwargs) + self.anomaly_detection_configuration_id = None + self.name = kwargs['name'] + self.description = kwargs.get('description', None) + self.metric_id = kwargs['metric_id'] + self.whole_metric_configuration = kwargs['whole_metric_configuration'] + self.dimension_group_override_configurations = kwargs.get('dimension_group_override_configurations', None) + self.series_override_configurations = kwargs.get('series_override_configurations', None) + + +class AnomalyDetectionConfigurationList(msrest.serialization.Model): + """AnomalyDetectionConfigurationList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnomalyDetectionConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyDetectionConfigurationList, self).__init__(**kwargs) + self.value = kwargs['value'] + + +class AnomalyDetectionConfigurationPatch(msrest.serialization.Model): + """AnomalyDetectionConfigurationPatch. + + :param name: anomaly detection configuration name. + :type name: str + :param description: anomaly detection configuration description. + :type description: str + :param whole_metric_configuration: + :type whole_metric_configuration: ~azure.ai.metricsadvisor.models.WholeMetricConfiguration + :param dimension_group_override_configurations: detection configuration for series group. + :type dimension_group_override_configurations: + list[~azure.ai.metricsadvisor.models.DimensionGroupConfiguration] + :param series_override_configurations: detection configuration for specific series. + :type series_override_configurations: list[~azure.ai.metricsadvisor.models.SeriesConfiguration] + """ + + _validation = { + 'dimension_group_override_configurations': {'unique': True}, + 'series_override_configurations': {'unique': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'whole_metric_configuration': {'key': 'wholeMetricConfiguration', 'type': 'WholeMetricConfiguration'}, + 'dimension_group_override_configurations': {'key': 'dimensionGroupOverrideConfigurations', 'type': '[DimensionGroupConfiguration]'}, + 'series_override_configurations': {'key': 'seriesOverrideConfigurations', 'type': '[SeriesConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyDetectionConfigurationPatch, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.whole_metric_configuration = kwargs.get('whole_metric_configuration', None) + self.dimension_group_override_configurations = kwargs.get('dimension_group_override_configurations', None) + self.series_override_configurations = kwargs.get('series_override_configurations', None) + + +class AnomalyDimensionList(msrest.serialization.Model): + """AnomalyDimensionList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[str] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyDimensionList, self).__init__(**kwargs) + self.next_link = kwargs['next_link'] + self.value = kwargs['value'] + + +class AnomalyDimensionQuery(msrest.serialization.Model): + """AnomalyDimensionQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param dimension_name: Required. dimension to query. + :type dimension_name: str + :param dimension_filter: + :type dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'dimension_name': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'DimensionGroupIdentity'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyDimensionQuery, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.dimension_name = kwargs['dimension_name'] + self.dimension_filter = kwargs.get('dimension_filter', None) + + +class MetricFeedback(msrest.serialization.Model): + """MetricFeedback. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + } + + _subtype_map = { + 'feedback_type': {'Anomaly': 'AnomalyFeedback', 'ChangePoint': 'ChangePointFeedback', 'Comment': 'CommentFeedback', 'Period': 'PeriodFeedback'} + } + + def __init__( + self, + **kwargs + ): + super(MetricFeedback, self).__init__(**kwargs) + self.feedback_type = None # type: Optional[str] + self.feedback_id = None + self.created_time = None + self.user_principal = None + self.metric_id = kwargs['metric_id'] + self.dimension_filter = kwargs['dimension_filter'] + + +class AnomalyFeedback(MetricFeedback): + """AnomalyFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.AnomalyFeedbackValue + :param anomaly_detection_configuration_id: the corresponding anomaly detection configuration of + this feedback. + :type anomaly_detection_configuration_id: str + :param anomaly_detection_configuration_snapshot: + :type anomaly_detection_configuration_snapshot: + ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'AnomalyFeedbackValue'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'anomaly_detection_configuration_snapshot': {'key': 'anomalyDetectionConfigurationSnapshot', 'type': 'AnomalyDetectionConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyFeedback, self).__init__(**kwargs) + self.feedback_type = 'Anomaly' # type: str + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.value = kwargs['value'] + self.anomaly_detection_configuration_id = kwargs.get('anomaly_detection_configuration_id', None) + self.anomaly_detection_configuration_snapshot = kwargs.get('anomaly_detection_configuration_snapshot', None) + + +class AnomalyFeedbackValue(msrest.serialization.Model): + """AnomalyFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param anomaly_value: Required. Possible values include: "AutoDetect", "Anomaly", + "NotAnomaly". + :type anomaly_value: str or ~azure.ai.metricsadvisor.models.AnomalyValue + """ + + _validation = { + 'anomaly_value': {'required': True}, + } + + _attribute_map = { + 'anomaly_value': {'key': 'anomalyValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyFeedbackValue, self).__init__(**kwargs) + self.anomaly_value = kwargs['anomaly_value'] + + +class AnomalyProperty(msrest.serialization.Model): + """AnomalyProperty. + + 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 anomaly_severity: Required. anomaly severity. Possible values include: "Low", "Medium", + "High". + :type anomaly_severity: str or ~azure.ai.metricsadvisor.models.Severity + :ivar anomaly_status: anomaly status + + only return for alerting anomaly result. Possible values include: "Active", "Resolved". + :vartype anomaly_status: str or ~azure.ai.metricsadvisor.models.AnomalyPropertyAnomalyStatus + """ + + _validation = { + 'anomaly_severity': {'required': True}, + 'anomaly_status': {'readonly': True}, + } + + _attribute_map = { + 'anomaly_severity': {'key': 'anomalySeverity', 'type': 'str'}, + 'anomaly_status': {'key': 'anomalyStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyProperty, self).__init__(**kwargs) + self.anomaly_severity = kwargs['anomaly_severity'] + self.anomaly_status = None + + +class AnomalyResult(msrest.serialization.Model): + """AnomalyResult. + + 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. + + :ivar metric_id: metric unique id + + only return for alerting anomaly result. + :vartype metric_id: str + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id + + only return for alerting anomaly result. + :vartype anomaly_detection_configuration_id: str + :param timestamp: Required. anomaly time. + :type timestamp: ~datetime.datetime + :ivar created_time: created time + + only return for alerting result. + :vartype created_time: ~datetime.datetime + :ivar modified_time: modified time + + only return for alerting result. + :vartype modified_time: ~datetime.datetime + :param dimension: Required. dimension specified for series. + :type dimension: dict[str, str] + :param property: Required. + :type property: ~azure.ai.metricsadvisor.models.AnomalyProperty + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'anomaly_detection_configuration_id': {'readonly': True}, + 'timestamp': {'required': True}, + 'created_time': {'readonly': True}, + 'modified_time': {'readonly': True}, + 'dimension': {'required': True}, + 'property': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'}, + 'dimension': {'key': 'dimension', 'type': '{str}'}, + 'property': {'key': 'property', 'type': 'AnomalyProperty'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyResult, self).__init__(**kwargs) + self.metric_id = None + self.anomaly_detection_configuration_id = None + self.timestamp = kwargs['timestamp'] + self.created_time = None + self.modified_time = None + self.dimension = kwargs['dimension'] + self.property = kwargs['property'] + + +class AnomalyResultList(msrest.serialization.Model): + """AnomalyResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[AnomalyResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(AnomalyResultList, self).__init__(**kwargs) + self.next_link = kwargs['next_link'] + self.value = kwargs['value'] + + +class DataFeedDetail(msrest.serialization.Model): + """DataFeedDetail. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, ElasticsearchDataFeed, HttpRequestDataFeed, InfluxDBDataFeed, MongoDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + } + + _subtype_map = { + 'data_source_type': {'AzureApplicationInsights': 'AzureApplicationInsightsDataFeed', 'AzureBlob': 'AzureBlobDataFeed', 'AzureCosmosDB': 'AzureCosmosDBDataFeed', 'AzureDataExplorer': 'AzureDataExplorerDataFeed', 'AzureDataLakeStorageGen2': 'AzureDataLakeStorageGen2DataFeed', 'AzureTable': 'AzureTableDataFeed', 'Elasticsearch': 'ElasticsearchDataFeed', 'HttpRequest': 'HttpRequestDataFeed', 'InfluxDB': 'InfluxDBDataFeed', 'MongoDB': 'MongoDBDataFeed', 'MySql': 'MySqlDataFeed', 'PostgreSql': 'PostgreSqlDataFeed', 'SqlServer': 'SQLServerDataFeed'} + } + + def __init__( + self, + **kwargs + ): + super(DataFeedDetail, self).__init__(**kwargs) + self.data_source_type = None # type: Optional[str] + self.data_feed_id = None + self.data_feed_name = kwargs['data_feed_name'] + self.data_feed_description = kwargs.get('data_feed_description', None) + self.granularity_name = kwargs['granularity_name'] + self.granularity_amount = kwargs.get('granularity_amount', None) + self.metrics = kwargs['metrics'] + self.dimension = kwargs.get('dimension', None) + self.timestamp_column = kwargs.get('timestamp_column', None) + self.data_start_from = kwargs['data_start_from'] + self.start_offset_in_seconds = kwargs.get('start_offset_in_seconds', 0) + self.max_concurrency = kwargs.get('max_concurrency', -1) + self.min_retry_interval_in_seconds = kwargs.get('min_retry_interval_in_seconds', -1) + self.stop_retry_after_in_seconds = kwargs.get('stop_retry_after_in_seconds', -1) + self.need_rollup = kwargs.get('need_rollup', "NeedRollup") + self.roll_up_method = kwargs.get('roll_up_method', None) + self.roll_up_columns = kwargs.get('roll_up_columns', None) + self.all_up_identification = kwargs.get('all_up_identification', None) + self.fill_missing_point_type = kwargs.get('fill_missing_point_type', "SmartFilling") + self.fill_missing_point_value = kwargs.get('fill_missing_point_value', None) + self.view_mode = kwargs.get('view_mode', "Private") + self.admins = kwargs.get('admins', None) + self.viewers = kwargs.get('viewers', None) + self.is_admin = None + self.creator = None + self.status = None + self.created_time = None + self.action_link_template = kwargs.get('action_link_template', None) + + +class AzureApplicationInsightsDataFeed(DataFeedDetail): + """AzureApplicationInsightsDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureApplicationInsightsParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureApplicationInsightsParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureApplicationInsightsDataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureApplicationInsights' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class DataFeedDetailPatch(msrest.serialization.Model): + """DataFeedDetailPatch. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureApplicationInsightsDataFeedPatch, AzureBlobDataFeedPatch, AzureCosmosDBDataFeedPatch, AzureDataExplorerDataFeedPatch, AzureDataLakeStorageGen2DataFeedPatch, AzureTableDataFeedPatch, ElasticsearchDataFeedPatch, HttpRequestDataFeedPatch, InfluxDBDataFeedPatch, MongoDBDataFeedPatch, MySqlDataFeedPatch, PostgreSqlDataFeedPatch, SQLServerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + } + + _subtype_map = { + 'data_source_type': {'AzureApplicationInsights': 'AzureApplicationInsightsDataFeedPatch', 'AzureBlob': 'AzureBlobDataFeedPatch', 'AzureCosmosDB': 'AzureCosmosDBDataFeedPatch', 'AzureDataExplorer': 'AzureDataExplorerDataFeedPatch', 'AzureDataLakeStorageGen2': 'AzureDataLakeStorageGen2DataFeedPatch', 'AzureTable': 'AzureTableDataFeedPatch', 'Elasticsearch': 'ElasticsearchDataFeedPatch', 'HttpRequest': 'HttpRequestDataFeedPatch', 'InfluxDB': 'InfluxDBDataFeedPatch', 'MongoDB': 'MongoDBDataFeedPatch', 'MySql': 'MySqlDataFeedPatch', 'PostgreSql': 'PostgreSqlDataFeedPatch', 'SqlServer': 'SQLServerDataFeedPatch'} + } + + def __init__( + self, + **kwargs + ): + super(DataFeedDetailPatch, self).__init__(**kwargs) + self.data_source_type = None # type: Optional[str] + self.data_feed_name = kwargs.get('data_feed_name', None) + self.data_feed_description = kwargs.get('data_feed_description', None) + self.timestamp_column = kwargs.get('timestamp_column', None) + self.data_start_from = kwargs.get('data_start_from', None) + self.start_offset_in_seconds = kwargs.get('start_offset_in_seconds', None) + self.max_concurrency = kwargs.get('max_concurrency', None) + self.min_retry_interval_in_seconds = kwargs.get('min_retry_interval_in_seconds', None) + self.stop_retry_after_in_seconds = kwargs.get('stop_retry_after_in_seconds', None) + self.need_rollup = kwargs.get('need_rollup', None) + self.roll_up_method = kwargs.get('roll_up_method', None) + self.roll_up_columns = kwargs.get('roll_up_columns', None) + self.all_up_identification = kwargs.get('all_up_identification', None) + self.fill_missing_point_type = kwargs.get('fill_missing_point_type', None) + self.fill_missing_point_value = kwargs.get('fill_missing_point_value', None) + self.view_mode = kwargs.get('view_mode', None) + self.admins = kwargs.get('admins', None) + self.viewers = kwargs.get('viewers', None) + self.status = kwargs.get('status', None) + self.action_link_template = kwargs.get('action_link_template', None) + + +class AzureApplicationInsightsDataFeedPatch(DataFeedDetailPatch): + """AzureApplicationInsightsDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureApplicationInsightsParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureApplicationInsightsParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureApplicationInsightsDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureApplicationInsights' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureApplicationInsightsParameter(msrest.serialization.Model): + """AzureApplicationInsightsParameter. + + All required parameters must be populated in order to send to Azure. + + :param azure_cloud: Required. Azure cloud environment. + :type azure_cloud: str + :param application_id: Required. Azure Application Insights ID. + :type application_id: str + :param api_key: Required. API Key. + :type api_key: str + :param query: Required. Query. + :type query: str + """ + + _validation = { + 'azure_cloud': {'required': True}, + 'application_id': {'required': True}, + 'api_key': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'azure_cloud': {'key': 'azureCloud', 'type': 'str'}, + 'application_id': {'key': 'applicationId', 'type': 'str'}, + 'api_key': {'key': 'apiKey', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureApplicationInsightsParameter, self).__init__(**kwargs) + self.azure_cloud = kwargs['azure_cloud'] + self.application_id = kwargs['application_id'] + self.api_key = kwargs['api_key'] + self.query = kwargs['query'] + + +class AzureBlobDataFeed(DataFeedDetail): + """AzureBlobDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureBlobParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureBlobParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureBlobDataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureBlob' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class AzureBlobDataFeedPatch(DataFeedDetailPatch): + """AzureBlobDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureBlobParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureBlobParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureBlobDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureBlob' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureBlobParameter(msrest.serialization.Model): + """AzureBlobParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure Blob connection string. + :type connection_string: str + :param container: Required. Container. + :type container: str + :param blob_template: Required. Blob Template. + :type blob_template: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'container': {'required': True}, + 'blob_template': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'container': {'key': 'container', 'type': 'str'}, + 'blob_template': {'key': 'blobTemplate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureBlobParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.container = kwargs['container'] + self.blob_template = kwargs['blob_template'] + + +class AzureCosmosDBDataFeed(DataFeedDetail): + """AzureCosmosDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureCosmosDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureCosmosDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureCosmosDBDataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureCosmosDB' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class AzureCosmosDBDataFeedPatch(DataFeedDetailPatch): + """AzureCosmosDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureCosmosDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureCosmosDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureCosmosDBDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureCosmosDB' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureCosmosDBParameter(msrest.serialization.Model): + """AzureCosmosDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure CosmosDB connection string. + :type connection_string: str + :param sql_query: Required. Query script. + :type sql_query: str + :param database: Required. Database name. + :type database: str + :param collection_id: Required. Collection id. + :type collection_id: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'sql_query': {'required': True}, + 'database': {'required': True}, + 'collection_id': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'sql_query': {'key': 'sqlQuery', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'collection_id': {'key': 'collectionId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureCosmosDBParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.sql_query = kwargs['sql_query'] + self.database = kwargs['database'] + self.collection_id = kwargs['collection_id'] + + +class AzureDataExplorerDataFeed(DataFeedDetail): + """AzureDataExplorerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureDataExplorerDataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureDataExplorer' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class AzureDataExplorerDataFeedPatch(DataFeedDetailPatch): + """AzureDataExplorerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureDataExplorerDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureDataExplorer' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureDataLakeStorageGen2DataFeed(DataFeedDetail): + """AzureDataLakeStorageGen2DataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureDataLakeStorageGen2Parameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureDataLakeStorageGen2Parameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureDataLakeStorageGen2DataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureDataLakeStorageGen2' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class AzureDataLakeStorageGen2DataFeedPatch(DataFeedDetailPatch): + """AzureDataLakeStorageGen2DataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureDataLakeStorageGen2Parameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureDataLakeStorageGen2Parameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureDataLakeStorageGen2DataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureDataLakeStorageGen2' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureDataLakeStorageGen2Parameter(msrest.serialization.Model): + """AzureDataLakeStorageGen2Parameter. + + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Account name. + :type account_name: str + :param account_key: Required. Account key. + :type account_key: str + :param file_system_name: Required. File system name (Container). + :type file_system_name: str + :param directory_template: Required. Directory template. + :type directory_template: str + :param file_template: Required. File template. + :type file_template: str + """ + + _validation = { + 'account_name': {'required': True}, + 'account_key': {'required': True}, + 'file_system_name': {'required': True}, + 'directory_template': {'required': True}, + 'file_template': {'required': True}, + } + + _attribute_map = { + 'account_name': {'key': 'accountName', 'type': 'str'}, + 'account_key': {'key': 'accountKey', 'type': 'str'}, + 'file_system_name': {'key': 'fileSystemName', 'type': 'str'}, + 'directory_template': {'key': 'directoryTemplate', 'type': 'str'}, + 'file_template': {'key': 'fileTemplate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureDataLakeStorageGen2Parameter, self).__init__(**kwargs) + self.account_name = kwargs['account_name'] + self.account_key = kwargs['account_key'] + self.file_system_name = kwargs['file_system_name'] + self.directory_template = kwargs['directory_template'] + self.file_template = kwargs['file_template'] + + +class AzureTableDataFeed(DataFeedDetail): + """AzureTableDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureTableParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureTableParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureTableDataFeed, self).__init__(**kwargs) + self.data_source_type = 'AzureTable' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class AzureTableDataFeedPatch(DataFeedDetailPatch): + """AzureTableDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureTableParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureTableParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureTableDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'AzureTable' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class AzureTableParameter(msrest.serialization.Model): + """AzureTableParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure Table connection string. + :type connection_string: str + :param table: Required. Table name. + :type table: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'table': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'table': {'key': 'table', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureTableParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.table = kwargs['table'] + self.query = kwargs['query'] + + +class ChangePointFeedback(MetricFeedback): + """ChangePointFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.ChangePointFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'ChangePointFeedbackValue'}, + } + + def __init__( + self, + **kwargs + ): + super(ChangePointFeedback, self).__init__(**kwargs) + self.feedback_type = 'ChangePoint' # type: str + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.value = kwargs['value'] + + +class ChangePointFeedbackValue(msrest.serialization.Model): + """ChangePointFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param change_point_value: Required. Possible values include: "AutoDetect", "ChangePoint", + "NotChangePoint". + :type change_point_value: str or ~azure.ai.metricsadvisor.models.ChangePointValue + """ + + _validation = { + 'change_point_value': {'required': True}, + } + + _attribute_map = { + 'change_point_value': {'key': 'changePointValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ChangePointFeedbackValue, self).__init__(**kwargs) + self.change_point_value = kwargs['change_point_value'] + + +class ChangeThresholdCondition(msrest.serialization.Model): + """ChangeThresholdCondition. + + All required parameters must be populated in order to send to Azure. + + :param change_percentage: Required. change percentage, value range : [0, +∞). + :type change_percentage: float + :param shift_point: Required. shift point, value range : [1, +∞). + :type shift_point: int + :param within_range: Required. if the withinRange = true, detected data is abnormal when the + value falls in the range, in this case anomalyDetectorDirection must be Both + if the withinRange = false, detected data is abnormal when the value falls out of the range. + :type within_range: bool + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'change_percentage': {'required': True}, + 'shift_point': {'required': True}, + 'within_range': {'required': True}, + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'change_percentage': {'key': 'changePercentage', 'type': 'float'}, + 'shift_point': {'key': 'shiftPoint', 'type': 'int'}, + 'within_range': {'key': 'withinRange', 'type': 'bool'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(ChangeThresholdCondition, self).__init__(**kwargs) + self.change_percentage = kwargs['change_percentage'] + self.shift_point = kwargs['shift_point'] + self.within_range = kwargs['within_range'] + self.anomaly_detector_direction = kwargs['anomaly_detector_direction'] + self.suppress_condition = kwargs['suppress_condition'] + + +class CommentFeedback(MetricFeedback): + """CommentFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: the end timestamp of feedback timerange, when equals to startTime means only + one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.CommentFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'CommentFeedbackValue'}, + } + + def __init__( + self, + **kwargs + ): + super(CommentFeedback, self).__init__(**kwargs) + self.feedback_type = 'Comment' # type: str + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.value = kwargs['value'] + + +class CommentFeedbackValue(msrest.serialization.Model): + """CommentFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param comment_value: Required. the comment string. + :type comment_value: str + """ + + _validation = { + 'comment_value': {'required': True}, + } + + _attribute_map = { + 'comment_value': {'key': 'commentValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CommentFeedbackValue, self).__init__(**kwargs) + self.comment_value = kwargs['comment_value'] + + +class DataFeedIngestionProgress(msrest.serialization.Model): + """DataFeedIngestionProgress. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar latest_success_timestamp: the timestamp of lastest success ingestion job. + null indicates not available. + :vartype latest_success_timestamp: ~datetime.datetime + :ivar latest_active_timestamp: the timestamp of lastest ingestion job with status update. + null indicates not available. + :vartype latest_active_timestamp: ~datetime.datetime + """ + + _validation = { + 'latest_success_timestamp': {'readonly': True}, + 'latest_active_timestamp': {'readonly': True}, + } + + _attribute_map = { + 'latest_success_timestamp': {'key': 'latestSuccessTimestamp', 'type': 'iso-8601'}, + 'latest_active_timestamp': {'key': 'latestActiveTimestamp', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(DataFeedIngestionProgress, self).__init__(**kwargs) + self.latest_success_timestamp = None + self.latest_active_timestamp = None + + +class DataFeedList(msrest.serialization.Model): + """DataFeedList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.DataFeedDetail] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[DataFeedDetail]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataFeedList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class DetectionAnomalyFilterCondition(msrest.serialization.Model): + """DetectionAnomalyFilterCondition. + + :param dimension_filter: dimension filter. + :type dimension_filter: list[~azure.ai.metricsadvisor.models.DimensionGroupIdentity] + :param severity_filter: + :type severity_filter: ~azure.ai.metricsadvisor.models.SeverityFilterCondition + """ + + _validation = { + 'dimension_filter': {'unique': True}, + } + + _attribute_map = { + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[DimensionGroupIdentity]'}, + 'severity_filter': {'key': 'severityFilter', 'type': 'SeverityFilterCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionAnomalyFilterCondition, self).__init__(**kwargs) + self.dimension_filter = kwargs.get('dimension_filter', None) + self.severity_filter = kwargs.get('severity_filter', None) + + +class DetectionAnomalyResultQuery(msrest.serialization.Model): + """DetectionAnomalyResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param filter: + :type filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'filter': {'key': 'filter', 'type': 'DetectionAnomalyFilterCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionAnomalyResultQuery, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.filter = kwargs.get('filter', None) + + +class DetectionIncidentFilterCondition(msrest.serialization.Model): + """DetectionIncidentFilterCondition. + + :param dimension_filter: dimension filter. + :type dimension_filter: list[~azure.ai.metricsadvisor.models.DimensionGroupIdentity] + """ + + _validation = { + 'dimension_filter': {'unique': True}, + } + + _attribute_map = { + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[DimensionGroupIdentity]'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionIncidentFilterCondition, self).__init__(**kwargs) + self.dimension_filter = kwargs.get('dimension_filter', None) + + +class DetectionIncidentResultQuery(msrest.serialization.Model): + """DetectionIncidentResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param filter: + :type filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'filter': {'key': 'filter', 'type': 'DetectionIncidentFilterCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionIncidentResultQuery, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.filter = kwargs.get('filter', None) + + +class DetectionSeriesQuery(msrest.serialization.Model): + """DetectionSeriesQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param series: Required. series. + :type series: list[~azure.ai.metricsadvisor.models.SeriesIdentity] + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'series': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'series': {'key': 'series', 'type': '[SeriesIdentity]'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionSeriesQuery, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.series = kwargs['series'] + + +class Dimension(msrest.serialization.Model): + """Dimension. + + All required parameters must be populated in order to send to Azure. + + :param dimension_name: Required. dimension name. + :type dimension_name: str + :param dimension_display_name: dimension display name. + :type dimension_display_name: str + """ + + _validation = { + 'dimension_name': {'required': True}, + 'dimension_display_name': {'pattern': r'[.a-zA-Z0-9_-]+'}, + } + + _attribute_map = { + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_display_name': {'key': 'dimensionDisplayName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Dimension, self).__init__(**kwargs) + self.dimension_name = kwargs['dimension_name'] + self.dimension_display_name = kwargs.get('dimension_display_name', None) + + +class DimensionGroupConfiguration(msrest.serialization.Model): + """DimensionGroupConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param group: Required. + :type group: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.DimensionGroupConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _validation = { + 'group': {'required': True}, + } + + _attribute_map = { + 'group': {'key': 'group', 'type': 'DimensionGroupIdentity'}, + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(DimensionGroupConfiguration, self).__init__(**kwargs) + self.group = kwargs['group'] + self.condition_operator = kwargs.get('condition_operator', None) + self.smart_detection_condition = kwargs.get('smart_detection_condition', None) + self.hard_threshold_condition = kwargs.get('hard_threshold_condition', None) + self.change_threshold_condition = kwargs.get('change_threshold_condition', None) + + +class DimensionGroupIdentity(msrest.serialization.Model): + """DimensionGroupIdentity. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. dimension specified for series group. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(DimensionGroupIdentity, self).__init__(**kwargs) + self.dimension = kwargs['dimension'] + + +class ElasticsearchDataFeed(DataFeedDetail): + """ElasticsearchDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.ElasticsearchParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'ElasticsearchParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(ElasticsearchDataFeed, self).__init__(**kwargs) + self.data_source_type = 'Elasticsearch' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class ElasticsearchDataFeedPatch(DataFeedDetailPatch): + """ElasticsearchDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.ElasticsearchParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'ElasticsearchParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(ElasticsearchDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'Elasticsearch' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class ElasticsearchParameter(msrest.serialization.Model): + """ElasticsearchParameter. + + All required parameters must be populated in order to send to Azure. + + :param host: Required. Host. + :type host: str + :param port: Required. Port. + :type port: str + :param auth_header: Required. Authorization header. + :type auth_header: str + :param query: Required. Query. + :type query: str + """ + + _validation = { + 'host': {'required': True}, + 'port': {'required': True}, + 'auth_header': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'host': {'key': 'host', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'str'}, + 'auth_header': {'key': 'authHeader', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ElasticsearchParameter, self).__init__(**kwargs) + self.host = kwargs['host'] + self.port = kwargs['port'] + self.auth_header = kwargs['auth_header'] + self.query = kwargs['query'] + + +class HookInfo(msrest.serialization.Model): + """HookInfo. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmailHookInfo, WebhookHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + } + + _subtype_map = { + 'hook_type': {'Email': 'EmailHookInfo', 'Webhook': 'WebhookHookInfo'} + } + + def __init__( + self, + **kwargs + ): + super(HookInfo, self).__init__(**kwargs) + self.hook_type = None # type: Optional[str] + self.hook_id = None + self.hook_name = kwargs['hook_name'] + self.description = kwargs.get('description', None) + self.external_link = kwargs.get('external_link', None) + self.admins = None + + +class EmailHookInfo(HookInfo): + """EmailHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: Required. + :type hook_parameter: ~azure.ai.metricsadvisor.models.EmailHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + 'hook_parameter': {'required': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'EmailHookParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(EmailHookInfo, self).__init__(**kwargs) + self.hook_type = 'Email' # type: str + self.hook_parameter = kwargs['hook_parameter'] + + +class HookInfoPatch(msrest.serialization.Model): + """HookInfoPatch. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmailHookInfoPatch, WebhookHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + } + + _subtype_map = { + 'hook_type': {'Email': 'EmailHookInfoPatch', 'Webhook': 'WebhookHookInfoPatch'} + } + + def __init__( + self, + **kwargs + ): + super(HookInfoPatch, self).__init__(**kwargs) + self.hook_type = None # type: Optional[str] + self.hook_name = kwargs.get('hook_name', None) + self.description = kwargs.get('description', None) + self.external_link = kwargs.get('external_link', None) + self.admins = None + + +class EmailHookInfoPatch(HookInfoPatch): + """EmailHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: + :type hook_parameter: ~azure.ai.metricsadvisor.models.EmailHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'EmailHookParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(EmailHookInfoPatch, self).__init__(**kwargs) + self.hook_type = 'Email' # type: str + self.hook_parameter = kwargs.get('hook_parameter', None) + + +class EmailHookParameter(msrest.serialization.Model): + """EmailHookParameter. + + All required parameters must be populated in order to send to Azure. + + :param to_list: Required. Email TO: list. + :type to_list: list[str] + """ + + _validation = { + 'to_list': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'to_list': {'key': 'toList', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(EmailHookParameter, self).__init__(**kwargs) + self.to_list = kwargs['to_list'] + + +class EnrichmentStatus(msrest.serialization.Model): + """EnrichmentStatus. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: data slice timestamp. + :vartype timestamp: ~datetime.datetime + :ivar status: latest enrichment status for this data slice. + :vartype status: str + :ivar message: the trimmed message describes details of the enrichment status. + :vartype message: str + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'status': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EnrichmentStatus, self).__init__(**kwargs) + self.timestamp = None + self.status = None + self.message = None + + +class EnrichmentStatusList(msrest.serialization.Model): + """EnrichmentStatusList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.EnrichmentStatus] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[EnrichmentStatus]'}, + } + + def __init__( + self, + **kwargs + ): + super(EnrichmentStatusList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class EnrichmentStatusQueryOption(msrest.serialization.Model): + """EnrichmentStatusQueryOption. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to query anomaly detection status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query anomaly detection status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(EnrichmentStatusQueryOption, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + + +class ErrorCode(msrest.serialization.Model): + """ErrorCode. + + :param message: + :type message: str + :param code: + :type code: str + """ + + _attribute_map = { + 'message': {'key': 'message', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorCode, self).__init__(**kwargs) + self.message = kwargs.get('message', None) + self.code = kwargs.get('code', None) + + +class FeedbackDimensionFilter(msrest.serialization.Model): + """FeedbackDimensionFilter. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. metric dimension filter. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(FeedbackDimensionFilter, self).__init__(**kwargs) + self.dimension = kwargs['dimension'] + + +class HardThresholdCondition(msrest.serialization.Model): + """HardThresholdCondition. + + All required parameters must be populated in order to send to Azure. + + :param lower_bound: lower bound + + should be specified when anomalyDetectorDirection is Both or Down. + :type lower_bound: float + :param upper_bound: upper bound + + should be specified when anomalyDetectorDirection is Both or Up. + :type upper_bound: float + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'lower_bound': {'key': 'lowerBound', 'type': 'float'}, + 'upper_bound': {'key': 'upperBound', 'type': 'float'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(HardThresholdCondition, self).__init__(**kwargs) + self.lower_bound = kwargs.get('lower_bound', None) + self.upper_bound = kwargs.get('upper_bound', None) + self.anomaly_detector_direction = kwargs['anomaly_detector_direction'] + self.suppress_condition = kwargs['suppress_condition'] + + +class HookList(msrest.serialization.Model): + """HookList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.HookInfo] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[HookInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(HookList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class HttpRequestDataFeed(DataFeedDetail): + """HttpRequestDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.HttpRequestParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'HttpRequestParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(HttpRequestDataFeed, self).__init__(**kwargs) + self.data_source_type = 'HttpRequest' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class HttpRequestDataFeedPatch(DataFeedDetailPatch): + """HttpRequestDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.HttpRequestParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'HttpRequestParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(HttpRequestDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'HttpRequest' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class HttpRequestParameter(msrest.serialization.Model): + """HttpRequestParameter. + + All required parameters must be populated in order to send to Azure. + + :param url: Required. HTTP URL. + :type url: str + :param http_header: Required. HTTP header. + :type http_header: str + :param http_method: Required. HTTP method. + :type http_method: str + :param payload: Required. HTTP reuqest body. + :type payload: str + """ + + _validation = { + 'url': {'required': True}, + 'http_header': {'required': True}, + 'http_method': {'required': True}, + 'payload': {'required': True}, + } + + _attribute_map = { + 'url': {'key': 'url', 'type': 'str'}, + 'http_header': {'key': 'httpHeader', 'type': 'str'}, + 'http_method': {'key': 'httpMethod', 'type': 'str'}, + 'payload': {'key': 'payload', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HttpRequestParameter, self).__init__(**kwargs) + self.url = kwargs['url'] + self.http_header = kwargs['http_header'] + self.http_method = kwargs['http_method'] + self.payload = kwargs['payload'] + + +class IncidentProperty(msrest.serialization.Model): + """IncidentProperty. + + 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 max_severity: Required. max severity of latest anomalies in the incident. Possible + values include: "Low", "Medium", "High". + :type max_severity: str or ~azure.ai.metricsadvisor.models.Severity + :ivar incident_status: incident status + + only return for alerting incident result. Possible values include: "Active", "Resolved". + :vartype incident_status: str or ~azure.ai.metricsadvisor.models.IncidentPropertyIncidentStatus + """ + + _validation = { + 'max_severity': {'required': True}, + 'incident_status': {'readonly': True}, + } + + _attribute_map = { + 'max_severity': {'key': 'maxSeverity', 'type': 'str'}, + 'incident_status': {'key': 'incidentStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IncidentProperty, self).__init__(**kwargs) + self.max_severity = kwargs['max_severity'] + self.incident_status = None + + +class IncidentResult(msrest.serialization.Model): + """IncidentResult. + + 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. + + :ivar metric_id: metric unique id + + only return for alerting incident result. + :vartype metric_id: str + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id + + only return for alerting incident result. + :vartype anomaly_detection_configuration_id: str + :param incident_id: Required. incident id. + :type incident_id: str + :param start_time: Required. incident start time. + :type start_time: ~datetime.datetime + :param last_time: Required. incident last time. + :type last_time: ~datetime.datetime + :param root_node: Required. + :type root_node: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param property: Required. + :type property: ~azure.ai.metricsadvisor.models.IncidentProperty + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'anomaly_detection_configuration_id': {'readonly': True}, + 'incident_id': {'required': True}, + 'start_time': {'required': True}, + 'last_time': {'required': True}, + 'root_node': {'required': True}, + 'property': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'incident_id': {'key': 'incidentId', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'last_time': {'key': 'lastTime', 'type': 'iso-8601'}, + 'root_node': {'key': 'rootNode', 'type': 'SeriesIdentity'}, + 'property': {'key': 'property', 'type': 'IncidentProperty'}, + } + + def __init__( + self, + **kwargs + ): + super(IncidentResult, self).__init__(**kwargs) + self.metric_id = None + self.anomaly_detection_configuration_id = None + self.incident_id = kwargs['incident_id'] + self.start_time = kwargs['start_time'] + self.last_time = kwargs['last_time'] + self.root_node = kwargs['root_node'] + self.property = kwargs['property'] + + +class IncidentResultList(msrest.serialization.Model): + """IncidentResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.IncidentResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[IncidentResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(IncidentResultList, self).__init__(**kwargs) + self.next_link = kwargs['next_link'] + self.value = kwargs['value'] + + +class InfluxDBDataFeed(DataFeedDetail): + """InfluxDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.InfluxDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'InfluxDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(InfluxDBDataFeed, self).__init__(**kwargs) + self.data_source_type = 'InfluxDB' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class InfluxDBDataFeedPatch(DataFeedDetailPatch): + """InfluxDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.InfluxDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'InfluxDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(InfluxDBDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'InfluxDB' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class InfluxDBParameter(msrest.serialization.Model): + """InfluxDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. InfluxDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param user_name: Required. Database access user. + :type user_name: str + :param password: Required. Database access password. + :type password: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'database': {'required': True}, + 'user_name': {'required': True}, + 'password': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(InfluxDBParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.database = kwargs['database'] + self.user_name = kwargs['user_name'] + self.password = kwargs['password'] + self.query = kwargs['query'] + + +class IngestionProgressResetOptions(msrest.serialization.Model): + """IngestionProgressResetOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to reset data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to reset data ingestion status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionProgressResetOptions, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + + +class IngestionStatus(msrest.serialization.Model): + """IngestionStatus. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: data slice timestamp. + :vartype timestamp: ~datetime.datetime + :ivar status: latest ingestion task status for this data slice. Possible values include: + "NotStarted", "Scheduled", "Running", "Succeeded", "Failed", "NoData", "Error", "Paused". + :vartype status: str or ~azure.ai.metricsadvisor.models.IngestionStatusType + :ivar message: the trimmed message of last ingestion job. + :vartype message: str + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'status': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionStatus, self).__init__(**kwargs) + self.timestamp = None + self.status = None + self.message = None + + +class IngestionStatusList(msrest.serialization.Model): + """IngestionStatusList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.IngestionStatus] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[IngestionStatus]'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionStatusList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class IngestionStatusQueryOptions(msrest.serialization.Model): + """IngestionStatusQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to query data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query data ingestion status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionStatusQueryOptions, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + + +class Metric(msrest.serialization.Model): + """Metric. + + 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. + + :ivar metric_id: metric id. + :vartype metric_id: str + :param metric_name: Required. metric name. + :type metric_name: str + :param metric_display_name: metric display name. + :type metric_display_name: str + :param metric_description: metric description. + :type metric_description: str + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'metric_name': {'required': True}, + 'metric_display_name': {'pattern': r'[.a-zA-Z0-9_-]+'}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'metric_name': {'key': 'metricName', 'type': 'str'}, + 'metric_display_name': {'key': 'metricDisplayName', 'type': 'str'}, + 'metric_description': {'key': 'metricDescription', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Metric, self).__init__(**kwargs) + self.metric_id = None + self.metric_name = kwargs['metric_name'] + self.metric_display_name = kwargs.get('metric_display_name', None) + self.metric_description = kwargs.get('metric_description', None) + + +class MetricAlertingConfiguration(msrest.serialization.Model): + """MetricAlertingConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param anomaly_detection_configuration_id: Required. Anomaly detection configuration unique id. + :type anomaly_detection_configuration_id: str + :param anomaly_scope_type: Required. Anomaly scope. Possible values include: "All", + "Dimension", "TopN". + :type anomaly_scope_type: str or ~azure.ai.metricsadvisor.models.AnomalyScope + :param negation_operation: Negation operation. + :type negation_operation: bool + :param dimension_anomaly_scope: + :type dimension_anomaly_scope: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param top_n_anomaly_scope: + :type top_n_anomaly_scope: ~azure.ai.metricsadvisor.models.TopNGroupScope + :param severity_filter: + :type severity_filter: ~azure.ai.metricsadvisor.models.SeverityCondition + :param snooze_filter: + :type snooze_filter: ~azure.ai.metricsadvisor.models.AlertSnoozeCondition + :param value_filter: + :type value_filter: ~azure.ai.metricsadvisor.models.ValueCondition + """ + + _validation = { + 'anomaly_detection_configuration_id': {'required': True}, + 'anomaly_scope_type': {'required': True}, + } + + _attribute_map = { + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'anomaly_scope_type': {'key': 'anomalyScopeType', 'type': 'str'}, + 'negation_operation': {'key': 'negationOperation', 'type': 'bool'}, + 'dimension_anomaly_scope': {'key': 'dimensionAnomalyScope', 'type': 'DimensionGroupIdentity'}, + 'top_n_anomaly_scope': {'key': 'topNAnomalyScope', 'type': 'TopNGroupScope'}, + 'severity_filter': {'key': 'severityFilter', 'type': 'SeverityCondition'}, + 'snooze_filter': {'key': 'snoozeFilter', 'type': 'AlertSnoozeCondition'}, + 'value_filter': {'key': 'valueFilter', 'type': 'ValueCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricAlertingConfiguration, self).__init__(**kwargs) + self.anomaly_detection_configuration_id = kwargs['anomaly_detection_configuration_id'] + self.anomaly_scope_type = kwargs['anomaly_scope_type'] + self.negation_operation = kwargs.get('negation_operation', None) + self.dimension_anomaly_scope = kwargs.get('dimension_anomaly_scope', None) + self.top_n_anomaly_scope = kwargs.get('top_n_anomaly_scope', None) + self.severity_filter = kwargs.get('severity_filter', None) + self.snooze_filter = kwargs.get('snooze_filter', None) + self.value_filter = kwargs.get('value_filter', None) + + +class MetricDataItem(msrest.serialization.Model): + """MetricDataItem. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: + :type id: ~azure.ai.metricsadvisor.models.MetricSeriesItem + :ivar timestamp_list: timestamps of the data related to this time series. + :vartype timestamp_list: list[~datetime.datetime] + :ivar value_list: values of the data related to this time series. + :vartype value_list: list[float] + """ + + _validation = { + 'timestamp_list': {'readonly': True}, + 'value_list': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'MetricSeriesItem'}, + 'timestamp_list': {'key': 'timestampList', 'type': '[iso-8601]'}, + 'value_list': {'key': 'valueList', 'type': '[float]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDataItem, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.timestamp_list = None + self.value_list = None + + +class MetricDataList(msrest.serialization.Model): + """MetricDataList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricDataItem] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MetricDataItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDataList, self).__init__(**kwargs) + self.value = None + + +class MetricDataQueryOptions(msrest.serialization.Model): + """MetricDataQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time of query a time series data, and format should be yyyy- + MM-ddThh:mm:ssZ. + :type start_time: ~datetime.datetime + :param end_time: Required. start time of query a time series data, and format should be yyyy- + MM-ddThh:mm:ssZ. + :type end_time: ~datetime.datetime + :param series: Required. query specific series. + :type series: list[dict[str, str]] + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'series': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'series': {'key': 'series', 'type': '[{str}]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDataQueryOptions, self).__init__(**kwargs) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + self.series = kwargs['series'] + + +class MetricDimensionList(msrest.serialization.Model): + """MetricDimensionList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[str] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricDimensionQueryOptions(msrest.serialization.Model): + """MetricDimensionQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param dimension_name: Required. dimension name. + :type dimension_name: str + :param dimension_value_filter: dimension value to be filtered. + :type dimension_value_filter: str + """ + + _validation = { + 'dimension_name': {'required': True}, + } + + _attribute_map = { + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_value_filter': {'key': 'dimensionValueFilter', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionQueryOptions, self).__init__(**kwargs) + self.dimension_name = kwargs['dimension_name'] + self.dimension_value_filter = kwargs.get('dimension_value_filter', None) + + +class MetricFeedbackFilter(msrest.serialization.Model): + """MetricFeedbackFilter. + + All required parameters must be populated in order to send to Azure. + + :param metric_id: Required. filter feedbacks by metric id. + :type metric_id: str + :param dimension_filter: + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param feedback_type: filter feedbacks by type. Possible values include: "Anomaly", + "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :param start_time: start time filter under chosen time mode. + :type start_time: ~datetime.datetime + :param end_time: end time filter under chosen time mode. + :type end_time: ~datetime.datetime + :param time_mode: time mode to filter feedback. Possible values include: "MetricTimestamp", + "FeedbackCreatedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode + """ + + _validation = { + 'metric_id': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'time_mode': {'key': 'timeMode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricFeedbackFilter, self).__init__(**kwargs) + self.metric_id = kwargs['metric_id'] + self.dimension_filter = kwargs.get('dimension_filter', None) + self.feedback_type = kwargs.get('feedback_type', None) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.time_mode = kwargs.get('time_mode', None) + + +class MetricFeedbackList(msrest.serialization.Model): + """MetricFeedbackList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricFeedback] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[MetricFeedback]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricFeedbackList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricSeriesItem(msrest.serialization.Model): + """MetricSeriesItem. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar metric_id: metric unique id. + :vartype metric_id: str + :ivar dimension: dimension name and value pair. + :vartype dimension: dict[str, str] + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'dimension': {'readonly': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSeriesItem, self).__init__(**kwargs) + self.metric_id = None + self.dimension = None + + +class MetricSeriesList(msrest.serialization.Model): + """MetricSeriesList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricSeriesItem] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[MetricSeriesItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSeriesList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricSeriesQueryOptions(msrest.serialization.Model): + """MetricSeriesQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param active_since: Required. query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :type active_since: ~datetime.datetime + :param dimension_filter: filter specfic dimension name and values. + :type dimension_filter: dict[str, list[str]] + """ + + _validation = { + 'active_since': {'required': True}, + } + + _attribute_map = { + 'active_since': {'key': 'activeSince', 'type': 'iso-8601'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '{[str]}'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSeriesQueryOptions, self).__init__(**kwargs) + self.active_since = kwargs['active_since'] + self.dimension_filter = kwargs.get('dimension_filter', None) + + +class MongoDBDataFeed(DataFeedDetail): + """MongoDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.MongoDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'MongoDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(MongoDBDataFeed, self).__init__(**kwargs) + self.data_source_type = 'MongoDB' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class MongoDBDataFeedPatch(DataFeedDetailPatch): + """MongoDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.MongoDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'MongoDBParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(MongoDBDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'MongoDB' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class MongoDBParameter(msrest.serialization.Model): + """MongoDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. MongoDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param command: Required. Query script. + :type command: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'database': {'required': True}, + 'command': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'command': {'key': 'command', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MongoDBParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.database = kwargs['database'] + self.command = kwargs['command'] + + +class MySqlDataFeed(DataFeedDetail): + """MySqlDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(MySqlDataFeed, self).__init__(**kwargs) + self.data_source_type = 'MySql' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class MySqlDataFeedPatch(DataFeedDetailPatch): + """MySqlDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(MySqlDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'MySql' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class PeriodFeedback(MetricFeedback): + """PeriodFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.PeriodFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'value': {'key': 'value', 'type': 'PeriodFeedbackValue'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodFeedback, self).__init__(**kwargs) + self.feedback_type = 'Period' # type: str + self.value = kwargs['value'] + + +class PeriodFeedbackValue(msrest.serialization.Model): + """PeriodFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param period_type: Required. the type of setting period. Possible values include: + "AutoDetect", "AssignValue". + :type period_type: str or ~azure.ai.metricsadvisor.models.PeriodType + :param period_value: Required. the number of intervals a period contains, when no period set to + 0. + :type period_value: int + """ + + _validation = { + 'period_type': {'required': True}, + 'period_value': {'required': True}, + } + + _attribute_map = { + 'period_type': {'key': 'periodType', 'type': 'str'}, + 'period_value': {'key': 'periodValue', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PeriodFeedbackValue, self).__init__(**kwargs) + self.period_type = kwargs['period_type'] + self.period_value = kwargs['period_value'] + + +class PostgreSqlDataFeed(DataFeedDetail): + """PostgreSqlDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(PostgreSqlDataFeed, self).__init__(**kwargs) + self.data_source_type = 'PostgreSql' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class PostgreSqlDataFeedPatch(DataFeedDetailPatch): + """PostgreSqlDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(PostgreSqlDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'PostgreSql' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class RootCause(msrest.serialization.Model): + """RootCause. + + All required parameters must be populated in order to send to Azure. + + :param root_cause: Required. + :type root_cause: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param path: Required. drilling down path from query anomaly to root cause. + :type path: list[str] + :param score: Required. score. + :type score: float + :param description: Required. description. + :type description: str + """ + + _validation = { + 'root_cause': {'required': True}, + 'path': {'required': True}, + 'score': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'root_cause': {'key': 'rootCause', 'type': 'DimensionGroupIdentity'}, + 'path': {'key': 'path', 'type': '[str]'}, + 'score': {'key': 'score', 'type': 'float'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RootCause, self).__init__(**kwargs) + self.root_cause = kwargs['root_cause'] + self.path = kwargs['path'] + self.score = kwargs['score'] + self.description = kwargs['description'] + + +class RootCauseList(msrest.serialization.Model): + """RootCauseList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.RootCause] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RootCause]'}, + } + + def __init__( + self, + **kwargs + ): + super(RootCauseList, self).__init__(**kwargs) + self.value = kwargs['value'] + + +class SeriesConfiguration(msrest.serialization.Model): + """SeriesConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param series: Required. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.SeriesConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _validation = { + 'series': {'required': True}, + } + + _attribute_map = { + 'series': {'key': 'series', 'type': 'SeriesIdentity'}, + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(SeriesConfiguration, self).__init__(**kwargs) + self.series = kwargs['series'] + self.condition_operator = kwargs.get('condition_operator', None) + self.smart_detection_condition = kwargs.get('smart_detection_condition', None) + self.hard_threshold_condition = kwargs.get('hard_threshold_condition', None) + self.change_threshold_condition = kwargs.get('change_threshold_condition', None) + + +class SeriesIdentity(msrest.serialization.Model): + """SeriesIdentity. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. dimension specified for series. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(SeriesIdentity, self).__init__(**kwargs) + self.dimension = kwargs['dimension'] + + +class SeriesResult(msrest.serialization.Model): + """SeriesResult. + + All required parameters must be populated in order to send to Azure. + + :param series: Required. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param timestamp_list: Required. timestamps of the series. + :type timestamp_list: list[~datetime.datetime] + :param value_list: Required. values of the series. + :type value_list: list[float] + :param is_anomaly_list: Required. whether points of the series are anomalies. + :type is_anomaly_list: list[bool] + :param period_list: Required. period calculated on each point of the series. + :type period_list: list[int] + :param expected_value_list: Required. expected values of the series given by smart detector. + :type expected_value_list: list[float] + :param lower_boundary_list: Required. lower boundary list of the series given by smart + detector. + :type lower_boundary_list: list[float] + :param upper_boundary_list: Required. upper boundary list of the series given by smart + detector. + :type upper_boundary_list: list[float] + """ + + _validation = { + 'series': {'required': True}, + 'timestamp_list': {'required': True}, + 'value_list': {'required': True}, + 'is_anomaly_list': {'required': True}, + 'period_list': {'required': True}, + 'expected_value_list': {'required': True}, + 'lower_boundary_list': {'required': True}, + 'upper_boundary_list': {'required': True}, + } + + _attribute_map = { + 'series': {'key': 'series', 'type': 'SeriesIdentity'}, + 'timestamp_list': {'key': 'timestampList', 'type': '[iso-8601]'}, + 'value_list': {'key': 'valueList', 'type': '[float]'}, + 'is_anomaly_list': {'key': 'isAnomalyList', 'type': '[bool]'}, + 'period_list': {'key': 'periodList', 'type': '[int]'}, + 'expected_value_list': {'key': 'expectedValueList', 'type': '[float]'}, + 'lower_boundary_list': {'key': 'lowerBoundaryList', 'type': '[float]'}, + 'upper_boundary_list': {'key': 'upperBoundaryList', 'type': '[float]'}, + } + + def __init__( + self, + **kwargs + ): + super(SeriesResult, self).__init__(**kwargs) + self.series = kwargs['series'] + self.timestamp_list = kwargs['timestamp_list'] + self.value_list = kwargs['value_list'] + self.is_anomaly_list = kwargs['is_anomaly_list'] + self.period_list = kwargs['period_list'] + self.expected_value_list = kwargs['expected_value_list'] + self.lower_boundary_list = kwargs['lower_boundary_list'] + self.upper_boundary_list = kwargs['upper_boundary_list'] + + +class SeriesResultList(msrest.serialization.Model): + """SeriesResultList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.SeriesResult] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SeriesResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(SeriesResultList, self).__init__(**kwargs) + self.value = kwargs['value'] + + +class SeverityCondition(msrest.serialization.Model): + """SeverityCondition. + + All required parameters must be populated in order to send to Azure. + + :param min_alert_severity: Required. min alert severity. Possible values include: "Low", + "Medium", "High". + :type min_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + :param max_alert_severity: Required. max alert severity. Possible values include: "Low", + "Medium", "High". + :type max_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + """ + + _validation = { + 'min_alert_severity': {'required': True}, + 'max_alert_severity': {'required': True}, + } + + _attribute_map = { + 'min_alert_severity': {'key': 'minAlertSeverity', 'type': 'str'}, + 'max_alert_severity': {'key': 'maxAlertSeverity', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SeverityCondition, self).__init__(**kwargs) + self.min_alert_severity = kwargs['min_alert_severity'] + self.max_alert_severity = kwargs['max_alert_severity'] + + +class SeverityFilterCondition(msrest.serialization.Model): + """SeverityFilterCondition. + + All required parameters must be populated in order to send to Azure. + + :param min: Required. min severity. Possible values include: "Low", "Medium", "High". + :type min: str or ~azure.ai.metricsadvisor.models.Severity + :param max: Required. max severity. Possible values include: "Low", "Medium", "High". + :type max: str or ~azure.ai.metricsadvisor.models.Severity + """ + + _validation = { + 'min': {'required': True}, + 'max': {'required': True}, + } + + _attribute_map = { + 'min': {'key': 'min', 'type': 'str'}, + 'max': {'key': 'max', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SeverityFilterCondition, self).__init__(**kwargs) + self.min = kwargs['min'] + self.max = kwargs['max'] + + +class SmartDetectionCondition(msrest.serialization.Model): + """SmartDetectionCondition. + + All required parameters must be populated in order to send to Azure. + + :param sensitivity: Required. sensitivity, value range : (0, 100]. + :type sensitivity: float + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'sensitivity': {'required': True}, + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'sensitivity': {'key': 'sensitivity', 'type': 'float'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(SmartDetectionCondition, self).__init__(**kwargs) + self.sensitivity = kwargs['sensitivity'] + self.anomaly_detector_direction = kwargs['anomaly_detector_direction'] + self.suppress_condition = kwargs['suppress_condition'] + + +class SQLServerDataFeed(DataFeedDetail): + """SQLServerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(SQLServerDataFeed, self).__init__(**kwargs) + self.data_source_type = 'SqlServer' # type: str + self.data_source_parameter = kwargs['data_source_parameter'] + + +class SQLServerDataFeedPatch(DataFeedDetailPatch): + """SQLServerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(SQLServerDataFeedPatch, self).__init__(**kwargs) + self.data_source_type = 'SqlServer' # type: str + self.data_source_parameter = kwargs.get('data_source_parameter', None) + + +class SqlSourceParameter(msrest.serialization.Model): + """SqlSourceParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlSourceParameter, self).__init__(**kwargs) + self.connection_string = kwargs['connection_string'] + self.query = kwargs['query'] + + +class SuppressCondition(msrest.serialization.Model): + """SuppressCondition. + + All required parameters must be populated in order to send to Azure. + + :param min_number: Required. min point number, value range : [1, +∞). + :type min_number: int + :param min_ratio: Required. min point ratio, value range : (0, 100]. + :type min_ratio: float + """ + + _validation = { + 'min_number': {'required': True}, + 'min_ratio': {'required': True}, + } + + _attribute_map = { + 'min_number': {'key': 'minNumber', 'type': 'int'}, + 'min_ratio': {'key': 'minRatio', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(SuppressCondition, self).__init__(**kwargs) + self.min_number = kwargs['min_number'] + self.min_ratio = kwargs['min_ratio'] + + +class TopNGroupScope(msrest.serialization.Model): + """TopNGroupScope. + + All required parameters must be populated in order to send to Azure. + + :param top: Required. top N, value range : [1, +∞). + :type top: int + :param period: Required. point count used to look back, value range : [1, +∞). + :type period: int + :param min_top_count: Required. min count should be in top N, value range : [1, +∞) + + should be less than or equal to period. + :type min_top_count: int + """ + + _validation = { + 'top': {'required': True}, + 'period': {'required': True}, + 'min_top_count': {'required': True}, + } + + _attribute_map = { + 'top': {'key': 'top', 'type': 'int'}, + 'period': {'key': 'period', 'type': 'int'}, + 'min_top_count': {'key': 'minTopCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TopNGroupScope, self).__init__(**kwargs) + self.top = kwargs['top'] + self.period = kwargs['period'] + self.min_top_count = kwargs['min_top_count'] + + +class UsageStats(msrest.serialization.Model): + """UsageStats. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: The timestamp of the stats. + :vartype timestamp: ~datetime.datetime + :ivar active_series_count: The active series count. + :vartype active_series_count: int + :ivar all_series_count: All series count under non deleted data feed. + :vartype all_series_count: int + :ivar metrics_count: The metrics count under non deleted data feed. + :vartype metrics_count: int + :ivar datafeed_count: The count of non deleted data feed. + :vartype datafeed_count: int + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'active_series_count': {'readonly': True}, + 'all_series_count': {'readonly': True}, + 'metrics_count': {'readonly': True}, + 'datafeed_count': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'active_series_count': {'key': 'activeSeriesCount', 'type': 'int'}, + 'all_series_count': {'key': 'allSeriesCount', 'type': 'int'}, + 'metrics_count': {'key': 'metricsCount', 'type': 'int'}, + 'datafeed_count': {'key': 'datafeedCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UsageStats, self).__init__(**kwargs) + self.timestamp = None + self.active_series_count = None + self.all_series_count = None + self.metrics_count = None + self.datafeed_count = None + + +class ValueCondition(msrest.serialization.Model): + """ValueCondition. + + All required parameters must be populated in order to send to Azure. + + :param lower: lower bound + + should be specified when direction is Both or Down. + :type lower: float + :param upper: upper bound + + should be specified when direction is Both or Up. + :type upper: float + :param direction: Required. value filter direction. Possible values include: "Both", "Down", + "Up". + :type direction: str or ~azure.ai.metricsadvisor.models.Direction + :param metric_id: the other metric unique id used for value filter. + :type metric_id: str + :param trigger_for_missing: trigger alert when the corresponding point is missing in the other + metric + + should be specified only when using other metric to filter. + :type trigger_for_missing: bool + """ + + _validation = { + 'direction': {'required': True}, + } + + _attribute_map = { + 'lower': {'key': 'lower', 'type': 'float'}, + 'upper': {'key': 'upper', 'type': 'float'}, + 'direction': {'key': 'direction', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'trigger_for_missing': {'key': 'triggerForMissing', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ValueCondition, self).__init__(**kwargs) + self.lower = kwargs.get('lower', None) + self.upper = kwargs.get('upper', None) + self.direction = kwargs['direction'] + self.metric_id = kwargs.get('metric_id', None) + self.trigger_for_missing = kwargs.get('trigger_for_missing', None) + + +class WebhookHookInfo(HookInfo): + """WebhookHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: Required. + :type hook_parameter: ~azure.ai.metricsadvisor.models.WebhookHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + 'hook_parameter': {'required': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'WebhookHookParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(WebhookHookInfo, self).__init__(**kwargs) + self.hook_type = 'Webhook' # type: str + self.hook_parameter = kwargs['hook_parameter'] + + +class WebhookHookInfoPatch(HookInfoPatch): + """WebhookHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: + :type hook_parameter: ~azure.ai.metricsadvisor.models.WebhookHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'WebhookHookParameter'}, + } + + def __init__( + self, + **kwargs + ): + super(WebhookHookInfoPatch, self).__init__(**kwargs) + self.hook_type = 'Webhook' # type: str + self.hook_parameter = kwargs.get('hook_parameter', None) + + +class WebhookHookParameter(msrest.serialization.Model): + """WebhookHookParameter. + + All required parameters must be populated in order to send to Azure. + + :param endpoint: Required. API address, will be called when alert is triggered, only support + POST method via SSL. + :type endpoint: str + :param username: basic authentication. + :type username: str + :param password: basic authentication. + :type password: str + :param headers: custom headers in api call. + :type headers: dict[str, str] + :param certificate_key: client certificate. + :type certificate_key: str + :param certificate_password: client certificate password. + :type certificate_password: str + """ + + _validation = { + 'endpoint': {'required': True}, + } + + _attribute_map = { + 'endpoint': {'key': 'endpoint', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'headers': {'key': 'headers', 'type': '{str}'}, + 'certificate_key': {'key': 'certificateKey', 'type': 'str'}, + 'certificate_password': {'key': 'certificatePassword', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(WebhookHookParameter, self).__init__(**kwargs) + self.endpoint = kwargs['endpoint'] + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + self.headers = kwargs.get('headers', None) + self.certificate_key = kwargs.get('certificate_key', None) + self.certificate_password = kwargs.get('certificate_password', None) + + +class WholeMetricConfiguration(msrest.serialization.Model): + """WholeMetricConfiguration. + + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.WholeMetricConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _attribute_map = { + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(WholeMetricConfiguration, self).__init__(**kwargs) + self.condition_operator = kwargs.get('condition_operator', None) + self.smart_detection_condition = kwargs.get('smart_detection_condition', None) + self.hard_threshold_condition = kwargs.get('hard_threshold_condition', None) + self.change_threshold_condition = kwargs.get('change_threshold_condition', None) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models_py3.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models_py3.py new file mode 100644 index 000000000000..b73841d97b2d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models_py3.py @@ -0,0 +1,7943 @@ +# 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. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums import * + + +class AlertingResultQuery(msrest.serialization.Model): + """AlertingResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param time_mode: Required. time mode. Possible values include: "AnomalyTime", "CreatedTime", + "ModifiedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.TimeMode + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'time_mode': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'time_mode': {'key': 'timeMode', 'type': 'str'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + time_mode: Union[str, "TimeMode"], + **kwargs + ): + super(AlertingResultQuery, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.time_mode = time_mode + + +class AlertResult(msrest.serialization.Model): + """AlertResult. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar alert_id: alert id. + :vartype alert_id: str + :ivar timestamp: anomaly time. + :vartype timestamp: ~datetime.datetime + :ivar created_time: created time. + :vartype created_time: ~datetime.datetime + :ivar modified_time: modified time. + :vartype modified_time: ~datetime.datetime + """ + + _validation = { + 'alert_id': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'created_time': {'readonly': True}, + 'modified_time': {'readonly': True}, + } + + _attribute_map = { + 'alert_id': {'key': 'alertId', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(AlertResult, self).__init__(**kwargs) + self.alert_id = None + self.timestamp = None + self.created_time = None + self.modified_time = None + + +class AlertResultList(msrest.serialization.Model): + """AlertResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AlertResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[AlertResult]'}, + } + + def __init__( + self, + *, + next_link: str, + value: List["AlertResult"], + **kwargs + ): + super(AlertResultList, self).__init__(**kwargs) + self.next_link = next_link + self.value = value + + +class AlertSnoozeCondition(msrest.serialization.Model): + """AlertSnoozeCondition. + + All required parameters must be populated in order to send to Azure. + + :param auto_snooze: Required. snooze point count, value range : [0, +∞). + :type auto_snooze: int + :param snooze_scope: Required. snooze scope. Possible values include: "Metric", "Series". + :type snooze_scope: str or ~azure.ai.metricsadvisor.models.SnoozeScope + :param only_for_successive: Required. only snooze for successive anomalies. + :type only_for_successive: bool + """ + + _validation = { + 'auto_snooze': {'required': True}, + 'snooze_scope': {'required': True}, + 'only_for_successive': {'required': True}, + } + + _attribute_map = { + 'auto_snooze': {'key': 'autoSnooze', 'type': 'int'}, + 'snooze_scope': {'key': 'snoozeScope', 'type': 'str'}, + 'only_for_successive': {'key': 'onlyForSuccessive', 'type': 'bool'}, + } + + def __init__( + self, + *, + auto_snooze: int, + snooze_scope: Union[str, "SnoozeScope"], + only_for_successive: bool, + **kwargs + ): + super(AlertSnoozeCondition, self).__init__(**kwargs) + self.auto_snooze = auto_snooze + self.snooze_scope = snooze_scope + self.only_for_successive = only_for_successive + + +class AnomalyAlertingConfiguration(msrest.serialization.Model): + """AnomalyAlertingConfiguration. + + 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. + + :ivar anomaly_alerting_configuration_id: anomaly alerting configuration unique id. + :vartype anomaly_alerting_configuration_id: str + :param name: Required. anomaly alerting configuration name. + :type name: str + :param description: anomaly alerting configuration description. + :type description: str + :param cross_metrics_operator: cross metrics operator + + should be specified when setting up multiple metric alerting configurations. Possible values + include: "AND", "OR", "XOR". + :type cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationCrossMetricsOperator + :param hook_ids: Required. hook unique ids. + :type hook_ids: list[str] + :param metric_alerting_configurations: Required. Anomaly alerting configurations. + :type metric_alerting_configurations: + list[~azure.ai.metricsadvisor.models.MetricAlertingConfiguration] + """ + + _validation = { + 'anomaly_alerting_configuration_id': {'readonly': True}, + 'name': {'required': True}, + 'hook_ids': {'required': True, 'unique': True}, + 'metric_alerting_configurations': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'anomaly_alerting_configuration_id': {'key': 'anomalyAlertingConfigurationId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'cross_metrics_operator': {'key': 'crossMetricsOperator', 'type': 'str'}, + 'hook_ids': {'key': 'hookIds', 'type': '[str]'}, + 'metric_alerting_configurations': {'key': 'metricAlertingConfigurations', 'type': '[MetricAlertingConfiguration]'}, + } + + def __init__( + self, + *, + name: str, + hook_ids: List[str], + metric_alerting_configurations: List["MetricAlertingConfiguration"], + description: Optional[str] = None, + cross_metrics_operator: Optional[Union[str, "AnomalyAlertingConfigurationCrossMetricsOperator"]] = None, + **kwargs + ): + super(AnomalyAlertingConfiguration, self).__init__(**kwargs) + self.anomaly_alerting_configuration_id = None + self.name = name + self.description = description + self.cross_metrics_operator = cross_metrics_operator + self.hook_ids = hook_ids + self.metric_alerting_configurations = metric_alerting_configurations + + +class AnomalyAlertingConfigurationList(msrest.serialization.Model): + """AnomalyAlertingConfigurationList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnomalyAlertingConfiguration]'}, + } + + def __init__( + self, + *, + value: List["AnomalyAlertingConfiguration"], + **kwargs + ): + super(AnomalyAlertingConfigurationList, self).__init__(**kwargs) + self.value = value + + +class AnomalyAlertingConfigurationPatch(msrest.serialization.Model): + """AnomalyAlertingConfigurationPatch. + + :param name: Anomaly alerting configuration name. + :type name: str + :param description: anomaly alerting configuration description. + :type description: str + :param cross_metrics_operator: cross metrics operator. Possible values include: "AND", "OR", + "XOR". + :type cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationPatchCrossMetricsOperator + :param hook_ids: hook unique ids. + :type hook_ids: list[str] + :param metric_alerting_configurations: Anomaly alerting configurations. + :type metric_alerting_configurations: + list[~azure.ai.metricsadvisor.models.MetricAlertingConfiguration] + """ + + _validation = { + 'hook_ids': {'unique': True}, + 'metric_alerting_configurations': {'unique': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'cross_metrics_operator': {'key': 'crossMetricsOperator', 'type': 'str'}, + 'hook_ids': {'key': 'hookIds', 'type': '[str]'}, + 'metric_alerting_configurations': {'key': 'metricAlertingConfigurations', 'type': '[MetricAlertingConfiguration]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + cross_metrics_operator: Optional[Union[str, "AnomalyAlertingConfigurationPatchCrossMetricsOperator"]] = None, + hook_ids: Optional[List[str]] = None, + metric_alerting_configurations: Optional[List["MetricAlertingConfiguration"]] = None, + **kwargs + ): + super(AnomalyAlertingConfigurationPatch, self).__init__(**kwargs) + self.name = name + self.description = description + self.cross_metrics_operator = cross_metrics_operator + self.hook_ids = hook_ids + self.metric_alerting_configurations = metric_alerting_configurations + + +class AnomalyDetectionConfiguration(msrest.serialization.Model): + """AnomalyDetectionConfiguration. + + 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. + + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id. + :vartype anomaly_detection_configuration_id: str + :param name: Required. anomaly detection configuration name. + :type name: str + :param description: anomaly detection configuration description. + :type description: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param whole_metric_configuration: Required. + :type whole_metric_configuration: ~azure.ai.metricsadvisor.models.WholeMetricConfiguration + :param dimension_group_override_configurations: detection configuration for series group. + :type dimension_group_override_configurations: + list[~azure.ai.metricsadvisor.models.DimensionGroupConfiguration] + :param series_override_configurations: detection configuration for specific series. + :type series_override_configurations: list[~azure.ai.metricsadvisor.models.SeriesConfiguration] + """ + + _validation = { + 'anomaly_detection_configuration_id': {'readonly': True}, + 'name': {'required': True}, + 'metric_id': {'required': True}, + 'whole_metric_configuration': {'required': True}, + 'dimension_group_override_configurations': {'unique': True}, + 'series_override_configurations': {'unique': True}, + } + + _attribute_map = { + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'whole_metric_configuration': {'key': 'wholeMetricConfiguration', 'type': 'WholeMetricConfiguration'}, + 'dimension_group_override_configurations': {'key': 'dimensionGroupOverrideConfigurations', 'type': '[DimensionGroupConfiguration]'}, + 'series_override_configurations': {'key': 'seriesOverrideConfigurations', 'type': '[SeriesConfiguration]'}, + } + + def __init__( + self, + *, + name: str, + metric_id: str, + whole_metric_configuration: "WholeMetricConfiguration", + description: Optional[str] = None, + dimension_group_override_configurations: Optional[List["DimensionGroupConfiguration"]] = None, + series_override_configurations: Optional[List["SeriesConfiguration"]] = None, + **kwargs + ): + super(AnomalyDetectionConfiguration, self).__init__(**kwargs) + self.anomaly_detection_configuration_id = None + self.name = name + self.description = description + self.metric_id = metric_id + self.whole_metric_configuration = whole_metric_configuration + self.dimension_group_override_configurations = dimension_group_override_configurations + self.series_override_configurations = series_override_configurations + + +class AnomalyDetectionConfigurationList(msrest.serialization.Model): + """AnomalyDetectionConfigurationList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnomalyDetectionConfiguration]'}, + } + + def __init__( + self, + *, + value: List["AnomalyDetectionConfiguration"], + **kwargs + ): + super(AnomalyDetectionConfigurationList, self).__init__(**kwargs) + self.value = value + + +class AnomalyDetectionConfigurationPatch(msrest.serialization.Model): + """AnomalyDetectionConfigurationPatch. + + :param name: anomaly detection configuration name. + :type name: str + :param description: anomaly detection configuration description. + :type description: str + :param whole_metric_configuration: + :type whole_metric_configuration: ~azure.ai.metricsadvisor.models.WholeMetricConfiguration + :param dimension_group_override_configurations: detection configuration for series group. + :type dimension_group_override_configurations: + list[~azure.ai.metricsadvisor.models.DimensionGroupConfiguration] + :param series_override_configurations: detection configuration for specific series. + :type series_override_configurations: list[~azure.ai.metricsadvisor.models.SeriesConfiguration] + """ + + _validation = { + 'dimension_group_override_configurations': {'unique': True}, + 'series_override_configurations': {'unique': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'whole_metric_configuration': {'key': 'wholeMetricConfiguration', 'type': 'WholeMetricConfiguration'}, + 'dimension_group_override_configurations': {'key': 'dimensionGroupOverrideConfigurations', 'type': '[DimensionGroupConfiguration]'}, + 'series_override_configurations': {'key': 'seriesOverrideConfigurations', 'type': '[SeriesConfiguration]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + whole_metric_configuration: Optional["WholeMetricConfiguration"] = None, + dimension_group_override_configurations: Optional[List["DimensionGroupConfiguration"]] = None, + series_override_configurations: Optional[List["SeriesConfiguration"]] = None, + **kwargs + ): + super(AnomalyDetectionConfigurationPatch, self).__init__(**kwargs) + self.name = name + self.description = description + self.whole_metric_configuration = whole_metric_configuration + self.dimension_group_override_configurations = dimension_group_override_configurations + self.series_override_configurations = series_override_configurations + + +class AnomalyDimensionList(msrest.serialization.Model): + """AnomalyDimensionList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[str] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[str]'}, + } + + def __init__( + self, + *, + next_link: str, + value: List[str], + **kwargs + ): + super(AnomalyDimensionList, self).__init__(**kwargs) + self.next_link = next_link + self.value = value + + +class AnomalyDimensionQuery(msrest.serialization.Model): + """AnomalyDimensionQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param dimension_name: Required. dimension to query. + :type dimension_name: str + :param dimension_filter: + :type dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'dimension_name': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'DimensionGroupIdentity'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + dimension_name: str, + dimension_filter: Optional["DimensionGroupIdentity"] = None, + **kwargs + ): + super(AnomalyDimensionQuery, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.dimension_name = dimension_name + self.dimension_filter = dimension_filter + + +class MetricFeedback(msrest.serialization.Model): + """MetricFeedback. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + } + + _subtype_map = { + 'feedback_type': {'Anomaly': 'AnomalyFeedback', 'ChangePoint': 'ChangePointFeedback', 'Comment': 'CommentFeedback', 'Period': 'PeriodFeedback'} + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: "FeedbackDimensionFilter", + **kwargs + ): + super(MetricFeedback, self).__init__(**kwargs) + self.feedback_type = None # type: Optional[str] + self.feedback_id = None + self.created_time = None + self.user_principal = None + self.metric_id = metric_id + self.dimension_filter = dimension_filter + + +class AnomalyFeedback(MetricFeedback): + """AnomalyFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.AnomalyFeedbackValue + :param anomaly_detection_configuration_id: the corresponding anomaly detection configuration of + this feedback. + :type anomaly_detection_configuration_id: str + :param anomaly_detection_configuration_snapshot: + :type anomaly_detection_configuration_snapshot: + ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'AnomalyFeedbackValue'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'anomaly_detection_configuration_snapshot': {'key': 'anomalyDetectionConfigurationSnapshot', 'type': 'AnomalyDetectionConfiguration'}, + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: "FeedbackDimensionFilter", + start_time: datetime.datetime, + end_time: datetime.datetime, + value: "AnomalyFeedbackValue", + anomaly_detection_configuration_id: Optional[str] = None, + anomaly_detection_configuration_snapshot: Optional["AnomalyDetectionConfiguration"] = None, + **kwargs + ): + super(AnomalyFeedback, self).__init__(metric_id=metric_id, dimension_filter=dimension_filter, **kwargs) + self.feedback_type = 'Anomaly' # type: str + self.start_time = start_time + self.end_time = end_time + self.value = value + self.anomaly_detection_configuration_id = anomaly_detection_configuration_id + self.anomaly_detection_configuration_snapshot = anomaly_detection_configuration_snapshot + + +class AnomalyFeedbackValue(msrest.serialization.Model): + """AnomalyFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param anomaly_value: Required. Possible values include: "AutoDetect", "Anomaly", + "NotAnomaly". + :type anomaly_value: str or ~azure.ai.metricsadvisor.models.AnomalyValue + """ + + _validation = { + 'anomaly_value': {'required': True}, + } + + _attribute_map = { + 'anomaly_value': {'key': 'anomalyValue', 'type': 'str'}, + } + + def __init__( + self, + *, + anomaly_value: Union[str, "AnomalyValue"], + **kwargs + ): + super(AnomalyFeedbackValue, self).__init__(**kwargs) + self.anomaly_value = anomaly_value + + +class AnomalyProperty(msrest.serialization.Model): + """AnomalyProperty. + + 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 anomaly_severity: Required. anomaly severity. Possible values include: "Low", "Medium", + "High". + :type anomaly_severity: str or ~azure.ai.metricsadvisor.models.Severity + :ivar anomaly_status: anomaly status + + only return for alerting anomaly result. Possible values include: "Active", "Resolved". + :vartype anomaly_status: str or ~azure.ai.metricsadvisor.models.AnomalyPropertyAnomalyStatus + """ + + _validation = { + 'anomaly_severity': {'required': True}, + 'anomaly_status': {'readonly': True}, + } + + _attribute_map = { + 'anomaly_severity': {'key': 'anomalySeverity', 'type': 'str'}, + 'anomaly_status': {'key': 'anomalyStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + anomaly_severity: Union[str, "Severity"], + **kwargs + ): + super(AnomalyProperty, self).__init__(**kwargs) + self.anomaly_severity = anomaly_severity + self.anomaly_status = None + + +class AnomalyResult(msrest.serialization.Model): + """AnomalyResult. + + 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. + + :ivar metric_id: metric unique id + + only return for alerting anomaly result. + :vartype metric_id: str + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id + + only return for alerting anomaly result. + :vartype anomaly_detection_configuration_id: str + :param timestamp: Required. anomaly time. + :type timestamp: ~datetime.datetime + :ivar created_time: created time + + only return for alerting result. + :vartype created_time: ~datetime.datetime + :ivar modified_time: modified time + + only return for alerting result. + :vartype modified_time: ~datetime.datetime + :param dimension: Required. dimension specified for series. + :type dimension: dict[str, str] + :param property: Required. + :type property: ~azure.ai.metricsadvisor.models.AnomalyProperty + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'anomaly_detection_configuration_id': {'readonly': True}, + 'timestamp': {'required': True}, + 'created_time': {'readonly': True}, + 'modified_time': {'readonly': True}, + 'dimension': {'required': True}, + 'property': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'}, + 'dimension': {'key': 'dimension', 'type': '{str}'}, + 'property': {'key': 'property', 'type': 'AnomalyProperty'}, + } + + def __init__( + self, + *, + timestamp: datetime.datetime, + dimension: Dict[str, str], + property: "AnomalyProperty", + **kwargs + ): + super(AnomalyResult, self).__init__(**kwargs) + self.metric_id = None + self.anomaly_detection_configuration_id = None + self.timestamp = timestamp + self.created_time = None + self.modified_time = None + self.dimension = dimension + self.property = property + + +class AnomalyResultList(msrest.serialization.Model): + """AnomalyResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.AnomalyResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[AnomalyResult]'}, + } + + def __init__( + self, + *, + next_link: str, + value: List["AnomalyResult"], + **kwargs + ): + super(AnomalyResultList, self).__init__(**kwargs) + self.next_link = next_link + self.value = value + + +class DataFeedDetail(msrest.serialization.Model): + """DataFeedDetail. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, ElasticsearchDataFeed, HttpRequestDataFeed, InfluxDBDataFeed, MongoDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + } + + _subtype_map = { + 'data_source_type': {'AzureApplicationInsights': 'AzureApplicationInsightsDataFeed', 'AzureBlob': 'AzureBlobDataFeed', 'AzureCosmosDB': 'AzureCosmosDBDataFeed', 'AzureDataExplorer': 'AzureDataExplorerDataFeed', 'AzureDataLakeStorageGen2': 'AzureDataLakeStorageGen2DataFeed', 'AzureTable': 'AzureTableDataFeed', 'Elasticsearch': 'ElasticsearchDataFeed', 'HttpRequest': 'HttpRequestDataFeed', 'InfluxDB': 'InfluxDBDataFeed', 'MongoDB': 'MongoDBDataFeed', 'MySql': 'MySqlDataFeed', 'PostgreSql': 'PostgreSqlDataFeed', 'SqlServer': 'SQLServerDataFeed'} + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(DataFeedDetail, self).__init__(**kwargs) + self.data_source_type = None # type: Optional[str] + self.data_feed_id = None + self.data_feed_name = data_feed_name + self.data_feed_description = data_feed_description + self.granularity_name = granularity_name + self.granularity_amount = granularity_amount + self.metrics = metrics + self.dimension = dimension + self.timestamp_column = timestamp_column + self.data_start_from = data_start_from + self.start_offset_in_seconds = start_offset_in_seconds + self.max_concurrency = max_concurrency + self.min_retry_interval_in_seconds = min_retry_interval_in_seconds + self.stop_retry_after_in_seconds = stop_retry_after_in_seconds + self.need_rollup = need_rollup + self.roll_up_method = roll_up_method + self.roll_up_columns = roll_up_columns + self.all_up_identification = all_up_identification + self.fill_missing_point_type = fill_missing_point_type + self.fill_missing_point_value = fill_missing_point_value + self.view_mode = view_mode + self.admins = admins + self.viewers = viewers + self.is_admin = None + self.creator = None + self.status = None + self.created_time = None + self.action_link_template = action_link_template + + +class AzureApplicationInsightsDataFeed(DataFeedDetail): + """AzureApplicationInsightsDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureApplicationInsightsParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureApplicationInsightsParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "AzureApplicationInsightsParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureApplicationInsightsDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureApplicationInsights' # type: str + self.data_source_parameter = data_source_parameter + + +class DataFeedDetailPatch(msrest.serialization.Model): + """DataFeedDetailPatch. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: AzureApplicationInsightsDataFeedPatch, AzureBlobDataFeedPatch, AzureCosmosDBDataFeedPatch, AzureDataExplorerDataFeedPatch, AzureDataLakeStorageGen2DataFeedPatch, AzureTableDataFeedPatch, ElasticsearchDataFeedPatch, HttpRequestDataFeedPatch, InfluxDBDataFeedPatch, MongoDBDataFeedPatch, MySqlDataFeedPatch, PostgreSqlDataFeedPatch, SQLServerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + } + + _subtype_map = { + 'data_source_type': {'AzureApplicationInsights': 'AzureApplicationInsightsDataFeedPatch', 'AzureBlob': 'AzureBlobDataFeedPatch', 'AzureCosmosDB': 'AzureCosmosDBDataFeedPatch', 'AzureDataExplorer': 'AzureDataExplorerDataFeedPatch', 'AzureDataLakeStorageGen2': 'AzureDataLakeStorageGen2DataFeedPatch', 'AzureTable': 'AzureTableDataFeedPatch', 'Elasticsearch': 'ElasticsearchDataFeedPatch', 'HttpRequest': 'HttpRequestDataFeedPatch', 'InfluxDB': 'InfluxDBDataFeedPatch', 'MongoDB': 'MongoDBDataFeedPatch', 'MySql': 'MySqlDataFeedPatch', 'PostgreSql': 'PostgreSqlDataFeedPatch', 'SqlServer': 'SQLServerDataFeedPatch'} + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(DataFeedDetailPatch, self).__init__(**kwargs) + self.data_source_type = None # type: Optional[str] + self.data_feed_name = data_feed_name + self.data_feed_description = data_feed_description + self.timestamp_column = timestamp_column + self.data_start_from = data_start_from + self.start_offset_in_seconds = start_offset_in_seconds + self.max_concurrency = max_concurrency + self.min_retry_interval_in_seconds = min_retry_interval_in_seconds + self.stop_retry_after_in_seconds = stop_retry_after_in_seconds + self.need_rollup = need_rollup + self.roll_up_method = roll_up_method + self.roll_up_columns = roll_up_columns + self.all_up_identification = all_up_identification + self.fill_missing_point_type = fill_missing_point_type + self.fill_missing_point_value = fill_missing_point_value + self.view_mode = view_mode + self.admins = admins + self.viewers = viewers + self.status = status + self.action_link_template = action_link_template + + +class AzureApplicationInsightsDataFeedPatch(DataFeedDetailPatch): + """AzureApplicationInsightsDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureApplicationInsightsParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureApplicationInsightsParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["AzureApplicationInsightsParameter"] = None, + **kwargs + ): + super(AzureApplicationInsightsDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureApplicationInsights' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureApplicationInsightsParameter(msrest.serialization.Model): + """AzureApplicationInsightsParameter. + + All required parameters must be populated in order to send to Azure. + + :param azure_cloud: Required. Azure cloud environment. + :type azure_cloud: str + :param application_id: Required. Azure Application Insights ID. + :type application_id: str + :param api_key: Required. API Key. + :type api_key: str + :param query: Required. Query. + :type query: str + """ + + _validation = { + 'azure_cloud': {'required': True}, + 'application_id': {'required': True}, + 'api_key': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'azure_cloud': {'key': 'azureCloud', 'type': 'str'}, + 'application_id': {'key': 'applicationId', 'type': 'str'}, + 'api_key': {'key': 'apiKey', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + *, + azure_cloud: str, + application_id: str, + api_key: str, + query: str, + **kwargs + ): + super(AzureApplicationInsightsParameter, self).__init__(**kwargs) + self.azure_cloud = azure_cloud + self.application_id = application_id + self.api_key = api_key + self.query = query + + +class AzureBlobDataFeed(DataFeedDetail): + """AzureBlobDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureBlobParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureBlobParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "AzureBlobParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureBlobDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureBlob' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureBlobDataFeedPatch(DataFeedDetailPatch): + """AzureBlobDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureBlobParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureBlobParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["AzureBlobParameter"] = None, + **kwargs + ): + super(AzureBlobDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureBlob' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureBlobParameter(msrest.serialization.Model): + """AzureBlobParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure Blob connection string. + :type connection_string: str + :param container: Required. Container. + :type container: str + :param blob_template: Required. Blob Template. + :type blob_template: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'container': {'required': True}, + 'blob_template': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'container': {'key': 'container', 'type': 'str'}, + 'blob_template': {'key': 'blobTemplate', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + container: str, + blob_template: str, + **kwargs + ): + super(AzureBlobParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.container = container + self.blob_template = blob_template + + +class AzureCosmosDBDataFeed(DataFeedDetail): + """AzureCosmosDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureCosmosDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureCosmosDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "AzureCosmosDBParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureCosmosDBDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureCosmosDB' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureCosmosDBDataFeedPatch(DataFeedDetailPatch): + """AzureCosmosDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureCosmosDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureCosmosDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["AzureCosmosDBParameter"] = None, + **kwargs + ): + super(AzureCosmosDBDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureCosmosDB' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureCosmosDBParameter(msrest.serialization.Model): + """AzureCosmosDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure CosmosDB connection string. + :type connection_string: str + :param sql_query: Required. Query script. + :type sql_query: str + :param database: Required. Database name. + :type database: str + :param collection_id: Required. Collection id. + :type collection_id: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'sql_query': {'required': True}, + 'database': {'required': True}, + 'collection_id': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'sql_query': {'key': 'sqlQuery', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'collection_id': {'key': 'collectionId', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + sql_query: str, + database: str, + collection_id: str, + **kwargs + ): + super(AzureCosmosDBParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.sql_query = sql_query + self.database = database + self.collection_id = collection_id + + +class AzureDataExplorerDataFeed(DataFeedDetail): + """AzureDataExplorerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "SqlSourceParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureDataExplorerDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureDataExplorer' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureDataExplorerDataFeedPatch(DataFeedDetailPatch): + """AzureDataExplorerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["SqlSourceParameter"] = None, + **kwargs + ): + super(AzureDataExplorerDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureDataExplorer' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureDataLakeStorageGen2DataFeed(DataFeedDetail): + """AzureDataLakeStorageGen2DataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureDataLakeStorageGen2Parameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureDataLakeStorageGen2Parameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "AzureDataLakeStorageGen2Parameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureDataLakeStorageGen2DataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureDataLakeStorageGen2' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureDataLakeStorageGen2DataFeedPatch(DataFeedDetailPatch): + """AzureDataLakeStorageGen2DataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureDataLakeStorageGen2Parameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureDataLakeStorageGen2Parameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["AzureDataLakeStorageGen2Parameter"] = None, + **kwargs + ): + super(AzureDataLakeStorageGen2DataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureDataLakeStorageGen2' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureDataLakeStorageGen2Parameter(msrest.serialization.Model): + """AzureDataLakeStorageGen2Parameter. + + All required parameters must be populated in order to send to Azure. + + :param account_name: Required. Account name. + :type account_name: str + :param account_key: Required. Account key. + :type account_key: str + :param file_system_name: Required. File system name (Container). + :type file_system_name: str + :param directory_template: Required. Directory template. + :type directory_template: str + :param file_template: Required. File template. + :type file_template: str + """ + + _validation = { + 'account_name': {'required': True}, + 'account_key': {'required': True}, + 'file_system_name': {'required': True}, + 'directory_template': {'required': True}, + 'file_template': {'required': True}, + } + + _attribute_map = { + 'account_name': {'key': 'accountName', 'type': 'str'}, + 'account_key': {'key': 'accountKey', 'type': 'str'}, + 'file_system_name': {'key': 'fileSystemName', 'type': 'str'}, + 'directory_template': {'key': 'directoryTemplate', 'type': 'str'}, + 'file_template': {'key': 'fileTemplate', 'type': 'str'}, + } + + def __init__( + self, + *, + account_name: str, + account_key: str, + file_system_name: str, + directory_template: str, + file_template: str, + **kwargs + ): + super(AzureDataLakeStorageGen2Parameter, self).__init__(**kwargs) + self.account_name = account_name + self.account_key = account_key + self.file_system_name = file_system_name + self.directory_template = directory_template + self.file_template = file_template + + +class AzureTableDataFeed(DataFeedDetail): + """AzureTableDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureTableParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureTableParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "AzureTableParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(AzureTableDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureTable' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureTableDataFeedPatch(DataFeedDetailPatch): + """AzureTableDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.AzureTableParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'AzureTableParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["AzureTableParameter"] = None, + **kwargs + ): + super(AzureTableDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'AzureTable' # type: str + self.data_source_parameter = data_source_parameter + + +class AzureTableParameter(msrest.serialization.Model): + """AzureTableParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Azure Table connection string. + :type connection_string: str + :param table: Required. Table name. + :type table: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'table': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'table': {'key': 'table', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + table: str, + query: str, + **kwargs + ): + super(AzureTableParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.table = table + self.query = query + + +class ChangePointFeedback(MetricFeedback): + """ChangePointFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.ChangePointFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'ChangePointFeedbackValue'}, + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: "FeedbackDimensionFilter", + start_time: datetime.datetime, + end_time: datetime.datetime, + value: "ChangePointFeedbackValue", + **kwargs + ): + super(ChangePointFeedback, self).__init__(metric_id=metric_id, dimension_filter=dimension_filter, **kwargs) + self.feedback_type = 'ChangePoint' # type: str + self.start_time = start_time + self.end_time = end_time + self.value = value + + +class ChangePointFeedbackValue(msrest.serialization.Model): + """ChangePointFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param change_point_value: Required. Possible values include: "AutoDetect", "ChangePoint", + "NotChangePoint". + :type change_point_value: str or ~azure.ai.metricsadvisor.models.ChangePointValue + """ + + _validation = { + 'change_point_value': {'required': True}, + } + + _attribute_map = { + 'change_point_value': {'key': 'changePointValue', 'type': 'str'}, + } + + def __init__( + self, + *, + change_point_value: Union[str, "ChangePointValue"], + **kwargs + ): + super(ChangePointFeedbackValue, self).__init__(**kwargs) + self.change_point_value = change_point_value + + +class ChangeThresholdCondition(msrest.serialization.Model): + """ChangeThresholdCondition. + + All required parameters must be populated in order to send to Azure. + + :param change_percentage: Required. change percentage, value range : [0, +∞). + :type change_percentage: float + :param shift_point: Required. shift point, value range : [1, +∞). + :type shift_point: int + :param within_range: Required. if the withinRange = true, detected data is abnormal when the + value falls in the range, in this case anomalyDetectorDirection must be Both + if the withinRange = false, detected data is abnormal when the value falls out of the range. + :type within_range: bool + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'change_percentage': {'required': True}, + 'shift_point': {'required': True}, + 'within_range': {'required': True}, + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'change_percentage': {'key': 'changePercentage', 'type': 'float'}, + 'shift_point': {'key': 'shiftPoint', 'type': 'int'}, + 'within_range': {'key': 'withinRange', 'type': 'bool'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + *, + change_percentage: float, + shift_point: int, + within_range: bool, + anomaly_detector_direction: Union[str, "AnomalyDetectorDirection"], + suppress_condition: "SuppressCondition", + **kwargs + ): + super(ChangeThresholdCondition, self).__init__(**kwargs) + self.change_percentage = change_percentage + self.shift_point = shift_point + self.within_range = within_range + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + + +class CommentFeedback(MetricFeedback): + """CommentFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param start_time: the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: the end timestamp of feedback timerange, when equals to startTime means only + one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.CommentFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'CommentFeedbackValue'}, + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: "FeedbackDimensionFilter", + value: "CommentFeedbackValue", + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(CommentFeedback, self).__init__(metric_id=metric_id, dimension_filter=dimension_filter, **kwargs) + self.feedback_type = 'Comment' # type: str + self.start_time = start_time + self.end_time = end_time + self.value = value + + +class CommentFeedbackValue(msrest.serialization.Model): + """CommentFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param comment_value: Required. the comment string. + :type comment_value: str + """ + + _validation = { + 'comment_value': {'required': True}, + } + + _attribute_map = { + 'comment_value': {'key': 'commentValue', 'type': 'str'}, + } + + def __init__( + self, + *, + comment_value: str, + **kwargs + ): + super(CommentFeedbackValue, self).__init__(**kwargs) + self.comment_value = comment_value + + +class DataFeedIngestionProgress(msrest.serialization.Model): + """DataFeedIngestionProgress. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar latest_success_timestamp: the timestamp of lastest success ingestion job. + null indicates not available. + :vartype latest_success_timestamp: ~datetime.datetime + :ivar latest_active_timestamp: the timestamp of lastest ingestion job with status update. + null indicates not available. + :vartype latest_active_timestamp: ~datetime.datetime + """ + + _validation = { + 'latest_success_timestamp': {'readonly': True}, + 'latest_active_timestamp': {'readonly': True}, + } + + _attribute_map = { + 'latest_success_timestamp': {'key': 'latestSuccessTimestamp', 'type': 'iso-8601'}, + 'latest_active_timestamp': {'key': 'latestActiveTimestamp', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(DataFeedIngestionProgress, self).__init__(**kwargs) + self.latest_success_timestamp = None + self.latest_active_timestamp = None + + +class DataFeedList(msrest.serialization.Model): + """DataFeedList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.DataFeedDetail] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[DataFeedDetail]'}, + } + + def __init__( + self, + **kwargs + ): + super(DataFeedList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class DetectionAnomalyFilterCondition(msrest.serialization.Model): + """DetectionAnomalyFilterCondition. + + :param dimension_filter: dimension filter. + :type dimension_filter: list[~azure.ai.metricsadvisor.models.DimensionGroupIdentity] + :param severity_filter: + :type severity_filter: ~azure.ai.metricsadvisor.models.SeverityFilterCondition + """ + + _validation = { + 'dimension_filter': {'unique': True}, + } + + _attribute_map = { + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[DimensionGroupIdentity]'}, + 'severity_filter': {'key': 'severityFilter', 'type': 'SeverityFilterCondition'}, + } + + def __init__( + self, + *, + dimension_filter: Optional[List["DimensionGroupIdentity"]] = None, + severity_filter: Optional["SeverityFilterCondition"] = None, + **kwargs + ): + super(DetectionAnomalyFilterCondition, self).__init__(**kwargs) + self.dimension_filter = dimension_filter + self.severity_filter = severity_filter + + +class DetectionAnomalyResultQuery(msrest.serialization.Model): + """DetectionAnomalyResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param filter: + :type filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'filter': {'key': 'filter', 'type': 'DetectionAnomalyFilterCondition'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + filter: Optional["DetectionAnomalyFilterCondition"] = None, + **kwargs + ): + super(DetectionAnomalyResultQuery, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.filter = filter + + +class DetectionIncidentFilterCondition(msrest.serialization.Model): + """DetectionIncidentFilterCondition. + + :param dimension_filter: dimension filter. + :type dimension_filter: list[~azure.ai.metricsadvisor.models.DimensionGroupIdentity] + """ + + _validation = { + 'dimension_filter': {'unique': True}, + } + + _attribute_map = { + 'dimension_filter': {'key': 'dimensionFilter', 'type': '[DimensionGroupIdentity]'}, + } + + def __init__( + self, + *, + dimension_filter: Optional[List["DimensionGroupIdentity"]] = None, + **kwargs + ): + super(DetectionIncidentFilterCondition, self).__init__(**kwargs) + self.dimension_filter = dimension_filter + + +class DetectionIncidentResultQuery(msrest.serialization.Model): + """DetectionIncidentResultQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param filter: + :type filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'filter': {'key': 'filter', 'type': 'DetectionIncidentFilterCondition'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + filter: Optional["DetectionIncidentFilterCondition"] = None, + **kwargs + ): + super(DetectionIncidentResultQuery, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.filter = filter + + +class DetectionSeriesQuery(msrest.serialization.Model): + """DetectionSeriesQuery. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time. + :type start_time: ~datetime.datetime + :param end_time: Required. end time. + :type end_time: ~datetime.datetime + :param series: Required. series. + :type series: list[~azure.ai.metricsadvisor.models.SeriesIdentity] + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'series': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'series': {'key': 'series', 'type': '[SeriesIdentity]'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + series: List["SeriesIdentity"], + **kwargs + ): + super(DetectionSeriesQuery, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.series = series + + +class Dimension(msrest.serialization.Model): + """Dimension. + + All required parameters must be populated in order to send to Azure. + + :param dimension_name: Required. dimension name. + :type dimension_name: str + :param dimension_display_name: dimension display name. + :type dimension_display_name: str + """ + + _validation = { + 'dimension_name': {'required': True}, + 'dimension_display_name': {'pattern': r'[.a-zA-Z0-9_-]+'}, + } + + _attribute_map = { + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_display_name': {'key': 'dimensionDisplayName', 'type': 'str'}, + } + + def __init__( + self, + *, + dimension_name: str, + dimension_display_name: Optional[str] = None, + **kwargs + ): + super(Dimension, self).__init__(**kwargs) + self.dimension_name = dimension_name + self.dimension_display_name = dimension_display_name + + +class DimensionGroupConfiguration(msrest.serialization.Model): + """DimensionGroupConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param group: Required. + :type group: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.DimensionGroupConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _validation = { + 'group': {'required': True}, + } + + _attribute_map = { + 'group': {'key': 'group', 'type': 'DimensionGroupIdentity'}, + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + *, + group: "DimensionGroupIdentity", + condition_operator: Optional[Union[str, "DimensionGroupConfigurationConditionOperator"]] = None, + smart_detection_condition: Optional["SmartDetectionCondition"] = None, + hard_threshold_condition: Optional["HardThresholdCondition"] = None, + change_threshold_condition: Optional["ChangeThresholdCondition"] = None, + **kwargs + ): + super(DimensionGroupConfiguration, self).__init__(**kwargs) + self.group = group + self.condition_operator = condition_operator + self.smart_detection_condition = smart_detection_condition + self.hard_threshold_condition = hard_threshold_condition + self.change_threshold_condition = change_threshold_condition + + +class DimensionGroupIdentity(msrest.serialization.Model): + """DimensionGroupIdentity. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. dimension specified for series group. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + *, + dimension: Dict[str, str], + **kwargs + ): + super(DimensionGroupIdentity, self).__init__(**kwargs) + self.dimension = dimension + + +class ElasticsearchDataFeed(DataFeedDetail): + """ElasticsearchDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.ElasticsearchParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'ElasticsearchParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "ElasticsearchParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(ElasticsearchDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'Elasticsearch' # type: str + self.data_source_parameter = data_source_parameter + + +class ElasticsearchDataFeedPatch(DataFeedDetailPatch): + """ElasticsearchDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.ElasticsearchParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'ElasticsearchParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["ElasticsearchParameter"] = None, + **kwargs + ): + super(ElasticsearchDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'Elasticsearch' # type: str + self.data_source_parameter = data_source_parameter + + +class ElasticsearchParameter(msrest.serialization.Model): + """ElasticsearchParameter. + + All required parameters must be populated in order to send to Azure. + + :param host: Required. Host. + :type host: str + :param port: Required. Port. + :type port: str + :param auth_header: Required. Authorization header. + :type auth_header: str + :param query: Required. Query. + :type query: str + """ + + _validation = { + 'host': {'required': True}, + 'port': {'required': True}, + 'auth_header': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'host': {'key': 'host', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'str'}, + 'auth_header': {'key': 'authHeader', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + *, + host: str, + port: str, + auth_header: str, + query: str, + **kwargs + ): + super(ElasticsearchParameter, self).__init__(**kwargs) + self.host = host + self.port = port + self.auth_header = auth_header + self.query = query + + +class HookInfo(msrest.serialization.Model): + """HookInfo. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmailHookInfo, WebhookHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + } + + _subtype_map = { + 'hook_type': {'Email': 'EmailHookInfo', 'Webhook': 'WebhookHookInfo'} + } + + def __init__( + self, + *, + hook_name: str, + description: Optional[str] = None, + external_link: Optional[str] = None, + **kwargs + ): + super(HookInfo, self).__init__(**kwargs) + self.hook_type = None # type: Optional[str] + self.hook_id = None + self.hook_name = hook_name + self.description = description + self.external_link = external_link + self.admins = None + + +class EmailHookInfo(HookInfo): + """EmailHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: Required. + :type hook_parameter: ~azure.ai.metricsadvisor.models.EmailHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + 'hook_parameter': {'required': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'EmailHookParameter'}, + } + + def __init__( + self, + *, + hook_name: str, + hook_parameter: "EmailHookParameter", + description: Optional[str] = None, + external_link: Optional[str] = None, + **kwargs + ): + super(EmailHookInfo, self).__init__(hook_name=hook_name, description=description, external_link=external_link, **kwargs) + self.hook_type = 'Email' # type: str + self.hook_parameter = hook_parameter + + +class HookInfoPatch(msrest.serialization.Model): + """HookInfoPatch. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: EmailHookInfoPatch, WebhookHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + } + + _subtype_map = { + 'hook_type': {'Email': 'EmailHookInfoPatch', 'Webhook': 'WebhookHookInfoPatch'} + } + + def __init__( + self, + *, + hook_name: Optional[str] = None, + description: Optional[str] = None, + external_link: Optional[str] = None, + **kwargs + ): + super(HookInfoPatch, self).__init__(**kwargs) + self.hook_type = None # type: Optional[str] + self.hook_name = hook_name + self.description = description + self.external_link = external_link + self.admins = None + + +class EmailHookInfoPatch(HookInfoPatch): + """EmailHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: + :type hook_parameter: ~azure.ai.metricsadvisor.models.EmailHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'EmailHookParameter'}, + } + + def __init__( + self, + *, + hook_name: Optional[str] = None, + description: Optional[str] = None, + external_link: Optional[str] = None, + hook_parameter: Optional["EmailHookParameter"] = None, + **kwargs + ): + super(EmailHookInfoPatch, self).__init__(hook_name=hook_name, description=description, external_link=external_link, **kwargs) + self.hook_type = 'Email' # type: str + self.hook_parameter = hook_parameter + + +class EmailHookParameter(msrest.serialization.Model): + """EmailHookParameter. + + All required parameters must be populated in order to send to Azure. + + :param to_list: Required. Email TO: list. + :type to_list: list[str] + """ + + _validation = { + 'to_list': {'required': True, 'unique': True}, + } + + _attribute_map = { + 'to_list': {'key': 'toList', 'type': '[str]'}, + } + + def __init__( + self, + *, + to_list: List[str], + **kwargs + ): + super(EmailHookParameter, self).__init__(**kwargs) + self.to_list = to_list + + +class EnrichmentStatus(msrest.serialization.Model): + """EnrichmentStatus. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: data slice timestamp. + :vartype timestamp: ~datetime.datetime + :ivar status: latest enrichment status for this data slice. + :vartype status: str + :ivar message: the trimmed message describes details of the enrichment status. + :vartype message: str + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'status': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EnrichmentStatus, self).__init__(**kwargs) + self.timestamp = None + self.status = None + self.message = None + + +class EnrichmentStatusList(msrest.serialization.Model): + """EnrichmentStatusList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.EnrichmentStatus] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[EnrichmentStatus]'}, + } + + def __init__( + self, + **kwargs + ): + super(EnrichmentStatusList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class EnrichmentStatusQueryOption(msrest.serialization.Model): + """EnrichmentStatusQueryOption. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to query anomaly detection status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query anomaly detection status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + **kwargs + ): + super(EnrichmentStatusQueryOption, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + + +class ErrorCode(msrest.serialization.Model): + """ErrorCode. + + :param message: + :type message: str + :param code: + :type code: str + """ + + _attribute_map = { + 'message': {'key': 'message', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__( + self, + *, + message: Optional[str] = None, + code: Optional[str] = None, + **kwargs + ): + super(ErrorCode, self).__init__(**kwargs) + self.message = message + self.code = code + + +class FeedbackDimensionFilter(msrest.serialization.Model): + """FeedbackDimensionFilter. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. metric dimension filter. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + *, + dimension: Dict[str, str], + **kwargs + ): + super(FeedbackDimensionFilter, self).__init__(**kwargs) + self.dimension = dimension + + +class HardThresholdCondition(msrest.serialization.Model): + """HardThresholdCondition. + + All required parameters must be populated in order to send to Azure. + + :param lower_bound: lower bound + + should be specified when anomalyDetectorDirection is Both or Down. + :type lower_bound: float + :param upper_bound: upper bound + + should be specified when anomalyDetectorDirection is Both or Up. + :type upper_bound: float + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'lower_bound': {'key': 'lowerBound', 'type': 'float'}, + 'upper_bound': {'key': 'upperBound', 'type': 'float'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + *, + anomaly_detector_direction: Union[str, "AnomalyDetectorDirection"], + suppress_condition: "SuppressCondition", + lower_bound: Optional[float] = None, + upper_bound: Optional[float] = None, + **kwargs + ): + super(HardThresholdCondition, self).__init__(**kwargs) + self.lower_bound = lower_bound + self.upper_bound = upper_bound + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + + +class HookList(msrest.serialization.Model): + """HookList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.HookInfo] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[HookInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(HookList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class HttpRequestDataFeed(DataFeedDetail): + """HttpRequestDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.HttpRequestParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'HttpRequestParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "HttpRequestParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(HttpRequestDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'HttpRequest' # type: str + self.data_source_parameter = data_source_parameter + + +class HttpRequestDataFeedPatch(DataFeedDetailPatch): + """HttpRequestDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.HttpRequestParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'HttpRequestParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["HttpRequestParameter"] = None, + **kwargs + ): + super(HttpRequestDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'HttpRequest' # type: str + self.data_source_parameter = data_source_parameter + + +class HttpRequestParameter(msrest.serialization.Model): + """HttpRequestParameter. + + All required parameters must be populated in order to send to Azure. + + :param url: Required. HTTP URL. + :type url: str + :param http_header: Required. HTTP header. + :type http_header: str + :param http_method: Required. HTTP method. + :type http_method: str + :param payload: Required. HTTP reuqest body. + :type payload: str + """ + + _validation = { + 'url': {'required': True}, + 'http_header': {'required': True}, + 'http_method': {'required': True}, + 'payload': {'required': True}, + } + + _attribute_map = { + 'url': {'key': 'url', 'type': 'str'}, + 'http_header': {'key': 'httpHeader', 'type': 'str'}, + 'http_method': {'key': 'httpMethod', 'type': 'str'}, + 'payload': {'key': 'payload', 'type': 'str'}, + } + + def __init__( + self, + *, + url: str, + http_header: str, + http_method: str, + payload: str, + **kwargs + ): + super(HttpRequestParameter, self).__init__(**kwargs) + self.url = url + self.http_header = http_header + self.http_method = http_method + self.payload = payload + + +class IncidentProperty(msrest.serialization.Model): + """IncidentProperty. + + 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 max_severity: Required. max severity of latest anomalies in the incident. Possible + values include: "Low", "Medium", "High". + :type max_severity: str or ~azure.ai.metricsadvisor.models.Severity + :ivar incident_status: incident status + + only return for alerting incident result. Possible values include: "Active", "Resolved". + :vartype incident_status: str or ~azure.ai.metricsadvisor.models.IncidentPropertyIncidentStatus + """ + + _validation = { + 'max_severity': {'required': True}, + 'incident_status': {'readonly': True}, + } + + _attribute_map = { + 'max_severity': {'key': 'maxSeverity', 'type': 'str'}, + 'incident_status': {'key': 'incidentStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + max_severity: Union[str, "Severity"], + **kwargs + ): + super(IncidentProperty, self).__init__(**kwargs) + self.max_severity = max_severity + self.incident_status = None + + +class IncidentResult(msrest.serialization.Model): + """IncidentResult. + + 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. + + :ivar metric_id: metric unique id + + only return for alerting incident result. + :vartype metric_id: str + :ivar anomaly_detection_configuration_id: anomaly detection configuration unique id + + only return for alerting incident result. + :vartype anomaly_detection_configuration_id: str + :param incident_id: Required. incident id. + :type incident_id: str + :param start_time: Required. incident start time. + :type start_time: ~datetime.datetime + :param last_time: Required. incident last time. + :type last_time: ~datetime.datetime + :param root_node: Required. + :type root_node: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param property: Required. + :type property: ~azure.ai.metricsadvisor.models.IncidentProperty + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'anomaly_detection_configuration_id': {'readonly': True}, + 'incident_id': {'required': True}, + 'start_time': {'required': True}, + 'last_time': {'required': True}, + 'root_node': {'required': True}, + 'property': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'incident_id': {'key': 'incidentId', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'last_time': {'key': 'lastTime', 'type': 'iso-8601'}, + 'root_node': {'key': 'rootNode', 'type': 'SeriesIdentity'}, + 'property': {'key': 'property', 'type': 'IncidentProperty'}, + } + + def __init__( + self, + *, + incident_id: str, + start_time: datetime.datetime, + last_time: datetime.datetime, + root_node: "SeriesIdentity", + property: "IncidentProperty", + **kwargs + ): + super(IncidentResult, self).__init__(**kwargs) + self.metric_id = None + self.anomaly_detection_configuration_id = None + self.incident_id = incident_id + self.start_time = start_time + self.last_time = last_time + self.root_node = root_node + self.property = property + + +class IncidentResultList(msrest.serialization.Model): + """IncidentResultList. + + All required parameters must be populated in order to send to Azure. + + :param next_link: Required. + :type next_link: str + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.IncidentResult] + """ + + _validation = { + 'next_link': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[IncidentResult]'}, + } + + def __init__( + self, + *, + next_link: str, + value: List["IncidentResult"], + **kwargs + ): + super(IncidentResultList, self).__init__(**kwargs) + self.next_link = next_link + self.value = value + + +class InfluxDBDataFeed(DataFeedDetail): + """InfluxDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.InfluxDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'InfluxDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "InfluxDBParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(InfluxDBDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'InfluxDB' # type: str + self.data_source_parameter = data_source_parameter + + +class InfluxDBDataFeedPatch(DataFeedDetailPatch): + """InfluxDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.InfluxDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'InfluxDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["InfluxDBParameter"] = None, + **kwargs + ): + super(InfluxDBDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'InfluxDB' # type: str + self.data_source_parameter = data_source_parameter + + +class InfluxDBParameter(msrest.serialization.Model): + """InfluxDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. InfluxDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param user_name: Required. Database access user. + :type user_name: str + :param password: Required. Database access password. + :type password: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'database': {'required': True}, + 'user_name': {'required': True}, + 'password': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + database: str, + user_name: str, + password: str, + query: str, + **kwargs + ): + super(InfluxDBParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.database = database + self.user_name = user_name + self.password = password + self.query = query + + +class IngestionProgressResetOptions(msrest.serialization.Model): + """IngestionProgressResetOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to reset data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to reset data ingestion status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + **kwargs + ): + super(IngestionProgressResetOptions, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + + +class IngestionStatus(msrest.serialization.Model): + """IngestionStatus. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: data slice timestamp. + :vartype timestamp: ~datetime.datetime + :ivar status: latest ingestion task status for this data slice. Possible values include: + "NotStarted", "Scheduled", "Running", "Succeeded", "Failed", "NoData", "Error", "Paused". + :vartype status: str or ~azure.ai.metricsadvisor.models.IngestionStatusType + :ivar message: the trimmed message of last ingestion job. + :vartype message: str + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'status': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionStatus, self).__init__(**kwargs) + self.timestamp = None + self.status = None + self.message = None + + +class IngestionStatusList(msrest.serialization.Model): + """IngestionStatusList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.IngestionStatus] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[IngestionStatus]'}, + } + + def __init__( + self, + **kwargs + ): + super(IngestionStatusList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class IngestionStatusQueryOptions(msrest.serialization.Model): + """IngestionStatusQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. the start point of time range to query data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query data ingestion status. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + **kwargs + ): + super(IngestionStatusQueryOptions, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + + +class Metric(msrest.serialization.Model): + """Metric. + + 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. + + :ivar metric_id: metric id. + :vartype metric_id: str + :param metric_name: Required. metric name. + :type metric_name: str + :param metric_display_name: metric display name. + :type metric_display_name: str + :param metric_description: metric description. + :type metric_description: str + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'metric_name': {'required': True}, + 'metric_display_name': {'pattern': r'[.a-zA-Z0-9_-]+'}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'metric_name': {'key': 'metricName', 'type': 'str'}, + 'metric_display_name': {'key': 'metricDisplayName', 'type': 'str'}, + 'metric_description': {'key': 'metricDescription', 'type': 'str'}, + } + + def __init__( + self, + *, + metric_name: str, + metric_display_name: Optional[str] = None, + metric_description: Optional[str] = None, + **kwargs + ): + super(Metric, self).__init__(**kwargs) + self.metric_id = None + self.metric_name = metric_name + self.metric_display_name = metric_display_name + self.metric_description = metric_description + + +class MetricAlertingConfiguration(msrest.serialization.Model): + """MetricAlertingConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param anomaly_detection_configuration_id: Required. Anomaly detection configuration unique id. + :type anomaly_detection_configuration_id: str + :param anomaly_scope_type: Required. Anomaly scope. Possible values include: "All", + "Dimension", "TopN". + :type anomaly_scope_type: str or ~azure.ai.metricsadvisor.models.AnomalyScope + :param negation_operation: Negation operation. + :type negation_operation: bool + :param dimension_anomaly_scope: + :type dimension_anomaly_scope: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param top_n_anomaly_scope: + :type top_n_anomaly_scope: ~azure.ai.metricsadvisor.models.TopNGroupScope + :param severity_filter: + :type severity_filter: ~azure.ai.metricsadvisor.models.SeverityCondition + :param snooze_filter: + :type snooze_filter: ~azure.ai.metricsadvisor.models.AlertSnoozeCondition + :param value_filter: + :type value_filter: ~azure.ai.metricsadvisor.models.ValueCondition + """ + + _validation = { + 'anomaly_detection_configuration_id': {'required': True}, + 'anomaly_scope_type': {'required': True}, + } + + _attribute_map = { + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'anomaly_scope_type': {'key': 'anomalyScopeType', 'type': 'str'}, + 'negation_operation': {'key': 'negationOperation', 'type': 'bool'}, + 'dimension_anomaly_scope': {'key': 'dimensionAnomalyScope', 'type': 'DimensionGroupIdentity'}, + 'top_n_anomaly_scope': {'key': 'topNAnomalyScope', 'type': 'TopNGroupScope'}, + 'severity_filter': {'key': 'severityFilter', 'type': 'SeverityCondition'}, + 'snooze_filter': {'key': 'snoozeFilter', 'type': 'AlertSnoozeCondition'}, + 'value_filter': {'key': 'valueFilter', 'type': 'ValueCondition'}, + } + + def __init__( + self, + *, + anomaly_detection_configuration_id: str, + anomaly_scope_type: Union[str, "AnomalyScope"], + negation_operation: Optional[bool] = None, + dimension_anomaly_scope: Optional["DimensionGroupIdentity"] = None, + top_n_anomaly_scope: Optional["TopNGroupScope"] = None, + severity_filter: Optional["SeverityCondition"] = None, + snooze_filter: Optional["AlertSnoozeCondition"] = None, + value_filter: Optional["ValueCondition"] = None, + **kwargs + ): + super(MetricAlertingConfiguration, self).__init__(**kwargs) + self.anomaly_detection_configuration_id = anomaly_detection_configuration_id + self.anomaly_scope_type = anomaly_scope_type + self.negation_operation = negation_operation + self.dimension_anomaly_scope = dimension_anomaly_scope + self.top_n_anomaly_scope = top_n_anomaly_scope + self.severity_filter = severity_filter + self.snooze_filter = snooze_filter + self.value_filter = value_filter + + +class MetricDataItem(msrest.serialization.Model): + """MetricDataItem. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: + :type id: ~azure.ai.metricsadvisor.models.MetricSeriesItem + :ivar timestamp_list: timestamps of the data related to this time series. + :vartype timestamp_list: list[~datetime.datetime] + :ivar value_list: values of the data related to this time series. + :vartype value_list: list[float] + """ + + _validation = { + 'timestamp_list': {'readonly': True}, + 'value_list': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'MetricSeriesItem'}, + 'timestamp_list': {'key': 'timestampList', 'type': '[iso-8601]'}, + 'value_list': {'key': 'valueList', 'type': '[float]'}, + } + + def __init__( + self, + *, + id: Optional["MetricSeriesItem"] = None, + **kwargs + ): + super(MetricDataItem, self).__init__(**kwargs) + self.id = id + self.timestamp_list = None + self.value_list = None + + +class MetricDataList(msrest.serialization.Model): + """MetricDataList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricDataItem] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MetricDataItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDataList, self).__init__(**kwargs) + self.value = None + + +class MetricDataQueryOptions(msrest.serialization.Model): + """MetricDataQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param start_time: Required. start time of query a time series data, and format should be yyyy- + MM-ddThh:mm:ssZ. + :type start_time: ~datetime.datetime + :param end_time: Required. start time of query a time series data, and format should be yyyy- + MM-ddThh:mm:ssZ. + :type end_time: ~datetime.datetime + :param series: Required. query specific series. + :type series: list[dict[str, str]] + """ + + _validation = { + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'series': {'required': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'series': {'key': 'series', 'type': '[{str}]'}, + } + + def __init__( + self, + *, + start_time: datetime.datetime, + end_time: datetime.datetime, + series: List[Dict[str, str]], + **kwargs + ): + super(MetricDataQueryOptions, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.series = series + + +class MetricDimensionList(msrest.serialization.Model): + """MetricDimensionList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[str] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricDimensionList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricDimensionQueryOptions(msrest.serialization.Model): + """MetricDimensionQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param dimension_name: Required. dimension name. + :type dimension_name: str + :param dimension_value_filter: dimension value to be filtered. + :type dimension_value_filter: str + """ + + _validation = { + 'dimension_name': {'required': True}, + } + + _attribute_map = { + 'dimension_name': {'key': 'dimensionName', 'type': 'str'}, + 'dimension_value_filter': {'key': 'dimensionValueFilter', 'type': 'str'}, + } + + def __init__( + self, + *, + dimension_name: str, + dimension_value_filter: Optional[str] = None, + **kwargs + ): + super(MetricDimensionQueryOptions, self).__init__(**kwargs) + self.dimension_name = dimension_name + self.dimension_value_filter = dimension_value_filter + + +class MetricFeedbackFilter(msrest.serialization.Model): + """MetricFeedbackFilter. + + All required parameters must be populated in order to send to Azure. + + :param metric_id: Required. filter feedbacks by metric id. + :type metric_id: str + :param dimension_filter: + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param feedback_type: filter feedbacks by type. Possible values include: "Anomaly", + "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :param start_time: start time filter under chosen time mode. + :type start_time: ~datetime.datetime + :param end_time: end time filter under chosen time mode. + :type end_time: ~datetime.datetime + :param time_mode: time mode to filter feedback. Possible values include: "MetricTimestamp", + "FeedbackCreatedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode + """ + + _validation = { + 'metric_id': {'required': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'time_mode': {'key': 'timeMode', 'type': 'str'}, + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: Optional["FeedbackDimensionFilter"] = None, + feedback_type: Optional[Union[str, "FeedbackType"]] = None, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + time_mode: Optional[Union[str, "FeedbackQueryTimeMode"]] = None, + **kwargs + ): + super(MetricFeedbackFilter, self).__init__(**kwargs) + self.metric_id = metric_id + self.dimension_filter = dimension_filter + self.feedback_type = feedback_type + self.start_time = start_time + self.end_time = end_time + self.time_mode = time_mode + + +class MetricFeedbackList(msrest.serialization.Model): + """MetricFeedbackList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricFeedback] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[MetricFeedback]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricFeedbackList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricSeriesItem(msrest.serialization.Model): + """MetricSeriesItem. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar metric_id: metric unique id. + :vartype metric_id: str + :ivar dimension: dimension name and value pair. + :vartype dimension: dict[str, str] + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'dimension': {'readonly': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSeriesItem, self).__init__(**kwargs) + self.metric_id = None + self.dimension = None + + +class MetricSeriesList(msrest.serialization.Model): + """MetricSeriesList. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_link: + :vartype next_link: str + :ivar value: + :vartype value: list[~azure.ai.metricsadvisor.models.MetricSeriesItem] + """ + + _validation = { + 'next_link': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[MetricSeriesItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSeriesList, self).__init__(**kwargs) + self.next_link = None + self.value = None + + +class MetricSeriesQueryOptions(msrest.serialization.Model): + """MetricSeriesQueryOptions. + + All required parameters must be populated in order to send to Azure. + + :param active_since: Required. query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :type active_since: ~datetime.datetime + :param dimension_filter: filter specfic dimension name and values. + :type dimension_filter: dict[str, list[str]] + """ + + _validation = { + 'active_since': {'required': True}, + } + + _attribute_map = { + 'active_since': {'key': 'activeSince', 'type': 'iso-8601'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': '{[str]}'}, + } + + def __init__( + self, + *, + active_since: datetime.datetime, + dimension_filter: Optional[Dict[str, List[str]]] = None, + **kwargs + ): + super(MetricSeriesQueryOptions, self).__init__(**kwargs) + self.active_since = active_since + self.dimension_filter = dimension_filter + + +class MongoDBDataFeed(DataFeedDetail): + """MongoDBDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.MongoDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'MongoDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "MongoDBParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(MongoDBDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'MongoDB' # type: str + self.data_source_parameter = data_source_parameter + + +class MongoDBDataFeedPatch(DataFeedDetailPatch): + """MongoDBDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.MongoDBParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'MongoDBParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["MongoDBParameter"] = None, + **kwargs + ): + super(MongoDBDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'MongoDB' # type: str + self.data_source_parameter = data_source_parameter + + +class MongoDBParameter(msrest.serialization.Model): + """MongoDBParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. MongoDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param command: Required. Query script. + :type command: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'database': {'required': True}, + 'command': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'str'}, + 'command': {'key': 'command', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + database: str, + command: str, + **kwargs + ): + super(MongoDBParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.database = database + self.command = command + + +class MySqlDataFeed(DataFeedDetail): + """MySqlDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "SqlSourceParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(MySqlDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'MySql' # type: str + self.data_source_parameter = data_source_parameter + + +class MySqlDataFeedPatch(DataFeedDetailPatch): + """MySqlDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["SqlSourceParameter"] = None, + **kwargs + ): + super(MySqlDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'MySql' # type: str + self.data_source_parameter = data_source_parameter + + +class PeriodFeedback(MetricFeedback): + """PeriodFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar feedback_id: feedback unique id. + :vartype feedback_id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_filter: Required. + :type dimension_filter: ~azure.ai.metricsadvisor.models.FeedbackDimensionFilter + :param value: Required. + :type value: ~azure.ai.metricsadvisor.models.PeriodFeedbackValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'feedback_id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_filter': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'feedback_id': {'key': 'feedbackId', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_filter': {'key': 'dimensionFilter', 'type': 'FeedbackDimensionFilter'}, + 'value': {'key': 'value', 'type': 'PeriodFeedbackValue'}, + } + + def __init__( + self, + *, + metric_id: str, + dimension_filter: "FeedbackDimensionFilter", + value: "PeriodFeedbackValue", + **kwargs + ): + super(PeriodFeedback, self).__init__(metric_id=metric_id, dimension_filter=dimension_filter, **kwargs) + self.feedback_type = 'Period' # type: str + self.value = value + + +class PeriodFeedbackValue(msrest.serialization.Model): + """PeriodFeedbackValue. + + All required parameters must be populated in order to send to Azure. + + :param period_type: Required. the type of setting period. Possible values include: + "AutoDetect", "AssignValue". + :type period_type: str or ~azure.ai.metricsadvisor.models.PeriodType + :param period_value: Required. the number of intervals a period contains, when no period set to + 0. + :type period_value: int + """ + + _validation = { + 'period_type': {'required': True}, + 'period_value': {'required': True}, + } + + _attribute_map = { + 'period_type': {'key': 'periodType', 'type': 'str'}, + 'period_value': {'key': 'periodValue', 'type': 'int'}, + } + + def __init__( + self, + *, + period_type: Union[str, "PeriodType"], + period_value: int, + **kwargs + ): + super(PeriodFeedbackValue, self).__init__(**kwargs) + self.period_type = period_type + self.period_value = period_value + + +class PostgreSqlDataFeed(DataFeedDetail): + """PostgreSqlDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "SqlSourceParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(PostgreSqlDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'PostgreSql' # type: str + self.data_source_parameter = data_source_parameter + + +class PostgreSqlDataFeedPatch(DataFeedDetailPatch): + """PostgreSqlDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["SqlSourceParameter"] = None, + **kwargs + ): + super(PostgreSqlDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'PostgreSql' # type: str + self.data_source_parameter = data_source_parameter + + +class RootCause(msrest.serialization.Model): + """RootCause. + + All required parameters must be populated in order to send to Azure. + + :param root_cause: Required. + :type root_cause: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :param path: Required. drilling down path from query anomaly to root cause. + :type path: list[str] + :param score: Required. score. + :type score: float + :param description: Required. description. + :type description: str + """ + + _validation = { + 'root_cause': {'required': True}, + 'path': {'required': True}, + 'score': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'root_cause': {'key': 'rootCause', 'type': 'DimensionGroupIdentity'}, + 'path': {'key': 'path', 'type': '[str]'}, + 'score': {'key': 'score', 'type': 'float'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + root_cause: "DimensionGroupIdentity", + path: List[str], + score: float, + description: str, + **kwargs + ): + super(RootCause, self).__init__(**kwargs) + self.root_cause = root_cause + self.path = path + self.score = score + self.description = description + + +class RootCauseList(msrest.serialization.Model): + """RootCauseList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.RootCause] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RootCause]'}, + } + + def __init__( + self, + *, + value: List["RootCause"], + **kwargs + ): + super(RootCauseList, self).__init__(**kwargs) + self.value = value + + +class SeriesConfiguration(msrest.serialization.Model): + """SeriesConfiguration. + + All required parameters must be populated in order to send to Azure. + + :param series: Required. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.SeriesConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _validation = { + 'series': {'required': True}, + } + + _attribute_map = { + 'series': {'key': 'series', 'type': 'SeriesIdentity'}, + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + *, + series: "SeriesIdentity", + condition_operator: Optional[Union[str, "SeriesConfigurationConditionOperator"]] = None, + smart_detection_condition: Optional["SmartDetectionCondition"] = None, + hard_threshold_condition: Optional["HardThresholdCondition"] = None, + change_threshold_condition: Optional["ChangeThresholdCondition"] = None, + **kwargs + ): + super(SeriesConfiguration, self).__init__(**kwargs) + self.series = series + self.condition_operator = condition_operator + self.smart_detection_condition = smart_detection_condition + self.hard_threshold_condition = hard_threshold_condition + self.change_threshold_condition = change_threshold_condition + + +class SeriesIdentity(msrest.serialization.Model): + """SeriesIdentity. + + All required parameters must be populated in order to send to Azure. + + :param dimension: Required. dimension specified for series. + :type dimension: dict[str, str] + """ + + _validation = { + 'dimension': {'required': True}, + } + + _attribute_map = { + 'dimension': {'key': 'dimension', 'type': '{str}'}, + } + + def __init__( + self, + *, + dimension: Dict[str, str], + **kwargs + ): + super(SeriesIdentity, self).__init__(**kwargs) + self.dimension = dimension + + +class SeriesResult(msrest.serialization.Model): + """SeriesResult. + + All required parameters must be populated in order to send to Azure. + + :param series: Required. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity + :param timestamp_list: Required. timestamps of the series. + :type timestamp_list: list[~datetime.datetime] + :param value_list: Required. values of the series. + :type value_list: list[float] + :param is_anomaly_list: Required. whether points of the series are anomalies. + :type is_anomaly_list: list[bool] + :param period_list: Required. period calculated on each point of the series. + :type period_list: list[int] + :param expected_value_list: Required. expected values of the series given by smart detector. + :type expected_value_list: list[float] + :param lower_boundary_list: Required. lower boundary list of the series given by smart + detector. + :type lower_boundary_list: list[float] + :param upper_boundary_list: Required. upper boundary list of the series given by smart + detector. + :type upper_boundary_list: list[float] + """ + + _validation = { + 'series': {'required': True}, + 'timestamp_list': {'required': True}, + 'value_list': {'required': True}, + 'is_anomaly_list': {'required': True}, + 'period_list': {'required': True}, + 'expected_value_list': {'required': True}, + 'lower_boundary_list': {'required': True}, + 'upper_boundary_list': {'required': True}, + } + + _attribute_map = { + 'series': {'key': 'series', 'type': 'SeriesIdentity'}, + 'timestamp_list': {'key': 'timestampList', 'type': '[iso-8601]'}, + 'value_list': {'key': 'valueList', 'type': '[float]'}, + 'is_anomaly_list': {'key': 'isAnomalyList', 'type': '[bool]'}, + 'period_list': {'key': 'periodList', 'type': '[int]'}, + 'expected_value_list': {'key': 'expectedValueList', 'type': '[float]'}, + 'lower_boundary_list': {'key': 'lowerBoundaryList', 'type': '[float]'}, + 'upper_boundary_list': {'key': 'upperBoundaryList', 'type': '[float]'}, + } + + def __init__( + self, + *, + series: "SeriesIdentity", + timestamp_list: List[datetime.datetime], + value_list: List[float], + is_anomaly_list: List[bool], + period_list: List[int], + expected_value_list: List[float], + lower_boundary_list: List[float], + upper_boundary_list: List[float], + **kwargs + ): + super(SeriesResult, self).__init__(**kwargs) + self.series = series + self.timestamp_list = timestamp_list + self.value_list = value_list + self.is_anomaly_list = is_anomaly_list + self.period_list = period_list + self.expected_value_list = expected_value_list + self.lower_boundary_list = lower_boundary_list + self.upper_boundary_list = upper_boundary_list + + +class SeriesResultList(msrest.serialization.Model): + """SeriesResultList. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. + :type value: list[~azure.ai.metricsadvisor.models.SeriesResult] + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SeriesResult]'}, + } + + def __init__( + self, + *, + value: List["SeriesResult"], + **kwargs + ): + super(SeriesResultList, self).__init__(**kwargs) + self.value = value + + +class SeverityCondition(msrest.serialization.Model): + """SeverityCondition. + + All required parameters must be populated in order to send to Azure. + + :param min_alert_severity: Required. min alert severity. Possible values include: "Low", + "Medium", "High". + :type min_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + :param max_alert_severity: Required. max alert severity. Possible values include: "Low", + "Medium", "High". + :type max_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + """ + + _validation = { + 'min_alert_severity': {'required': True}, + 'max_alert_severity': {'required': True}, + } + + _attribute_map = { + 'min_alert_severity': {'key': 'minAlertSeverity', 'type': 'str'}, + 'max_alert_severity': {'key': 'maxAlertSeverity', 'type': 'str'}, + } + + def __init__( + self, + *, + min_alert_severity: Union[str, "Severity"], + max_alert_severity: Union[str, "Severity"], + **kwargs + ): + super(SeverityCondition, self).__init__(**kwargs) + self.min_alert_severity = min_alert_severity + self.max_alert_severity = max_alert_severity + + +class SeverityFilterCondition(msrest.serialization.Model): + """SeverityFilterCondition. + + All required parameters must be populated in order to send to Azure. + + :param min: Required. min severity. Possible values include: "Low", "Medium", "High". + :type min: str or ~azure.ai.metricsadvisor.models.Severity + :param max: Required. max severity. Possible values include: "Low", "Medium", "High". + :type max: str or ~azure.ai.metricsadvisor.models.Severity + """ + + _validation = { + 'min': {'required': True}, + 'max': {'required': True}, + } + + _attribute_map = { + 'min': {'key': 'min', 'type': 'str'}, + 'max': {'key': 'max', 'type': 'str'}, + } + + def __init__( + self, + *, + min: Union[str, "Severity"], + max: Union[str, "Severity"], + **kwargs + ): + super(SeverityFilterCondition, self).__init__(**kwargs) + self.min = min + self.max = max + + +class SmartDetectionCondition(msrest.serialization.Model): + """SmartDetectionCondition. + + All required parameters must be populated in order to send to Azure. + + :param sensitivity: Required. sensitivity, value range : (0, 100]. + :type sensitivity: float + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + _validation = { + 'sensitivity': {'required': True}, + 'anomaly_detector_direction': {'required': True}, + 'suppress_condition': {'required': True}, + } + + _attribute_map = { + 'sensitivity': {'key': 'sensitivity', 'type': 'float'}, + 'anomaly_detector_direction': {'key': 'anomalyDetectorDirection', 'type': 'str'}, + 'suppress_condition': {'key': 'suppressCondition', 'type': 'SuppressCondition'}, + } + + def __init__( + self, + *, + sensitivity: float, + anomaly_detector_direction: Union[str, "AnomalyDetectorDirection"], + suppress_condition: "SuppressCondition", + **kwargs + ): + super(SmartDetectionCondition, self).__init__(**kwargs) + self.sensitivity = sensitivity + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + + +class SQLServerDataFeed(DataFeedDetail): + """SQLServerDataFeed. + + 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 data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :ivar data_feed_id: data feed unique id. + :vartype data_feed_id: str + :param data_feed_name: Required. data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param granularity_name: Required. granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param granularity_amount: if granularity is custom,it is required. + :type granularity_amount: int + :param metrics: Required. measure list. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :param dimension: dimension list. + :type dimension: list[~azure.ai.metricsadvisor.models.Dimension] + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: Required. ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". Default value: "NeedRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.NeedRollupEnum + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :type fill_missing_point_type: str or ~azure.ai.metricsadvisor.models.FillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". Default value: "Private". + :type view_mode: str or ~azure.ai.metricsadvisor.models.ViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :ivar is_admin: the query user is one of data feed administrator or not. + :vartype is_admin: bool + :ivar creator: data feed creator. + :vartype creator: str + :ivar status: data feed status. Possible values include: "Active", "Paused". Default value: + "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailStatus + :ivar created_time: data feed created time. + :vartype created_time: ~datetime.datetime + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: Required. + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'data_feed_id': {'readonly': True}, + 'data_feed_name': {'required': True}, + 'granularity_name': {'required': True}, + 'metrics': {'required': True, 'unique': True}, + 'dimension': {'unique': True}, + 'data_start_from': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + 'is_admin': {'readonly': True}, + 'creator': {'readonly': True}, + 'status': {'readonly': True}, + 'created_time': {'readonly': True}, + 'data_source_parameter': {'required': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_id': {'key': 'dataFeedId', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'granularity_name': {'key': 'granularityName', 'type': 'str'}, + 'granularity_amount': {'key': 'granularityAmount', 'type': 'int'}, + 'metrics': {'key': 'metrics', 'type': '[Metric]'}, + 'dimension': {'key': 'dimension', 'type': '[Dimension]'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'is_admin': {'key': 'isAdmin', 'type': 'bool'}, + 'creator': {'key': 'creator', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: str, + granularity_name: Union[str, "Granularity"], + metrics: List["Metric"], + data_start_from: datetime.datetime, + data_source_parameter: "SqlSourceParameter", + data_feed_description: Optional[str] = None, + granularity_amount: Optional[int] = None, + dimension: Optional[List["Dimension"]] = None, + timestamp_column: Optional[str] = None, + start_offset_in_seconds: Optional[int] = 0, + max_concurrency: Optional[int] = -1, + min_retry_interval_in_seconds: Optional[int] = -1, + stop_retry_after_in_seconds: Optional[int] = -1, + need_rollup: Optional[Union[str, "NeedRollupEnum"]] = "NeedRollup", + roll_up_method: Optional[Union[str, "DataFeedDetailRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "FillMissingPointType"]] = "SmartFilling", + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "ViewMode"]] = "Private", + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + action_link_template: Optional[str] = None, + **kwargs + ): + super(SQLServerDataFeed, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, granularity_name=granularity_name, granularity_amount=granularity_amount, metrics=metrics, dimension=dimension, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'SqlServer' # type: str + self.data_source_parameter = data_source_parameter + + +class SQLServerDataFeedPatch(DataFeedDetailPatch): + """SQLServerDataFeedPatch. + + All required parameters must be populated in order to send to Azure. + + :param data_source_type: Required. data source type.Constant filled by server. Possible values + include: "AzureApplicationInsights", "AzureBlob", "AzureCosmosDB", "AzureDataExplorer", + "AzureDataLakeStorageGen2", "AzureTable", "Elasticsearch", "HttpRequest", "InfluxDB", + "MongoDB", "MySql", "PostgreSql", "SqlServer". + :type data_source_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchDataSourceType + :param data_feed_name: data feed name. + :type data_feed_name: str + :param data_feed_description: data feed description. + :type data_feed_description: str + :param timestamp_column: user-defined timestamp column. if timestampColumn is null, start time + of every time slice will be used as default value. + :type timestamp_column: str + :param data_start_from: ingestion start time. + :type data_start_from: ~datetime.datetime + :param start_offset_in_seconds: the time that the beginning of data ingestion task will delay + for every data slice according to this offset. + :type start_offset_in_seconds: long + :param max_concurrency: the max concurrency of data ingestion queries against user data source. + 0 means no limitation. + :type max_concurrency: int + :param min_retry_interval_in_seconds: the min retry interval for failed data ingestion tasks. + :type min_retry_interval_in_seconds: long + :param stop_retry_after_in_seconds: stop retry data ingestion after the data slice first + schedule time in seconds. + :type stop_retry_after_in_seconds: long + :param need_rollup: mark if the data feed need rollup. Possible values include: "NoRollup", + "NeedRollup", "AlreadyRollup". + :type need_rollup: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchNeedRollup + :param roll_up_method: roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :type roll_up_method: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchRollUpMethod + :param roll_up_columns: roll up columns. + :type roll_up_columns: list[str] + :param all_up_identification: the identification value for the row of calculated all-up value. + :type all_up_identification: str + :param fill_missing_point_type: the type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". + :type fill_missing_point_type: str or + ~azure.ai.metricsadvisor.models.DataFeedDetailPatchFillMissingPointType + :param fill_missing_point_value: the value of fill missing point for anomaly detection. + :type fill_missing_point_value: float + :param view_mode: data feed access mode, default is Private. Possible values include: + "Private", "Public". + :type view_mode: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchViewMode + :param admins: data feed administrator. + :type admins: list[str] + :param viewers: data feed viewer. + :type viewers: list[str] + :param status: data feed status. Possible values include: "Active", "Paused". + :type status: str or ~azure.ai.metricsadvisor.models.DataFeedDetailPatchStatus + :param action_link_template: action link for alert. + :type action_link_template: str + :param data_source_parameter: + :type data_source_parameter: ~azure.ai.metricsadvisor.models.SqlSourceParameter + """ + + _validation = { + 'data_source_type': {'required': True}, + 'roll_up_columns': {'unique': True}, + 'admins': {'unique': True}, + 'viewers': {'unique': True}, + } + + _attribute_map = { + 'data_source_type': {'key': 'dataSourceType', 'type': 'str'}, + 'data_feed_name': {'key': 'dataFeedName', 'type': 'str'}, + 'data_feed_description': {'key': 'dataFeedDescription', 'type': 'str'}, + 'timestamp_column': {'key': 'timestampColumn', 'type': 'str'}, + 'data_start_from': {'key': 'dataStartFrom', 'type': 'iso-8601'}, + 'start_offset_in_seconds': {'key': 'startOffsetInSeconds', 'type': 'long'}, + 'max_concurrency': {'key': 'maxConcurrency', 'type': 'int'}, + 'min_retry_interval_in_seconds': {'key': 'minRetryIntervalInSeconds', 'type': 'long'}, + 'stop_retry_after_in_seconds': {'key': 'stopRetryAfterInSeconds', 'type': 'long'}, + 'need_rollup': {'key': 'needRollup', 'type': 'str'}, + 'roll_up_method': {'key': 'rollUpMethod', 'type': 'str'}, + 'roll_up_columns': {'key': 'rollUpColumns', 'type': '[str]'}, + 'all_up_identification': {'key': 'allUpIdentification', 'type': 'str'}, + 'fill_missing_point_type': {'key': 'fillMissingPointType', 'type': 'str'}, + 'fill_missing_point_value': {'key': 'fillMissingPointValue', 'type': 'float'}, + 'view_mode': {'key': 'viewMode', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'viewers': {'key': 'viewers', 'type': '[str]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'action_link_template': {'key': 'actionLinkTemplate', 'type': 'str'}, + 'data_source_parameter': {'key': 'dataSourceParameter', 'type': 'SqlSourceParameter'}, + } + + def __init__( + self, + *, + data_feed_name: Optional[str] = None, + data_feed_description: Optional[str] = None, + timestamp_column: Optional[str] = None, + data_start_from: Optional[datetime.datetime] = None, + start_offset_in_seconds: Optional[int] = None, + max_concurrency: Optional[int] = None, + min_retry_interval_in_seconds: Optional[int] = None, + stop_retry_after_in_seconds: Optional[int] = None, + need_rollup: Optional[Union[str, "DataFeedDetailPatchNeedRollup"]] = None, + roll_up_method: Optional[Union[str, "DataFeedDetailPatchRollUpMethod"]] = None, + roll_up_columns: Optional[List[str]] = None, + all_up_identification: Optional[str] = None, + fill_missing_point_type: Optional[Union[str, "DataFeedDetailPatchFillMissingPointType"]] = None, + fill_missing_point_value: Optional[float] = None, + view_mode: Optional[Union[str, "DataFeedDetailPatchViewMode"]] = None, + admins: Optional[List[str]] = None, + viewers: Optional[List[str]] = None, + status: Optional[Union[str, "DataFeedDetailPatchStatus"]] = None, + action_link_template: Optional[str] = None, + data_source_parameter: Optional["SqlSourceParameter"] = None, + **kwargs + ): + super(SQLServerDataFeedPatch, self).__init__(data_feed_name=data_feed_name, data_feed_description=data_feed_description, timestamp_column=timestamp_column, data_start_from=data_start_from, start_offset_in_seconds=start_offset_in_seconds, max_concurrency=max_concurrency, min_retry_interval_in_seconds=min_retry_interval_in_seconds, stop_retry_after_in_seconds=stop_retry_after_in_seconds, need_rollup=need_rollup, roll_up_method=roll_up_method, roll_up_columns=roll_up_columns, all_up_identification=all_up_identification, fill_missing_point_type=fill_missing_point_type, fill_missing_point_value=fill_missing_point_value, view_mode=view_mode, admins=admins, viewers=viewers, status=status, action_link_template=action_link_template, **kwargs) + self.data_source_type = 'SqlServer' # type: str + self.data_source_parameter = data_source_parameter + + +class SqlSourceParameter(msrest.serialization.Model): + """SqlSourceParameter. + + All required parameters must be populated in order to send to Azure. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + _validation = { + 'connection_string': {'required': True}, + 'query': {'required': True}, + } + + _attribute_map = { + 'connection_string': {'key': 'connectionString', 'type': 'str'}, + 'query': {'key': 'query', 'type': 'str'}, + } + + def __init__( + self, + *, + connection_string: str, + query: str, + **kwargs + ): + super(SqlSourceParameter, self).__init__(**kwargs) + self.connection_string = connection_string + self.query = query + + +class SuppressCondition(msrest.serialization.Model): + """SuppressCondition. + + All required parameters must be populated in order to send to Azure. + + :param min_number: Required. min point number, value range : [1, +∞). + :type min_number: int + :param min_ratio: Required. min point ratio, value range : (0, 100]. + :type min_ratio: float + """ + + _validation = { + 'min_number': {'required': True}, + 'min_ratio': {'required': True}, + } + + _attribute_map = { + 'min_number': {'key': 'minNumber', 'type': 'int'}, + 'min_ratio': {'key': 'minRatio', 'type': 'float'}, + } + + def __init__( + self, + *, + min_number: int, + min_ratio: float, + **kwargs + ): + super(SuppressCondition, self).__init__(**kwargs) + self.min_number = min_number + self.min_ratio = min_ratio + + +class TopNGroupScope(msrest.serialization.Model): + """TopNGroupScope. + + All required parameters must be populated in order to send to Azure. + + :param top: Required. top N, value range : [1, +∞). + :type top: int + :param period: Required. point count used to look back, value range : [1, +∞). + :type period: int + :param min_top_count: Required. min count should be in top N, value range : [1, +∞) + + should be less than or equal to period. + :type min_top_count: int + """ + + _validation = { + 'top': {'required': True}, + 'period': {'required': True}, + 'min_top_count': {'required': True}, + } + + _attribute_map = { + 'top': {'key': 'top', 'type': 'int'}, + 'period': {'key': 'period', 'type': 'int'}, + 'min_top_count': {'key': 'minTopCount', 'type': 'int'}, + } + + def __init__( + self, + *, + top: int, + period: int, + min_top_count: int, + **kwargs + ): + super(TopNGroupScope, self).__init__(**kwargs) + self.top = top + self.period = period + self.min_top_count = min_top_count + + +class UsageStats(msrest.serialization.Model): + """UsageStats. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar timestamp: The timestamp of the stats. + :vartype timestamp: ~datetime.datetime + :ivar active_series_count: The active series count. + :vartype active_series_count: int + :ivar all_series_count: All series count under non deleted data feed. + :vartype all_series_count: int + :ivar metrics_count: The metrics count under non deleted data feed. + :vartype metrics_count: int + :ivar datafeed_count: The count of non deleted data feed. + :vartype datafeed_count: int + """ + + _validation = { + 'timestamp': {'readonly': True}, + 'active_series_count': {'readonly': True}, + 'all_series_count': {'readonly': True}, + 'metrics_count': {'readonly': True}, + 'datafeed_count': {'readonly': True}, + } + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'active_series_count': {'key': 'activeSeriesCount', 'type': 'int'}, + 'all_series_count': {'key': 'allSeriesCount', 'type': 'int'}, + 'metrics_count': {'key': 'metricsCount', 'type': 'int'}, + 'datafeed_count': {'key': 'datafeedCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(UsageStats, self).__init__(**kwargs) + self.timestamp = None + self.active_series_count = None + self.all_series_count = None + self.metrics_count = None + self.datafeed_count = None + + +class ValueCondition(msrest.serialization.Model): + """ValueCondition. + + All required parameters must be populated in order to send to Azure. + + :param lower: lower bound + + should be specified when direction is Both or Down. + :type lower: float + :param upper: upper bound + + should be specified when direction is Both or Up. + :type upper: float + :param direction: Required. value filter direction. Possible values include: "Both", "Down", + "Up". + :type direction: str or ~azure.ai.metricsadvisor.models.Direction + :param metric_id: the other metric unique id used for value filter. + :type metric_id: str + :param trigger_for_missing: trigger alert when the corresponding point is missing in the other + metric + + should be specified only when using other metric to filter. + :type trigger_for_missing: bool + """ + + _validation = { + 'direction': {'required': True}, + } + + _attribute_map = { + 'lower': {'key': 'lower', 'type': 'float'}, + 'upper': {'key': 'upper', 'type': 'float'}, + 'direction': {'key': 'direction', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'trigger_for_missing': {'key': 'triggerForMissing', 'type': 'bool'}, + } + + def __init__( + self, + *, + direction: Union[str, "Direction"], + lower: Optional[float] = None, + upper: Optional[float] = None, + metric_id: Optional[str] = None, + trigger_for_missing: Optional[bool] = None, + **kwargs + ): + super(ValueCondition, self).__init__(**kwargs) + self.lower = lower + self.upper = upper + self.direction = direction + self.metric_id = metric_id + self.trigger_for_missing = trigger_for_missing + + +class WebhookHookInfo(HookInfo): + """WebhookHookInfo. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookType + :ivar hook_id: Hook unique id. + :vartype hook_id: str + :param hook_name: Required. hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: Required. + :type hook_parameter: ~azure.ai.metricsadvisor.models.WebhookHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'hook_id': {'readonly': True}, + 'hook_name': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + 'hook_parameter': {'required': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_id': {'key': 'hookId', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'WebhookHookParameter'}, + } + + def __init__( + self, + *, + hook_name: str, + hook_parameter: "WebhookHookParameter", + description: Optional[str] = None, + external_link: Optional[str] = None, + **kwargs + ): + super(WebhookHookInfo, self).__init__(hook_name=hook_name, description=description, external_link=external_link, **kwargs) + self.hook_type = 'Webhook' # type: str + self.hook_parameter = hook_parameter + + +class WebhookHookInfoPatch(HookInfoPatch): + """WebhookHookInfoPatch. + + 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 hook_type: Required. hook type.Constant filled by server. Possible values include: + "Webhook", "Email". + :type hook_type: str or ~azure.ai.metricsadvisor.models.HookInfoPatchHookType + :param hook_name: hook unique name. + :type hook_name: str + :param description: hook description. + :type description: str + :param external_link: hook external link. + :type external_link: str + :ivar admins: hook administrators. + :vartype admins: list[str] + :param hook_parameter: + :type hook_parameter: ~azure.ai.metricsadvisor.models.WebhookHookParameter + """ + + _validation = { + 'hook_type': {'required': True}, + 'admins': {'readonly': True, 'unique': True}, + } + + _attribute_map = { + 'hook_type': {'key': 'hookType', 'type': 'str'}, + 'hook_name': {'key': 'hookName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'external_link': {'key': 'externalLink', 'type': 'str'}, + 'admins': {'key': 'admins', 'type': '[str]'}, + 'hook_parameter': {'key': 'hookParameter', 'type': 'WebhookHookParameter'}, + } + + def __init__( + self, + *, + hook_name: Optional[str] = None, + description: Optional[str] = None, + external_link: Optional[str] = None, + hook_parameter: Optional["WebhookHookParameter"] = None, + **kwargs + ): + super(WebhookHookInfoPatch, self).__init__(hook_name=hook_name, description=description, external_link=external_link, **kwargs) + self.hook_type = 'Webhook' # type: str + self.hook_parameter = hook_parameter + + +class WebhookHookParameter(msrest.serialization.Model): + """WebhookHookParameter. + + All required parameters must be populated in order to send to Azure. + + :param endpoint: Required. API address, will be called when alert is triggered, only support + POST method via SSL. + :type endpoint: str + :param username: basic authentication. + :type username: str + :param password: basic authentication. + :type password: str + :param headers: custom headers in api call. + :type headers: dict[str, str] + :param certificate_key: client certificate. + :type certificate_key: str + :param certificate_password: client certificate password. + :type certificate_password: str + """ + + _validation = { + 'endpoint': {'required': True}, + } + + _attribute_map = { + 'endpoint': {'key': 'endpoint', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'headers': {'key': 'headers', 'type': '{str}'}, + 'certificate_key': {'key': 'certificateKey', 'type': 'str'}, + 'certificate_password': {'key': 'certificatePassword', 'type': 'str'}, + } + + def __init__( + self, + *, + endpoint: str, + username: Optional[str] = None, + password: Optional[str] = None, + headers: Optional[Dict[str, str]] = None, + certificate_key: Optional[str] = None, + certificate_password: Optional[str] = None, + **kwargs + ): + super(WebhookHookParameter, self).__init__(**kwargs) + self.endpoint = endpoint + self.username = username + self.password = password + self.headers = headers + self.certificate_key = certificate_key + self.certificate_password = certificate_password + + +class WholeMetricConfiguration(msrest.serialization.Model): + """WholeMetricConfiguration. + + :param condition_operator: condition operator + + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :type condition_operator: str or + ~azure.ai.metricsadvisor.models.WholeMetricConfigurationConditionOperator + :param smart_detection_condition: + :type smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :param hard_threshold_condition: + :type hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :param change_threshold_condition: + :type change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + _attribute_map = { + 'condition_operator': {'key': 'conditionOperator', 'type': 'str'}, + 'smart_detection_condition': {'key': 'smartDetectionCondition', 'type': 'SmartDetectionCondition'}, + 'hard_threshold_condition': {'key': 'hardThresholdCondition', 'type': 'HardThresholdCondition'}, + 'change_threshold_condition': {'key': 'changeThresholdCondition', 'type': 'ChangeThresholdCondition'}, + } + + def __init__( + self, + *, + condition_operator: Optional[Union[str, "WholeMetricConfigurationConditionOperator"]] = None, + smart_detection_condition: Optional["SmartDetectionCondition"] = None, + hard_threshold_condition: Optional["HardThresholdCondition"] = None, + change_threshold_condition: Optional["ChangeThresholdCondition"] = None, + **kwargs + ): + super(WholeMetricConfiguration, self).__init__(**kwargs) + self.condition_operator = condition_operator + self.smart_detection_condition = smart_detection_condition + self.hard_threshold_condition = hard_threshold_condition + self.change_threshold_condition = change_threshold_condition diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/__init__.py new file mode 100644 index 000000000000..cbb0e496d2f9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/__init__.py @@ -0,0 +1,13 @@ +# 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 ._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin + +__all__ = [ + 'AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin', +] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py new file mode 100644 index 000000000000..3cab165615ea --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py @@ -0,0 +1,2996 @@ +# 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 typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2OperationsMixin(object): + + def get_active_series_count( + self, + **kwargs # type: Any + ): + # type: (...) -> "models.UsageStats" + """Get latest usage stats. + + Get latest usage stats. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UsageStats, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.UsageStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UsageStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_active_series_count.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UsageStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_active_series_count.metadata = {'url': '/stats/latest'} # type: ignore + + def get_anomaly_alerting_configuration( + self, + configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.AnomalyAlertingConfiguration" + """Query a single anomaly alerting configuration. + + Query a single anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnomalyAlertingConfiguration, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyAlertingConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnomalyAlertingConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + def update_anomaly_alerting_configuration( + self, + configuration_id, # type: str + body, # type: object + **kwargs # type: Any + ): + # type: (...) -> None + """Update anomaly alerting configuration. + + Update anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param body: anomaly alerting configuration. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + def delete_anomaly_alerting_configuration( + self, + configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Delete anomaly alerting configuration. + + Delete anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}'} # type: ignore + + def create_anomaly_alerting_configuration( + self, + body, # type: "models.AnomalyAlertingConfiguration" + **kwargs # type: Any + ): + # type: (...) -> None + """Create anomaly alerting configuration. + + Create anomaly alerting configuration. + + :param body: anomaly alerting configuration. + :type body: ~azure.ai.metricsadvisor.models.AnomalyAlertingConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyAlertingConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations'} # type: ignore + + def get_alerts_by_anomaly_alerting_configuration( + self, + configuration_id, # type: str + body, # type: "models.AlertingResultQuery" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AlertResultList"] + """Query alerts under anomaly alerting configuration. + + Query alerts under anomaly alerting configuration. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param body: query alerting result request. + :type body: ~azure.ai.metricsadvisor.models.AlertingResultQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AlertResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AlertResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AlertResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_alerts_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AlertingResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AlertingResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AlertResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_alerts_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/query'} # type: ignore + + def get_anomalies_from_alert_by_anomaly_alerting_configuration( + self, + configuration_id, # type: str + alert_id, # type: str + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AnomalyResultList"] + """Query anomalies under a specific alert. + + Query anomalies under a specific alert. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AnomalyResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomalies_from_alert_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_anomalies_from_alert_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies'} # type: ignore + + def get_incidents_from_alert_by_anomaly_alerting_configuration( + self, + configuration_id, # type: str + alert_id, # type: str + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IncidentResultList"] + """Query incidents under a specific alert. + + Query incidents under a specific alert. + + :param configuration_id: anomaly alerting configuration unique id. + :type configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_from_alert_by_anomaly_alerting_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'alertId': self._serialize.url("alert_id", alert_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_incidents_from_alert_by_anomaly_alerting_configuration.metadata = {'url': '/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents'} # type: ignore + + def get_anomaly_detection_configuration( + self, + configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.AnomalyDetectionConfiguration" + """Query a single anomaly detection configuration. + + Query a single anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnomalyDetectionConfiguration, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDetectionConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnomalyDetectionConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + def update_anomaly_detection_configuration( + self, + configuration_id, # type: str + body, # type: object + **kwargs # type: Any + ): + # type: (...) -> None + """Update anomaly detection configuration. + + Update anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: anomaly detection configuration. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + def delete_anomaly_detection_configuration( + self, + configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Delete anomaly detection configuration. + + Delete anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}'} # type: ignore + + def create_anomaly_detection_configuration( + self, + body, # type: "models.AnomalyDetectionConfiguration" + **kwargs # type: Any + ): + # type: (...) -> None + """Create anomaly detection configuration. + + Create anomaly detection configuration. + + :param body: anomaly detection configuration. + :type body: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDetectionConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations'} # type: ignore + + def get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AnomalyAlertingConfigurationList"] + """Query all anomaly alerting configurations for specific anomaly detection configuration. + + Query all anomaly alerting configurations for specific anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyAlertingConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AnomalyAlertingConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyAlertingConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomaly_alerting_configurations_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyAlertingConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_anomaly_alerting_configurations_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/alert/anomaly/configurations'} # type: ignore + + def get_series_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + body, # type: "models.DetectionSeriesQuery" + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.SeriesResultList"] + """Query series enriched by anomaly detection. + + Query series enriched by anomaly detection. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query series detection result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionSeriesQuery + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SeriesResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.SeriesResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.SeriesResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_series_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionSeriesQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionSeriesQuery') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SeriesResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_series_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/series/query'} # type: ignore + + def get_anomalies_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + body, # type: "models.DetectionAnomalyResultQuery" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AnomalyResultList"] + """Query anomalies under anomaly detection configuration. + + Query anomalies under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query detection anomaly result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionAnomalyResultQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AnomalyResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomalies_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionAnomalyResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionAnomalyResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_anomalies_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/query'} # type: ignore + + def get_dimension_of_anomalies_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + body, # type: "models.AnomalyDimensionQuery" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AnomalyDimensionList"] + """Query dimension values of anomalies. + + Query dimension values of anomalies. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query dimension values request. + :type body: ~azure.ai.metricsadvisor.models.AnomalyDimensionQuery + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyDimensionList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AnomalyDimensionList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDimensionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_dimension_of_anomalies_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDimensionQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'AnomalyDimensionQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyDimensionList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_dimension_of_anomalies_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/dimension/query'} # type: ignore + + def get_incidents_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + body, # type: "models.DetectionIncidentResultQuery" + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IncidentResultList"] + """Query incidents under anomaly detection configuration. + + Query incidents under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param body: query detection incident result request. + :type body: ~azure.ai.metricsadvisor.models.DetectionIncidentResultQuery + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionIncidentResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DetectionIncidentResultQuery') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_incidents_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query'} # type: ignore + + def get_incidents_by_anomaly_detection_configuration_next_pages( + self, + configuration_id, # type: str + top=None, # type: Optional[int] + token=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IncidentResultList"] + """Query incidents under anomaly detection configuration. + + Query incidents under anomaly detection configuration. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param top: + :type top: int + :param token: + :type token: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IncidentResultList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.IncidentResultList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IncidentResultList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_incidents_by_anomaly_detection_configuration_next_pages.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if token is not None: + query_parameters['$token'] = self._serialize.query("token", token, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IncidentResultList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_incidents_by_anomaly_detection_configuration_next_pages.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query'} # type: ignore + + def get_root_cause_of_incident_by_anomaly_detection_configuration( + self, + configuration_id, # type: str + incident_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.RootCauseList"] + """Query root cause for incident. + + Query root cause for incident. + + :param configuration_id: anomaly detection configuration unique id. + :type configuration_id: str + :param incident_id: incident id. + :type incident_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RootCauseList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.RootCauseList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.RootCauseList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_root_cause_of_incident_by_anomaly_detection_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'incidentId': self._serialize.url("incident_id", incident_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'configurationId': self._serialize.url("configuration_id", configuration_id, 'str'), + 'incidentId': self._serialize.url("incident_id", incident_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RootCauseList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_root_cause_of_incident_by_anomaly_detection_configuration.metadata = {'url': '/enrichment/anomalyDetection/configurations/{configurationId}/incidents/{incidentId}/rootCause'} # type: ignore + + def list_data_feeds( + self, + data_feed_name=None, # type: Optional[str] + data_source_type=None, # type: Optional[Union[str, "models.DataSourceType"]] + granularity_name=None, # type: Optional[Union[str, "models.Granularity"]] + status=None, # type: Optional[Union[str, "models.EntityStatus"]] + creator=None, # type: Optional[str] + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DataFeedList"] + """List all data feeds. + + List all data feeds. + + :param data_feed_name: filter data feed by its name. + :type data_feed_name: str + :param data_source_type: filter data feed by its source type. + :type data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :param granularity_name: filter data feed by its granularity. + :type granularity_name: str or ~azure.ai.metricsadvisor.models.Granularity + :param status: filter data feed by its status. + :type status: str or ~azure.ai.metricsadvisor.models.EntityStatus + :param creator: filter data feed by its creator. + :type creator: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataFeedList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.DataFeedList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_data_feeds.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if data_feed_name is not None: + query_parameters['dataFeedName'] = self._serialize.query("data_feed_name", data_feed_name, 'str') + if data_source_type is not None: + query_parameters['dataSourceType'] = self._serialize.query("data_source_type", data_source_type, 'str') + if granularity_name is not None: + query_parameters['granularityName'] = self._serialize.query("granularity_name", granularity_name, 'str') + if status is not None: + query_parameters['status'] = self._serialize.query("status", status, 'str') + if creator is not None: + query_parameters['creator'] = self._serialize.query("creator", creator, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DataFeedList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_data_feeds.metadata = {'url': '/dataFeeds'} # type: ignore + + def create_data_feed( + self, + body, # type: "models.DataFeedDetail" + **kwargs # type: Any + ): + # type: (...) -> None + """Create a new data feed. + + Create a new data feed. + + :param body: parameters to create a data feed. + :type body: ~azure.ai.metricsadvisor.models.DataFeedDetail + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'DataFeedDetail') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_data_feed.metadata = {'url': '/dataFeeds'} # type: ignore + + def get_data_feed_by_id( + self, + data_feed_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DataFeedDetail" + """Get a data feed by its id. + + Get a data feed by its id. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataFeedDetail, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.DataFeedDetail + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedDetail"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_data_feed_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('DataFeedDetail', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_data_feed_by_id.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + def update_data_feed( + self, + data_feed_id, # type: str + body, # type: object + **kwargs # type: Any + ): + # type: (...) -> None + """Update a data feed. + + Update a data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: parameters to update a data feed. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_data_feed.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + def delete_data_feed( + self, + data_feed_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Delete a data feed. + + Delete a data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_data_feed.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_data_feed.metadata = {'url': '/dataFeeds/{dataFeedId}'} # type: ignore + + def get_metric_feedback( + self, + feedback_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.MetricFeedback" + """Get a metric feedback by its id. + + Get a metric feedback by its id. + + :param feedback_id: + :type feedback_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MetricFeedback, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.MetricFeedback + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricFeedback"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_metric_feedback.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'feedbackId': self._serialize.url("feedback_id", feedback_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('MetricFeedback', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_metric_feedback.metadata = {'url': '/feedback/metric/{feedbackId}'} # type: ignore + + def list_metric_feedbacks( + self, + body, # type: "models.MetricFeedbackFilter" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.MetricFeedbackList"] + """List feedback on the given metric. + + List feedback on the given metric. + + :param body: metric feedback filter. + :type body: ~azure.ai.metricsadvisor.models.MetricFeedbackFilter + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricFeedbackList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricFeedbackList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricFeedbackList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_metric_feedbacks.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedbackFilter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedbackFilter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MetricFeedbackList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_metric_feedbacks.metadata = {'url': '/feedback/metric/query'} # type: ignore + + def create_metric_feedback( + self, + body, # type: "models.MetricFeedback" + **kwargs # type: Any + ): + # type: (...) -> None + """Create a new metric feedback. + + Create a new metric feedback. + + :param body: metric feedback. + :type body: ~azure.ai.metricsadvisor.models.MetricFeedback + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_metric_feedback.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricFeedback') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_metric_feedback.metadata = {'url': '/feedback/metric'} # type: ignore + + def list_hooks( + self, + hook_name=None, # type: Optional[str] + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.HookList"] + """List all hooks. + + List all hooks. + + :param hook_name: filter hook by its name. + :type hook_name: str + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either HookList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.HookList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.HookList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_hooks.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if hook_name is not None: + query_parameters['hookName'] = self._serialize.query("hook_name", hook_name, 'str') + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('HookList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_hooks.metadata = {'url': '/hooks'} # type: ignore + + def create_hook( + self, + body, # type: "models.HookInfo" + **kwargs # type: Any + ): + # type: (...) -> None + """Create a new hook. + + Create a new hook. + + :param body: Create hook request. + :type body: ~azure.ai.metricsadvisor.models.HookInfo + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'HookInfo') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + create_hook.metadata = {'url': '/hooks'} # type: ignore + + def get_hook( + self, + hook_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.HookInfo" + """Get a hook by its id. + + Get a hook by its id. + + :param hook_id: Hook unique ID. + :type hook_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HookInfo, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.HookInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.HookInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('HookInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + def update_hook( + self, + hook_id, # type: str + body, # type: object + **kwargs # type: Any + ): + # type: (...) -> None + """Update a hook. + + Update a hook. + + :param hook_id: Hook unique ID. + :type hook_id: str + :param body: Update hook request. + :type body: object + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/merge-patch+json") + accept = "application/json" + + # Construct URL + url = self.update_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'object') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + update_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + def delete_hook( + self, + hook_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Delete a hook. + + Delete a hook. + + :param hook_id: Hook unique ID. + :type hook_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.delete_hook.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'hookId': self._serialize.url("hook_id", hook_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_hook.metadata = {'url': '/hooks/{hookId}'} # type: ignore + + def get_data_feed_ingestion_status( + self, + data_feed_id, # type: str + body, # type: "models.IngestionStatusQueryOptions" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IngestionStatusList"] + """Get data ingestion status by data feed. + + Get data ingestion status by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: The query time range. + :type body: ~azure.ai.metricsadvisor.models.IngestionStatusQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IngestionStatusList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.IngestionStatusList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IngestionStatusList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_data_feed_ingestion_status.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionStatusQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionStatusQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IngestionStatusList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_data_feed_ingestion_status.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionStatus/query'} # type: ignore + + def reset_data_feed_ingestion_status( + self, + data_feed_id, # type: str + body, # type: "models.IngestionProgressResetOptions" + **kwargs # type: Any + ): + # type: (...) -> None + """Reset data ingestion status by data feed to backfill data. + + Reset data ingestion status by data feed to backfill data. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param body: The backfill time range. + :type body: ~azure.ai.metricsadvisor.models.IngestionProgressResetOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.reset_data_feed_ingestion_status.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'IngestionProgressResetOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + reset_data_feed_ingestion_status.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionProgress/reset'} # type: ignore + + def get_ingestion_progress( + self, + data_feed_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DataFeedIngestionProgress" + """Get data last success ingestion job timestamp by data feed. + + Get data last success ingestion job timestamp by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataFeedIngestionProgress, or the result of cls(response) + :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DataFeedIngestionProgress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_ingestion_progress.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'dataFeedId': self._serialize.url("data_feed_id", data_feed_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorCode, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('DataFeedIngestionProgress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ingestion_progress.metadata = {'url': '/dataFeeds/{dataFeedId}/ingestionProgress'} # type: ignore + + def get_metric_data( + self, + metric_id, # type: str + body, # type: "models.MetricDataQueryOptions" + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.MetricDataList"] + """Get time series data from metric. + + Get time series data from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query time series data condition. + :type body: ~azure.ai.metricsadvisor.models.MetricDataQueryOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricDataList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricDataList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricDataList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_data.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDataQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDataQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MetricDataList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_metric_data.metadata = {'url': '/metrics/{metricId}/data/query'} # type: ignore + + def get_metric_series( + self, + metric_id, # type: str + body, # type: "models.MetricSeriesQueryOptions" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.MetricSeriesList"] + """List series (dimension combinations) from metric. + + List series (dimension combinations) from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: filter to query series. + :type body: ~azure.ai.metricsadvisor.models.MetricSeriesQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricSeriesList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricSeriesList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_series.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricSeriesQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricSeriesQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MetricSeriesList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_metric_series.metadata = {'url': '/metrics/{metricId}/series/query'} # type: ignore + + def get_metric_dimension( + self, + metric_id, # type: str + body, # type: "models.MetricDimensionQueryOptions" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.MetricDimensionList"] + """List dimension from certain metric. + + List dimension from certain metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query dimension option. + :type body: ~azure.ai.metricsadvisor.models.MetricDimensionQueryOptions + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MetricDimensionList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricDimensionList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.MetricDimensionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_metric_dimension.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDimensionQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'MetricDimensionQueryOptions') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MetricDimensionList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_metric_dimension.metadata = {'url': '/metrics/{metricId}/dimension/query'} # type: ignore + + def get_anomaly_detection_configurations_by_metric( + self, + metric_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AnomalyDetectionConfigurationList"] + """Query all anomaly detection configurations for specific metric. + + Query all anomaly detection configurations for specific metric. + + :param metric_id: metric unique id. + :type metric_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnomalyDetectionConfigurationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.AnomalyDetectionConfigurationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AnomalyDetectionConfigurationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_anomaly_detection_configurations_by_metric.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnomalyDetectionConfigurationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_anomaly_detection_configurations_by_metric.metadata = {'url': '/metrics/{metricId}/enrichment/anomalyDetection/configurations'} # type: ignore + + def get_enrichment_status_by_metric( + self, + metric_id, # type: str + body, # type: "models.EnrichmentStatusQueryOption" + skip=None, # type: Optional[int] + top=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.EnrichmentStatusList"] + """Query anomaly detection status. + + Query anomaly detection status. + + :param metric_id: metric unique id. + :type metric_id: str + :param body: query options. + :type body: ~azure.ai.metricsadvisor.models.EnrichmentStatusQueryOption + :param skip: + :type skip: int + :param top: + :type top: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EnrichmentStatusList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.EnrichmentStatusList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.EnrichmentStatusList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_enrichment_status_by_metric.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'metricId': self._serialize.url("metric_id", metric_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'EnrichmentStatusQueryOption') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = '{nextLink}' # FIXME: manually edited; was '/{nextLink}' + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'nextLink': self._serialize.url("next_link", next_link, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(body, 'EnrichmentStatusQueryOption') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('EnrichmentStatusList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorCode, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_enrichment_status_by_metric.metadata = {'url': '/metrics/{metricId}/status/enrichment/anomalyDetection/query'} # type: ignore diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/py.typed b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py new file mode 100644 index 000000000000..50e223612a5f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +from typing import ( + Union, + TYPE_CHECKING +) +import datetime +import six +from msrest import Serializer +from .models import ( + DataFeedGranularityType, + DataFeedGranularity, + DataFeedSchema, + Metric, + DataFeedIngestionSettings, + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback, + DataFeedRollupType +) +if TYPE_CHECKING: + from ._generated.models import MetricFeedback + + +def construct_alert_config_dict(update_kwargs): + + if "metricAlertingConfigurations" in update_kwargs: + update_kwargs["metricAlertingConfigurations"] = [ + config._to_generated() for config in + update_kwargs["metricAlertingConfigurations"] + ] if update_kwargs["metricAlertingConfigurations"] else None + + return update_kwargs + + +def construct_detection_config_dict(update_kwargs): + + if "wholeMetricConfiguration" in update_kwargs: + update_kwargs["wholeMetricConfiguration"] = update_kwargs["wholeMetricConfiguration"]._to_generated() \ + if update_kwargs["wholeMetricConfiguration"] else None + if "dimensionGroupOverrideConfigurations" in update_kwargs: + update_kwargs["dimensionGroupOverrideConfigurations"] = [ + group._to_generated() for group in update_kwargs["dimensionGroupOverrideConfigurations"] + ] if update_kwargs["dimensionGroupOverrideConfigurations"] else None + if "seriesOverrideConfigurations" in update_kwargs: + update_kwargs["seriesOverrideConfigurations"] = [ + series._to_generated() for series in update_kwargs["seriesOverrideConfigurations"] + ] if update_kwargs["seriesOverrideConfigurations"] else None + + return update_kwargs + + +def construct_hook_dict(update_kwargs, hook_type): + + if hook_type.lower() == "email" and "toList" in update_kwargs: + update_kwargs["hookType"] = "Email" + update_kwargs["hookParameter"] = {} + update_kwargs["hookParameter"]["toList"] = update_kwargs["toList"] + update_kwargs.pop("toList") + elif hook_type.lower() == "web" \ + and any(key in update_kwargs for key in + ["endpoint", "username", "password", "certificateKey", "certificatePassword"]): + update_kwargs["hookType"] = "Webhook" + update_kwargs["hookParameter"] = {} + if "endpoint" in update_kwargs: + update_kwargs["hookParameter"]["endpoint"] = update_kwargs.pop("endpoint") + if "username" in update_kwargs: + update_kwargs["hookParameter"]["username"] = update_kwargs.pop("username") + if "password" in update_kwargs: + update_kwargs["hookParameter"]["password"] = update_kwargs.pop("password") + if "certificateKey" in update_kwargs: + update_kwargs["hookParameter"]["certificateKey"] = update_kwargs.pop("certificateKey") + if "certificatePassword" in update_kwargs: + update_kwargs["hookParameter"]["certificatePassword"] = update_kwargs.pop("certificatePassword") + + return update_kwargs + + +def construct_data_feed_dict(update_kwargs): + if "dataStartFrom" in update_kwargs: + update_kwargs["dataStartFrom"] = Serializer.serialize_iso(update_kwargs["dataStartFrom"]) + + if "dataSourceParameter" in update_kwargs: + update_kwargs["dataSourceParameter"] = update_kwargs["dataSourceParameter"]._to_generated_patch() + return update_kwargs + + +def convert_to_generated_data_feed_type( + generated_feed_type, + name, + source, + granularity, + schema, + ingestion_settings, + options +): + """Convert input to data feed generated model type + + :param generated_feed_type: generated model type of data feed + :type generated_feed_type: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :param str name: Name for the data feed. + :param source: The exposed model source of the data feed + :type source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :param granularity: Granularity type and amount if using custom. + :type granularity: ~azure.ai.metricsadvisor.models.DataFeedGranularity + :param schema: Data feed schema + :type schema: ~azure.ai.metricsadvisor.models.DataFeedSchema + :param ingestion_settings: The data feed ingestions settings + :type ingestion_settings: ~azure.ai.metricsadvisor.models.DataFeedIngestionSettings + :param options: Data feed options. + :type options: ~azure.ai.metricsadvisor.models.DataFeedOptions + :rtype: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :return: The generated model for the data source type + """ + + if isinstance(granularity, six.string_types) or isinstance(granularity, DataFeedGranularityType): + granularity = DataFeedGranularity( + granularity_type=granularity, + ) + + if isinstance(schema, list): + schema = DataFeedSchema( + metrics=[Metric(name=metric_name) for metric_name in schema] + ) + + if isinstance(ingestion_settings, datetime.datetime) or isinstance(ingestion_settings, six.string_types): + ingestion_settings = DataFeedIngestionSettings( + ingestion_begin_time=ingestion_settings + ) + + return generated_feed_type( + data_source_parameter=source.__dict__, + data_feed_name=name, + granularity_name=granularity.granularity_type, + granularity_amount=granularity.custom_granularity_value, + metrics=[metric._to_generated() for metric in schema.metrics], + dimension=[dimension._to_generated() for dimension in schema.dimensions] if schema.dimensions else None, + timestamp_column=schema.timestamp_column, + data_start_from=ingestion_settings.ingestion_begin_time, + max_concurrency=ingestion_settings.data_source_request_concurrency, + min_retry_interval_in_seconds=ingestion_settings.ingestion_retry_delay, + start_offset_in_seconds=ingestion_settings.ingestion_start_offset, + stop_retry_after_in_seconds=ingestion_settings.stop_retry_after, + data_feed_description=options.data_feed_description if options else None, + need_rollup=DataFeedRollupType._to_generated(options.rollup_settings.rollup_type) + if options and options.rollup_settings else None, + roll_up_method=options.rollup_settings.rollup_method if options and options.rollup_settings else None, + roll_up_columns=options.rollup_settings.auto_rollup_group_by_column_names + if options and options.rollup_settings else None, + all_up_identification=options.rollup_settings.rollup_identification_value + if options and options.rollup_settings else None, + fill_missing_point_type=options.missing_data_point_fill_settings.fill_type + if options and options.missing_data_point_fill_settings else None, + fill_missing_point_value=options.missing_data_point_fill_settings.custom_fill_value + if options and options.missing_data_point_fill_settings else None, + viewers=options.viewers if options else None, + view_mode=options.access_mode if options else None, + admins=options.admins if options else None, + action_link_template=options.action_link_template if options else None + ) + +def convert_to_sub_feedback(feedback): + # type: (MetricFeedback) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] + if feedback.feedback_type == "Anomaly": + return AnomalyFeedback._from_generated(feedback) + if feedback.feedback_type == "ChangePoint": + return ChangePointFeedback._from_generated(feedback) + if feedback.feedback_type == "Comment": + return CommentFeedback._from_generated(feedback) + if feedback.feedback_type == "Period": + return PeriodFeedback._from_generated(feedback) + return None diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py new file mode 100644 index 000000000000..10a09b007f08 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py @@ -0,0 +1,1183 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import six +import datetime +from typing import ( + Any, + List, + Union, + TYPE_CHECKING +) +from azure.core.tracing.decorator import distributed_trace +from ._generated._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2 \ + import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 as _Client +from ._generated.models import AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration +from ._generated.models import AzureApplicationInsightsDataFeed as _AzureApplicationInsightsDataFeed +from ._generated.models import AzureBlobDataFeed as _AzureBlobDataFeed +from ._generated.models import AzureCosmosDBDataFeed as _AzureCosmosDBDataFeed +from ._generated.models import AzureDataExplorerDataFeed as _AzureDataExplorerDataFeed +from ._generated.models import AzureTableDataFeed as _AzureTableDataFeed +from ._generated.models import HttpRequestDataFeed as _HttpRequestDataFeed +from ._generated.models import InfluxDBDataFeed as _InfluxDBDataFeed +from ._generated.models import MySqlDataFeed as _MySqlDataFeed +from ._generated.models import PostgreSqlDataFeed as _PostgreSqlDataFeed +from ._generated.models import MongoDBDataFeed as _MongoDBDataFeed +from ._generated.models import SQLServerDataFeed as _SQLServerDataFeed +from ._generated.models import AzureDataLakeStorageGen2DataFeed as _AzureDataLakeStorageGen2DataFeed +from ._generated.models import AzureDataLakeStorageGen2DataFeedPatch as _AzureDataLakeStorageGen2DataFeedPatch +from ._generated.models import ElasticsearchDataFeed as _ElasticsearchDataFeed +from ._generated.models import ElasticsearchDataFeedPatch as _ElasticsearchDataFeedPatch +from ._generated.models import AzureApplicationInsightsDataFeedPatch as _AzureApplicationInsightsDataFeedPatch +from ._generated.models import AzureBlobDataFeedPatch as _AzureBlobDataFeedPatch +from ._generated.models import AzureCosmosDBDataFeedPatch as _AzureCosmosDBDataFeedPatch +from ._generated.models import AzureDataExplorerDataFeedPatch as _AzureDataExplorerDataFeedPatch +from ._generated.models import AzureTableDataFeedPatch as _AzureTableDataFeedPatch +from ._generated.models import HttpRequestDataFeedPatch as _HttpRequestDataFeedPatch +from ._generated.models import InfluxDBDataFeedPatch as _InfluxDBDataFeedPatch +from ._generated.models import MySqlDataFeedPatch as _MySqlDataFeedPatch +from ._generated.models import PostgreSqlDataFeedPatch as _PostgreSqlDataFeedPatch +from ._generated.models import MongoDBDataFeedPatch as _MongoDBDataFeedPatch +from ._generated.models import SQLServerDataFeedPatch as _SQLServerDataFeedPatch +from ._generated.models import AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration +from ._version import SDK_MONIKER +from ._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy +from ._helpers import ( + convert_to_generated_data_feed_type, + construct_alert_config_dict, + construct_detection_config_dict, + construct_hook_dict, + construct_data_feed_dict +) +from .models._models import ( + DataFeed, + EmailHook, + WebHook, + AnomalyAlertConfiguration, + AnomalyDetectionConfiguration, + DataFeedIngestionProgress, + AzureApplicationInsightsDataFeed, + AzureBlobDataFeed, + AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, + AzureTableDataFeed, + HttpRequestDataFeed, + InfluxDBDataFeed, + MySqlDataFeed, + PostgreSqlDataFeed, + SQLServerDataFeed, + MongoDBDataFeed, + AzureDataLakeStorageGen2DataFeed, + ElasticsearchDataFeed +) + +if TYPE_CHECKING: + from azure.core.paging import ItemPaged + from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential + from ._generated.models import IngestionStatus as DataFeedIngestionStatus + from .models._models import ( + MetricAlertConfiguration, + DataFeedGranularity, + DataFeedGranularityType, + DataFeedSchema, + DataFeedIngestionSettings, + Hook, + MetricDetectionCondition, + DataFeedIngestionProgress + ) + +DataFeedSourceUnion = Union[ + AzureApplicationInsightsDataFeed, + AzureBlobDataFeed, + AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, + AzureTableDataFeed, + HttpRequestDataFeed, + InfluxDBDataFeed, + MySqlDataFeed, + PostgreSqlDataFeed, + SQLServerDataFeed, + MongoDBDataFeed, + AzureDataLakeStorageGen2DataFeed, + ElasticsearchDataFeed +] + + +DATA_FEED = { + "SqlServer": _SQLServerDataFeed, + "AzureApplicationInsights": _AzureApplicationInsightsDataFeed, + "AzureBlob": _AzureBlobDataFeed, + "AzureCosmosDB": _AzureCosmosDBDataFeed, + "AzureDataExplorer": _AzureDataExplorerDataFeed, + "AzureTable": _AzureTableDataFeed, + "HttpRequest": _HttpRequestDataFeed, + "InfluxDB": _InfluxDBDataFeed, + "MySql": _MySqlDataFeed, + "PostgreSql": _PostgreSqlDataFeed, + "MongoDB": _MongoDBDataFeed, + "AzureDataLakeStorageGen2": _AzureDataLakeStorageGen2DataFeed, + "Elasticsearch": _ElasticsearchDataFeed +} + + +DATA_FEED_PATCH = { + "SqlServer": _SQLServerDataFeedPatch, + "AzureApplicationInsights": _AzureApplicationInsightsDataFeedPatch, + "AzureBlob": _AzureBlobDataFeedPatch, + "AzureCosmosDB": _AzureCosmosDBDataFeedPatch, + "AzureDataExplorer": _AzureDataExplorerDataFeedPatch, + "AzureTable": _AzureTableDataFeedPatch, + "HttpRequest": _HttpRequestDataFeedPatch, + "InfluxDB": _InfluxDBDataFeedPatch, + "MySql": _MySqlDataFeedPatch, + "PostgreSql": _PostgreSqlDataFeedPatch, + "MongoDB": _MongoDBDataFeedPatch, + "AzureDataLakeStorageGen2": _AzureDataLakeStorageGen2DataFeedPatch, + "Elasticsearch": _ElasticsearchDataFeedPatch +} + + +class MetricsAdvisorAdministrationClient(object): + """MetricsAdvisorAdministrationClient is used to create and manage data feeds. + + :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, + for example: https://:code:``.cognitiveservices.azure.com). + :param credential: An instance of ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential. + Requires both subscription key and API key. + :type credential: ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_authentication.py + :start-after: [START administration_client_with_metrics_advisor_credential] + :end-before: [END administration_client_with_metrics_advisor_credential] + :language: python + :dedent: 4 + :caption: Authenticate MetricsAdvisorAdministrationClient with a MetricsAdvisorKeyCredential + """ + def __init__(self, endpoint, credential, **kwargs): + # type: (str, MetricsAdvisorKeyCredential, Any) -> None + + self._client = _Client( + endpoint=endpoint, + sdk_moniker=SDK_MONIKER, + authentication_policy=MetricsAdvisorKeyCredentialPolicy(credential), + **kwargs + ) + + def close(self): + # type: () -> None + """Close the :class:`~azure.ai.metricsadvisor.MetricsAdvisorAdministrationClient` session. + """ + return self._client.close() + + def __enter__(self): + # type: () -> MetricsAdvisorAdministrationClient + self._client.__enter__() # pylint: disable=no-member + return self + + def __exit__(self, *args): + # type: (*Any) -> None + self._client.__exit__(*args) # pylint: disable=no-member + + @distributed_trace + def create_anomaly_alert_configuration( + self, name, # type: str + metric_alert_configurations, # type: List[MetricAlertConfiguration] + hook_ids, # type: List[str] + **kwargs # type: Any + ): # type: (...) -> AnomalyAlertConfiguration + """Create an anomaly alert configuration. + + :param str name: Name for the anomaly alert configuration. + :param metric_alert_configurations: Anomaly alert configurations. + :type metric_alert_configurations: list[~azure.ai.metricsadvisor.models.MetricAlertConfiguration] + :param list[str] hook_ids: Unique hook IDs. + :keyword cross_metrics_operator: Cross metrics operator should be specified when setting up multiple metric + alert configurations. Possible values include: "AND", "OR", "XOR". + :paramtype cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator + :keyword str description: Anomaly alert configuration description. + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START create_anomaly_alert_config] + :end-before: [END create_anomaly_alert_config] + :language: python + :dedent: 4 + :caption: Create an anomaly alert configuration + """ + + cross_metrics_operator = kwargs.pop("cross_metrics_operator", None) + response_headers = self._client.create_anomaly_alerting_configuration( + _AnomalyAlertingConfiguration( + name=name, + metric_alerting_configurations=[ + config._to_generated() for config in metric_alert_configurations + ], + hook_ids=hook_ids, + cross_metrics_operator=cross_metrics_operator, + description=kwargs.pop("description", None) + ), + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + + config_id = response_headers["Location"].split("configurations/")[1] + return self.get_anomaly_alert_configuration(config_id) + + @distributed_trace + def create_data_feed( + self, name, # type: str + source, # type: DataFeedSourceUnion + granularity, # type: Union[str, DataFeedGranularityType, DataFeedGranularity] + schema, # type: Union[List[str], DataFeedSchema] + ingestion_settings, # type: Union[datetime.datetime, DataFeedIngestionSettings] + **kwargs # type: Any + ): # type: (...) -> DataFeed + """Create a new data feed. + + :param str name: Name for the data feed. + :param source: The source of the data feed + :type source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :param granularity: Granularity type. If using custom granularity, you must instantiate a DataFeedGranularity. + :type granularity: Union[str, ~azure.ai.metricsadvisor.models.DataFeedGranularityType, + ~azure.ai.metricsadvisor.models.DataFeedGranularity] + :param schema: Data feed schema. Can be passed as a list of metric names as strings or as a DataFeedSchema + object if additional configuration is needed. + :type schema: Union[list[str], ~azure.ai.metricsadvisor.models.DataFeedSchema] + :param ingestion_settings: The data feed ingestions settings. Can be passed as a datetime to use for the + ingestion begin time or as a DataFeedIngestionSettings object if additional configuration is needed. + :type ingestion_settings: Union[~datetime.datetime, ~azure.ai.metricsadvisor.models.DataFeedIngestionSettings] + :keyword options: Data feed options. + :paramtype options: ~azure.ai.metricsadvisor.models.DataFeedOptions + :return: DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_data_feeds.py + :start-after: [START create_data_feed] + :end-before: [END create_data_feed] + :language: python + :dedent: 4 + :caption: Create a data feed + """ + + options = kwargs.pop("options", None) + data_feed_type = DATA_FEED[source.data_source_type] + data_feed_detail = convert_to_generated_data_feed_type( + generated_feed_type=data_feed_type, + name=name, + source=source, + granularity=granularity, + schema=schema, + ingestion_settings=ingestion_settings, + options=options + ) + + response_headers = self._client.create_data_feed( + data_feed_detail, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + data_feed_id = response_headers["Location"].split("dataFeeds/")[1] + return self.get_data_feed(data_feed_id) + + @distributed_trace + def create_hook( + self, name, # type: str + hook, # type: Union[EmailHook, WebHook] + **kwargs # type: Any + ): # type: (...) -> Union[Hook, EmailHook, WebHook] + """Create a new email or web hook. + + :param str name: The name for the hook. + :param hook: An email or web hook + :type hook: Union[~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook] + :return: EmailHook or WebHook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_hooks.py + :start-after: [START create_hook] + :end-before: [END create_hook] + :language: python + :dedent: 4 + :caption: Create a hook + """ + + hook_request = None + if hook.hook_type == "Email": + hook_request = hook._to_generated(name) + + if hook.hook_type == "Webhook": + hook_request = hook._to_generated(name) + + response_headers = self._client.create_hook( + hook_request, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + hook_id = response_headers["Location"].split("hooks/")[1] + return self.get_hook(hook_id) + + @distributed_trace + def create_metric_anomaly_detection_configuration( + self, name, # type: str + metric_id, # type: str + whole_series_detection_condition, # type: MetricDetectionCondition + **kwargs # type: Any + ): # type: (...) -> AnomalyDetectionConfiguration + """Create anomaly detection configuration. + + :param str name: The name for the anomaly detection configuration + :param str metric_id: Required. metric unique id. + :param whole_series_detection_condition: Required. + :type whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition + :keyword str description: anomaly detection configuration description. + :keyword series_group_detection_conditions: detection configuration for series group. + :paramtype series_group_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSeriesGroupDetectionCondition] + :keyword series_detection_conditions: detection configuration for specific series. + :paramtype series_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSingleSeriesDetectionCondition] + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_detection_configuration.py + :start-after: [START create_anomaly_detection_config] + :end-before: [END create_anomaly_detection_config] + :language: python + :dedent: 4 + :caption: Create an anomaly detection configuration + """ + description = kwargs.pop("description", None) + series_group_detection_conditions = kwargs.pop("series_group_detection_conditions", None) + series_detection_conditions = kwargs.pop("series_detection_conditions", None) + config = _AnomalyDetectionConfiguration( + name=name, + metric_id=metric_id, + description=description, + whole_metric_configuration=whole_series_detection_condition._to_generated(), + dimension_group_override_configurations=[ + group._to_generated() for group in series_group_detection_conditions + ] if series_group_detection_conditions else None, + series_override_configurations=[ + series._to_generated() for series in series_detection_conditions] + if series_detection_conditions else None, + ) + + response_headers = self._client.create_anomaly_detection_configuration( + config, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + config_id = response_headers["Location"].split("configurations/")[1] + return self.get_metric_anomaly_detection_configuration(config_id) + + @distributed_trace + def get_data_feed(self, data_feed_id, **kwargs): + # type: (str, Any) -> DataFeed + """Get a data feed by its id. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: DataFeed + :rtype: azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_data_feeds.py + :start-after: [START get_data_feed] + :end-before: [END get_data_feed] + :language: python + :dedent: 4 + :caption: Get a single data feed by its ID + """ + + data_feed = self._client.get_data_feed_by_id( + data_feed_id, + **kwargs + ) + return DataFeed._from_generated(data_feed) + + @distributed_trace + def get_anomaly_alert_configuration(self, alert_configuration_id, **kwargs): + # type: (str, Any) -> AnomalyAlertConfiguration + """Get a single anomaly alert configuration. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START get_anomaly_alert_config] + :end-before: [END get_anomaly_alert_config] + :language: python + :dedent: 4 + :caption: Get a single anomaly alert configuration by its ID + """ + + config = self._client.get_anomaly_alerting_configuration(alert_configuration_id, **kwargs) + return AnomalyAlertConfiguration._from_generated(config) + + @distributed_trace + def get_metric_anomaly_detection_configuration(self, detection_configuration_id, **kwargs): + # type: (str, Any) -> AnomalyDetectionConfiguration + """Get a single anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_detection_configuration.py + :start-after: [START get_anomaly_detection_config] + :end-before: [END get_anomaly_detection_config] + :language: python + :dedent: 4 + :caption: Get a single anomaly detection configuration by its ID + """ + + config = self._client.get_anomaly_detection_configuration(detection_configuration_id, **kwargs) + return AnomalyDetectionConfiguration._from_generated(config) + + @distributed_trace + def get_hook( + self, + hook_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> Union[Hook, EmailHook, WebHook] + """Get a web or email hook by its id. + + :param hook_id: Hook unique ID. + :type hook_id: str + :return: EmailHook or Webhook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_hooks.py + :start-after: [START get_hook] + :end-before: [END get_hook] + :language: python + :dedent: 4 + :caption: Get a hook by its ID + """ + + hook = self._client.get_hook(hook_id, **kwargs) + if hook.hook_type == "Email": + return EmailHook._from_generated(hook) + return WebHook._from_generated(hook) + + @distributed_trace + def get_data_feed_ingestion_progress( + self, + data_feed_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> DataFeedIngestionProgress + """Get last successful data ingestion job timestamp by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: DataFeedIngestionProgress, containing latest_success_timestamp + and latest_active_timestamp + :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_ingestion.py + :start-after: [START get_data_feed_ingestion_progress] + :end-before: [END get_data_feed_ingestion_progress] + :language: python + :dedent: 4 + :caption: Get the progress of data feed ingestion + """ + ingestion_process = self._client.get_ingestion_progress(data_feed_id, **kwargs) + return DataFeedIngestionProgress._from_generated(ingestion_process) + + @distributed_trace + def refresh_data_feed_ingestion( + self, + data_feed_id, # type: str + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + **kwargs # type: Any + ): + # type: (...) -> None + """Refreshes data ingestion by data feed to backfill data. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param start_time: The start point of time range to refresh data ingestion. + :type start_time: ~datetime.datetime + :param end_time: The end point of time range to refresh data ingestion. + :type end_time: ~datetime.datetime + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_ingestion.py + :start-after: [START refresh_data_feed_ingestion] + :end-before: [END refresh_data_feed_ingestion] + :language: python + :dedent: 4 + :caption: Refresh data feed ingestion over a period of time + """ + self._client.reset_data_feed_ingestion_status( + data_feed_id, + body={ + "start_time": start_time, + "end_time": end_time + }, + **kwargs + ) + + @distributed_trace + def delete_anomaly_alert_configuration(self, alert_configuration_id, **kwargs): + # type: (str, Any) -> None + """Delete an anomaly alert configuration by its ID. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START delete_anomaly_alert_config] + :end-before: [END delete_anomaly_alert_config] + :language: python + :dedent: 4 + :caption: Delete an anomaly alert configuration by its ID + """ + + self._client.delete_anomaly_alerting_configuration(alert_configuration_id, **kwargs) + + @distributed_trace + def delete_metric_anomaly_detection_configuration(self, detection_configuration_id, **kwargs): + # type: (str, Any) -> None + """Delete an anomaly detection configuration by its ID. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_detection_configuration.py + :start-after: [START delete_anomaly_detection_config] + :end-before: [END delete_anomaly_detection_config] + :language: python + :dedent: 4 + :caption: Delete an anomaly detection configuration by its ID + """ + + self._client.delete_anomaly_detection_configuration(detection_configuration_id, **kwargs) + + @distributed_trace + def delete_data_feed(self, data_feed_id, **kwargs): + # type: (str, Any) -> None + """Delete a data feed by its ID. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_data_feeds.py + :start-after: [START delete_data_feed] + :end-before: [END delete_data_feed] + :language: python + :dedent: 4 + :caption: Delete a data feed by its ID + """ + + self._client.delete_data_feed(data_feed_id, **kwargs) + + @distributed_trace + def delete_hook(self, hook_id, **kwargs): + # type: (str, Any) -> None + """Delete a web or email hook by its ID. + + :param hook_id: Hook unique ID. + :type hook_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_hooks.py + :start-after: [START delete_hook] + :end-before: [END delete_hook] + :language: python + :dedent: 4 + :caption: Delete a hook by its ID + """ + + self._client.delete_hook(hook_id, **kwargs) + + @distributed_trace + def update_data_feed( + self, data_feed, # type: Union[str, DataFeed] + **kwargs # type: Any + ): # type: (...) -> DataFeed + """Update a data feed. Either pass the entire DataFeed object with the chosen updates + or the ID to your data feed with updates passed via keyword arguments. If you pass both + the DataFeed object and keyword arguments, the keyword arguments will take precedence. + + :param data_feed: The data feed with updates or the data feed ID. + :type data_feed: ~azure.ai.metricsadvisor.models.DataFeed or str + :keyword str name: The name to update the data feed. + :keyword str timestamp_column: User-defined timestamp column name. + :keyword ~datetime.datetime ingestion_begin_time: Ingestion start time. + :keyword int data_source_request_concurrency: The max concurrency of data ingestion queries against + user data source. Zero (0) means no limitation. + :keyword int ingestion_retry_delay: The min retry interval for failed data ingestion tasks, in seconds. + :keyword int ingestion_start_offset: The time that the beginning of data ingestion task will delay + for every data slice according to this offset, in seconds. + :keyword int stop_retry_after: Stop retry data ingestion after the data slice first + schedule time in seconds. + :keyword str rollup_identification_value: The identification value for the row of calculated + all-up value. + :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", + "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". + :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. + :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :paramtype rollup_method: str or ~azure.ai.metricsadvisor.models.DataFeedAutoRollupMethod + :keyword fill_type: The type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :paramtype fill_type: str or ~azure.ai.metricsadvisor.models.DataSourceMissingDataPointFillType + :keyword float custom_fill_value: The value of fill missing point for anomaly detection + if "CustomValue" fill type is specified. + :keyword list[str] admins: Data feed administrators. + :keyword str data_feed_description: Data feed description. + :keyword list[str] viewers: Data feed viewer. + :keyword access_mode: Data feed access mode. Possible values include: + "Private", "Public". Default value: "Private". + :paramtype access_mode: str or ~azure.ai.metricsadvisor.models.DataFeedAccessMode + :keyword str action_link_template: action link for alert. + :keyword status: Data feed status. Possible values include: "Active", "Paused". + :paramtype status: str or ~azure.ai.metricsadvisor.models.DataFeedStatus + :keyword source: The source of the data feed for update + :paramtype source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :return: DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_data_feeds.py + :start-after: [START update_data_feed] + :end-before: [END update_data_feed] + :language: python + :dedent: 4 + :caption: Update an existing data feed + """ + + unset = object() + update_kwargs = {} + update_kwargs["dataFeedName"] = kwargs.pop("name", unset) + update_kwargs["dataFeedDescription"] = kwargs.pop("data_feed_description", unset) + update_kwargs["timestampColumn"] = kwargs.pop("timestamp_column", unset) + update_kwargs["dataStartFrom"] = kwargs.pop("ingestion_begin_time", unset) + update_kwargs["startOffsetInSeconds"] = kwargs.pop("ingestion_start_offset", unset) + update_kwargs["maxConcurrency"] = kwargs.pop("data_source_request_concurrency", unset) + update_kwargs["minRetryIntervalInSeconds"] = kwargs.pop("ingestion_retry_delay", unset) + update_kwargs["stopRetryAfterInSeconds"] = kwargs.pop("stop_retry_after", unset) + update_kwargs["needRollup"] = kwargs.pop("rollup_type", unset) + update_kwargs["rollUpMethod"] = kwargs.pop("rollup_method", unset) + update_kwargs["rollUpColumns"] = kwargs.pop("auto_rollup_group_by_column_names", unset) + update_kwargs["allUpIdentification"] = kwargs.pop("rollup_identification_value", unset) + update_kwargs["fillMissingPointType"] = kwargs.pop("fill_type", unset) + update_kwargs["fillMissingPointValue"] = kwargs.pop("custom_fill_value", unset) + update_kwargs["viewMode"] = kwargs.pop("access_mode", unset) + update_kwargs["admins"] = kwargs.pop("admins", unset) + update_kwargs["viewers"] = kwargs.pop("viewers", unset) + update_kwargs["status"] = kwargs.pop("status", unset) + update_kwargs["actionLinkTemplate"] = kwargs.pop("action_link_template", unset) + update_kwargs["dataSourceParameter"] = kwargs.pop("source", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + + if isinstance(data_feed, six.string_types): + data_feed_id = data_feed + data_feed_patch = construct_data_feed_dict(update) + + else: + data_feed_id = data_feed.id + data_feed_patch_type = DATA_FEED_PATCH[data_feed.source.data_source_type] + data_feed_patch = data_feed._to_generated_patch(data_feed_patch_type, update) + + self._client.update_data_feed(data_feed_id, data_feed_patch, **kwargs) + return self.get_data_feed(data_feed_id) + + @distributed_trace + def update_anomaly_alert_configuration( + self, + alert_configuration, # type: Union[str, AnomalyAlertConfiguration] + **kwargs # type: Any + ): + # type: (...) -> AnomalyAlertConfiguration + """Update anomaly alerting configuration. Either pass the entire AnomalyAlertConfiguration object + with the chosen updates or the ID to your alert configuration with updates passed via keyword arguments. + If you pass both the AnomalyAlertConfiguration object and keyword arguments, the keyword arguments + will take precedence. + + :param alert_configuration: AnomalyAlertConfiguration object or the ID to the alert configuration. + :type alert_configuration: str or ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :keyword str name: Name for the anomaly alert configuration. + :keyword metric_alert_configurations: Anomaly alert configurations. + :paramtype metric_alert_configurations: list[~azure.ai.metricsadvisor.models.MetricAlertConfiguration] + :keyword list[str] hook_ids: Unique hook IDs. + :keyword cross_metrics_operator: Cross metrics operator should be specified when setting up multiple metric + alert configurations. Possible values include: "AND", "OR", "XOR". + :paramtype cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator + :keyword str description: Anomaly alert configuration description. + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START update_anomaly_alert_config] + :end-before: [END update_anomaly_alert_config] + :language: python + :dedent: 4 + :caption: Update an existing anomaly alert configuration + """ + + unset = object() + update_kwargs = {} + update_kwargs["name"] = kwargs.pop("name", unset) + update_kwargs["hookIds"] = kwargs.pop("hook_ids", unset) + update_kwargs["crossMetricsOperator"] = kwargs.pop("cross_metrics_operator", unset) + update_kwargs["metricAlertingConfigurations"] = kwargs.pop("metric_alert_configurations", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(alert_configuration, six.string_types): + alert_configuration_id = alert_configuration + alert_configuration_patch = construct_alert_config_dict(update) + + else: + alert_configuration_id = alert_configuration.id + alert_configuration_patch = alert_configuration._to_generated_patch( + name=update.pop("name", None), + metric_alert_configurations=update.pop("metricAlertingConfigurations", None), + hook_ids=update.pop("hookIds", None), + cross_metrics_operator=update.pop("crossMetricsOperator", None), + description=update.pop("description", None), + ) + + self._client.update_anomaly_alerting_configuration( + alert_configuration_id, + alert_configuration_patch, + **kwargs + ) + return self.get_anomaly_alert_configuration(alert_configuration_id) + + @distributed_trace + def update_metric_anomaly_detection_configuration( + self, + detection_configuration, # type: Union[str, AnomalyDetectionConfiguration] + **kwargs # type: Any + ): + # type: (...) -> AnomalyDetectionConfiguration + """Update anomaly metric detection configuration. Either pass the entire AnomalyDetectionConfiguration object + with the chosen updates or the ID to your detection configuration with updates passed via keyword arguments. + If you pass both the AnomalyDetectionConfiguration object and keyword arguments, the keyword arguments + will take precedence. + + :param detection_configuration: AnomalyDetectionConfiguration object or the ID to the detection + configuration. + :type detection_configuration: str or ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :keyword str name: The name for the anomaly detection configuration + :keyword str metric_id: metric unique id. + :keyword whole_series_detection_condition: Required. + :paramtype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition + :keyword str description: anomaly detection configuration description. + :keyword series_group_detection_conditions: detection configuration for series group. + :paramtype series_group_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSeriesGroupDetectionCondition] + :keyword series_detection_conditions: detection configuration for specific series. + :paramtype series_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSingleSeriesDetectionCondition] + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_detection_configuration.py + :start-after: [START update_anomaly_detection_config] + :end-before: [END update_anomaly_detection_config] + :language: python + :dedent: 4 + :caption: Update an existing anomaly detection configuration + """ + + unset = object() + update_kwargs = {} + update_kwargs["name"] = kwargs.pop("name", unset) + update_kwargs["wholeMetricConfiguration"] = kwargs.pop("whole_series_detection_condition", unset) + update_kwargs["dimensionGroupOverrideConfigurations"] = kwargs.pop("series_group_detection_conditions", unset) + update_kwargs["seriesOverrideConfigurations"] = kwargs.pop("series_detection_conditions", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(detection_configuration, six.string_types): + detection_configuration_id = detection_configuration + detection_config_patch = construct_detection_config_dict(update) + + else: + detection_configuration_id = detection_configuration.id + detection_config_patch = detection_configuration._to_generated_patch( + name=update.pop("name", None), + description=update.pop("description", None), + whole_series_detection_condition=update.pop("wholeMetricConfiguration", None), + series_group_detection_conditions=update.pop("dimensionGroupOverrideConfigurations", None), + series_detection_conditions=update.pop("seriesOverrideConfigurations", None) + ) + + self._client.update_anomaly_detection_configuration( + detection_configuration_id, + detection_config_patch, + **kwargs + ) + return self.get_metric_anomaly_detection_configuration(detection_configuration_id) + + @distributed_trace + def update_hook( + self, + hook, # type: Union[str, EmailHook, WebHook] + **kwargs # type: Any + ): + # type: (...) -> Union[Hook, EmailHook, WebHook] + """Update a hook. Either pass the entire EmailHook or WebHook object with the chosen updates, or the + ID to your hook configuration with the updates passed via keyword arguments. + If you pass both the hook object and keyword arguments, the keyword arguments will take precedence. + + :param hook: An email or web hook or the ID to the hook. If an ID is passed, you must pass `hook_type`. + :type hook: Union[str, ~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook] + :keyword str hook_type: The hook type. Possible values are "Email" or "Web". Must be passed if only the + hook ID is provided. + :keyword str name: Hook unique name. + :keyword str description: Hook description. + :keyword str external_link: Hook external link. + :keyword list[str] emails_to_alert: Email TO: list. Only should be passed to update EmailHook. + :keyword str endpoint: API address, will be called when alert is triggered, only support + POST method via SSL. Only should be passed to update WebHook. + :keyword str username: basic authentication. Only should be passed to update WebHook. + :keyword str password: basic authentication. Only should be passed to update WebHook. + :keyword str certificate_key: client certificate. Only should be passed to update WebHook. + :keyword str certificate_password: client certificate password. Only should be passed to update WebHook. + :return: EmailHook or WebHook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_hooks.py + :start-after: [START update_hook] + :end-before: [END update_hook] + :language: python + :dedent: 4 + :caption: Update an existing hook + """ + + unset = object() + update_kwargs = {} + hook_patch = None + hook_type = kwargs.pop("hook_type", None) + update_kwargs["hookName"] = kwargs.pop("name", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + update_kwargs["externalLink"] = kwargs.pop("external_link", unset) + update_kwargs["toList"] = kwargs.pop("emails_to_alert", unset) + update_kwargs["endpoint"] = kwargs.pop('endpoint', unset) + update_kwargs["username"] = kwargs.pop('username', unset) + update_kwargs["password"] = kwargs.pop('password', unset) + update_kwargs["certificateKey"] = kwargs.pop('certificate_key', unset) + update_kwargs["certificatePassword"] = kwargs.pop('certificate_password', unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(hook, six.string_types): + hook_id = hook + if hook_type is None: + raise ValueError("hook_type must be passed with a hook ID.") + + hook_patch = construct_hook_dict(update, hook_type) + + else: + hook_id = hook.id + if hook.hook_type == "Email": + hook_patch = hook._to_generated_patch( + name=update.pop("hookName", None), + description=update.pop("description", None), + external_link=update.pop("externalLink", None), + emails_to_alert=update.pop("toList", None), + ) + + elif hook.hook_type == "Webhook": + hook_patch = hook._to_generated_patch( + name=update.pop("hookName", None), + description=update.pop("description", None), + external_link=update.pop("externalLink", None), + endpoint=update.pop("endpoint", None), + password=update.pop("password", None), + username=update.pop("username", None), + certificate_key=update.pop("certificateKey", None), + certificate_password=update.pop("certificatePassword", None) + ) + + self._client.update_hook( + hook_id, + hook_patch, + **kwargs + ) + return self.get_hook(hook_id) + + @distributed_trace + def list_hooks( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[Union[Hook, EmailHook, WebHook]] + """List all hooks. + + :keyword str hook_name: filter hook by its name. + :keyword int skip: + :return: Pageable containing EmailHook and WebHook + :rtype: ~azure.core.paging.ItemPaged[Union[~azure.ai.metricsadvisor.models.Hook, + ~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook]] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_hooks.py + :start-after: [START list_hooks] + :end-before: [END list_hooks] + :language: python + :dedent: 4 + :caption: List all of the hooks under the account + """ + hook_name = kwargs.pop('hook_name', None) + skip = kwargs.pop('skip', None) + + def _convert_to_hook_type(hook): + if hook.hook_type == "Email": + return EmailHook._from_generated(hook) + return WebHook._from_generated(hook) + + return self._client.list_hooks( + hook_name=hook_name, + skip=skip, + cls=kwargs.pop("cls", lambda hooks: [_convert_to_hook_type(hook) for hook in hooks]), + **kwargs + ) + + @distributed_trace + def list_data_feeds( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[DataFeed] + """List all data feeds. + + :keyword str data_feed_name: filter data feed by its name. + :keyword data_source_type: filter data feed by its source type. + :paramtype data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :keyword granularity_type: filter data feed by its granularity. + :paramtype granularity_type: str or ~azure.ai.metricsadvisor.models.DataFeedGranularityType + :keyword status: filter data feed by its status. + :paramtype status: str or ~azure.ai.metricsadvisor.models.DataFeedStatus + :keyword str creator: filter data feed by its creator. + :keyword int skip: + :return: Pageable of DataFeed + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.DataFeed] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_data_feeds.py + :start-after: [START list_data_feeds] + :end-before: [END list_data_feeds] + :language: python + :dedent: 4 + :caption: List data feeds under an account. + """ + + data_feed_name = kwargs.pop("data_feed_name", None) + data_source_type = kwargs.pop("data_source_type", None) + granularity_type = kwargs.pop("granularity_type", None) + status = kwargs.pop("status", None) + creator = kwargs.pop("creator", None) + skip = kwargs.pop("skip", None) + + return self._client.list_data_feeds( + data_feed_name=data_feed_name, + data_source_type=data_source_type, + granularity_name=granularity_type, + status=status, + creator=creator, + skip=skip, + cls=kwargs.pop("cls", lambda feeds: [DataFeed._from_generated(feed) for feed in feeds]), + **kwargs + ) + + @distributed_trace + def list_anomaly_alert_configurations( + self, + detection_configuration_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[AnomalyAlertConfiguration] + """Query all anomaly alert configurations for specific anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: Pageable of AnomalyAlertConfiguration + :rtype: ItemPaged[AnomalyAlertConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START list_anomaly_alert_configs] + :end-before: [END list_anomaly_alert_configs] + :language: python + :dedent: 4 + :caption: List all anomaly alert configurations for specific anomaly detection configuration + """ + return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + detection_configuration_id, + cls=kwargs.pop("cls", lambda confs: [ + AnomalyAlertConfiguration._from_generated(conf) for conf in confs + ]), + **kwargs + ) + + @distributed_trace + def list_metric_anomaly_detection_configurations( + self, + metric_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[AnomalyDetectionConfiguration] + """Query all anomaly detection configurations for specific metric. + + :param metric_id: metric unique id. + :type metric_id: str + :return: Pageable of AnomalyDetectionConfiguration + :rtype: ItemPaged[AnomalyDetectionConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_detection_configuration.py + :start-after: [START list_anomaly_detection_configs] + :end-before: [END list_anomaly_detection_configs] + :language: python + :dedent: 4 + :caption: List all anomaly detection configurations for a specific metric + """ + return self._client.get_anomaly_detection_configurations_by_metric( + metric_id, + cls=kwargs.pop("cls", lambda confs: [ + AnomalyDetectionConfiguration._from_generated(conf) for conf in confs + ]), + **kwargs + ) + + @distributed_trace + def list_data_feed_ingestion_status( + self, + data_feed_id, # type: str + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[DataFeedIngestionStatus] + """Get data ingestion status by data feed. + + :param str data_feed_id: The data feed unique id. + :param start_time: Required. the start point of time range to query data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query data ingestion status. + :type end_time: ~datetime.datetime + :keyword int skip: + :return: Pageable of DataFeedIngestionStatus + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.DataFeedIngestionStatus] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_ingestion.py + :start-after: [START list_data_feed_ingestion_status] + :end-before: [END list_data_feed_ingestion_status] + :language: python + :dedent: 4 + :caption: List the data feed ingestion statuses by data feed ID + """ + + skip = kwargs.pop("skip", None) + + return self._client.get_data_feed_ingestion_status( + data_feed_id=data_feed_id, + body={ + "start_time": start_time, + "end_time": end_time + }, + skip=skip, + **kwargs + ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py new file mode 100644 index 000000000000..5dacd7282013 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -0,0 +1,716 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import datetime + +from azure.core.tracing.decorator import distributed_trace +from azure.core.pipeline import Pipeline +from azure.core.pipeline.policies import ( + UserAgentPolicy, + BearerTokenCredentialPolicy, + DistributedTracingPolicy, + RequestIdPolicy, + ContentDecodePolicy, + HttpLoggingPolicy, +) +from azure.core.pipeline.transport import RequestsTransport +from azure.core.exceptions import ClientAuthenticationError +from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential +from ._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy +from ._generated._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration +from ._generated.models import ( + MetricFeedbackFilter, + DetectionSeriesQuery, + AlertingResultQuery, + DetectionAnomalyResultQuery, + AnomalyDimensionQuery, + DetectionIncidentResultQuery, + MetricDimensionQueryOptions, + MetricDataQueryOptions, + MetricSeriesQueryOptions, + EnrichmentStatusQueryOption, + SeriesIdentity, + FeedbackDimensionFilter, +) +from ._generated import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 +from ._helpers import convert_to_sub_feedback +from .models._models import ( + Incident, + Anomaly, + MetricSeriesData, + Alert, + IncidentRootCause +) +from ._version import SDK_MONIKER + +if TYPE_CHECKING: + from typing import cast, List, Union, Optional, Dict + from ._generated.models import ( + MetricFeedback, + SeriesResult, + EnrichmentStatus, + MetricSeriesItem as MetricSeriesDefinition, + TimeMode, + ) + from .models._models import ( + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback + ) + + from azure.core.paging import ItemPaged + +class MetricsAdvisorClient(object): + """Represents an client that calls restful API of Azure Metrics Advisor service. + + :param str endpoint: Url to the Azure Metrics Advisor service endpoint + :param credential: credential Used to authenticate requests to the service. + :type credential: azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + :keyword Pipeline pipeline: If omitted, the standard pipeline is used. + :keyword HttpTransport transport: If omitted, the standard pipeline is used. + :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. + + """ + def __init__(self, endpoint, credential, **kwargs): + # type: (str, MetricsAdvisorKeyCredential, dict) -> None + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Base URL must be a string.") + + if not credential: + raise ValueError("Missing credential") + + self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) + self._credential = credential + self._config.user_agent_policy = UserAgentPolicy( + sdk_moniker=SDK_MONIKER, **kwargs + ) + + pipeline = kwargs.get("pipeline") + + if pipeline is None: + aad_mode = not isinstance(credential, MetricsAdvisorKeyCredential) + pipeline = self._create_pipeline( + credential=credential, + aad_mode=aad_mode, + endpoint=endpoint, + **kwargs) + + self._client = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2( + endpoint=endpoint, pipeline=pipeline + ) + + def __repr__(self): + # type: () -> str + return "".format( + repr(self._endpoint) + )[:1024] + + def __enter__(self): + # type: () -> MetricsAdvisorClient + self._client.__enter__() # pylint:disable=no-member + return self + + def __exit__(self, *args): + # type: (*Any) -> None + self._client.__exit__(*args) # pylint:disable=no-member + + def close(self): + # type: () -> None + """Close the :class:`~azure.ai.metricsadvisor.MetricsAdvisorClient` session. + """ + return self._client.close() + + def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): + transport = kwargs.get('transport') + policies = kwargs.get('policies') + + if policies is None: # [] is a valid policy list + if aad_mode: + scope = endpoint.strip("/") + "/.default" + if hasattr(credential, "get_token"): + credential_policy = BearerTokenCredentialPolicy(credential, scope) + else: + raise TypeError("Please provide an instance from azure-identity " + "or a class that implement the 'get_token protocol") + else: + credential_policy = MetricsAdvisorKeyCredentialPolicy(credential) + policies = [ + RequestIdPolicy(**kwargs), + self._config.headers_policy, + self._config.user_agent_policy, + self._config.proxy_policy, + ContentDecodePolicy(**kwargs), + self._config.redirect_policy, + self._config.retry_policy, + credential_policy, + self._config.logging_policy, # HTTP request/response log + DistributedTracingPolicy(**kwargs), + self._config.http_logging_policy or HttpLoggingPolicy(**kwargs) + ] + + if not transport: + transport = RequestsTransport(**kwargs) + + return Pipeline(transport, policies) + + @distributed_trace + def add_feedback(self, feedback, **kwargs): + # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], dict) -> None + + """Create a new metric feedback. + + :param feedback: metric feedback. + :type feedback: ~azure.ai.metriscadvisor.models.AnomalyFeedback or + ~azure.ai.metriscadvisor.models.ChangePointFeedback or + ~azure.ai.metriscadvisor.models.CommentFeedback or + ~azure.ai.metriscadvisor.models.PeriodFeedback. + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_feedback.py + :start-after: [START add_feedback] + :end-before: [END add_feedback] + :language: python + :dedent: 4 + :caption: Add new feedback. + """ + error_map = { + 401: ClientAuthenticationError + } + + return self._client.create_metric_feedback( + body=feedback._to_generated(), + error_map=error_map, + **kwargs) + + @distributed_trace + def get_feedback(self, feedback_id, **kwargs): + # type: (str, dict) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] + + """Get a metric feedback by its id. + + :param str feedback_id: the id of the feedback. + :return: The feedback object + :rtype: ~azure.ai.metriscadvisor.models.AnomalyFeedback or + ~azure.ai.metriscadvisor.models.ChangePointFeedback or + ~azure.ai.metriscadvisor.models.CommentFeedback or + ~azure.ai.metriscadvisor.models.PeriodFeedback. + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_feedback.py + :start-after: [START get_feedback] + :end-before: [END get_feedback] + :language: python + :dedent: 4 + :caption: Get a metric feedback by its id. + """ + error_map = { + 401: ClientAuthenticationError + } + + return convert_to_sub_feedback(self._client.get_metric_feedback( + feedback_id=feedback_id, + error_map=error_map, + **kwargs)) + + @distributed_trace + def list_feedbacks(self, metric_id, **kwargs): + # type: (str, dict) -> ItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + + """List feedback on the given metric. + + :param str metric_id: filter feedbacks by metric id + :keyword int skip: + :keyword dimension_key: filter specfic dimension name and values + :paramtype dimension_key: dict[str, str] + :keyword feedback_type: filter feedbacks by type. Possible values include: "Anomaly", + "ChangePoint", "Period", "Comment". + :paramtype feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :keyword ~datetime.datetime start_time: start time filter under chosen time mode. + :keyword ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword time_mode: time mode to filter feedback. Possible values include: "MetricTimestamp", + "FeedbackCreatedTime". + :paramtype time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode + :return: Pageable list of MetricFeedback + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricFeedback] + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_feedback.py + :start-after: [START list_feedback] + :end-before: [END list_feedback] + :language: python + :dedent: 4 + :caption: List feedback on the given metric. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = None + dimension_key = kwargs.pop('dimension_key', None) + if dimension_key: + dimension_filter = FeedbackDimensionFilter(dimension=dimension_key) + feedback_type = kwargs.pop('feedback_type', None) + start_time = kwargs.pop('start_time', None) + end_time = kwargs.pop('end_time', None) + time_mode = kwargs.pop('time_mode', None) + feedback_filter = MetricFeedbackFilter( + metric_id=metric_id, + dimension_filter=dimension_filter, + feedback_type=feedback_type, + start_time=start_time, + end_time=end_time, + time_mode=time_mode, + ) + + return self._client.list_metric_feedbacks( + skip=skip, + body=feedback_filter, + cls=kwargs.pop("cls", lambda result: [ + convert_to_sub_feedback(x) for x in result + ]), + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incident_root_causes(self, detection_configuration_id, incident_id, **kwargs): + # type: (str, str, dict) -> ItemPaged[IncidentRootCause] + + """Query root cause for incident. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param incident_id: incident id. + :type incident_id: str + :return: Pageable of root cause for incident + :rtype: ItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + incident_id=incident_id, + error_map=error_map, + cls=kwargs.pop("cls", lambda result: [ + IncidentRootCause._from_generated(x) for x in result + ]), + **kwargs + ) + + @distributed_trace + def list_metric_enriched_series_data(self, detection_configuration_id, series, start_time, end_time, **kwargs): + # type: (str, Union[List[SeriesIdentity], List[Dict[str, str]]], datetime, datetime, dict) -> ItemPaged[SeriesResult] + """Query series enriched by anomaly detection. + + :param str detection_configuration_id: anomaly alerting configuration unique id. + :param series: List of dimensions specified for series. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity or list[dict[str, str]] + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :return: Pageable of SeriesResult + :rtype: ItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + detection_series_query = DetectionSeriesQuery( + start_time=start_time, + end_time=end_time, + series=[ + SeriesIdentity(dimension=dimension) + for dimension in series + if isinstance(dimension, dict) + ] or series, + ) + + return self._client.get_series_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + body=detection_series_query, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time, end_time, time_mode, **kwargs): + # type: (str, datetime, datetime, Union[str, TimeMode], dict) -> ItemPaged[Alert] + + """Query alerts under anomaly alert configuration. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :param ~datetime.datetime start_time: start time. + :param ~datetime.datetime end_time: end time. + :param time_mode: time mode. Possible values include: "AnomalyTime", "CreatedTime", + "ModifiedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.TimeMode + :keyword int skip: + :return: Alerts under anomaly alert configuration. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Alert] + :raises: ~azure.core.exceptions.HttpResponseError + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START list_alerts_for_alert_config] + :end-before: [END list_alerts_for_alert_config] + :language: python + :dedent: 4 + :caption: Query anomaly detection results. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + alerting_result_query = AlertingResultQuery( + start_time=start_time, + end_time=end_time, + time_mode=time_mode, + ) + + return self._client.get_alerts_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + skip=skip, + body=alerting_result_query, + error_map=error_map, + cls=kwargs.pop("cls", lambda alerts: [Alert._from_generated(alert) for alert in alerts]), + **kwargs) + + @distributed_trace + def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): + # type: (str, str, dict) -> ItemPaged[Anomaly] + + """Query anomalies under a specific alert. + + :param alert_configuration_id: anomaly detection configuration unique id. + :type alert_configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :keyword int skip: + :return: Anomalies under a specific alert. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises: ~azure.core.exceptions.HttpResponseError + .. admonition:: Example: + + .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py + :start-after: [START list_anomalies_for_alert] + :end-before: [END list_anomalies_for_alert] + :language: python + :dedent: 4 + :caption: Query anomalies using alert id. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + alert_id=alert_id, + skip=skip, + cls=lambda objs: [Anomaly._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_anomalies_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> ItemPaged[Anomaly] + + """Query anomalies under anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :keyword filter: + :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition + :return: Anomalies under anomaly detection configuration. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + filter = kwargs.pop('filter', None) + detection_anomaly_result_query = DetectionAnomalyResultQuery( + start_time=start_time, + end_time=end_time, + filter=filter, + ) + + return self._client.get_anomalies_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + skip=skip, + body=detection_anomaly_result_query, + cls=lambda objs: [Anomaly._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_dimension_values_for_detection_configuration( + self, detection_configuration_id, + dimension_name, + start_time, + end_time, + **kwargs + ): + # type: (str, str, datetime, datetime, dict) -> ItemPaged[str] + + """Query dimension values of anomalies. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param str dimension_name: dimension to query. + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :keyword dimension_name: str + :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :return: Dimension values of anomalies. + :rtype: ~azure.core.paging.ItemPaged[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = kwargs.pop('dimension_filter', None) + anomaly_dimension_query = AnomalyDimensionQuery( + start_time=start_time, + end_time=end_time, + dimension_name=dimension_name, + dimension_filter=dimension_filter, + ) + + return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + skip=skip, + body=anomaly_dimension_query, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): + # type: (str, str, dict) -> ItemPaged[Incident] + + """Query incidents under a specific alert. + + :param alert_configuration_id: anomaly alerting configuration unique id. + :type alert_configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :keyword int skip: + :return: Incidents under a specific alert. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + alert_id=alert_id, + skip=skip, + cls=lambda objs: [Incident._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incidents_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> ItemPaged[Incident] + + """Query incidents under a specific alert. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword filter: + :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition + :return: Incidents under a specific alert. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + filter = kwargs.pop('filter', None) + + detection_incident_result_query = DetectionIncidentResultQuery( + start_time=start_time, + end_time=end_time, + filter=filter, + ) + + return self._client.get_incidents_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + body=detection_incident_result_query, + cls=lambda objs: [Incident._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): + # type: (str, str, dict) -> ItemPaged[str] + + """List dimension from certain metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param dimension_name: the dimension name + :type dimension_name: str + :keyword int skip: + :keyword dimension_value_filter: dimension value to be filtered. + :paramtype dimension_value_filter: str + :return: Dimension from certain metric. + :rtype: ~azure.core.paging.ItemPaged[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_value_filter = kwargs.pop('dimension_value_filter', None) + + metric_dimension_query_options = MetricDimensionQueryOptions( + dimension_name=dimension_name, + dimension_value_filter=dimension_value_filter, + ) + + return self._client.get_metric_dimension( + metric_id=metric_id, + body=metric_dimension_query_options, + skip=skip, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kwargs): + # type: (str, datetime, datetime, List[Dict[str, str]], dict) -> ItemPaged[MetricSeriesData] + + """Get time series data from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :param filter: query specific series. + :type filter: list[dict[str, str]] + :return: Time series data from metric. + :rtype: ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + metric_data_query_options = MetricDataQueryOptions( + start_time=start_time, + end_time=end_time, + series=filter, + ) + + return self._client.get_metric_data( + metric_id=metric_id, + body=metric_data_query_options, + error_map=error_map, + cls=kwargs.pop("cls", lambda result: [MetricSeriesData._from_generated(series) for series in result]), + **kwargs) + + @distributed_trace + def list_metric_series_definitions(self, metric_id, active_since, **kwargs): + # type: (str, datetime, dict) -> ItemPaged[MetricSeriesDefinition] + + """List series (dimension combinations) from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param active_since: Required. query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :type active_since: ~datetime.datetime + :keyword int skip: + :keyword ~datetime.datetime active_since: query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :keyword dimension_filter: filter specfic dimension name and values. + :paramtype dimension_filter: dict[str, list[str]] + :return: Series (dimension combinations) from metric. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = kwargs.pop('dimension_filter', None) + + metric_series_query_options = MetricSeriesQueryOptions( + active_since=active_since, + dimension_filter=dimension_filter, + ) + + return self._client.get_metric_series( + metric_id=metric_id, + body=metric_series_query_options, + skip=skip, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> ItemPaged[EnrichmentStatus] + + """Query anomaly detection status. + + :param metric_id: filter feedbacks by metric id. + :type metric_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :return: Anomaly detection status. + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + enrichment_status_query_option = EnrichmentStatusQueryOption( + start_time=start_time, + end_time=end_time, + ) + + return self._client.get_enrichment_status_by_metric( + metric_id=metric_id, + skip=skip, + body=enrichment_status_query_option, + error_map=error_map, + **kwargs) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential.py new file mode 100644 index 000000000000..b595f02f9be6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +import six + +class MetricsAdvisorKeyCredential(object): + """Credential type used for authenticating to an Azure Metrics Advisor service. + + :param str subscription_key: The subscription key + :param str api_key: The api key + :raises: TypeError + """ + + def __init__(self, subscription_key, api_key): + # type: (str, str) -> None + if not (isinstance(subscription_key, six.string_types) and isinstance(api_key, six.string_types)): + raise TypeError("key must be a string.") + self.subscription_key = subscription_key # type: str + self.api_key = api_key # type: str diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py new file mode 100644 index 000000000000..2e4879c9195d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py @@ -0,0 +1,28 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential +from azure.core.pipeline.policies import SansIOHTTPPolicy + +_API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key" +_X_API_KEY_HEADER_NAME = "x-api-key" + +class MetricsAdvisorKeyCredentialPolicy(SansIOHTTPPolicy): + """Adds a key header for the provided credential. + + :param credential: The credential used to authenticate requests. + :type credential: ~azure.core.credentials.AzureKeyCredential + :param str name: The name of the key header used for the credential. + :raises: ValueError or TypeError + """ + def __init__(self, credential, **kwargs): # pylint: disable=unused-argument + # type: (MetricsAdvisorKeyCredential, Any) -> None + super(MetricsAdvisorKeyCredentialPolicy, self).__init__() + self._credential = credential + + def on_request(self, request): + request.http_request.headers[_API_KEY_HEADER_NAME] = self._credential.subscription_key + request.http_request.headers[_X_API_KEY_HEADER_NAME] = self._credential.api_key diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_version.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_version.py new file mode 100644 index 000000000000..3b12eb9165bd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +VERSION = "1.0.0b1" + +SDK_MONIKER = "ai-metricsadvisor/{}".format(VERSION) # type: str diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/__init__.py new file mode 100644 index 000000000000..ae0f0e4c7d91 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/__init__.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from ._metrics_advisor_client_async import MetricsAdvisorClient +from ._metrics_advisor_administration_client_async import MetricsAdvisorAdministrationClient + +__all__ = ( + "MetricsAdvisorClient", + "MetricsAdvisorAdministrationClient" +) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py new file mode 100644 index 000000000000..48da04afc342 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py @@ -0,0 +1,1082 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import six +import datetime +from typing import ( + Any, + List, + Union +) + +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.async_paging import AsyncItemPaged +from .._generated.aio import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 as _ClientAsync +from .._generated.models import AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration +from .._generated.models import AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration +from .._generated.models import IngestionStatus as DataFeedIngestionStatus +from .._version import SDK_MONIKER +from .._metrics_advisor_key_credential import MetricsAdvisorKeyCredential +from .._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy +from .._helpers import ( + convert_to_generated_data_feed_type, + construct_alert_config_dict, + construct_detection_config_dict, + construct_hook_dict, + construct_data_feed_dict +) +from ..models import ( + DataFeed, + EmailHook, + WebHook, + AnomalyAlertConfiguration, + AnomalyDetectionConfiguration, + DataFeedIngestionProgress, + DataFeedGranularityType, + MetricAlertConfiguration, + DataFeedGranularity, + DataFeedSchema, + DataFeedIngestionSettings, + Hook, + MetricDetectionCondition +) +from .._metrics_advisor_administration_client import ( + DATA_FEED, + DATA_FEED_PATCH, + DataFeedSourceUnion +) + + +class MetricsAdvisorAdministrationClient(object): + """MetricsAdvisorAdministrationClient is used to create and manage data feeds. + + :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, + for example: https://:code:``.cognitiveservices.azure.com). + :param credential: An instance of ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential. + Requires both subscription key and API key. + :type credential: ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_authentication_async.py + :start-after: [START administration_client_with_metrics_advisor_credential_async] + :end-before: [END administration_client_with_metrics_advisor_credential_async] + :language: python + :dedent: 4 + :caption: Authenticate MetricsAdvisorAdministrationClient with a MetricsAdvisorKeyCredential + """ + def __init__(self, endpoint: str, credential: MetricsAdvisorKeyCredential, **kwargs: Any) -> None: + + self._client = _ClientAsync( + endpoint=endpoint, + sdk_moniker=SDK_MONIKER, + authentication_policy=MetricsAdvisorKeyCredentialPolicy(credential), + **kwargs + ) + + async def __aenter__(self) -> "MetricsAdvisorAdministrationClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *args: "Any") -> None: + await self._client.__aexit__(*args) + + async def close(self) -> None: + """Close the :class:`~azure.ai.metricsadvisor.aio.MetricsAdvisorAdministrationClient` session. + """ + await self._client.__aexit__() + + @distributed_trace_async + async def create_anomaly_alert_configuration( + self, name: str, + metric_alert_configurations: List[MetricAlertConfiguration], + hook_ids: List[str], + **kwargs: Any + ) -> AnomalyAlertConfiguration: + """Create an anomaly alert configuration. + + :param str name: Name for the anomaly alert configuration. + :param metric_alert_configurations: Anomaly alert configurations. + :type metric_alert_configurations: list[~azure.ai.metricsadvisor.models.MetricAlertConfiguration] + :param list[str] hook_ids: Unique hook IDs. + :keyword cross_metrics_operator: Cross metrics operator should be specified when setting up multiple metric + alert configurations. Possible values include: "AND", "OR", "XOR". + :paramtype cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator + :keyword str description: Anomaly alert configuration description. + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START create_anomaly_alert_config_async] + :end-before: [END create_anomaly_alert_config_async] + :language: python + :dedent: 4 + :caption: Create an anomaly alert configuration + """ + + cross_metrics_operator = kwargs.pop("cross_metrics_operator", None) + response_headers = await self._client.create_anomaly_alerting_configuration( + _AnomalyAlertingConfiguration( + name=name, + metric_alerting_configurations=[ + config._to_generated() for config in metric_alert_configurations + ], + hook_ids=hook_ids, + cross_metrics_operator=cross_metrics_operator, + description=kwargs.pop("description", None) + ), + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + + config_id = response_headers["Location"].split("configurations/")[1] + return await self.get_anomaly_alert_configuration(config_id) + + @distributed_trace_async + async def create_data_feed( + self, name: str, + source: DataFeedSourceUnion, + granularity: Union[str, DataFeedGranularityType, DataFeedGranularity], + schema: Union[List[str], DataFeedSchema], + ingestion_settings: Union[datetime.datetime, DataFeedIngestionSettings], + **kwargs: Any + ) -> DataFeed: + """Create a new data feed. + + :param str name: Name for the data feed. + :param source: The source of the data feed + :type source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :param granularity: Granularity type. If using custom granularity, you must instantiate a DataFeedGranularity. + :type granularity: Union[str, ~azure.ai.metricsadvisor.models.DataFeedGranularityType, + ~azure.ai.metricsadvisor.models.DataFeedGranularity] + :param schema: Data feed schema. Can be passed as a list of metric names as strings or as a DataFeedSchema + object if additional configuration is needed. + :type schema: Union[list[str], ~azure.ai.metricsadvisor.models.DataFeedSchema] + :param ingestion_settings: The data feed ingestions settings. Can be passed as a datetime to use for the + ingestion begin time or as a DataFeedIngestionSettings object if additional configuration is needed. + :type ingestion_settings: Union[~datetime.datetime, ~azure.ai.metricsadvisor.models.DataFeedIngestionSettings] + :keyword options: Data feed options. + :paramtype options: ~azure.ai.metricsadvisor.models.DataFeedOptions + :return: DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_data_feeds_async.py + :start-after: [START create_data_feed_async] + :end-before: [END create_data_feed_async] + :language: python + :dedent: 4 + :caption: Create a data feed + """ + + options = kwargs.pop("options", None) + data_feed_type = DATA_FEED[source.data_source_type] + data_feed_detail = convert_to_generated_data_feed_type( + generated_feed_type=data_feed_type, + name=name, + source=source, + granularity=granularity, + schema=schema, + ingestion_settings=ingestion_settings, + options=options + ) + + response_headers = await self._client.create_data_feed( + data_feed_detail, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + data_feed_id = response_headers["Location"].split("dataFeeds/")[1] + return await self.get_data_feed(data_feed_id) + + @distributed_trace_async + async def create_hook( + self, name: str, + hook: Union[EmailHook, WebHook], + **kwargs: Any + ) -> Union[Hook, EmailHook, WebHook]: + """Create a new email or web hook. + + :param str name: The name for the hook. + :param hook: An email or web hook + :type hook: Union[~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook] + :return: EmailHook or WebHook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_hooks_async.py + :start-after: [START create_hook_async] + :end-before: [END create_hook_async] + :language: python + :dedent: 4 + :caption: Create a hook + """ + + hook_request = None + if hook.hook_type == "Email": + hook_request = hook._to_generated(name) + + if hook.hook_type == "Webhook": + hook_request = hook._to_generated(name) + + response_headers = await self._client.create_hook( + hook_request, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + hook_id = response_headers["Location"].split("hooks/")[1] + return await self.get_hook(hook_id) + + @distributed_trace_async + async def create_metric_anomaly_detection_configuration( + self, name: str, + metric_id: str, + whole_series_detection_condition: MetricDetectionCondition, + **kwargs: Any + ) -> AnomalyDetectionConfiguration: + """Create anomaly detection configuration. + + :param str name: The name for the anomaly detection configuration + :param str metric_id: Required. metric unique id. + :param whole_series_detection_condition: Required. + :type whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition + :keyword str description: anomaly detection configuration description. + :keyword series_group_detection_conditions: detection configuration for series group. + :paramtype series_group_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSeriesGroupDetectionCondition] + :keyword series_detection_conditions: detection configuration for specific series. + :paramtype series_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSingleSeriesDetectionCondition] + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_detection_configuration_async.py + :start-after: [START create_anomaly_detection_config_async] + :end-before: [END create_anomaly_detection_config_async] + :language: python + :dedent: 4 + :caption: Create an anomaly detection configuration + """ + description = kwargs.pop("description", None) + series_group_detection_conditions = kwargs.pop("series_group_detection_conditions", None) + series_detection_conditions = kwargs.pop("series_detection_conditions", None) + config = _AnomalyDetectionConfiguration( + name=name, + metric_id=metric_id, + description=description, + whole_metric_configuration=whole_series_detection_condition._to_generated(), + dimension_group_override_configurations=[ + group._to_generated() for group in series_group_detection_conditions + ] if series_group_detection_conditions else None, + series_override_configurations=[ + series._to_generated() for series in series_detection_conditions] + if series_detection_conditions else None, + ) + + response_headers = await self._client.create_anomaly_detection_configuration( + config, + cls=lambda pipeline_response, _, response_headers: response_headers, + **kwargs + ) + config_id = response_headers["Location"].split("configurations/")[1] + return await self.get_metric_anomaly_detection_configuration(config_id) + + @distributed_trace_async + async def get_data_feed(self, data_feed_id: str, **kwargs: Any) -> DataFeed: + """Get a data feed by its id. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: DataFeed + :rtype: azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_data_feeds_async.py + :start-after: [START get_data_feed_async] + :end-before: [END get_data_feed_async] + :language: python + :dedent: 4 + :caption: Get a data feed by its ID + """ + + data_feed = await self._client.get_data_feed_by_id( + data_feed_id, + **kwargs + ) + return DataFeed._from_generated(data_feed) + + @distributed_trace_async + async def get_anomaly_alert_configuration( + self, alert_configuration_id: str, + **kwargs: Any + ) -> AnomalyAlertConfiguration: + """Get a single anomaly alert configuration. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START get_anomaly_alert_config_async] + :end-before: [END get_anomaly_alert_config_async] + :language: python + :dedent: 4 + :caption: Get a single anomaly alert configuration by its ID + """ + + config = await self._client.get_anomaly_alerting_configuration(alert_configuration_id, **kwargs) + return AnomalyAlertConfiguration._from_generated(config) + + @distributed_trace_async + async def get_metric_anomaly_detection_configuration( + self, detection_configuration_id: str, + **kwargs: Any + ) -> AnomalyDetectionConfiguration: + """Get a single anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_detection_configuration_async.py + :start-after: [START get_anomaly_detection_config_async] + :end-before: [END get_anomaly_detection_config_async] + :language: python + :dedent: 4 + :caption: Get a single anomaly detection configuration by its ID + """ + + config = await self._client.get_anomaly_detection_configuration(detection_configuration_id, **kwargs) + return AnomalyDetectionConfiguration._from_generated(config) + + @distributed_trace_async + async def get_hook( + self, + hook_id: str, + **kwargs: Any + ) -> Union[Hook, EmailHook, WebHook]: + """Get a web or email hook by its id. + + :param hook_id: Hook unique ID. + :type hook_id: str + :return: EmailHook or Webhook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_hooks_async.py + :start-after: [START get_hook_async] + :end-before: [END get_hook_async] + :language: python + :dedent: 4 + :caption: Get a hook by its ID + """ + + hook = await self._client.get_hook(hook_id, **kwargs) + if hook.hook_type == "Email": + return EmailHook._from_generated(hook) + return WebHook._from_generated(hook) + + @distributed_trace_async + async def get_data_feed_ingestion_progress( + self, + data_feed_id: str, + **kwargs: Any + ) -> DataFeedIngestionProgress: + """Get last successful data ingestion job timestamp by data feed. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: DataFeedIngestionProgress, containing latest_success_timestamp + and latest_active_timestamp + :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_ingestion_async.py + :start-after: [START get_data_feed_ingestion_progress_async] + :end-before: [END get_data_feed_ingestion_progress_async] + :language: python + :dedent: 4 + :caption: Get the progress of data feed ingestion + """ + ingestion_process = await self._client.get_ingestion_progress(data_feed_id, **kwargs) + return DataFeedIngestionProgress._from_generated(ingestion_process) + + @distributed_trace_async + async def refresh_data_feed_ingestion( + self, + data_feed_id: str, + start_time: datetime.datetime, + end_time: datetime.datetime, + **kwargs: Any + ) -> None: + """Refreshes data ingestion by data feed to backfill data. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :param start_time: The start point of time range to refreshes data ingestion. + :type start_time: ~datetime.datetime + :param end_time: The end point of time range to refreshes data ingestion. + :type end_time: ~datetime.datetime + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_ingestion_async.py + :start-after: [START refresh_data_feed_ingestion_async] + :end-before: [END refresh_data_feed_ingestion_async] + :language: python + :dedent: 4 + :caption: Refresh data feed ingestion over a period of time + """ + await self._client.reset_data_feed_ingestion_status( + data_feed_id, + body={ + "start_time": start_time, + "end_time": end_time + }, + **kwargs + ) + + @distributed_trace_async + async def delete_anomaly_alert_configuration(self, alert_configuration_id: str, **kwargs: Any) -> None: + """Delete an anomaly alert configuration by its ID. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START delete_anomaly_alert_config_async] + :end-before: [END delete_anomaly_alert_config_async] + :language: python + :dedent: 4 + :caption: Delete an anomaly alert configuration by its ID + """ + + await self._client.delete_anomaly_alerting_configuration(alert_configuration_id, **kwargs) + + @distributed_trace_async + async def delete_metric_anomaly_detection_configuration( + self, detection_configuration_id: str, + **kwargs: Any + ) -> None: + """Delete an anomaly detection configuration by its ID. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_detection_configuration_async.py + :start-after: [START delete_anomaly_detection_config_async] + :end-before: [END delete_anomaly_detection_config_async] + :language: python + :dedent: 4 + :caption: Delete an anomaly detection configuration by its ID + """ + + await self._client.delete_anomaly_detection_configuration(detection_configuration_id, **kwargs) + + @distributed_trace_async + async def delete_data_feed(self, data_feed_id: str, **kwargs: Any) -> None: + """Delete a data feed by its ID. + + :param data_feed_id: The data feed unique id. + :type data_feed_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_data_feeds_async.py + :start-after: [START delete_data_feed_async] + :end-before: [END delete_data_feed_async] + :language: python + :dedent: 4 + :caption: Delete a data feed by its ID + """ + + await self._client.delete_data_feed(data_feed_id, **kwargs) + + @distributed_trace_async + async def delete_hook(self, hook_id: str, **kwargs: Any) -> None: + """Delete a web or email hook by its ID. + + :param hook_id: Hook unique ID. + :type hook_id: str + :return: None + :rtype: None + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_hooks_async.py + :start-after: [START delete_hook_async] + :end-before: [END delete_hook_async] + :language: python + :dedent: 4 + :caption: Delete a hook by its ID + """ + + await self._client.delete_hook(hook_id, **kwargs) + + @distributed_trace_async + async def update_data_feed( + self, data_feed: Union[str, DataFeed], + **kwargs: Any + ) -> DataFeed: + """Update a data feed. Either pass the entire DataFeed object with the chosen updates + or the ID to your data feed with updates passed via keyword arguments. If you pass both + the DataFeed object and keyword arguments, the keyword arguments will take precedence. + + :param data_feed: The data feed with updates or the data feed ID. + :type data_feed: ~azure.ai.metricsadvisor.models.DataFeed or str + :keyword str name: The name to update the data feed. + :keyword str timestamp_column: User-defined timestamp column name. + :keyword ~datetime.datetime ingestion_begin_time: Ingestion start time. + :keyword int data_source_request_concurrency: The max concurrency of data ingestion queries against + user data source. Zero (0) means no limitation. + :keyword int ingestion_retry_delay: The min retry interval for failed data ingestion tasks, in seconds. + :keyword int ingestion_start_offset: The time that the beginning of data ingestion task will delay + for every data slice according to this offset, in seconds. + :keyword int stop_retry_after: Stop retry data ingestion after the data slice first + schedule time in seconds. + :keyword str rollup_identification_value: The identification value for the row of calculated + all-up value. + :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", + "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". + :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. + :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :paramtype rollup_method: str or ~azure.ai.metricsadvisor.models.DataFeedAutoRollupMethod + :keyword fill_type: The type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :paramtype fill_type: str or ~azure.ai.metricsadvisor.models.DataSourceMissingDataPointFillType + :keyword float custom_fill_value: The value of fill missing point for anomaly detection + if "CustomValue" fill type is specified. + :keyword list[str] admins: Data feed administrators. + :keyword str data_feed_description: Data feed description. + :keyword list[str] viewers: Data feed viewer. + :keyword access_mode: Data feed access mode. Possible values include: + "Private", "Public". Default value: "Private". + :paramtype access_mode: str or ~azure.ai.metricsadvisor.models.DataFeedAccessMode + :keyword str action_link_template: action link for alert. + :keyword status: Data feed status. Possible values include: "Active", "Paused". + :paramtype status: str or ~azure.ai.metricsadvisor.models.DataFeedStatus + :keyword source: The source of the data feed for update + :paramtype source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, + ElasticsearchDataFeed] + :return: DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_data_feeds_async.py + :start-after: [START update_data_feed_async] + :end-before: [END update_data_feed_async] + :language: python + :dedent: 4 + :caption: Update an existing data feed + """ + + unset = object() + update_kwargs = {} + update_kwargs["dataFeedName"] = kwargs.pop("name", unset) + update_kwargs["dataFeedDescription"] = kwargs.pop("data_feed_description", unset) + update_kwargs["timestampColumn"] = kwargs.pop("timestamp_column", unset) + update_kwargs["dataStartFrom"] = kwargs.pop("ingestion_begin_time", unset) + update_kwargs["startOffsetInSeconds"] = kwargs.pop("ingestion_start_offset", unset) + update_kwargs["maxConcurrency"] = kwargs.pop("data_source_request_concurrency", unset) + update_kwargs["minRetryIntervalInSeconds"] = kwargs.pop("ingestion_retry_delay", unset) + update_kwargs["stopRetryAfterInSeconds"] = kwargs.pop("stop_retry_after", unset) + update_kwargs["needRollup"] = kwargs.pop("rollup_type", unset) + update_kwargs["rollUpMethod"] = kwargs.pop("rollup_method", unset) + update_kwargs["rollUpColumns"] = kwargs.pop("auto_rollup_group_by_column_names", unset) + update_kwargs["allUpIdentification"] = kwargs.pop("rollup_identification_value", unset) + update_kwargs["fillMissingPointType"] = kwargs.pop("fill_type", unset) + update_kwargs["fillMissingPointValue"] = kwargs.pop("custom_fill_value", unset) + update_kwargs["viewMode"] = kwargs.pop("access_mode", unset) + update_kwargs["admins"] = kwargs.pop("admins", unset) + update_kwargs["viewers"] = kwargs.pop("viewers", unset) + update_kwargs["status"] = kwargs.pop("status", unset) + update_kwargs["actionLinkTemplate"] = kwargs.pop("action_link_template", unset) + update_kwargs["dataSourceParameter"] = kwargs.pop("source", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + + if isinstance(data_feed, six.string_types): + data_feed_id = data_feed + data_feed_patch = construct_data_feed_dict(update) + + else: + data_feed_id = data_feed.id + data_feed_patch_type = DATA_FEED_PATCH[data_feed.source.data_source_type] + data_feed_patch = data_feed._to_generated_patch(data_feed_patch_type, update) + + await self._client.update_data_feed(data_feed_id, data_feed_patch, **kwargs) + return await self.get_data_feed(data_feed_id) + + @distributed_trace_async + async def update_anomaly_alert_configuration( + self, + alert_configuration: Union[str, AnomalyAlertConfiguration], + **kwargs: Any + ) -> AnomalyAlertConfiguration: + """Update anomaly alerting configuration. Either pass the entire AnomalyAlertConfiguration object + with the chosen updates or the ID to your alert configuration with updates passed via keyword arguments. + If you pass both the AnomalyAlertConfiguration object and keyword arguments, the keyword arguments + will take precedence. + + :param alert_configuration: AnomalyAlertConfiguration object or the ID to the alert configuration. + :type alert_configuration: str or ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :keyword str name: Name for the anomaly alert configuration. + :keyword metric_alert_configurations: Anomaly alert configurations. + :paramtype metric_alert_configurations: list[~azure.ai.metricsadvisor.models.MetricAlertConfiguration] + :keyword list[str] hook_ids: Unique hook IDs. + :keyword cross_metrics_operator: Cross metrics operator should be specified when setting up multiple metric + alert configurations. Possible values include: "AND", "OR", "XOR". + :paramtype cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator + :keyword str description: Anomaly alert configuration description. + :return: AnomalyAlertConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyAlertConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START update_anomaly_alert_config_async] + :end-before: [END update_anomaly_alert_config_async] + :language: python + :dedent: 4 + :caption: Update an existing anomaly alert configuration + """ + + unset = object() + update_kwargs = {} + update_kwargs["name"] = kwargs.pop("name", unset) + update_kwargs["hookIds"] = kwargs.pop("hook_ids", unset) + update_kwargs["crossMetricsOperator"] = kwargs.pop("cross_metrics_operator", unset) + update_kwargs["metricAlertingConfigurations"] = kwargs.pop("metric_alert_configurations", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(alert_configuration, six.string_types): + alert_configuration_id = alert_configuration + alert_configuration_patch = construct_alert_config_dict(update) + + else: + alert_configuration_id = alert_configuration.id + alert_configuration_patch = alert_configuration._to_generated_patch( + name=update.pop("name", None), + metric_alert_configurations=update.pop("metricAlertingConfigurations", None), + hook_ids=update.pop("hookIds", None), + cross_metrics_operator=update.pop("crossMetricsOperator", None), + description=update.pop("description", None), + ) + + await self._client.update_anomaly_alerting_configuration( + alert_configuration_id, + alert_configuration_patch, + **kwargs + ) + return await self.get_anomaly_alert_configuration(alert_configuration_id) + + @distributed_trace_async + async def update_metric_anomaly_detection_configuration( + self, + detection_configuration: Union[str, AnomalyDetectionConfiguration], + **kwargs: Any + ) -> AnomalyDetectionConfiguration: + """Update anomaly metric detection configuration. Either pass the entire AnomalyDetectionConfiguration object + with the chosen updates or the ID to your detection configuration with updates passed via keyword arguments. + If you pass both the AnomalyDetectionConfiguration object and keyword arguments, the keyword arguments + will take precedence. + + :param detection_configuration: AnomalyDetectionConfiguration object or the ID to the detection + configuration. + :type detection_configuration: str or ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :keyword str name: The name for the anomaly detection configuration + :keyword str metric_id: metric unique id. + :keyword whole_series_detection_condition: Required. + :paramtype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition + :keyword str description: anomaly detection configuration description. + :keyword series_group_detection_conditions: detection configuration for series group. + :paramtype series_group_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSeriesGroupDetectionCondition] + :keyword series_detection_conditions: detection configuration for specific series. + :paramtype series_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSingleSeriesDetectionCondition] + :return: AnomalyDetectionConfiguration + :rtype: ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_detection_configuration_async.py + :start-after: [START update_anomaly_detection_config_async] + :end-before: [END update_anomaly_detection_config_async] + :language: python + :dedent: 4 + :caption: Update an existing anomaly detection configuration + """ + + unset = object() + update_kwargs = {} + update_kwargs["name"] = kwargs.pop("name", unset) + update_kwargs["wholeMetricConfiguration"] = kwargs.pop("whole_series_detection_condition", unset) + update_kwargs["dimensionGroupOverrideConfigurations"] = kwargs.pop("series_group_detection_conditions", unset) + update_kwargs["seriesOverrideConfigurations"] = kwargs.pop("series_detection_conditions", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(detection_configuration, six.string_types): + detection_configuration_id = detection_configuration + detection_config_patch = construct_detection_config_dict(update) + + else: + detection_configuration_id = detection_configuration.id + detection_config_patch = detection_configuration._to_generated_patch( + name=update.pop("name", None), + description=update.pop("description", None), + whole_series_detection_condition=update.pop("wholeMetricConfiguration", None), + series_group_detection_conditions=update.pop("dimensionGroupOverrideConfigurations", None), + series_detection_conditions=update.pop("seriesOverrideConfigurations", None) + ) + + await self._client.update_anomaly_detection_configuration( + detection_configuration_id, + detection_config_patch, + **kwargs + ) + return await self.get_metric_anomaly_detection_configuration(detection_configuration_id) + + @distributed_trace_async + async def update_hook( + self, + hook: Union[str, EmailHook, WebHook], + **kwargs: Any + ) -> Union[Hook, EmailHook, WebHook]: + """Update a hook. Either pass the entire EmailHook or WebHook object with the chosen updates, or the + ID to your hook configuration with the updates passed via keyword arguments. + If you pass both the hook object and keyword arguments, the keyword arguments will take precedence. + + :param hook: An email or web hook or the ID to the hook. If an ID is passed, you must pass `hook_type`. + :type hook: Union[str, ~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook] + :keyword str hook_type: The hook type. Possible values are "Email" or "Web". Must be passed if only the + hook ID is provided. + :keyword str name: Hook unique name. + :keyword str description: Hook description. + :keyword str external_link: Hook external link. + :keyword list[str] emails_to_alert: Email TO: list. Only should be passed to update EmailHook. + :keyword str endpoint: API address, will be called when alert is triggered, only support + POST method via SSL. Only should be passed to update WebHook. + :keyword str username: basic authentication. Only should be passed to update WebHook. + :keyword str password: basic authentication. Only should be passed to update WebHook. + :keyword str certificate_key: client certificate. Only should be passed to update WebHook. + :keyword str certificate_password: client certificate password. Only should be passed to update WebHook. + :return: EmailHook or WebHook + :rtype: Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, + ~azure.ai.metricsadvisor.models.WebHook] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_hooks_async.py + :start-after: [START update_hook_async] + :end-before: [END update_hook_async] + :language: python + :dedent: 4 + :caption: Update an existing hook + """ + + unset = object() + update_kwargs = {} + hook_patch = None + hook_type = kwargs.pop("hook_type", None) + update_kwargs["hookName"] = kwargs.pop("name", unset) + update_kwargs["description"] = kwargs.pop("description", unset) + update_kwargs["externalLink"] = kwargs.pop("external_link", unset) + update_kwargs["toList"] = kwargs.pop("emails_to_alert", unset) + update_kwargs["endpoint"] = kwargs.pop('endpoint', unset) + update_kwargs["username"] = kwargs.pop('username', unset) + update_kwargs["password"] = kwargs.pop('password', unset) + update_kwargs["certificateKey"] = kwargs.pop('certificate_key', unset) + update_kwargs["certificatePassword"] = kwargs.pop('certificate_password', unset) + + update = {key: value for key, value in update_kwargs.items() if value != unset} + if isinstance(hook, six.string_types): + hook_id = hook + if hook_type is None: + raise ValueError("hook_type must be passed with a hook ID.") + + hook_patch = construct_hook_dict(update, hook_type) + + else: + hook_id = hook.id + if hook.hook_type == "Email": + hook_patch = hook._to_generated_patch( + name=update.pop("hookName", None), + description=update.pop("description", None), + external_link=update.pop("externalLink", None), + emails_to_alert=update.pop("toList", None), + ) + + elif hook.hook_type == "Webhook": + hook_patch = hook._to_generated_patch( + name=update.pop("hookName", None), + description=update.pop("description", None), + external_link=update.pop("externalLink", None), + endpoint=update.pop("endpoint", None), + password=update.pop("password", None), + username=update.pop("username", None), + certificate_key=update.pop("certificateKey", None), + certificate_password=update.pop("certificatePassword", None) + ) + + await self._client.update_hook( + hook_id, + hook_patch, + **kwargs + ) + return await self.get_hook(hook_id) + + @distributed_trace + def list_hooks( + self, + **kwargs: Any + ) -> AsyncItemPaged[Union[Hook, EmailHook, WebHook]]: + """List all hooks. + + :keyword str hook_name: filter hook by its name. + :keyword int skip: + :return: Pageable containing EmailHook and WebHook + :rtype: ~azure.core.paging.AsyncItemPaged[Union[~azure.ai.metricsadvisor.models.Hook, + ~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook]] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_hooks_async.py + :start-after: [START list_hooks_async] + :end-before: [END list_hooks_async] + :language: python + :dedent: 4 + :caption: List all the hooks under an account + """ + hook_name = kwargs.pop('hook_name', None) + skip = kwargs.pop('skip', None) + + def _convert_to_hook_type(hook): + if hook.hook_type == "Email": + return EmailHook._from_generated(hook) + return WebHook._from_generated(hook) + + return self._client.list_hooks( + hook_name=hook_name, + skip=skip, + cls=kwargs.pop("cls", lambda hooks: [_convert_to_hook_type(hook) for hook in hooks]), + **kwargs + ) + + @distributed_trace + def list_data_feeds( + self, + **kwargs: Any + ) -> AsyncItemPaged[DataFeed]: + """List all data feeds. + + :keyword str data_feed_name: filter data feed by its name. + :keyword data_source_type: filter data feed by its source type. + :paramtype data_source_type: str or ~azure.ai.metricsadvisor.models.DataSourceType + :keyword granularity_type: filter data feed by its granularity. + :paramtype granularity_type: str or ~azure.ai.metricsadvisor.models.DataFeedGranularityType + :keyword status: filter data feed by its status. + :paramtype status: str or ~azure.ai.metricsadvisor.models.DataFeedStatus + :keyword str creator: filter data feed by its creator. + :keyword int skip: + :return: Pageable of DataFeed + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeed] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_data_feeds_async.py + :start-after: [START list_data_feeds_async] + :end-before: [END list_data_feeds_async] + :language: python + :dedent: 4 + :caption: List data feeds under an account. + """ + + data_feed_name = kwargs.pop("data_feed_name", None) + data_source_type = kwargs.pop("data_source_type", None) + granularity_type = kwargs.pop("granularity_type", None) + status = kwargs.pop("status", None) + creator = kwargs.pop("creator", None) + skip = kwargs.pop("skip", None) + + return self._client.list_data_feeds( + data_feed_name=data_feed_name, + data_source_type=data_source_type, + granularity_name=granularity_type, + status=status, + creator=creator, + skip=skip, + cls=kwargs.pop("cls", lambda feeds: [DataFeed._from_generated(feed) for feed in feeds]), + **kwargs + ) + + @distributed_trace + def list_anomaly_alert_configurations( + self, + detection_configuration_id: str, + **kwargs: Any + ) -> AsyncItemPaged[AnomalyAlertConfiguration]: + """Query all anomaly alert configurations for specific anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :return: Pageable of AnomalyAlertConfiguration + :rtype: AsyncItemPaged[AnomalyAlertConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START list_anomaly_alert_configs_async] + :end-before: [END list_anomaly_alert_configs_async] + :language: python + :dedent: 4 + :caption: List all anomaly alert configurations for specific anomaly detection configuration + """ + return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + detection_configuration_id, + cls=kwargs.pop("cls", lambda confs: [ + AnomalyAlertConfiguration._from_generated(conf) for conf in confs + ]), + **kwargs + ) + + @distributed_trace + def list_metric_anomaly_detection_configurations( + self, + metric_id: str, + **kwargs: Any + ) -> AsyncItemPaged[AnomalyDetectionConfiguration]: + """Query all anomaly detection configurations for specific metric. + + :param metric_id: metric unique id. + :type metric_id: str + :return: Pageable of AnomalyDetectionConfiguration + :rtype: AsyncItemPaged[AnomalyDetectionConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_detection_configuration_async.py + :start-after: [START list_anomaly_detection_configs_async] + :end-before: [END list_anomaly_detection_configs_async] + :language: python + :dedent: 4 + :caption: List all anomaly detection configurations for a specific metric + """ + return self._client.get_anomaly_detection_configurations_by_metric( + metric_id, + cls=kwargs.pop("cls", lambda confs: [ + AnomalyDetectionConfiguration._from_generated(conf) for conf in confs + ]), + **kwargs + ) + + @distributed_trace + def list_data_feed_ingestion_status( + self, + data_feed_id, # type: str + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[DataFeedIngestionStatus] + """Get data ingestion status by data feed. + + :param str data_feed_id: The data feed unique id. + :param start_time: Required. the start point of time range to query data ingestion status. + :type start_time: ~datetime.datetime + :param end_time: Required. the end point of time range to query data ingestion status. + :type end_time: ~datetime.datetime + :keyword int skip: + :return: Pageable of DataFeedIngestionStatus + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeedIngestionStatus] + :raises ~azure.core.exceptions.HttpResponseError: + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_ingestion_async.py + :start-after: [START list_data_feed_ingestion_status_async] + :end-before: [END list_data_feed_ingestion_status_async] + :language: python + :dedent: 4 + :caption: List the data feed ingestion statuses by data feed ID + """ + + skip = kwargs.pop("skip", None) + + return self._client.get_data_feed_ingestion_status( + data_feed_id=data_feed_id, + body={ + "start_time": start_time, + "end_time": end_time + }, + skip=skip, + **kwargs + ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py new file mode 100644 index 000000000000..b7a1d672b53b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -0,0 +1,715 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import datetime + +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.pipeline import AsyncPipeline +from azure.core.pipeline.policies import ( + UserAgentPolicy, + AsyncBearerTokenCredentialPolicy, + DistributedTracingPolicy, + RequestIdPolicy, + ContentDecodePolicy, + HttpLoggingPolicy, +) +from azure.core.pipeline.transport import AioHttpTransport +from azure.core.exceptions import ClientAuthenticationError +from .._metrics_advisor_key_credential import MetricsAdvisorKeyCredential +from .._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy +from .._generated.aio._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration +from .._generated.models import ( + MetricFeedbackFilter, + DetectionSeriesQuery, + AlertingResultQuery, + DetectionAnomalyResultQuery, + AnomalyDimensionQuery, + DetectionIncidentResultQuery, + MetricDimensionQueryOptions, + MetricDataQueryOptions, + MetricSeriesQueryOptions, + EnrichmentStatusQueryOption, + TimeMode, + SeriesIdentity, + FeedbackDimensionFilter, +) +from .._generated.aio import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 +from .._helpers import convert_to_sub_feedback +from ..models._models import ( + Incident, + Anomaly, + MetricSeriesData, + Alert, + IncidentRootCause +) +from .._version import SDK_MONIKER + +if TYPE_CHECKING: + from typing import cast, List, Union, Optional, Dict + from azure.core.async_paging import AsyncItemPaged + from .._generated.models import ( + MetricFeedback, + SeriesResult, + EnrichmentStatus, + MetricSeriesItem as MetricSeriesDefinition + ) + from ..models._models import ( + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback + ) + +class MetricsAdvisorClient(object): + """Represents an client that calls restful API of Azure Metrics Advisor service. + + :param str endpoint: Url to the Azure Metrics Advisor service endpoint + :param credential: credential Used to authenticate requests to the service. + :type credential: azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + :keyword Pipeline pipeline: If omitted, the standard pipeline is used. + :keyword HttpTransport transport: If omitted, the standard pipeline is used. + :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. + + """ + def __init__(self, endpoint, credential, **kwargs): + # type: (str, MetricsAdvisorKeyCredential, dict) -> None + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Base URL must be a string.") + + if not credential: + raise ValueError("Missing credential") + + self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) + self._credential = credential + self._config.user_agent_policy = UserAgentPolicy( + sdk_moniker=SDK_MONIKER, **kwargs + ) + + pipeline = kwargs.get("pipeline") + + if pipeline is None: + aad_mode = not isinstance(credential, MetricsAdvisorKeyCredential) + pipeline = self._create_pipeline( + credential=credential, + aad_mode=aad_mode, + endpoint=endpoint, + **kwargs) + + self._client = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2( + endpoint=endpoint, pipeline=pipeline + ) + + def __repr__(self): + # type: () -> str + return "".format( + repr(self._endpoint) + )[:1024] + + async def __aenter__(self): + # type: () -> MetricsAdvisorClient + await self._client.__aenter__() # pylint:disable=no-member + return self + + async def __aexit__(self, *args): + # type: (*Any) -> None + await self._client.__aexit__(*args) # pylint:disable=no-member + + async def close(self) -> None: + """Close the :class:`~azure.ai.metricsadvisor.aio.MetricsAdvisorClient` session. + """ + await self._client.__aexit__() + + def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): + transport = kwargs.get('transport') + policies = kwargs.get('policies') + + if policies is None: # [] is a valid policy list + if aad_mode: + scope = endpoint.strip("/") + "/.default" + if hasattr(credential, "get_token"): + credential_policy = AsyncBearerTokenCredentialPolicy(credential, scope) + else: + raise TypeError("Please provide an instance from azure-identity " + "or a class that implement the 'get_token protocol") + else: + credential_policy = MetricsAdvisorKeyCredentialPolicy(credential) + policies = [ + RequestIdPolicy(**kwargs), + self._config.headers_policy, + self._config.user_agent_policy, + self._config.proxy_policy, + ContentDecodePolicy(**kwargs), + self._config.redirect_policy, + self._config.retry_policy, + credential_policy, + self._config.logging_policy, # HTTP request/response log + DistributedTracingPolicy(**kwargs), + self._config.http_logging_policy or HttpLoggingPolicy(**kwargs) + ] + + if not transport: + transport = AioHttpTransport(**kwargs) + + return AsyncPipeline(transport, policies) + + @distributed_trace_async + async def add_feedback(self, feedback, **kwargs): + # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], dict) -> None + + """Create a new metric feedback. + + :param feedback: metric feedback. + :type feedback: ~azure.ai.metriscadvisor.models.AnomalyFeedback or + ~azure.ai.metriscadvisor.models.ChangePointFeedback or + ~azure.ai.metriscadvisor.models.CommentFeedback or + ~azure.ai.metriscadvisor.models.PeriodFeedback. + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_feedback_async.py + :start-after: [START add_feedback_async] + :end-before: [END add_feedback_async] + :language: python + :dedent: 4 + :caption: Add new feedback. + """ + error_map = { + 401: ClientAuthenticationError + } + + return await self._client.create_metric_feedback( + body=feedback._to_generated(), + error_map=error_map, + **kwargs) + + @distributed_trace_async + async def get_feedback(self, feedback_id, **kwargs): + # type: (str, dict) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] + + """Get a metric feedback by its id. + + :param str feedback_id: the id of the feedback. + :return: The feedback object + :rtype: ~azure.ai.metriscadvisor.models.AnomalyFeedback or + ~azure.ai.metriscadvisor.models.ChangePointFeedback or + ~azure.ai.metriscadvisor.models.CommentFeedback or + ~azure.ai.metriscadvisor.models.PeriodFeedback. + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_feedback_async.py + :start-after: [START get_feedback_async] + :end-before: [END get_feedback_async] + :language: python + :dedent: 4 + :caption: Get a metric feedback by its id. + """ + error_map = { + 401: ClientAuthenticationError + } + + feedback = await self._client.get_metric_feedback( + feedback_id=feedback_id, + error_map=error_map, + **kwargs) + + return convert_to_sub_feedback(feedback) + + @distributed_trace + def list_feedbacks(self, metric_id, **kwargs): + # type: (str, dict) -> AsyncItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + + """List feedback on the given metric. + + :param str metric_id: filter feedbacks by metric id + :keyword int skip: + :keyword dimension_key: filter specfic dimension name and values + :paramtype dimension_key: dict[str, str] + :keyword feedback_type: filter feedbacks by type. Possible values include: "Anomaly", + "ChangePoint", "Period", "Comment". + :paramtype feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :keyword ~datetime.datetime start_time: start time filter under chosen time mode. + :keyword ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword time_mode: time mode to filter feedback. Possible values include: "MetricTimestamp", + "FeedbackCreatedTime". + :paramtype time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode + :return: Pageable list of MetricFeedback + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricFeedback] + :raises: ~azure.core.exceptions.HttpResponseError + + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_feedback_async.py + :start-after: [START list_feedback_async] + :end-before: [END list_feedback_async] + :language: python + :dedent: 4 + :caption: List feedback on the given metric. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = None + dimension_key = kwargs.pop('dimension_key', None) + if dimension_key: + dimension_filter = FeedbackDimensionFilter(dimension=dimension_key) + feedback_type = kwargs.pop('feedback_type', None) + start_time = kwargs.pop('start_time', None) + end_time = kwargs.pop('end_time', None) + time_mode = kwargs.pop('time_mode', None) + feedback_filter = MetricFeedbackFilter( + metric_id=metric_id, + dimension_filter=dimension_filter, + feedback_type=feedback_type, + start_time=start_time, + end_time=end_time, + time_mode=time_mode, + ) + + return self._client.list_metric_feedbacks( + skip=skip, + body=feedback_filter, + cls=kwargs.pop("cls", lambda result: [ + convert_to_sub_feedback(x) for x in result + ]), + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incident_root_causes(self, detection_configuration_id, incident_id, **kwargs): + # type: (str, str, dict) -> AsyncItemPaged[IncidentRootCause] + + """Query root cause for incident. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param incident_id: incident id. + :type incident_id: str + :return: Pageable of root cause for incident + :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + incident_id=incident_id, + error_map=error_map, + cls=kwargs.pop("cls", lambda result: [ + IncidentRootCause._from_generated(x) for x in result + ]), + **kwargs + ) + + @distributed_trace + def list_metric_enriched_series_data(self, detection_configuration_id, series, start_time, end_time, **kwargs): + # type: (str, Union[List[SeriesIdentity], List[Dict[str, str]]], datetime, datetime, dict) -> AsyncItemPaged[SeriesResult] + """Query series enriched by anomaly detection. + + :param str detection_configuration_id: anomaly alerting configuration unique id. + :param series: List of dimensions specified for series. + :type series: ~azure.ai.metricsadvisor.models.SeriesIdentity or list[dict[str, str]] + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :return: Pageable of SeriesResult + :rtype: AsyncItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + detection_series_query = DetectionSeriesQuery( + start_time=start_time, + end_time=end_time, + series=[ + SeriesIdentity(dimension=dimension) + for dimension in series + if isinstance(dimension, dict) + ] or series, + ) + + return self._client.get_series_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + body=detection_series_query, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time, end_time, time_mode, **kwargs): + # type: (str, datetime, datetime, Union[str, TimeMode], dict) -> AsyncItemPaged[Alert] + """Query alerts under anomaly alert configuration. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :param ~datetime.datetime start_time: start time. + :param ~datetime.datetime end_time: end time. + :param time_mode: time mode. Possible values include: "AnomalyTime", "CreatedTime", + "ModifiedTime". + :type time_mode: str or ~azure.ai.metricsadvisor.models.TimeMode + :keyword int skip: + :return: Alerts under anomaly alert configuration. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Alert] + :raises: ~azure.core.exceptions.HttpResponseError + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START list_alerts_for_alert_config_async] + :end-before: [END list_alerts_for_alert_config_async] + :language: python + :dedent: 4 + :caption: Query anomaly detection results. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + alerting_result_query = AlertingResultQuery( + start_time=start_time, + end_time=end_time, + time_mode=time_mode, + ) + + return self._client.get_alerts_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + skip=skip, + body=alerting_result_query, + error_map=error_map, + cls=kwargs.pop("cls", lambda alerts: [Alert._from_generated(alert) for alert in alerts]), + **kwargs) + + @distributed_trace + def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): + # type: (str, str, dict) -> AsyncItemPaged[Anomaly] + + """Query anomalies under a specific alert. + + :param alert_configuration_id: anomaly alert configuration unique id. + :type alert_configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :keyword int skip: + :return: Anomalies under a specific alert. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises: ~azure.core.exceptions.HttpResponseError + .. admonition:: Example: + + .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py + :start-after: [START list_anomalies_for_alert_async] + :end-before: [END list_anomalies_for_alert_async] + :language: python + :dedent: 4 + :caption: Query anomalies using alert id. + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + alert_id=alert_id, + skip=skip, + cls=lambda objs: [Anomaly._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_anomalies_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> AsyncItemPaged[Anomaly] + + """Query anomalies under anomaly detection configuration. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :keyword filter: + :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition + :return: Anomalies under anomaly detection configuration. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + filter = kwargs.pop('filter', None) + detection_anomaly_result_query = DetectionAnomalyResultQuery( + start_time=start_time, + end_time=end_time, + filter=filter, + ) + + return self._client.get_anomalies_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + skip=skip, + body=detection_anomaly_result_query, + cls=lambda objs: [Anomaly._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_dimension_values_for_detection_configuration( + self, detection_configuration_id, + dimension_name, + start_time, + end_time, + **kwargs + ): + # type: (str, str, datetime, datetime, dict) -> AsyncItemPaged[str] + + """Query dimension values of anomalies. + + :param detection_configuration_id: anomaly detection configuration unique id. + :type detection_configuration_id: str + :param str dimension_name: dimension to query. + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :keyword dimension_name: str + :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :return: Dimension values of anomalies. + :rtype: ~azure.core.paging.AsyncItemPaged[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = kwargs.pop('dimension_filter', None) + anomaly_dimension_query = AnomalyDimensionQuery( + start_time=start_time, + end_time=end_time, + dimension_name=dimension_name, + dimension_filter=dimension_filter, + ) + + return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + skip=skip, + body=anomaly_dimension_query, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): + # type: (str, str, dict) -> AsyncItemPaged[Incident] + + """Query incidents under a specific alert. + + :param alert_configuration_id: anomaly alerting configuration unique id. + :type alert_configuration_id: str + :param alert_id: alert id. + :type alert_id: str + :keyword int skip: + :return: Incidents under a specific alert. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + + return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( + configuration_id=alert_configuration_id, + alert_id=alert_id, + skip=skip, + cls=lambda objs: [Incident._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_incidents_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> AsyncItemPaged[Incident] + + """Query incidents under a specific alert. + + :param detection_configuration_id: anomaly alerting configuration unique id. + :type detection_configuration_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword filter: + :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition + :return: Incidents under a specific alert. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + filter = kwargs.pop('filter', None) + + detection_incident_result_query = DetectionIncidentResultQuery( + start_time=start_time, + end_time=end_time, + filter=filter, + ) + + return self._client.get_incidents_by_anomaly_detection_configuration( + configuration_id=detection_configuration_id, + body=detection_incident_result_query, + cls=lambda objs: [Incident._from_generated(x) for x in objs], + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): + # type: (str, str, dict) -> AsyncItemPaged[str] + + """List dimension from certain metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param dimension_name: the dimension name + :type dimension_name: str + :keyword int skip: + :keyword dimension_value_filter: dimension value to be filtered. + :paramtype dimension_value_filter: str + :return: Dimension from certain metric. + :rtype: ~azure.core.paging.AsyncItemPaged[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_value_filter = kwargs.pop('dimension_value_filter', None) + + metric_dimension_query_options = MetricDimensionQueryOptions( + dimension_name=dimension_name, + dimension_value_filter=dimension_value_filter, + ) + + return self._client.get_metric_dimension( + metric_id=metric_id, + body=metric_dimension_query_options, + skip=skip, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kwargs): + # type: (str, List[Dict[str, str]], datetime, datetime, dict) -> AsyncItemPaged[MetricSeriesData] + + """Get time series data from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :param filter: query specific series. + :type filter: list[dict[str, str]] + :return: Time series data from metric. + :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + metric_data_query_options = MetricDataQueryOptions( + start_time=start_time, + end_time=end_time, + series=filter, + ) + + return self._client.get_metric_data( + metric_id=metric_id, + body=metric_data_query_options, + error_map=error_map, + cls=kwargs.pop("cls", lambda result: [MetricSeriesData._from_generated(series) for series in result]), + **kwargs) + + @distributed_trace + def list_metric_series_definitions(self, metric_id, active_since, **kwargs): + # type: (str, datetime, dict) -> AsyncItemPaged[MetricSeriesDefinition] + + """List series (dimension combinations) from metric. + + :param metric_id: metric unique id. + :type metric_id: str + :param active_since: Required. query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :type active_since: ~datetime.datetime + :keyword int skip: + :keyword ~datetime.datetime active_since: query series ingested after this time, the format should be + yyyy-MM-ddTHH:mm:ssZ. + :keyword dimension_filter: filter specfic dimension name and values. + :paramtype dimension_filter: dict[str, list[str]] + :return: Series (dimension combinations) from metric. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + dimension_filter = kwargs.pop('dimension_filter', None) + + metric_series_query_options = MetricSeriesQueryOptions( + active_since=active_since, + dimension_filter=dimension_filter, + ) + + return self._client.get_metric_series( + metric_id=metric_id, + body=metric_series_query_options, + skip=skip, + error_map=error_map, + **kwargs) + + @distributed_trace + def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwargs): + # type: (str, datetime, datetime, dict) -> AsyncItemPaged[EnrichmentStatus] + + """Query anomaly detection status. + + :param metric_id: filter feedbacks by metric id. + :type metric_id: str + :param ~datetime.datetime start_time: start time filter under chosen time mode. + :param ~datetime.datetime end_time: end time filter under chosen time mode. + :keyword int skip: + :return: Anomaly detection status. + :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError + } + + skip = kwargs.pop('skip', None) + enrichment_status_query_option = EnrichmentStatusQueryOption( + start_time=start_time, + end_time=end_time, + ) + + return self._client.get_enrichment_status_by_metric( + metric_id=metric_id, + skip=skip, + body=enrichment_status_query_option, + error_map=error_map, + **kwargs) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py new file mode 100644 index 000000000000..aceb8f41259d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py @@ -0,0 +1,199 @@ +# -------------------------------------------------------------------------- +# +# 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 .._generated.models._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums import ( + SnoozeScope, + Severity, + DataSourceType, + ViewMode as DataFeedAccessMode, + DataFeedDetailRollUpMethod as DataFeedAutoRollupMethod, + FillMissingPointType as DataSourceMissingDataPointFillType, + AnomalyDetectorDirection, + IncidentPropertyIncidentStatus, + Granularity as DataFeedGranularityType, + DataFeedDetailStatus as DataFeedStatus, + AnomalyValue, + ChangePointValue, + PeriodType, +) + +from .._generated.models import ( + FeedbackQueryTimeMode, + RootCause, + SeriesResult, + DetectionAnomalyFilterCondition, + DimensionGroupIdentity, + DetectionIncidentFilterCondition, + AnomalyDetectionConfiguration, + DimensionGroupConfiguration, + SeriesConfiguration, + EnrichmentStatus, + MetricSeriesItem as MetricSeriesDefinition, + IngestionStatus as DataFeedIngestionStatus, + SeriesIdentity +) + +from ._models import ( + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback, + MetricAnomalyAlertConfigurationsOperator, + DataFeedGranularity, + DataFeedIngestionSettings, + DataFeedOptions, + DataFeedMissingDataPointFillSettings, + DataFeedRollupSettings, + DataFeedSchema, + DataFeed, + MetricAnomalyAlertScope, + MetricAlertConfiguration, + AzureApplicationInsightsDataFeed, + AzureBlobDataFeed, + AzureCosmosDBDataFeed, + AzureTableDataFeed, + HttpRequestDataFeed, + InfluxDBDataFeed, + SQLServerDataFeed, + MongoDBDataFeed, + MySqlDataFeed, + PostgreSqlDataFeed, + AzureDataExplorerDataFeed, + AnomalyAlertConfiguration, + Hook, + EmailHook, + WebHook, + TopNGroupScope, + SeverityCondition, + MetricAnomalyAlertSnoozeCondition, + MetricBoundaryCondition, + MetricDetectionCondition, + MetricSeriesGroupDetectionCondition, + SmartDetectionCondition, + HardThresholdCondition, + SuppressCondition, + ChangeThresholdCondition, + MetricSingleSeriesDetectionCondition, + Dimension, + Metric, + DataFeedIngestionProgress, + DetectionConditionsOperator, + AnomalyDetectionConfiguration, + MetricAnomalyAlertConditions, + Incident, + Anomaly, + MetricSeriesData, + Alert, + AzureDataLakeStorageGen2DataFeed, + ElasticsearchDataFeed, + MetricAnomalyAlertScopeType, + DataFeedRollupType +) + + +__all__ = ( + "AnomalyFeedback", + "ChangePointFeedback", + "CommentFeedback", + "PeriodFeedback", + "FeedbackQueryTimeMode", + "RootCause", + "SeriesResult", + "AnomalyAlertConfiguration", + "DetectionAnomalyFilterCondition", + "DimensionGroupIdentity", + "Incident", + "DetectionIncidentFilterCondition", + "AnomalyDetectionConfiguration", + "DimensionGroupConfiguration", + "SeriesConfiguration", + "MetricAnomalyAlertConfigurationsOperator", + "DataFeedStatus", + "DataFeedGranularity", + "DataFeedIngestionSettings", + "DataFeedOptions", + "DataFeedMissingDataPointFillSettings", + "DataFeedRollupSettings", + "DataFeedSchema", + "Dimension", + "Metric", + "DataFeed", + "TopNGroupScope", + "MetricAnomalyAlertScope", + "MetricAlertConfiguration", + "SnoozeScope", + "Severity", + "MetricAnomalyAlertSnoozeCondition", + "MetricBoundaryCondition", + "AzureApplicationInsightsDataFeed", + "AzureBlobDataFeed", + "AzureCosmosDBDataFeed", + "AzureTableDataFeed", + "HttpRequestDataFeed", + "InfluxDBDataFeed", + "SQLServerDataFeed", + "MongoDBDataFeed", + "MySqlDataFeed", + "PostgreSqlDataFeed", + "AzureDataExplorerDataFeed", + "MetricDetectionCondition", + "MetricSeriesGroupDetectionCondition", + "MetricSingleSeriesDetectionCondition", + "SeverityCondition", + "DataSourceType", + "MetricAnomalyAlertScopeType", + "AnomalyDetectorDirection", + "Hook", + "EmailHook", + "WebHook", + "DataFeedIngestionProgress", + "DetectionConditionsOperator", + "AnomalyDetectionConfiguration", + "MetricAnomalyAlertConditions", + "EnrichmentStatus", + "DataFeedGranularityType", + "Anomaly", + "IncidentPropertyIncidentStatus", + "MetricSeriesData", + "MetricSeriesDefinition", + "Alert", + "DataFeedAccessMode", + "DataFeedRollupType", + "DataFeedAutoRollupMethod", + "DataSourceMissingDataPointFillType", + "DataFeedIngestionStatus", + "SmartDetectionCondition", + "SuppressCondition", + "ChangeThresholdCondition", + "HardThresholdCondition", + "SeriesIdentity", + "DataFeedIngestionStatus", + "AzureDataLakeStorageGen2DataFeed", + "ElasticsearchDataFeed", + "AnomalyValue", + "ChangePointValue", + "PeriodType", +) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py new file mode 100644 index 000000000000..9f5126f5fb47 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -0,0 +1,2470 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import datetime +import msrest +from typing import ( + Any, + Union, + List, + Dict, + TYPE_CHECKING +) +from enum import Enum + +from .._generated.models import ( + MetricAlertingConfiguration as _MetricAlertingConfiguration, + SeverityCondition as _SeverityCondition, + TopNGroupScope as _TopNGroupScope, + AlertSnoozeCondition as _AlertSnoozeCondition, + ValueCondition as _ValueCondition, + EmailHookInfo as _EmailHookInfo, + WebhookHookInfo as _WebhookHookInfo, + WholeMetricConfiguration as _WholeMetricConfiguration, + SuppressCondition as _SuppressCondition, + HardThresholdCondition as _HardThresholdCondition, + ChangeThresholdCondition as _ChangeThresholdCondition, + SmartDetectionCondition as _SmartDetectionCondition, + DimensionGroupConfiguration as _DimensionGroupConfiguration, + SeriesConfiguration as _SeriesConfiguration, + EmailHookInfoPatch as _EmailHookInfoPatch, + WebhookHookInfoPatch as _WebhookHookInfoPatch, + Dimension as _Dimension, + Metric as _Metric, + AnomalyFeedback as _AnomalyFeedback, + FeedbackDimensionFilter, + AnomalyFeedbackValue, + ChangePointFeedback as _ChangePointFeedback, + ChangePointFeedbackValue, + CommentFeedback as _CommentFeedback, + CommentFeedbackValue, + PeriodFeedback as _PeriodFeedback, + PeriodFeedbackValue, + EmailHookParameter as _EmailHookParameter, + WebhookHookParameter as _WebhookHookParameter, + AzureBlobParameter as _AzureBlobParameter, + SqlSourceParameter as _SqlSourceParameter, + AzureApplicationInsightsParameter as _AzureApplicationInsightsParameter, + AzureCosmosDBParameter as _AzureCosmosDBParameter, + AzureTableParameter as _AzureTableParameter, + HttpRequestParameter as _HttpRequestParameter, + InfluxDBParameter as _InfluxDBParameter, + MongoDBParameter as _MongoDBParameter, + AzureDataLakeStorageGen2Parameter as _AzureDataLakeStorageGen2Parameter, + ElasticsearchParameter as _ElasticsearchParameter, + DimensionGroupIdentity as _DimensionGroupIdentity, + SeriesIdentity as _SeriesIdentity, + AnomalyAlertingConfigurationPatch as _AnomalyAlertingConfigurationPatch, + AnomalyDetectionConfigurationPatch as _AnomalyDetectionConfigurationPatch +) + +if TYPE_CHECKING: + from . import ( + Severity, + SnoozeScope, + AnomalyDetectorDirection, + DataFeedGranularityType + ) + from .._generated.models import ( + AnomalyResult, + IncidentResult, + RootCause, + ) + + +class MetricAnomalyAlertScopeType(str, Enum): + """Anomaly scope + """ + + WHOLE_SERIES = "WholeSeries" + SERIES_GROUP = "SeriesGroup" + TOP_N = "TopN" + + @classmethod + def _to_generated(cls, alert): + try: + alert = alert.value + except AttributeError: + pass + if alert == "WholeSeries": + return "All" + if alert == "SeriesGroup": + return "Dimension" + return alert + + @classmethod + def _from_generated(cls, alert): + try: + alert = alert.value + except AttributeError: + pass + if alert == "All": + return "WholeSeries" + if alert == "Dimension": + return "SeriesGroup" + return alert + + +class DataFeedRollupType(str, Enum): + """Data feed rollup type + """ + + NO_ROLLUP = "NoRollup" + AUTO_ROLLUP = "AutoRollup" + ALREADY_ROLLUP = "AlreadyRollup" + + @classmethod + def _to_generated(cls, rollup): + try: + rollup = rollup.value + except AttributeError: + pass + if rollup == "AutoRollup": + return "NeedRollup" + return rollup + + @classmethod + def _from_generated(cls, rollup): + try: + rollup = rollup.value + except AttributeError: + pass + if rollup == "NeedRollup": + return "AutoRollup" + return rollup + + +class MetricAnomalyAlertConfigurationsOperator(str, Enum): + """Cross metrics operator + """ + + AND = "AND" + OR = "OR" + XOR = "XOR" + + +class DetectionConditionsOperator(str, Enum): + + AND = "AND" + OR = "OR" + + +class DataFeedGranularity(object): + """Data feed granularity + + :param granularity_type: Granularity of the time series. Possible values include: + "Yearly", "Monthly", "Weekly", "Daily", "Hourly", "Minutely", "Secondly", "Custom". + :type granularity_type: str or ~azure.ai.metricsadvisor.models.DataFeedGranularityType + :keyword int custom_granularity_value: Must be populated if granularity_type is "Custom". + """ + + def __init__(self, granularity_type, **kwargs): + # type: (Union[str, DataFeedGranularityType], Any) -> None + self.granularity_type = granularity_type + self.custom_granularity_value = kwargs.get('custom_granularity_value', None) + + @classmethod + def _from_generated(cls, granularity_name, granularity_amount): + return cls( + granularity_type=granularity_name, + custom_granularity_value=granularity_amount + ) + + +class DataFeedIngestionSettings(object): + """Data feed ingestion settings. + + :param ~datetime.datetime ingestion_begin_time: Ingestion start time. + :keyword int data_source_request_concurrency: The max concurrency of data ingestion queries against + user data source. Zero (0) means no limitation. + :keyword int ingestion_retry_delay: The min retry interval for failed data ingestion tasks, in seconds. + :keyword int ingestion_start_offset: The time that the beginning of data ingestion task will delay + for every data slice according to this offset, in seconds. + :keyword int stop_retry_after: Stop retry data ingestion after the data slice first + schedule time in seconds. + """ + def __init__(self, ingestion_begin_time, **kwargs): + # type: (datetime.datetime, Any) -> None + self.ingestion_begin_time = ingestion_begin_time + self.ingestion_start_offset = kwargs.get('ingestion_start_offset', 0) + self.data_source_request_concurrency = kwargs.get('data_source_request_concurrency', -1) + self.ingestion_retry_delay = kwargs.get('ingestion_retry_delay', -1) + self.stop_retry_after = kwargs.get('stop_retry_after', -1) + + +class DataFeedOptions(object): + """Data feed options. + + :keyword list[str] admins: Data feed administrators. + :keyword str data_feed_description: Data feed description. + :keyword missing_data_point_fill_settings: The fill missing point type and value. + :paramtype missing_data_point_fill_settings: + ~azure.ai.metricsadvisor.models.DataFeedMissingDataPointFillSettings + :keyword rollup_settings: The rollup settings. + :paramtype rollup_settings: + ~azure.ai.metricsadvisor.models.DataFeedRollupSettings + :keyword list[str] viewers: Data feed viewer. + :keyword access_mode: Data feed access mode. Possible values include: + "Private", "Public". Default value: "Private". + :paramtype access_mode: str or ~azure.ai.metricsadvisor.models.DataFeedAccessMode + :keyword str action_link_template: action link for alert. + """ + def __init__(self, **kwargs): + self.admins = kwargs.get('admins', None) + self.data_feed_description = kwargs.get('data_feed_description', None) + self.missing_data_point_fill_settings = kwargs.get('missing_data_point_fill_settings', None) + self.rollup_settings = kwargs.get('rollup_settings', None) + self.viewers = kwargs.get('viewers', None) + self.access_mode = kwargs.get('access_mode', "Private") + self.action_link_template = kwargs.get('action_link_template', None) + + +class DataFeedMissingDataPointFillSettings(object): + """Data feed missing data point fill settings + + :keyword fill_type: The type of fill missing point for anomaly detection. Possible + values include: "SmartFilling", "PreviousValue", "CustomValue", "NoFilling". Default value: + "SmartFilling". + :paramtype fill_type: str or ~azure.ai.metricsadvisor.models.DataSourceMissingDataPointFillType + :keyword float custom_fill_value: The value of fill missing point for anomaly detection + if "CustomValue" fill type is specified. + """ + + def __init__(self, **kwargs): + self.fill_type = kwargs.get('fill_type', "SmartFilling") + self.custom_fill_value = kwargs.get('custom_fill_value', None) + + +class DataFeedRollupSettings(object): + """Data feed rollup settings + + :keyword str rollup_identification_value: The identification value for the row of calculated all-up value. + :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", + "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". + :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. + :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", + "Avg", "Count". + :paramtype rollup_method: str or ~azure.ai.metricsadvisor.models.DataFeedAutoRollupMethod + """ + def __init__(self, **kwargs): + self.rollup_identification_value = kwargs.get('rollup_identification_value', None) + self.rollup_type = kwargs.get('rollup_type', "AutoRollup") + self.auto_rollup_group_by_column_names = kwargs.get('auto_rollup_group_by_column_names', None) + self.rollup_method = kwargs.get('rollup_method', None) + + +class DataFeedSchema(object): + """Data feed schema + + :param metrics: List of metrics. + :type metrics: list[~azure.ai.metricsadvisor.models.Metric] + :keyword dimensions: List of dimension. + :paramtype dimensions: list[~azure.ai.metricsadvisor.models.Dimension] + :keyword str timestamp_column: User-defined timestamp column. + If timestamp_column is None, start time of every time slice will be used as default value. + """ + def __init__(self, metrics, **kwargs): + # type: (List[Metric], Any) -> None + self.metrics = metrics + self.dimensions = kwargs.get('dimensions', None) + self.timestamp_column = kwargs.get('timestamp_column', None) + + +class DataFeed(object): + """Represents a data feed. + + :ivar ~datetime.datetime created_time: Data feed created time. + :ivar granularity: Granularity of the time series. + :vartype granularity: ~azure.ai.metricsadvisor.models.DataFeedGranularity + :ivar str id: Data feed unique id. + :ivar ingestion_settings: Data feed ingestion settings. + :vartype ingestion_settings: ~azure.ai.metricsadvisor.models.DataFeedIngestionSettings + :ivar bool is_admin: Whether the query user is one of data feed administrators or not. + :ivar list[str] metric_ids: List of metric ids + :ivar str name: Data feed name. + :ivar options: Data feed options + :vartype options: ~azure.ai.metricsadvisor.models.DataFeedOptions + :ivar schema: Data feed schema + :vartype schema: ~azure.ai.metricsadvisor.models.DataFeedSchema + :ivar source: Data feed source. + :vartype source: Union[AzureApplicationInsightsDataFeed, AzureBlobDataFeed, AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed, AzureDataLakeStorageGen2DataFeed, AzureTableDataFeed, HttpRequestDataFeed, + InfluxDBDataFeed, MySqlDataFeed, PostgreSqlDataFeed, SQLServerDataFeed, MongoDBDataFeed, ElasticsearchDataFeed] + :ivar status: Data feed status. Possible values include: "Active", "Paused". + Default value: "Active". + :vartype status: str or ~azure.ai.metricsadvisor.models.DataFeedStatus + """ + def __init__(self, **kwargs): + self.created_time = kwargs.get('created_time', None) + self.granularity = kwargs.get('granularity', None) + self.id = kwargs.get('id', None) + self.ingestion_settings = kwargs.get('ingestion_settings', None) + self.is_admin = kwargs.get('is_admin', None) + self.metric_ids = kwargs.get('metric_ids', None) + self.name = kwargs.get('name', None) + self.options = kwargs.get('options', None) + self.schema = kwargs.get('schema', None) + self.source = kwargs.get('source', None) + self.status = kwargs.get('status', None) + + @classmethod + def _from_generated(cls, data_feed): + return cls( + created_time=data_feed.created_time, + granularity=DataFeedGranularity._from_generated(data_feed.granularity_name, data_feed.granularity_amount), + id=data_feed.data_feed_id, + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=data_feed.data_start_from, + data_source_request_concurrency=data_feed.max_concurrency, + ingestion_retry_delay=data_feed.min_retry_interval_in_seconds, + ingestion_start_offset=data_feed.start_offset_in_seconds, + stop_retry_after=data_feed.stop_retry_after_in_seconds + ), + is_admin=data_feed.is_admin, + metric_ids=[metric.metric_id for metric in data_feed.metrics], + name=data_feed.data_feed_name, + options=DataFeedOptions( + admins=data_feed.admins, + data_feed_description=data_feed.data_feed_description, + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type=data_feed.fill_missing_point_type, + custom_fill_value=data_feed.fill_missing_point_value + ), + rollup_settings=DataFeedRollupSettings( + rollup_identification_value=data_feed.all_up_identification, + rollup_type=DataFeedRollupType._from_generated(data_feed.need_rollup), + auto_rollup_group_by_column_names=data_feed.roll_up_columns, + rollup_method=data_feed.roll_up_method + ), + viewers=data_feed.viewers, + access_mode=data_feed.view_mode, + action_link_template=data_feed.action_link_template + ), + schema=DataFeedSchema( + dimensions=[Dimension._from_generated(dim) for dim in data_feed.dimension], + metrics=[Metric._from_generated(metric) for metric in data_feed.metrics], + timestamp_column=data_feed.timestamp_column + ), + source=DATA_FEED_TRANSFORM[data_feed.data_source_type]._from_generated(data_feed.data_source_parameter), + status=data_feed.status, + ) + + def _to_generated_patch(self, data_source_feed_type, kwargs): + source_param = kwargs.pop("dataSourceParameter", None) + if source_param: + source_param = source_param._to_generated_patch() + + rollup_type = kwargs.pop("needRollup", None) + if rollup_type: + DataFeedRollupType._to_generated(rollup_type) + return data_source_feed_type( + data_feed_name=kwargs.pop("dataFeedName", None) or self.name, + data_source_parameter=source_param if source_param else self.source._to_generated_patch(), + timestamp_column=kwargs.pop("timestampColumn", None) or self.schema.timestamp_column, + data_start_from=kwargs.pop("dataStartFrom", None) or self.ingestion_settings.ingestion_begin_time, + max_concurrency=kwargs.pop("maxConcurrency", None) + or self.ingestion_settings.data_source_request_concurrency, + min_retry_interval_in_seconds=kwargs.pop("minRetryIntervalInSeconds", None) + or self.ingestion_settings.ingestion_retry_delay, + start_offset_in_seconds=kwargs.pop("startOffsetInSeconds", None) + or self.ingestion_settings.ingestion_start_offset, + stop_retry_after_in_seconds=kwargs.pop("stopRetryAfterInSeconds", None) + or self.ingestion_settings.stop_retry_after, + data_feed_description=kwargs.pop("dataFeedDescription", None) + or self.options.data_feed_description if self.options else None, + need_rollup=rollup_type + or DataFeedRollupType._to_generated(self.options.rollup_settings.rollup_type) + if self.options and self.options.rollup_settings else None, + roll_up_method=kwargs.pop("rollUpMethod", None) + or self.options.rollup_settings.rollup_method + if self.options and self.options.rollup_settings else None, + roll_up_columns=kwargs.pop("rollUpColumns", None) + or self.options.rollup_settings.auto_rollup_group_by_column_names + if self.options and self.options.rollup_settings else None, + all_up_identification=kwargs.pop("allUpIdentification", None) + or self.options.rollup_settings.rollup_identification_value + if self.options and self.options.rollup_settings else None, + fill_missing_point_type=kwargs.pop("fillMissingPointType", None) + or self.options.missing_data_point_fill_settings.fill_type + if self.options and self.options.missing_data_point_fill_settings else None, + fill_missing_point_value=kwargs.pop("fillMissingPointValue", None) + or self.options.missing_data_point_fill_settings.custom_fill_value + if self.options and self.options.missing_data_point_fill_settings else None, + viewers=kwargs.pop("viewers", None) + or self.options.viewers if self.options else None, + view_mode=kwargs.pop("viewMode", None) + or self.options.access_mode if self.options else None, + admins=kwargs.pop("admins", None) + or self.options.admins if self.options else None, + status=kwargs.pop("status", None) or self.status, + action_link_template=kwargs.pop("actionLinkTemplate", None) + or self.options.action_link_template if self.options else None + ) + + +class MetricAnomalyAlertScope(object): + """MetricAnomalyAlertScope + + :param scope_type: Required. Anomaly scope. Possible values include: "WholeSeries", + "SeriesGroup", "TopN". + :type scope_type: str or ~azure.ai.metricsadvisor.models.MetricAnomalyAlertScopeType + :keyword series_group_in_scope: Dimension specified for series group. + :paramtype series_group_in_scope: dict[str, str] + :keyword top_n_group_in_scope: + :paramtype top_n_group_in_scope: ~azure.ai.metricsadvisor.models.TopNGroupScope + """ + def __init__(self, scope_type, **kwargs): + # type: (Union[str, MetricAnomalyAlertScopeType], Any) -> None + self.scope_type = scope_type + self.series_group_in_scope = kwargs.get("series_group_in_scope", None) + self.top_n_group_in_scope = kwargs.get("top_n_group_in_scope", None) + + @classmethod + def _from_generated(cls, config): + return cls( + scope_type=MetricAnomalyAlertScopeType._from_generated(config.anomaly_scope_type), + series_group_in_scope=config.dimension_anomaly_scope.dimension + if config.dimension_anomaly_scope else None, + top_n_group_in_scope=TopNGroupScope( + top=config.top_n_anomaly_scope.top, + period=config.top_n_anomaly_scope.period, + min_top_count=config.top_n_anomaly_scope.min_top_count + ) if config.top_n_anomaly_scope else None + ) + + +class TopNGroupScope(object): + """TopNGroupScope. + + :param top: Required. top N, value range : [1, +∞). + :type top: int + :param period: Required. point count used to look back, value range : [1, +∞). + :type period: int + :param min_top_count: Required. min count should be in top N, value range : [1, +∞) + should be less than or equal to period. + :type min_top_count: int + """ + + def __init__(self, top, period, min_top_count, **kwargs): + # type: (int, int, int, Any) -> None + self.top = top + self.period = period + self.min_top_count = min_top_count + + +class SeverityCondition(object): + """SeverityCondition. + + :param min_alert_severity: Required. min alert severity. Possible values include: "Low", + "Medium", "High". + :type min_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + :param max_alert_severity: Required. max alert severity. Possible values include: "Low", + "Medium", "High". + :type max_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity + """ + + def __init__(self, min_alert_severity, max_alert_severity, **kwargs): + # type: (Union[str, Severity], Union[str, Severity], Any) -> None + self.min_alert_severity = min_alert_severity + self.max_alert_severity = max_alert_severity + + +class MetricAnomalyAlertSnoozeCondition(object): + """MetricAnomalyAlertSnoozeCondition. + + :param auto_snooze: Required. snooze point count, value range : [0, +∞). + :type auto_snooze: int + :param snooze_scope: Required. snooze scope. Possible values include: "Metric", "Series". + :type snooze_scope: str or ~azure.ai.metricsadvisor.models.SnoozeScope + :param only_for_successive: Required. only snooze for successive anomalies. + :type only_for_successive: bool + """ + + def __init__(self, auto_snooze, snooze_scope, only_for_successive, **kwargs): + # type: (int, Union[str, SnoozeScope], bool, Any) -> None + self.auto_snooze = auto_snooze + self.snooze_scope = snooze_scope + self.only_for_successive = only_for_successive + + +class MetricAnomalyAlertConditions(object): + """MetricAnomalyAlertConditions + + :keyword metric_boundary_condition: + :paramtype metric_boundary_condition: ~azure.ai.metricsadvisor.models.MetricBoundaryCondition + :keyword severity_condition: + :paramtype severity_condition: ~azure.ai.metricsadvisor.models.SeverityCondition + """ + + def __init__(self, **kwargs): + self.metric_boundary_condition = kwargs.get("metric_boundary_condition", None) + self.severity_condition = kwargs.get("severity_condition", None) + + +class MetricBoundaryCondition(object): + """MetricBoundaryCondition. + + :param direction: Required. value filter direction. Possible values include: "Both", "Down", + "Up". + :type direction: str or ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :keyword float lower: lower bound should be specified when direction is Both or Down. + :keyword float upper: upper bound should be specified when direction is Both or Up. + :keyword str companion_metric_id: the other metric unique id used for value filter. + :keyword bool trigger_for_missing: trigger alert when the corresponding point is missing in the other + metric should be specified only when using other metric to filter. + """ + + def __init__(self, direction, **kwargs): + # type: (Union[str, AnomalyDetectorDirection], Any) -> None + self.direction = direction + self.lower = kwargs.get('lower', None) + self.upper = kwargs.get('upper', None) + self.companion_metric_id = kwargs.get('companion_metric_id', None) + self.trigger_for_missing = kwargs.get('trigger_for_missing', None) + + +class MetricAlertConfiguration(object): + """MetricAlertConfiguration. + + :param detection_configuration_id: Required. Anomaly detection configuration unique id. + :type detection_configuration_id: str + :param alert_scope: Required. Anomaly scope. + :type alert_scope: ~azure.ai.metricsadvisor.models.MetricAnomalyAlertScope + :keyword use_detection_result_to_filter_anomalies: Negation operation. + :paramtype use_detection_result_to_filter_anomalies: bool + :keyword alert_conditions: + :paramtype alert_conditions: ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConditions + :keyword alert_snooze_condition: + :paramtype alert_snooze_condition: ~azure.ai.metricsadvisor.models.MetricAnomalyAlertSnoozeCondition + """ + def __init__(self, detection_configuration_id, alert_scope, **kwargs): + # type: (str, MetricAnomalyAlertScope, Any) -> None + self.detection_configuration_id = detection_configuration_id + self.alert_scope = alert_scope + self.use_detection_result_to_filter_anomalies = kwargs.get("use_detection_result_to_filter_anomalies", None) + self.alert_conditions = kwargs.get("alert_conditions", None) + self.alert_snooze_condition = kwargs.get("alert_snooze_condition", None) + + @classmethod + def _from_generated(cls, config): + return cls( + detection_configuration_id=config.anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope._from_generated(config), + use_detection_result_to_filter_anomalies=config.negation_operation, + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=config.snooze_filter.auto_snooze, + snooze_scope=config.snooze_filter.snooze_scope, + only_for_successive=config.snooze_filter.only_for_successive + ) if config.snooze_filter else None, + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction=config.value_filter.direction, + lower=config.value_filter.lower, + upper=config.value_filter.upper, + companion_metric_id=config.value_filter.metric_id, + trigger_for_missing=config.value_filter.trigger_for_missing, + ) if config.value_filter else None, + severity_condition=SeverityCondition( + max_alert_severity=config.severity_filter.max_alert_severity, + min_alert_severity=config.severity_filter.min_alert_severity + ) if config.severity_filter else None, + ) + ) + + def _to_generated(self): + return _MetricAlertingConfiguration( + anomaly_detection_configuration_id=self.detection_configuration_id, + anomaly_scope_type=MetricAnomalyAlertScopeType._to_generated(self.alert_scope.scope_type), + dimension_anomaly_scope=_DimensionGroupIdentity(dimension=self.alert_scope.series_group_in_scope) + if self.alert_scope.series_group_in_scope else None, + top_n_anomaly_scope=_TopNGroupScope( + top=self.alert_scope.top_n_group_in_scope.top, + period=self.alert_scope.top_n_group_in_scope.period, + min_top_count=self.alert_scope.top_n_group_in_scope.min_top_count, + ) if self.alert_scope.top_n_group_in_scope else None, + negation_operation=self.use_detection_result_to_filter_anomalies, + severity_filter=_SeverityCondition( + max_alert_severity=self.alert_conditions.severity_condition.max_alert_severity, + min_alert_severity=self.alert_conditions.severity_condition.min_alert_severity + ) if self.alert_conditions and self.alert_conditions.severity_condition else None, + snooze_filter=_AlertSnoozeCondition( + auto_snooze=self.alert_snooze_condition.auto_snooze, + snooze_scope=self.alert_snooze_condition.snooze_scope, + only_for_successive=self.alert_snooze_condition.only_for_successive + ) if self.alert_snooze_condition else None, + value_filter=_ValueCondition( + direction=self.alert_conditions.metric_boundary_condition.direction, + lower=self.alert_conditions.metric_boundary_condition.lower, + upper=self.alert_conditions.metric_boundary_condition.upper, + metric_id=self.alert_conditions.metric_boundary_condition.companion_metric_id, + trigger_for_missing=self.alert_conditions.metric_boundary_condition.trigger_for_missing, + ) if self.alert_conditions and self.alert_conditions.metric_boundary_condition else None + ) + + +class AnomalyAlertConfiguration(object): + """AnomalyAlertConfiguration. + + :ivar id: anomaly alert configuration unique id. + :vartype id: str + :ivar name: Required. anomaly alert configuration name. + :vartype name: str + :ivar description: anomaly alert configuration description. + :vartype description: str + :ivar cross_metrics_operator: cross metrics operator + should be specified when setting up multiple metric alert configurations. Possible values + include: "AND", "OR", "XOR". + :vartype cross_metrics_operator: str or + ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator + :ivar hook_ids: Required. hook unique ids. + :vartype hook_ids: list[str] + :ivar metric_alert_configurations: Required. Anomaly alert configurations. + :vartype metric_alert_configurations: + list[~azure.ai.metricsadvisor.models.MetricAlertConfiguration] + """ + def __init__(self, **kwargs): + self.id = kwargs.get('id', None) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.cross_metrics_operator = kwargs.get('cross_metrics_operator', None) + self.hook_ids = kwargs.get('hook_ids', None) + self.metric_alert_configurations = kwargs.get('metric_alert_configurations', None) + + @classmethod + def _from_generated(cls, config): + return cls( + id=config.anomaly_alerting_configuration_id, + name=config.name, + description=config.description, + cross_metrics_operator=config.cross_metrics_operator, + hook_ids=config.hook_ids, + metric_alert_configurations=[ + MetricAlertConfiguration._from_generated(c) + for c in config.metric_alerting_configurations + ] + ) + + def _to_generated_patch( + self, name, + metric_alert_configurations, + hook_ids, + cross_metrics_operator, + description + ): + metric_alert_configurations = metric_alert_configurations or self.metric_alert_configurations + return _AnomalyAlertingConfigurationPatch( + name=name or self.name, + metric_alerting_configurations=[ + config._to_generated() for config in metric_alert_configurations + ] if metric_alert_configurations else None, + hook_ids=hook_ids or self.hook_ids, + cross_metrics_operator=cross_metrics_operator or self.cross_metrics_operator, + description=description or self.description + ) + + +class AnomalyDetectionConfiguration(object): + """AnomalyDetectionConfiguration. + + :ivar str id: anomaly detection configuration unique id. + :ivar str name: Required. anomaly detection configuration name. + :ivar str description: anomaly detection configuration description. + :ivar str metric_id: Required. metric unique id. + :ivar whole_series_detection_condition: Required. + :vartype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition + :ivar series_group_detection_conditions: detection configuration for series group. + :vartype series_group_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSeriesGroupDetectionCondition] + :ivar series_detection_conditions: detection configuration for specific series. + :vartype series_detection_conditions: + list[~azure.ai.metricsadvisor.models.MetricSingleSeriesDetectionCondition] + """ + + def __init__(self, **kwargs): + self.id = kwargs.get('id', None) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.metric_id = kwargs.get('metric_id', None) + self.whole_series_detection_condition = kwargs.get('whole_series_detection_condition', None) + self.series_group_detection_conditions = kwargs.get('series_group_detection_conditions', None) + self.series_detection_conditions = kwargs.get('series_detection_conditions', None) + + @classmethod + def _from_generated(cls, config): + return cls( + id=config.anomaly_detection_configuration_id, + name=config.name, + description=config.description, + metric_id=config.metric_id, + whole_series_detection_condition=MetricDetectionCondition._from_generated( + config.whole_metric_configuration + ), + series_group_detection_conditions=[ + MetricSeriesGroupDetectionCondition._from_generated(conf) + for conf in config.dimension_group_override_configurations] + if config.dimension_group_override_configurations else None, + series_detection_conditions=[ + MetricSingleSeriesDetectionCondition._from_generated(conf) + for conf in config.series_override_configurations] + if config.series_override_configurations else None, + ) + + def _to_generated_patch( + self, name, + description, + whole_series_detection_condition, + series_group_detection_conditions, + series_detection_conditions + ): + whole_series_detection_condition = whole_series_detection_condition or self.whole_series_detection_condition + series_group = series_group_detection_conditions or self.series_group_detection_conditions + series_detection = series_detection_conditions or self.series_detection_conditions + + return _AnomalyDetectionConfigurationPatch( + name=name or self.name, + description=description or self.description, + whole_metric_configuration=whole_series_detection_condition._to_generated() + if whole_series_detection_condition else None, + dimension_group_override_configurations=[group._to_generated() for group in series_group] + if series_group else None, + series_override_configurations=[series._to_generated() for series in series_detection] + if series_detection else None + ) + + +class AzureApplicationInsightsDataFeed(object): + """AzureApplicationInsightsDataFeed. + + :param azure_cloud: Required. Azure cloud environment. + :type azure_cloud: str + :param application_id: Required. Azure Application Insights ID. + :type application_id: str + :param api_key: Required. API Key. + :type api_key: str + :param query: Required. Query. + :type query: str + """ + + def __init__(self, azure_cloud, application_id, api_key, query, **kwargs): + # type: (str, str, str, str, Any) -> None + self.data_source_type = 'AzureApplicationInsights' # type: str + self.azure_cloud = azure_cloud + self.application_id = application_id + self.api_key = api_key + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + azure_cloud=source.azure_cloud, + application_id=source.application_id, + api_key=source.api_key, + query=source.query + ) + + def _to_generated_patch(self): + return _AzureApplicationInsightsParameter( + azure_cloud=self.azure_cloud, + application_id=self.application_id, + api_key=self.api_key, + query=self.query + ) + + +class AzureBlobDataFeed(object): + """AzureBlobDataFeed. + + :param connection_string: Required. Azure Blob connection string. + :type connection_string: str + :param container: Required. Container. + :type container: str + :param blob_template: Required. Blob Template. + :type blob_template: str + """ + + def __init__(self, connection_string, container, blob_template, **kwargs): + # type: (str, str, str, Any) -> None + self.data_source_type = 'AzureBlob' # type: str + self.connection_string = connection_string + self.container = container + self.blob_template = blob_template + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + container=source.container, + blob_template=source.blob_template + ) + + def _to_generated_patch(self): + return _AzureBlobParameter( + connection_string=self.connection_string, + container=self.container, + blob_template=self.blob_template + ) + + +class AzureCosmosDBDataFeed(object): + """AzureCosmosDBDataFeed. + + :param connection_string: Required. Azure CosmosDB connection string. + :type connection_string: str + :param sql_query: Required. Query script. + :type sql_query: str + :param database: Required. Database name. + :type database: str + :param collection_id: Required. Collection id. + :type collection_id: str + """ + + def __init__(self, connection_string, sql_query, database, collection_id, **kwargs): + # type: (str, str, str, str, Any) -> None + self.data_source_type = 'AzureCosmosDB' # type: str + self.connection_string = connection_string + self.sql_query = sql_query + self.database = database + self.collection_id = collection_id + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + sql_query=source.sql_query, + database=source.database, + collection_id=source.collection_id + ) + + def _to_generated_patch(self): + return _AzureCosmosDBParameter( + connection_string=self.connection_string, + sql_query=self.sql_query, + database=self.database, + collection_id=self.collection_id + ) + + +class AzureDataExplorerDataFeed(object): + """AzureDataExplorerDataFeed. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + def __init__(self, connection_string, query, **kwargs): + # type: (str, str, Any) -> None + self.data_source_type = 'AzureDataExplorer' # type: str + self.connection_string = connection_string + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + query=source.query, + ) + + def _to_generated_patch(self): + return _SqlSourceParameter( + connection_string=self.connection_string, + query=self.query, + ) + + +class AzureTableDataFeed(object): + """AzureTableDataFeed. + + :param connection_string: Required. Azure Table connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + :param table: Required. Table name. + :type table: str + """ + + def __init__(self, connection_string, query, table, **kwargs): + # type: (str, str, str, Any) -> None + self.data_source_type = 'AzureTable' # type: str + self.connection_string = connection_string + self.query = query + self.table = table + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + query=source.query, + table=source.table + ) + + def _to_generated_patch(self): + return _AzureTableParameter( + connection_string=self.connection_string, + query=self.query, + table=self.table + ) + + +class HttpRequestDataFeed(object): + """HttpRequestDataFeed. + + :param url: Required. HTTP URL. + :type url: str + :param http_method: Required. HTTP method. + :type http_method: str + :keyword str http_header: Required. HTTP header. + :keyword str payload: Required. HTTP request body. + """ + + def __init__(self, url, http_method, **kwargs): + # type: (str, str, Any) -> None + self.data_source_type = 'HttpRequest' # type: str + self.url = url + self.http_method = http_method + self.http_header = kwargs.get("http_header", None) + self.payload = kwargs.get("payload", None) + + @classmethod + def _from_generated(cls, source): + return cls( + url=source.url, + http_header=source.http_header, + http_method=source.http_method, + payload=source.payload + ) + + def _to_generated_patch(self): + return _HttpRequestParameter( + url=self.url, + http_header=self.http_header, + http_method=self.http_method, + payload=self.payload + ) + + +class InfluxDBDataFeed(object): + """InfluxDBDataFeed. + + :param connection_string: Required. InfluxDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param user_name: Required. Database access user. + :type user_name: str + :param password: Required. Database access password. + :type password: str + :param query: Required. Query script. + :type query: str + """ + + def __init__(self, connection_string, database, user_name, password, query, **kwargs): + # type: (str, str, str, str, str, Any) -> None + self.data_source_type = 'InfluxDB' # type: str + self.connection_string = connection_string + self.database = database + self.user_name = user_name + self.password = password + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + database=source.database, + user_name=source.user_name, + password=source.password, + query=source.query + ) + + def _to_generated_patch(self): + return _InfluxDBParameter( + connection_string=self.connection_string, + database=self.database, + user_name=self.user_name, + password=self.password, + query=self.query + ) + + +class MySqlDataFeed(object): + """MySqlDataFeed. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + def __init__(self, connection_string, query, **kwargs): + # type: (str, str, Any) -> None + self.data_source_type = 'MySql' # type: str + self.connection_string = connection_string + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + query=source.query, + ) + + def _to_generated_patch(self): + return _SqlSourceParameter( + connection_string=self.connection_string, + query=self.query + ) + + +class PostgreSqlDataFeed(object): + """PostgreSqlDataFeed. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + def __init__(self, connection_string, query, **kwargs): + # type: (str, str, Any) -> None + self.data_source_type = 'PostgreSql' # type: str + self.connection_string = connection_string + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + query=source.query, + ) + + def _to_generated_patch(self): + return _SqlSourceParameter( + connection_string=self.connection_string, + query=self.query + ) + + +class SQLServerDataFeed(object): + """SQLServerDataFeed. + + :param connection_string: Required. Database connection string. + :type connection_string: str + :param query: Required. Query script. + :type query: str + """ + + def __init__(self, connection_string, query, **kwargs): + # type: (str, str, Any) -> None + self.data_source_type = 'SqlServer' # type: str + self.connection_string = connection_string + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + query=source.query, + ) + + def _to_generated_patch(self): + return _SqlSourceParameter( + connection_string=self.connection_string, + query=self.query, + ) + + +class AzureDataLakeStorageGen2DataFeed(object): + """AzureDataLakeStorageGen2Parameter. + + :param account_name: Required. Account name. + :type account_name: str + :param account_key: Required. Account key. + :type account_key: str + :param file_system_name: Required. File system name (Container). + :type file_system_name: str + :param directory_template: Required. Directory template. + :type directory_template: str + :param file_template: Required. File template. + :type file_template: str + """ + + def __init__( + self, + account_name, + account_key, + file_system_name, + directory_template, + file_template, + **kwargs + ): + # type: (str, str, str, str, str, Any) -> None + self.data_source_type = 'AzureDataLakeStorageGen2' # type: str + self.account_name = account_name + self.account_key = account_key + self.file_system_name = file_system_name + self.directory_template = directory_template + self.file_template = file_template + + @classmethod + def _from_generated(cls, source): + return cls( + account_name=source.account_name, + account_key=source.account_key, + file_system_name=source.file_system_name, + directory_template=source.directory_template, + file_template=source.file_template + ) + + def _to_generated_patch(self): + return _AzureDataLakeStorageGen2Parameter( + account_name=self.account_name, + account_key=self.account_key, + file_system_name=self.file_system_name, + directory_template=self.directory_template, + file_template=self.file_template + ) + + +class ElasticsearchDataFeed(object): + """ElasticsearchParameter. + + :param host: Required. Host. + :type host: str + :param port: Required. Port. + :type port: str + :param auth_header: Required. Authorization header. + :type auth_header: str + :param query: Required. Query. + :type query: str + """ + + def __init__(self, host, port, auth_header, query, **kwargs): + # type: (str, str, str, str, Any) -> None + self.data_source_type = 'Elasticsearch' # type: str + self.host = host + self.port = port + self.auth_header = auth_header + self.query = query + + @classmethod + def _from_generated(cls, source): + return cls( + host=source.host, + port=source.port, + auth_header=source.auth_header, + query=source.query + ) + + def _to_generated_patch(self): + return _ElasticsearchParameter( + host=self.host, + port=self.port, + auth_header=self.auth_header, + query=self.query + ) + + +class MongoDBDataFeed(object): + """MongoDBDataFeed. + + :param connection_string: Required. MongoDB connection string. + :type connection_string: str + :param database: Required. Database name. + :type database: str + :param command: Required. Query script. + :type command: str + """ + + def __init__(self, connection_string, database, command, **kwargs): + # type: (str, str, str, Any) -> None + self.data_source_type = 'MongoDB' # type: str + self.connection_string = connection_string + self.database = database + self.command = command + + @classmethod + def _from_generated(cls, source): + return cls( + connection_string=source.connection_string, + database=source.database, + command=source.command + ) + + def _to_generated_patch(self): + return _MongoDBParameter( + connection_string=self.connection_string, + database=self.database, + command=self.command + ) + + +class Hook(object): + """Hook. + + :ivar str description: Hook description. + :ivar str external_link: Hook external link. + :ivar list[str] admins: Hook administrators. + :ivar str name: Hook unique name. + :ivar str hook_type: Constant filled by server. Possible values include: + "Webhook", "Email". + :ivar str hook_id: Hook unique id. + """ + + def __init__(self, **kwargs): + self.id = kwargs.get('id', None) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.external_link = kwargs.get('external_link', None) + self.admins = kwargs.get('admins', None) + self.hook_type = None + + +class EmailHook(Hook): + """EmailHook. + + :param list[str] emails_to_alert: Required. Email TO: list. + :keyword str description: Hook description. + :keyword str external_link: Hook external link. + :ivar list[str] admins: Hook administrators. + :ivar str name: Hook unique name. + :ivar str hook_type: Constant filled by server - "Email". + :ivar str id: Hook unique id. + """ + + def __init__(self, emails_to_alert, **kwargs): + # type: (List[str], Any) -> None + super(EmailHook, self).__init__(**kwargs) + self.hook_type = 'Email' # type: str + self.emails_to_alert = emails_to_alert + + @classmethod + def _from_generated(cls, hook): + return cls( + emails_to_alert=hook.hook_parameter.to_list, + name=hook.hook_name, + description=hook.description, + external_link=hook.external_link, + admins=hook.admins, + id=hook.hook_id + ) + + def _to_generated(self, name): + return _EmailHookInfo( + hook_name=name, + description=self.description, + external_link=self.external_link, + admins=self.admins, + hook_parameter=_EmailHookParameter( + to_list=self.emails_to_alert + ) + ) + + def _to_generated_patch(self, name, description, external_link, emails_to_alert): + return _EmailHookInfoPatch( + hook_name=name or self.name, + description=description or self.description, + external_link=external_link or self.external_link, + admins=self.admins, + hook_parameter=_EmailHookParameter( + to_list=emails_to_alert or self.emails_to_alert + ) + ) + + +class WebHook(Hook): + """WebHook. + + :param str endpoint: Required. API address, will be called when alert is triggered, only support + POST method via SSL. + :keyword str username: basic authentication. + :keyword str password: basic authentication. + :keyword str certificate_key: client certificate. + :keyword str certificate_password: client certificate password. + :keyword str description: Hook description. + :keyword str external_link: Hook external link. + :ivar list[str] admins: Hook administrators. + :ivar str name: Hook unique name. + :ivar str hook_type: Constant filled by server - "Webhook". + :ivar str id: Hook unique id. + """ + + def __init__(self, endpoint, **kwargs): + # type: (str, Any) -> None + super(WebHook, self).__init__(**kwargs) + self.hook_type = 'Webhook' # type: str + self.endpoint = endpoint + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + self.certificate_key = kwargs.get('certificate_key', None) + self.certificate_password = kwargs.get('certificate_password', None) + + @classmethod + def _from_generated(cls, hook): + return cls( + endpoint=hook.hook_parameter.endpoint, + username=hook.hook_parameter.username, + password=hook.hook_parameter.password, + certificate_key=hook.hook_parameter.certificate_key, + certificate_password=hook.hook_parameter.certificate_password, + name=hook.hook_name, + description=hook.description, + external_link=hook.external_link, + admins=hook.admins, + id=hook.hook_id + ) + + def _to_generated(self, name): + return _WebhookHookInfo( + hook_name=name, + description=self.description, + external_link=self.external_link, + admins=self.admins, + hook_parameter=_WebhookHookParameter( + endpoint=self.endpoint, + username=self.username, + password=self.password, + certificate_key=self.certificate_key, + certificate_password=self.certificate_password + ) + ) + + def _to_generated_patch( + self, name, + description, + external_link, + endpoint, + password, + username, + certificate_key, + certificate_password + ): + return _WebhookHookInfoPatch( + hook_name=name or self.name, + description=description or self.description, + external_link=external_link or self.external_link, + admins=self.admins, + hook_parameter=_WebhookHookParameter( + endpoint=endpoint or self.endpoint, + username=username or self.username, + password=password or self.password, + certificate_key=certificate_key or self.certificate_key, + certificate_password=certificate_password or self.certificate_password + ) + ) + + +class MetricDetectionCondition(object): + """MetricDetectionCondition. + + :keyword cross_conditions_operator: condition operator + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :paramtype cross_conditions_operator: str or + ~azure.ai.metricsadvisor.models.DetectionConditionsOperator + :keyword smart_detection_condition: + :paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :keyword hard_threshold_condition: + :paramtype hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :keyword change_threshold_condition: + :paramtype change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + def __init__(self, **kwargs): + self.cross_conditions_operator = kwargs.get('cross_conditions_operator', None) + self.smart_detection_condition = kwargs.get('smart_detection_condition', None) + self.hard_threshold_condition = kwargs.get('hard_threshold_condition', None) + self.change_threshold_condition = kwargs.get('change_threshold_condition', None) + + @classmethod + def _from_generated(cls, condition): + return cls( + cross_conditions_operator=condition.condition_operator, + smart_detection_condition=SmartDetectionCondition._from_generated(condition.smart_detection_condition), + hard_threshold_condition=HardThresholdCondition._from_generated(condition.hard_threshold_condition), + change_threshold_condition=ChangeThresholdCondition._from_generated(condition.change_threshold_condition) + ) + + def _to_generated(self): + return _WholeMetricConfiguration( + condition_operator=self.cross_conditions_operator, + smart_detection_condition=self.smart_detection_condition._to_generated() + if self.smart_detection_condition else None, + hard_threshold_condition=self.hard_threshold_condition._to_generated() + if self.hard_threshold_condition else None, + change_threshold_condition=self.change_threshold_condition._to_generated() + if self.change_threshold_condition else None + ) + + +class ChangeThresholdCondition(object): + """ChangeThresholdCondition. + + :param change_percentage: Required. change percentage, value range : [0, +∞). + :type change_percentage: float + :param shift_point: Required. shift point, value range : [1, +∞). + :type shift_point: int + :param within_range: Required. if the withinRange = true, detected data is abnormal when the + value falls in the range, in this case anomalyDetectorDirection must be Both + if the withinRange = false, detected data is abnormal when the value falls out of the range. + :type within_range: bool + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + def __init__( + self, change_percentage, # type: float + shift_point, # type: int + within_range, # type: bool + anomaly_detector_direction, # type: Union[str, AnomalyDetectorDirection] + suppress_condition, # type: SuppressCondition + **kwargs # type: Any + ): + # type: (...) -> None + self.change_percentage = change_percentage + self.shift_point = shift_point + self.within_range = within_range + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + + @classmethod + def _from_generated(cls, condition): + return cls( + change_percentage=condition.change_percentage, + shift_point=condition.shift_point, + within_range=condition.within_range, + anomaly_detector_direction=condition.anomaly_detector_direction, + suppress_condition=SuppressCondition._from_generated(condition.suppress_condition), + ) if condition else None + + def _to_generated(self): + return _ChangeThresholdCondition( + change_percentage=self.change_percentage, + shift_point=self.shift_point, + within_range=self.within_range, + anomaly_detector_direction=self.anomaly_detector_direction, + suppress_condition=_SuppressCondition( + min_number=self.suppress_condition.min_number, + min_ratio=self.suppress_condition.min_ratio, + ) + ) + + +class SuppressCondition(object): + """SuppressCondition. + + :param min_number: Required. min point number, value range : [1, +∞). + :type min_number: int + :param min_ratio: Required. min point ratio, value range : (0, 100]. + :type min_ratio: float + """ + + def __init__(self, min_number, min_ratio, **kwargs): + # type: (int, float, Any) -> None + self.min_number = min_number + self.min_ratio = min_ratio + + @classmethod + def _from_generated(cls, condition): + return cls( + min_number=condition.min_number, + min_ratio=condition.min_ratio + ) if condition else None + + +class SmartDetectionCondition(object): + """SmartDetectionCondition. + + :param sensitivity: Required. sensitivity, value range : (0, 100]. + :type sensitivity: float + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + """ + + def __init__(self, sensitivity, anomaly_detector_direction, suppress_condition, **kwargs): + # type: (float, Union[str, AnomalyDetectorDirection], SuppressCondition, Any) -> None + self.sensitivity = sensitivity + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + + @classmethod + def _from_generated(cls, condition): + return cls( + sensitivity=condition.sensitivity, + anomaly_detector_direction=condition.anomaly_detector_direction, + suppress_condition=SuppressCondition._from_generated(condition.suppress_condition) + ) if condition else None + + def _to_generated(self): + return _SmartDetectionCondition( + sensitivity=self.sensitivity, + anomaly_detector_direction=self.anomaly_detector_direction, + suppress_condition=_SuppressCondition( + min_number=self.suppress_condition.min_number, + min_ratio=self.suppress_condition.min_ratio, + ) + ) + + +class HardThresholdCondition(object): + """HardThresholdCondition. + + :param anomaly_detector_direction: Required. detection direction. Possible values include: + "Both", "Down", "Up". + :type anomaly_detector_direction: str or + ~azure.ai.metricsadvisor.models.AnomalyDetectorDirection + :param suppress_condition: Required. + :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition + :keyword lower_bound: lower bound + should be specified when anomalyDetectorDirection is Both or Down. + :paramtype lower_bound: float + :keyword upper_bound: upper bound + should be specified when anomalyDetectorDirection is Both or Up. + :paramtype upper_bound: float + """ + + def __init__(self, anomaly_detector_direction, suppress_condition, **kwargs): + # type: (Union[str, AnomalyDetectorDirection], SuppressCondition, Any) -> None + self.anomaly_detector_direction = anomaly_detector_direction + self.suppress_condition = suppress_condition + self.lower_bound = kwargs.get('lower_bound', None) + self.upper_bound = kwargs.get('upper_bound', None) + + @classmethod + def _from_generated(cls, condition): + return cls( + anomaly_detector_direction=condition.anomaly_detector_direction, + suppress_condition=SuppressCondition._from_generated(condition.suppress_condition), + lower_bound=condition.lower_bound, + upper_bound=condition.upper_bound + ) if condition else None + + def _to_generated(self): + return _HardThresholdCondition( + lower_bound=self.lower_bound, + upper_bound=self.upper_bound, + anomaly_detector_direction=self.anomaly_detector_direction, + suppress_condition=_SuppressCondition( + min_number=self.suppress_condition.min_number, + min_ratio=self.suppress_condition.min_ratio, + ) + ) + + +class MetricSeriesGroupDetectionCondition(MetricDetectionCondition): + """MetricSeriesGroupAnomalyDetectionConditions. + + :param series_group_key: Required. dimension specified for series group. + :type series_group_key: dict[str, str] + :keyword cross_conditions_operator: condition operator + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :paramtype cross_conditions_operator: str or + ~azure.ai.metricsadvisor.models.DetectionConditionsOperator + :keyword smart_detection_condition: + :paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :keyword hard_threshold_condition: + :paramtype hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :keyword change_threshold_condition: + :paramtype change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + def __init__(self, series_group_key, **kwargs): + # type: (Dict[str, str], Any) -> None + super(MetricSeriesGroupDetectionCondition, self).__init__(**kwargs) + self.series_group_key = series_group_key + + @classmethod + def _from_generated(cls, condition): + return cls( + series_group_key=condition.group.dimension, + cross_conditions_operator=condition.condition_operator, + smart_detection_condition=SmartDetectionCondition._from_generated(condition.smart_detection_condition), + hard_threshold_condition=HardThresholdCondition._from_generated(condition.hard_threshold_condition), + change_threshold_condition=ChangeThresholdCondition._from_generated(condition.change_threshold_condition) + ) + + def _to_generated(self): + return _DimensionGroupConfiguration( + group=_DimensionGroupIdentity(dimension=self.series_group_key), + condition_operator=self.cross_conditions_operator, + smart_detection_condition=self.smart_detection_condition._to_generated() + if self.smart_detection_condition else None, + hard_threshold_condition=self.hard_threshold_condition._to_generated() + if self.hard_threshold_condition else None, + change_threshold_condition=self.change_threshold_condition._to_generated() + if self.change_threshold_condition else None + ) + + +class MetricSingleSeriesDetectionCondition(MetricDetectionCondition): + """MetricSingleSeriesDetectionCondition. + + :param series_key: Required. dimension specified for series. + :type series_key: dict[str, str] + :keyword cross_conditions_operator: condition operator + should be specified when combining multiple detection conditions. Possible values include: + "AND", "OR". + :paramtype cross_conditions_operator: str or + ~azure.ai.metricsadvisor.models.DetectionConditionsOperator + :keyword smart_detection_condition: + :paramtype smart_detection_condition: ~azure.ai.metricsadvisor.models.SmartDetectionCondition + :keyword hard_threshold_condition: + :paramtype hard_threshold_condition: ~azure.ai.metricsadvisor.models.HardThresholdCondition + :keyword change_threshold_condition: + :paramtype change_threshold_condition: ~azure.ai.metricsadvisor.models.ChangeThresholdCondition + """ + + def __init__(self, series_key, **kwargs): + # type: (Dict[str, str], Any) -> None + super(MetricSingleSeriesDetectionCondition, self).__init__(**kwargs) + self.series_key = series_key + + @classmethod + def _from_generated(cls, condition): + return cls( + series_key=condition.series.dimension, + cross_conditions_operator=condition.condition_operator, + smart_detection_condition=SmartDetectionCondition._from_generated(condition.smart_detection_condition), + hard_threshold_condition=HardThresholdCondition._from_generated(condition.hard_threshold_condition), + change_threshold_condition=ChangeThresholdCondition._from_generated(condition.change_threshold_condition) + ) + + def _to_generated(self): + return _SeriesConfiguration( + series=_SeriesIdentity(dimension=self.series_key), + condition_operator=self.cross_conditions_operator, + smart_detection_condition=self.smart_detection_condition._to_generated() + if self.smart_detection_condition else None, + hard_threshold_condition=self.hard_threshold_condition._to_generated() + if self.hard_threshold_condition else None, + change_threshold_condition=self.change_threshold_condition._to_generated() + if self.change_threshold_condition else None + ) + + +class Metric(object): + """Metric. + + :param name: Required. metric name. + :type name: str + :keyword display_name: metric display name. + :paramtype display_name: str + :keyword description: metric description. + :paramtype description: str + :ivar id: metric id. + :vartype id: str + """ + + def __init__(self, name, **kwargs): + # type: (str, Any) -> None + self.name = name + self.id = kwargs.get('id', None) + self.display_name = kwargs.get('display_name', None) + self.description = kwargs.get('description', None) + + @classmethod + def _from_generated(cls, metric): + return cls( + id=metric.metric_id, + name=metric.metric_name, + display_name=metric.metric_display_name, + description=metric.metric_description + ) + + def _to_generated(self): + return _Metric( + metric_name=self.name, + metric_display_name=self.display_name, + metric_description=self.description + ) + + +class Dimension(object): + """Dimension. + + :param name: Required. dimension name. + :type name: str + :keyword display_name: dimension display name. + :paramtype display_name: str + """ + + def __init__(self, name, **kwargs): + # type: (str, Any) -> None + self.name = name + self.display_name = kwargs.get('display_name', None) + + @classmethod + def _from_generated(cls, dimension): + return cls( + name=dimension.dimension_name, + display_name=dimension.dimension_display_name, + ) + + def _to_generated(self): + return _Dimension( + dimension_name=self.name, + dimension_display_name=self.display_name + ) + + +class DataFeedIngestionProgress(object): + """DataFeedIngestionProgress. + + :ivar latest_success_timestamp: the timestamp of lastest success ingestion job. + null indicates not available. + :vartype latest_success_timestamp: ~datetime.datetime + :ivar latest_active_timestamp: the timestamp of lastest ingestion job with status update. + null indicates not available. + :vartype latest_active_timestamp: ~datetime.datetime + """ + + def __init__(self, **kwargs): + self.latest_success_timestamp = kwargs.get("latest_success_timestamp") + self.latest_active_timestamp = kwargs.get("latest_active_timestamp") + + @classmethod + def _from_generated(cls, resp): + return cls( + latest_success_timestamp=resp.latest_success_timestamp, + latest_active_timestamp=resp.latest_active_timestamp + ) + + +class MetricSeriesData(object): + """MetricSeriesData. + + :ivar definition: + :vartype definition: ~azure.ai.metricsadvisor.models.MetricSeriesDefinition + :ivar timestamp_list: timestamps of the data related to this time series. + :vartype timestamp_list: list[~datetime.datetime] + :ivar value_list: values of the data related to this time series. + :vartype value_list: list[float] + """ + + def __init__(self, **kwargs): + self.definition = kwargs.get('definition', None) + self.timestamp_list = kwargs.get('timestamp_list', None) + self.value_list = kwargs.get('value_list', None) + + @classmethod + def _from_generated(cls, data): + return cls( + definition=data.id, + timestamp_list=data.timestamp_list, + value_list=data.value_list + ) + + +class Alert(object): + """Alert + + :ivar id: alert id. + :vartype id: str + :ivar timestamp: anomaly time. + :vartype timestamp: ~datetime.datetime + :ivar created_on: created time. + :vartype created_on: ~datetime.datetime + :ivar modified_on: modified time. + :vartype modified_on: ~datetime.datetime + """ + + def __init__(self, **kwargs): + self.id = kwargs.get('id', None) + self.timestamp = kwargs.get('timestamp', None) + self.created_on = kwargs.get('created_on', None) + self.modified_on = kwargs.get('modified_on', None) + + @classmethod + def _from_generated(cls, alert): + return cls( + id=alert.alert_id, + timestamp=alert.timestamp, + created_on=alert.created_time, + modified_on=alert.modified_time + ) + + +DATA_FEED_TRANSFORM = { + "SqlServer": SQLServerDataFeed, + "AzureApplicationInsights": AzureApplicationInsightsDataFeed, + "AzureBlob": AzureBlobDataFeed, + "AzureCosmosDB": AzureCosmosDBDataFeed, + "AzureDataExplorer": AzureDataExplorerDataFeed, + "AzureTable": AzureTableDataFeed, + "HttpRequest": HttpRequestDataFeed, + "InfluxDB": InfluxDBDataFeed, + "MySql": MySqlDataFeed, + "PostgreSql": PostgreSqlDataFeed, + "MongoDB": MongoDBDataFeed, + "AzureDataLakeStorageGen2": AzureDataLakeStorageGen2DataFeed, + "Elasticsearch": ElasticsearchDataFeed +} + + +class Anomaly(msrest.serialization.Model): + """Anomaly. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar metric_id: metric unique id + + only return for alerting anomaly result. + :vartype metric_id: str + :ivar detection_configuration_id: anomaly detection configuration unique id + + only return for alerting anomaly result. + :vartype detection_configuration_id: str + :ivar timestamp: anomaly time. + :vartype timestamp: ~datetime.datetime + :ivar created_time: created time + + only return for alerting result. + :vartype created_time: ~datetime.datetime + :ivar modified_time: modified time + + only return for alerting result. + :vartype modified_time: ~datetime.datetime + :ivar dimension: dimension specified for series. + :vartype dimension: dict[str, str] + :ivar severity: anomaly severity. Possible values include: "Low", "Medium", "High". + :vartype anomaly_severity: str or ~azure.ai.metricsadvisor.models.Severity + :vartype severity: str + :ivar status: nomaly status. only return for alerting anomaly result. Possible + values include: "Active", "Resolved". + :vartype status: str + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'detection_configuration_id': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'created_on': {'readonly': True}, + 'modified_time': {'readonly': True}, + 'dimension': {'readonly': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'detection_configuration_id': {'key': 'detectionConfigurationId', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'created_on': {'key': 'createdOn', 'type': 'iso-8601'}, + 'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'}, + 'dimension': {'key': 'dimension', 'type': '{str}'}, + 'severity': {'key': 'severity', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Anomaly, self).__init__(**kwargs) + self.metric_id = kwargs.get('metric_id', None) + self.detection_configuration_id = kwargs.get('detection_configuration_id', None) + self.timestamp = kwargs.get('timestamp', None) + self.created_on = kwargs.get('created_time', None) + self.modified_time = kwargs.get('modified_time', None) + self.dimension = kwargs.get('dimension', None) + self.severity = kwargs.get('severity', None) + self.status = kwargs.get('status', None) + + @classmethod + def _from_generated(cls, anomaly_result): + # type: (AnomalyResult) -> Anomaly + if not anomaly_result: + return None + severity = None + status = None + if anomaly_result.property: + severity = anomaly_result.property.anomaly_severity + status = anomaly_result.property.anomaly_status + + return cls( + metric_id=anomaly_result.metric_id, + detection_configuration_id=anomaly_result.anomaly_detection_configuration_id, + timestamp=anomaly_result.timestamp, + created_on=anomaly_result.created_time, + modified_time=anomaly_result.modified_time, + dimension=anomaly_result.dimension, + severity=severity, + status=status, + ) + + +class Incident(msrest.serialization.Model): + """Incident. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar metric_id: metric unique id + + only return for alerting incident result. + :vartype metric_id: str + :ivar detection_configuration_id: anomaly detection configuration unique id + + only return for alerting incident result. + :vartype detection_configuration_id: str + :ivar id: incident id. + :vartype id: str + :ivar start_time: incident start time. + :vartype start_time: ~datetime.datetime + :ivar last_time: incident last time. + :vartype last_time: ~datetime.datetime + :param dimension_key: dimension specified for series. + :type dimension_key: dict[str, str] + :ivar severity: max severity of latest anomalies in the incident. Possible values include: + "Low", "Medium", "High". + :vartype severity: str or ~azure.ai.metricsadvisor.models.Severity + :ivar incident_status: incident status + only return for alerting incident result. Possible values include: "Active", "Resolved". + :vartype status: str or ~azure.ai.metricsadvisor.models.IncidentPropertyIncidentStatus + """ + + _validation = { + 'metric_id': {'readonly': True}, + 'detection_configuration_id': {'readonly': True}, + 'id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'last_time': {'readonly': True}, + } + + _attribute_map = { + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'detection_configuration_id': {'key': 'detectionConfigurationId', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'last_time': {'key': 'lastTime', 'type': 'iso-8601'}, + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'severity': {'key': 'severity', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Incident, self).__init__(**kwargs) + self.metric_id = kwargs.get('metric_id', None) + self.detection_configuration_id = kwargs.get('detection_configuration_id', None) + self.incident_id = kwargs.get('incident_id', None) + self.start_time = kwargs.get('start_time', None) + self.last_time = kwargs.get('last_time', None) + self.dimension_key = kwargs.get('dimension_key', None) + self.severity = kwargs.get('severity', None) + self.status = kwargs.get('status', None) + + @classmethod + def _from_generated(cls, incident_result): + # type: (IncidentResult) -> Incident + if not incident_result: + return None + dimension_key = incident_result.root_node.dimension if incident_result.root_node else None + severity = None + status = None + if incident_result.property: + severity = incident_result.property.max_severity + status = incident_result.property.incident_status + return cls( + metric_id=incident_result.metric_id, + detection_configuration_id=incident_result.anomaly_detection_configuration_id, + incident_id=incident_result.incident_id, + start_time=incident_result.start_time, + last_time=incident_result.last_time, + dimension_key=dimension_key, + severity=severity, + status=status, + ) + +class IncidentRootCause(msrest.serialization.Model): + """Incident Root Cause. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param dimension_key: dimension specified for series group. + :type dimension_key: dict[str, str] + :ivar path: drilling down path from query anomaly to root cause. + :vartype path: list[str] + :ivar score: score. + :vartype score: float + :ivar description: description. + :vartype description: str + """ + + _validation = { + 'path': {'readonly': True}, + 'score': {'readonly': True}, + 'description': {'readonly': True}, + } + + _attribute_map = { + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'path': {'key': 'path', 'type': '[str]'}, + 'score': {'key': 'score', 'type': 'float'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IncidentRootCause, self).__init__(**kwargs) + self.dimension_key = kwargs.get('dimension_key', None) + self.path = kwargs.get('path', None) + self.score = kwargs.get('score', None) + self.description = kwargs.get('description', None) + + @classmethod + def _from_generated(cls, root_cause): + # type: (RootCause) -> IncidentRootCause + if not root_cause: + return None + dimension_key = root_cause.root_cause.dimension if root_cause.root_cause else None + return cls( + dimension_key=dimension_key, + path=root_cause.path, + score=root_cause.score, + description=root_cause.description, + ) + +class AnomalyFeedback(msrest.serialization.Model): + """AnomalyFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar id: feedback unique id. + :vartype id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_key: Required. metric dimension filter. + :type dimension_key: dict[str, str] + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. Possible values include: "AutoDetect", "Anomaly", "NotAnomaly". + :type value: str or ~azure.ai.metricsadvisor.models.AnomalyValue + :keyword anomaly_detection_configuration_id: the corresponding anomaly detection configuration of + this feedback. + :paramtype anomaly_detection_configuration_id: str + :keyword anomaly_detection_configuration_snapshot: + :paramtype anomaly_detection_configuration_snapshot: + ~azure.ai.metricsadvisor.models.AnomalyDetectionConfiguration + """ + + _validation = { + 'feedback_type': {'required': True}, + 'id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_key': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'str'}, + 'anomaly_detection_configuration_id': {'key': 'anomalyDetectionConfigurationId', 'type': 'str'}, + 'anomaly_detection_configuration_snapshot': {'key': 'anomalyDetectionConfigurationSnapshot', + 'type': 'AnomalyDetectionConfiguration'}, + } + + def __init__( + self, + metric_id, + dimension_key, + start_time, + end_time, + value, + **kwargs + ): + super(AnomalyFeedback, self).__init__(**kwargs) + self.feedback_type = 'Anomaly' # type: str + self.id = kwargs.get('id', None) + self.created_time = kwargs.get('created_time', None) + self.user_principal = kwargs.get('user_principal', None) + self.metric_id = metric_id + self.dimension_key = dimension_key + self.start_time = start_time + self.end_time = end_time + self.value = value + self.anomaly_detection_configuration_id = kwargs.get('anomaly_detection_configuration_id', None) + self.anomaly_detection_configuration_snapshot = kwargs.get('anomaly_detection_configuration_snapshot', None) + + @classmethod + def _from_generated(cls, anomaly_feedback): + # type: (_AnomalyFeedback) -> AnomalyFeedback + if not anomaly_feedback: + return None + dimension_key = anomaly_feedback.dimension_filter.dimension + value = anomaly_feedback.value.anomaly_value + return cls( + id=anomaly_feedback.feedback_id, + created_time=anomaly_feedback.created_time, + user_principal=anomaly_feedback.user_principal, + metric_id=anomaly_feedback.metric_id, + dimension_key=dimension_key, + start_time=anomaly_feedback.start_time, + end_time=anomaly_feedback.end_time, + value=value, + anomaly_detection_configuration_id=anomaly_feedback.anomaly_detection_configuration_id, + anomaly_detection_configuration_snapshot=anomaly_feedback.anomaly_detection_configuration_snapshot, + ) + + def _to_generated(self): + # type: (AnomalyFeedback) -> _AnomalyFeedback + dimension_filter = FeedbackDimensionFilter(dimension=self.dimension_key) + value = AnomalyFeedbackValue(anomaly_value=self.value) + return _AnomalyFeedback( + feedback_id=self.id, + created_time=self.created_time, + user_principal=self.user_principal, + metric_id=self.metric_id, + dimension_filter=dimension_filter, + start_time=self.start_time, + end_time=self.end_time, + value=value, + anomaly_detection_configuration_id=self.anomaly_detection_configuration_id, + anomaly_detection_configuration_snapshot=self.anomaly_detection_configuration_snapshot + ) + +class ChangePointFeedback(msrest.serialization.Model): + """ChangePointFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar id: feedback unique id. + :vartype id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_key: Required. metric dimension filter. + :type dimension_key: dict[str, str] + :param start_time: Required. the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: Required. the end timestamp of feedback timerange, when equals to startTime + means only one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. Possible values include: "AutoDetect", "ChangePoint", "NotChangePoint". + :type value: str or ~azure.ai.metricsadvisor.models.ChangePointValue + """ + + _validation = { + 'feedback_type': {'required': True}, + 'id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_key': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + metric_id, + dimension_key, + start_time, + end_time, + value, + **kwargs + ): + super(ChangePointFeedback, self).__init__(**kwargs) + self.feedback_type = 'ChangePoint' # type: str + self.id = kwargs.get('id', None) + self.created_time = kwargs.get('created_time', None) + self.user_principal = kwargs.get('user_principal', None) + self.metric_id = metric_id + self.dimension_key = dimension_key + self.start_time = start_time + self.end_time = end_time + self.value = value + + @classmethod + def _from_generated(cls, change_point_feedback): + # type: (_ChangePointFeedback) -> ChangePointFeedback + if not change_point_feedback: + return None + dimension_key = change_point_feedback.dimension_filter.dimension + value = change_point_feedback.value.change_point_value + return cls( + id=change_point_feedback.feedback_id, + created_time=change_point_feedback.created_time, + user_principal=change_point_feedback.user_principal, + metric_id=change_point_feedback.metric_id, + dimension_key=dimension_key, + start_time=change_point_feedback.start_time, + end_time=change_point_feedback.end_time, + value=value, + ) + + def _to_generated(self): + # type: (ChangePointFeedback) -> _ChangePointFeedback + dimension_filter = FeedbackDimensionFilter(dimension=self.dimension_key) + value = ChangePointFeedbackValue(change_point_value=self.value) + return _ChangePointFeedback( + feedback_id=self.id, + created_time = self.created_time, + user_principal=self.user_principal, + metric_id=self.metric_id, + dimension_filter=dimension_filter, + start_time=self.start_time, + end_time=self.end_time, + value=value, + ) + +class CommentFeedback(msrest.serialization.Model): + """CommentFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar id: feedback unique id. + :vartype id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_key: Required. metric dimension filter. + :type dimension_key: dict[str, str] + :param start_time: the start timestamp of feedback timerange. + :type start_time: ~datetime.datetime + :param end_time: the end timestamp of feedback timerange, when equals to startTime means only + one timestamp. + :type end_time: ~datetime.datetime + :param value: Required. the comment string. + :type value: str + """ + + _validation = { + 'feedback_type': {'required': True}, + 'id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_key': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + metric_id, + dimension_key, + start_time, + end_time, + value, + **kwargs + ): + super(CommentFeedback, self).__init__(**kwargs) + self.feedback_type = 'Comment' # type: str + self.id = kwargs.get('id', None) + self.created_time = kwargs.get('created_time', None) + self.user_principal = kwargs.get('user_principal', None) + self.metric_id = metric_id + self.dimension_key = dimension_key + self.start_time = start_time + self.end_time = end_time + self.value = value + + @classmethod + def _from_generated(cls, comment_feedback): + # type: (_CommentFeedback) -> CommentFeedback + if not comment_feedback: + return None + dimension_key = comment_feedback.dimension_filter.dimension + value = comment_feedback.value.comment_value + return cls( + id=comment_feedback.feedback_id, + created_time=comment_feedback.created_time, + user_principal=comment_feedback.user_principal, + metric_id=comment_feedback.metric_id, + dimension_key=dimension_key, + start_time=comment_feedback.start_time, + end_time=comment_feedback.end_time, + value=value, + ) + + def _to_generated(self): + # type: (CommentFeedback) -> _CommentFeedback + dimension_filter = FeedbackDimensionFilter(dimension=self.dimension_key) + value = CommentFeedbackValue(comment_value=self.value) + return _CommentFeedback( + feedback_id=self.id, + created_time = self.created_time, + user_principal=self.user_principal, + metric_id=self.metric_id, + dimension_filter=dimension_filter, + start_time=self.start_time, + end_time=self.end_time, + value=value, + ) + +class PeriodFeedback(msrest.serialization.Model): + """PeriodFeedback. + + 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 feedback_type: Required. feedback type.Constant filled by server. Possible values + include: "Anomaly", "ChangePoint", "Period", "Comment". + :type feedback_type: str or ~azure.ai.metricsadvisor.models.FeedbackType + :ivar id: feedback unique id. + :vartype id: str + :ivar created_time: feedback created time. + :vartype created_time: ~datetime.datetime + :ivar user_principal: user who gives this feedback. + :vartype user_principal: str + :param metric_id: Required. metric unique id. + :type metric_id: str + :param dimension_key: Required. metric dimension filter. + :type dimension_key: dict[str, str] + :param value: Required. + :type value: int + :param period_type: Required. the type of setting period. Possible values include: + "AutoDetect", "AssignValue". + :type period_type: str or ~azure.ai.metricsadvisor.models.PeriodType + """ + + _validation = { + 'feedback_type': {'required': True}, + 'id': {'readonly': True}, + 'created_time': {'readonly': True}, + 'user_principal': {'readonly': True}, + 'metric_id': {'required': True}, + 'dimension_key': {'required': True}, + 'value': {'required': True}, + 'period_type': {'required': True}, + } + + _attribute_map = { + 'feedback_type': {'key': 'feedbackType', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'user_principal': {'key': 'userPrincipal', 'type': 'str'}, + 'metric_id': {'key': 'metricId', 'type': 'str'}, + 'dimension_key': {'key': 'dimensionKey', 'type': '{str}'}, + 'value': {'key': 'value', 'type': 'int'}, + 'period_type': {'key': 'periodType', 'type': 'str'}, + } + + def __init__( + self, + metric_id, + dimension_key, + value, + period_type, + **kwargs + ): + super(PeriodFeedback, self).__init__(**kwargs) + self.feedback_type = 'Period' # type: str + self.id = kwargs.get('id', None) + self.created_time = kwargs.get('created_time', None) + self.user_principal = kwargs.get('user_principal', None) + self.metric_id = metric_id + self.dimension_key = dimension_key + self.value = value + self.period_type = period_type + + @classmethod + def _from_generated(cls, period_feedback): + # type: (_PeriodFeedback) -> PeriodFeedback + if not period_feedback: + return None + dimension_key = period_feedback.dimension_filter.dimension + value = period_feedback.value.period_value + period_type = period_feedback.value.period_type + return cls( + id=period_feedback.feedback_id, + created_time=period_feedback.created_time, + user_principal=period_feedback.user_principal, + metric_id=period_feedback.metric_id, + dimension_key=dimension_key, + value=value, + period_type=period_type, + ) + + def _to_generated(self): + # type: (PeriodFeedback) -> _PeriodFeedback + dimension_filter = FeedbackDimensionFilter(dimension=self.dimension_key) + value = PeriodFeedbackValue(period_type=self.period_type, period_value=self.value) + return _CommentFeedback( + feedback_id=self.id, + created_time = self.created_time, + user_principal=self.user_principal, + metric_id=self.metric_id, + dimension_filter=dimension_filter, + value=value, + ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/py.typed b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/py.typed new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/dev_requirements.txt b/sdk/metricsadvisor/azure-ai-metricsadvisor/dev_requirements.txt new file mode 100644 index 000000000000..dd7dbde09bd3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/dev_requirements.txt @@ -0,0 +1,5 @@ +-e ../../../tools/azure-sdk-tools +-e ../../../tools/azure-devtools +../../core/azure-core +aiohttp>=3.0; python_version >= '3.5' +msrest>=0.6.12 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md new file mode 100644 index 000000000000..4887592a4310 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md @@ -0,0 +1,73 @@ +--- +page_type: sample +languages: + - python +products: + - azure + - azure-cognitive-services + - azure-metrics-advisor +urlFragment: metricsadvisor-samples +--- + +# Samples for Azure Metrics Advisor client library for Python + +These code samples show common scenario operations with the Azure Metrics Advisor client library. +The async versions of the samples require Python 3.5 or later. + +|**File Name**|**Description**| +|----------------|-------------| +|[sample_authentication.py][sample_authentication] and [sample_authentication_async.py][sample_authentication_async]|Authenticate the clients| +|[sample_data_feeds.py][sample_data_feeds] and [sample_data_feeds_async.py][sample_data_feeds_async]|Create, list, get, update, and delete data feeds| +|[sample_ingestion.py][sample_ingestion] and [sample_ingestion_async.py][sample_ingestion_async]|Check on the data feed ingestion progress, list ingestion statuses, and refresh data feed ingestion| +|[sample_anomaly_detection_configuration.py][sample_anomaly_detection_configuration] and [sample_anomaly_detection_configuration_async.py][sample_anomaly_detection_configuration_async]|Create, list, get, update, and delete anomaly detection configurations| +|[sample_anomaly_alert_configuration.py][sample_anomaly_alert_configuration] and [sample_anomaly_alert_configuration_async.py][sample_anomaly_alert_configuration_async]|Create, list, get, update, and delete anomaly alert configurations. Also list alerts and anomalies for a specific alert configuration.| +|[sample_hooks.py][sample_hooks] and [sample_hooks_async.py][sample_hooks_async]|Create, list, get, update, and delete hooks| +|[sample_feedback.py][sample_feedback] and [sample_feedback_async.py][sample_feedback_async]|Add, get, and list feedback for the anomaly detection result| + + +## Prerequisites +* Python 2.7, or 3.5 or later is required to use this package (3.5 or later if using asyncio) +* You must have an [Azure subscription][azure_subscription] and an +[Azure Metrics Advisor account][portal_metrics_advisor_account] to run these samples. + +## Setup + +1. Install the Azure Metrics Advisor client library for Python with [pip][pip]: + +```bash +pip install azure-ai-metricsadvisor --pre +``` + +2. Clone or download this sample repository +3. Open the sample folder in Visual Studio Code or your IDE of choice. + +## Running the samples + +1. Open a terminal window and `cd` to the directory that the samples are saved in. +2. Set the environment variables specified in the sample file you wish to run. +3. Follow the usage described in the file, e.g. `python sample_data_feeds.py` + +## Next steps + +Check out the [reference documentation][reference_documentation] to learn more about +what you can do with the Azure Metrics Advisor client library. + +[pip]: https://pypi.org/project/pip/ +[azure_subscription]: https://azure.microsoft.com/free/ +[portal_metrics_advisor_account]: https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesMetricsAdvisor +[reference_documentation]: https://aka.ms/azsdk/python/metricsadvisor/docs + +[sample_authentication]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_authentication_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_data_feeds]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_data_feeds_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_ingestion]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_ingestion_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_anomaly_detection_configuration]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_anomaly_detection_configuration_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_anomaly_alert_configuration]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_anomaly_alert_configuration_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_hooks]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_hooks_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_feedback]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_feedback_async]: https://aka.ms/azsdk/python/metricsadvisor/docs diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_alert_configuration_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_alert_configuration_async.py new file mode 100644 index 000000000000..1dcec1272817 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_alert_configuration_async.py @@ -0,0 +1,330 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_anomaly_alert_configuration_async.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, query update, and delete anomaly alert configurations + under your Metrics Advisor account. + +USAGE: + python sample_anomaly_alert_configuration_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_DETECTION_CONFIGURATION_ID - the ID of an existing detection configuration + 5) METRICS_ADVISOR_HOOK_ID - the ID of hook you would like to be associated with the alert configuration +""" + +import os +import asyncio + + +async def sample_create_alert_config_async(): + # [START create_anomaly_alert_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + TopNGroupScope, + MetricAnomalyAlertConditions, + SeverityCondition, + MetricBoundaryCondition, + MetricAnomalyAlertSnoozeCondition + ) + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + hook_id = os.getenv("METRICS_ADVISOR_HOOK_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + alert_config = await client.create_anomaly_alert_configuration( + name="my alert config", + description="alert config description", + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=10, + period=5, + min_top_count=5 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + upper=50 + ) + ), + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=2, + snooze_scope="Metric", + only_for_successive=True + ) + ), + ], + hook_ids=[hook_id] + ) + + return alert_config + # [END create_anomaly_alert_config_async] + + +async def sample_get_alert_config_async(alert_config_id): + # [START get_anomaly_alert_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + config = await client.get_anomaly_alert_configuration(alert_config_id) + + print("Alert config ID: {}".format(config.id)) + print("Alert config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Ids of hooks associated with alert: {}".format(config.hook_ids)) + print("Use {} operator for multiple alert conditions\n".format(config.cross_metrics_operator)) + + print("Alert uses detection configuration ID: {}".format( + config.metric_alert_configurations[0].detection_configuration_id + )) + print("Alert scope type: {}".format(config.metric_alert_configurations[0].alert_scope.scope_type)) + print("Alert severity condition: min- {}, max- {}".format( + config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, + config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, + )) + print("\nAlert uses detection configuration ID: {}".format( + config.metric_alert_configurations[1].detection_configuration_id + )) + print("Alert scope type: {}".format(config.metric_alert_configurations[1].alert_scope.scope_type)) + print("Top N: {}".format(config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.top)) + print("Point count used to look back: {}".format( + config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.period + )) + print("Min top count: {}".format( + config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.min_top_count + )) + print("Alert metric boundary condition direction: {}, upper bound: {}".format( + config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, + config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, + )) + print("Alert snooze condition, snooze point count: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.auto_snooze, + )) + print("Alert snooze scope: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.snooze_scope, + )) + print("Snooze only for successive anomalies?: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.only_for_successive, + )) + # [END get_anomaly_alert_config_async] + + +async def sample_list_alert_configs_async(): + # [START list_anomaly_alert_configs_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + configs = client.list_anomaly_alert_configurations(anomaly_detection_configuration_id) + async for config in configs: + print("Alert config name: {}".format(config.name)) + print("Alert description: {}".format(config.description)) + print("Ids of hooks associated with alert: {}\n".format(config.hook_ids)) + + # [END list_anomaly_alert_configs_async] + + +async def sample_list_alerts_for_alert_config_async(alert_config_id): + # [START list_alerts_for_alert_config_async] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + results = client.list_alerts_for_alert_configuration( + alert_configuration_id=alert_config_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + time_mode="AnomalyTime", + ) + tolist = [] + async for result in results: + tolist.append(result) + print("Alert id: {}".format(result.id)) + print("Create on: {}".format(result.created_on)) + return tolist + + # [END list_alerts_for_alert_config_async] + + +async def sample_list_anomalies_for_alert_async(alert_config_id, alert_id): + # [START list_anomalies_for_alert_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + results = client.list_anomalies_for_alert( + alert_configuration_id=alert_config_id, + alert_id=alert_id, + ) + async for result in results: + print("Create on: {}".format(result.created_on)) + print("Severity: {}".format(result.severity)) + print("Status: {}".format(result.status)) + + # [END list_anomalies_for_alert_async] + + +async def sample_update_alert_config_async(alert_config): + # [START update_anomaly_alert_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition + ) + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + alert_config.name = "updated config name" + additional_alert = MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + lower=5 + ) + ) + ) + alert_config.metric_alert_configurations.append(additional_alert) + + async with client: + updated = await client.update_anomaly_alert_configuration( + alert_config, + cross_metrics_operator="OR", + description="updated alert config" + ) + + print("Updated alert name: {}".format(updated.name)) + print("Updated alert description: {}".format(updated.description)) + print("Updated cross metrics operator: {}".format(updated.cross_metrics_operator)) + print("Updated alert condition configuration scope type: {}".format( + updated.metric_alert_configurations[2].alert_scope.scope_type + )) + + # [END update_anomaly_alert_config_async] + + +async def sample_delete_alert_config_async(alert_config_id): + # [START delete_anomaly_alert_config_async] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + await client.delete_anomaly_alert_configuration(alert_config_id) + + try: + await client.get_anomaly_alert_configuration(alert_config_id) + except ResourceNotFoundError: + print("Alert configuration successfully deleted.") + # [END delete_anomaly_alert_config_async] + + +async def main(): + print("---Creating anomaly alert configuration...") + alert_config = await sample_create_alert_config_async() + print("Anomaly alert configuration successfully created...") + print("\n---Get an anomaly alert configuration...") + await sample_get_alert_config_async(alert_config.id) + print("\n---List anomaly alert configurations...") + await sample_list_alert_configs_async() + print("\n---Query anomaly detection results...") + alerts = await sample_list_alerts_for_alert_config_async() + if len(alerts) > 0: + print("\n---Query anomalies using alert id...") + alert_id = alerts[0].id + await sample_list_anomalies_for_alert_async(alert_config.id, alert_id) + print("\n---Update an anomaly alert configuration...") + await sample_update_alert_config_async(alert_config) + print("\n---Delete an anomaly alert configuration...") + await sample_delete_alert_config_async(alert_config.id) + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_detection_configuration_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_detection_configuration_async.py new file mode 100644 index 000000000000..bf6e7648758f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_detection_configuration_async.py @@ -0,0 +1,267 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_anomaly_detection_configuration_async.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete anomaly detection configurations + under your Metrics Advisor account. + +USAGE: + python sample_anomaly_detection_configuration_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_METRIC_ID - the ID of an metric from an existing data feed +""" + +import os +import asyncio + + +async def sample_create_detection_config_async(): + # [START create_anomaly_detection_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + ChangeThresholdCondition, + HardThresholdCondition, + SmartDetectionCondition, + SuppressCondition, + MetricDetectionCondition, + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + async with client: + detection_config = await client.create_metric_anomaly_detection_configuration( + name="my_detection_config", + metric_id=metric_id, + description="anomaly detection config for metric", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + change_threshold_condition=change_threshold_condition, + hard_threshold_condition=hard_threshold_condition, + smart_detection_condition=smart_detection_condition + ) + ) + + return detection_config + # [END create_anomaly_detection_config_async] + + +async def sample_get_detection_config_async(detection_config_id): + # [START get_anomaly_detection_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + config = await client.get_metric_anomaly_detection_configuration(detection_config_id) + + print("Detection config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Metric ID: {}".format(config.metric_id)) + + print("\nDetection conditions specified for configuration...") + print("\nWhole Series Detection Conditions:\n") + conditions = config.whole_series_detection_condition + + print("Use {} operator for multiple detection conditions".format(conditions.cross_conditions_operator)) + + print("Smart Detection Condition:") + print("- Sensitivity: {}".format(conditions.smart_detection_condition.sensitivity)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + print("Hard Threshold Condition:") + print("- Lower bound: {}".format(conditions.hard_threshold_condition.lower_bound)) + print("- Upper bound: {}".format(conditions.hard_threshold_condition.upper_bound)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + print("Change Threshold Condition:") + print("- Change percentage: {}".format(conditions.change_threshold_condition.change_percentage)) + print("- Shift point: {}".format(conditions.change_threshold_condition.shift_point)) + print("- Detect anomaly if within range: {}".format(conditions.change_threshold_condition.within_range)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + # [END get_anomaly_detection_config_async] + + +async def sample_list_detection_configs_async(): + # [START list_anomaly_detection_configs_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + configs = client.list_metric_anomaly_detection_configurations(metric_id=metric_id) + async for config in configs: + print("Detection config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Metric ID: {}\n".format(config.metric_id)) + + # [END list_anomaly_detection_configs_async] + + +async def sample_update_detection_config_async(detection_config): + # [START update_anomaly_detection_config_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + detection_config.name = "updated config name" + detection_config.description = "updated with more detection conditions" + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + + async with client: + updated = await client.update_metric_anomaly_detection_configuration( + detection_config, + series_group_detection_conditions=[ + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Seoul"}, + smart_detection_condition=smart_detection_condition + ) + ], + series_detection_conditions=[ + MetricSingleSeriesDetectionCondition( + series_key={"city": "Osaka", "category": "Cell Phones"}, + smart_detection_condition=smart_detection_condition + ) + ] + ) + print("Updated detection name: {}".format(updated.name)) + print("Updated detection description: {}".format(updated.description)) + print("Updated detection condition for series group: {}".format( + updated.series_group_detection_conditions[0].series_group_key + )) + print("Updated detection condition for series: {}".format( + updated.series_detection_conditions[0].series_key + )) + + # [END update_anomaly_detection_config_async] + + +async def sample_delete_detection_config_async(detection_config_id): + # [START delete_anomaly_detection_config_async] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + await client.delete_metric_anomaly_detection_configuration(detection_config_id) + + try: + await client.get_metric_anomaly_detection_configuration(detection_config_id) + except ResourceNotFoundError: + print("Detection configuration successfully deleted.") + # [END delete_anomaly_detection_config_async] + + +async def main(): + print("---Creating anomaly detection configuration...") + detection_config = await sample_create_detection_config_async() + print("Anomaly detection configuration successfully created...") + print("\n---Get an anomaly detection configuration...") + await sample_get_detection_config_async(detection_config.id) + print("\n---List anomaly detection configurations...") + await sample_list_detection_configs_async() + print("\n---Update an anomaly detection configuration...") + await sample_update_detection_config_async(detection_config) + print("\n---Delete an anomaly detection configuration...") + await sample_delete_detection_config_async(detection_config.id) + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py new file mode 100644 index 000000000000..d831d538db12 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py @@ -0,0 +1,64 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_authentication_async.py + +DESCRIPTION: + This sample demonstrates how to authenticate with the Azure Metrics Advisor + service with Subscription key and API key. + +USAGE: + python sample_authentication_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key +""" + +import os +import asyncio + + +async def authentication_client_with_metrics_advisor_credential_async(): + # [START authentication_client_with_metrics_advisor_credential_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + # [END authentication_client_with_metrics_advisor_credential_async] + + +def authentication_administration_client_with_metrics_advisor_credential_async(): + # [START administration_client_with_metrics_advisor_credential_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + # [END administration_client_with_metrics_advisor_credential_async] + + +async def main(): + await authentication_client_with_metrics_advisor_credential_async() + await authentication_administration_client_with_metrics_advisor_credential_async() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_data_feeds_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_data_feeds_async.py new file mode 100644 index 000000000000..5f4a13cf8686 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_data_feeds_async.py @@ -0,0 +1,236 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_data_feeds_async.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete datafeeds under your Metrics Advisor account. + +USAGE: + python sample_data_feeds_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING - Used in this sample for demonstration, but you should + add your own credentials specific to the data source type you're using + 5) METRICS_ADVISOR_SQL_SERVER_QUERY - Used in this sample for demonstration, but you should + add your own credentials specific to the data source type you're using +""" + +import os +import asyncio +import datetime + + +async def sample_create_data_feed_async(): + # [START create_data_feed_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + DataFeedSchema, + Metric, + Dimension, + DataFeedOptions, + DataFeedRollupSettings, + DataFeedMissingDataPointFillSettings + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + sql_server_connection_string = os.getenv("METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING") + query = os.getenv("METRICS_ADVISOR_SQL_SERVER_QUERY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + data_feed = await client.create_data_feed( + name="My data feed", + source=SQLServerDataFeed( + connection_string=sql_server_connection_string, + query=query, + ), + granularity="Daily", + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=datetime.datetime(2019, 10, 1), + options=DataFeedOptions( + data_feed_description="cost/revenue data feed", + rollup_settings=DataFeedRollupSettings( + rollup_type="AutoRollup", + rollup_method="Sum", + rollup_identification_value="__CUSTOM_SUM__" + ), + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + access_mode="Private" + ) + ) + + return data_feed + + # [END create_data_feed_async] + + +async def sample_get_data_feed_async(data_feed_id): + # [START get_data_feed_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + data_feed = await client.get_data_feed(data_feed_id) + + print("ID: {}".format(data_feed.id)) + print("Data feed name: {}".format(data_feed.name)) + print("Created time: {}".format(data_feed.created_time)) + print("Status: {}".format(data_feed.status)) + print("Source type: {}".format(data_feed.source.data_source_type)) + print("Granularity type: {}".format(data_feed.granularity.granularity_type)) + print("Data feed metrics: {}".format([metric.name for metric in data_feed.schema.metrics])) + print("Data feed dimensions: {}".format([dimension.name for dimension in data_feed.schema.dimensions])) + print("Data feed timestamp column: {}".format(data_feed.schema.timestamp_column)) + print("Ingestion data starting on: {}".format(data_feed.ingestion_settings.ingestion_begin_time)) + print("Data feed description: {}".format(data_feed.options.data_feed_description)) + print("Data feed rollup type: {}".format(data_feed.options.rollup_settings.rollup_type)) + print("Data feed rollup method: {}".format(data_feed.options.rollup_settings.rollup_method)) + print("Data feed fill setting: {}".format(data_feed.options.missing_data_point_fill_settings.fill_type)) + print("Data feed access mode: {}".format(data_feed.options.access_mode)) + # [END get_data_feed_async] + + +async def sample_list_data_feeds_async(): + # [START list_data_feeds_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + data_feeds = client.list_data_feeds() + + async for feed in data_feeds: + print("Data feed name: {}".format(feed.name)) + print("ID: {}".format(feed.id)) + print("Created time: {}".format(feed.created_time)) + print("Status: {}".format(feed.status)) + print("Source type: {}".format(feed.source.data_source_type)) + print("Granularity type: {}".format(feed.granularity.granularity_type)) + + print("\nFeed metrics:") + for metric in feed.schema.metrics: + print(metric.name) + + print("\nFeed dimensions:") + for dimension in feed.schema.dimensions: + print(dimension.name) + + # [END list_data_feeds_async] + + +async def sample_update_data_feed_async(data_feed): + # [START update_data_feed_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + # update data feed on the data feed itself or by using available keyword arguments + data_feed.name = "updated name" + data_feed.options.data_feed_description = "updated description for data feed" + + async with client: + updated_data_feed = await client.update_data_feed( + data_feed, + access_mode="Public", + fill_type="CustomValue", + custom_fill_value=1 + ) + + print("Updated name: {}".format(updated_data_feed.name)) + print("Updated description: {}".format(updated_data_feed.options.data_feed_description)) + print("Updated access mode: {}".format(updated_data_feed.options.access_mode)) + print("Updated fill setting, value: {}, {}".format( + updated_data_feed.options.missing_data_point_fill_settings.fill_type, + updated_data_feed.options.missing_data_point_fill_settings.custom_fill_value, + )) + # [END update_data_feed_async] + + +async def sample_delete_data_feed_async(data_feed_id): + # [START delete_data_feed_async] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + await client.delete_data_feed(data_feed_id) + + try: + await client.get_data_feed(data_feed_id) + except ResourceNotFoundError: + print("Data feed successfully deleted.") + + # [END delete_data_feed_async] + + +async def main(): + print("---Creating data feed...") + data_feed = await sample_create_data_feed_async() + print("Data feed successfully created...") + print("\n---Get a data feed...") + await sample_get_data_feed_async(data_feed.id) + print("\n---List data feeds...") + await sample_list_data_feeds_async() + print("\n---Update a data feed...") + await sample_update_data_feed_async(data_feed) + print("\n---Delete a data feed...") + await sample_delete_data_feed_async(data_feed.id) + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_feedback_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_feedback_async.py new file mode 100644 index 000000000000..a9991d75d9bf --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_feedback_async.py @@ -0,0 +1,120 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_feedback_async.py +DESCRIPTION: + This sample demonstrates feedback operations. +USAGE: + python sample_feedback_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_METRIC_ID - the ID of an metric from an existing data feed + 5) METRICS_ADVISOR_FEEDBACK_ID - the ID of an existing feedback +""" + +import os +import datetime +import asyncio + + +async def sample_add_feedback_async(): + # [START add_feedback_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorClient + from azure.ai.metricsadvisor.models import AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + anomaly_feedback = AnomalyFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotAnomaly") + await client.add_feedback(anomaly_feedback) + + change_point_feedback = ChangePointFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotChangePoint") + await client.add_feedback(change_point_feedback) + + comment_feedback = CommentFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="comment") + await client.add_feedback(comment_feedback) + + period_feedback = PeriodFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + period_type="AssignValue", + value=2) + await client.add_feedback(period_feedback) + # [END add_feedback_async] + + +async def sample_get_feedback_async(): + # [START get_feedback_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + feedback_id = os.getenv("METRICS_ADVISOR_FEEDBACK_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + result = await client.get_feedback(feedback_id=feedback_id) + print("Type: {}; Id: {}".format(result.feedback_type, result.id)) + # [END get_feedback_async] + + +async def sample_list_feedback_async(): + # [START list_feedback_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + results = client.list_feedbacks(metric_id=metric_id) + async for result in results: + print("Type: {}; Id: {}".format(result.feedback_type, result.id)) + # [END list_feedback_async] + +async def main(): + print("---Creating feedback...") + await sample_add_feedback_async() + print("Feedback successfully created...") + print("\n---Get a feedback...") + await sample_get_feedback_async() + print("\n---List feedbacks...") + await sample_list_feedback_async() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_hooks_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_hooks_async.py new file mode 100644 index 000000000000..7a45903ac2fb --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_hooks_async.py @@ -0,0 +1,166 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_hooks_async.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete hooks + under your Metrics Advisor account. EmailHook is used as an example in this sample. + +USAGE: + python sample_hooks_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key +""" + +import os +import asyncio + + +async def sample_create_hook_async(): + # [START create_hook_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import EmailHook + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + hook = await client.create_hook( + name="email hook", + hook=EmailHook( + description="my email hook", + emails_to_alert=["alertme@alertme.com"], + external_link="https://adwiki.azurewebsites.net/articles/howto/alerts/create-hooks.html" + ) + ) + + return hook + # [END create_hook_async] + + +async def sample_get_hook_async(hook_id): + # [START get_hook_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + async with client: + hook = await client.get_hook(hook_id) + + print("Hook name: {}".format(hook.name)) + print("Description: {}".format(hook.description)) + print("Emails to alert: {}".format(hook.emails_to_alert)) + print("External link: {}".format(hook.external_link)) + print("Admins: {}".format(hook.admins)) + + # [END get_hook_async] + + +async def sample_list_hooks_async(): + # [START list_hooks_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + hooks = client.list_hooks() + async for hook in hooks: + print("Hook type: {}".format(hook.hook_type)) + print("Hook name: {}".format(hook.name)) + print("Description: {}\n".format(hook.description)) + + # [END list_hooks_async] + + +async def sample_update_hook_async(hook): + # [START update_hook_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + hook.name = "updated hook name" + hook.description = "updated hook description" + + async with client: + updated = await client.update_hook( + hook, + emails_to_alert=["newemail@alertme.com"] + ) + print("Updated name: {}".format(updated.name)) + print("Updated description: {}".format(updated.description)) + print("Updated emails: {}".format(updated.emails_to_alert)) + # [END update_hook_async] + + +async def sample_delete_hook_async(hook_id): + # [START delete_hook_async] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + await client.delete_hook(hook_id) + + try: + await client.get_hook(hook_id) + except ResourceNotFoundError: + print("Hook successfully deleted.") + # [END delete_hook_async] + + +async def main(): + print("---Creating hook...") + hook = await sample_create_hook_async() + print("Hook successfully created...") + print("\n---Get a hook...") + await sample_get_hook_async(hook.id) + print("\n---List hooks...") + await sample_list_hooks_async() + print("\n---Update a hook...") + await sample_update_hook_async(hook) + print("\n---Delete a hook...") + await sample_delete_hook_async(hook.id) + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_ingestion_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_ingestion_async.py new file mode 100644 index 000000000000..206054daf878 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_ingestion_async.py @@ -0,0 +1,115 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_ingestion_async.py + +DESCRIPTION: + This sample demonstrates how to monitor data feed ingestion by listing the ingestion statuses, + refreshing ingestion for a time period, and getting the ingestion progress. + +USAGE: + python sample_ingestion_async.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_DATA_FEED_ID - The ID to an existing data feed under your account +""" + +import os +import asyncio + + +async def sample_list_data_feed_ingestion_status_async(): + # [START list_data_feed_ingestion_status_async] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + ingestion_status = client.list_data_feed_ingestion_status( + data_feed_id, + datetime.datetime(2020, 9, 20), + datetime.datetime(2020, 9, 25) + ) + async for status in ingestion_status: + print("Timestamp: {}".format(status.timestamp)) + print("Status: {}".format(status.status)) + print("Message: {}\n".format(status.message)) + + # [END list_data_feed_ingestion_status_async] + + +async def sample_refresh_data_feed_ingestion_async(): + # [START refresh_data_feed_ingestion_async] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + await client.refresh_data_feed_ingestion( + data_feed_id, + datetime.datetime(2020, 9, 20), + datetime.datetime(2020, 9, 25) + ) + + # [END refresh_data_feed_ingestion_async] + + +async def sample_get_data_feed_ingestion_progress_async(): + # [START get_data_feed_ingestion_progress_async] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential + from azure.ai.metricsadvisor.aio import MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async with client: + progress = await client.get_data_feed_ingestion_progress(data_feed_id) + + print("Lastest active timestamp: {}".format(progress.latest_active_timestamp)) + print("Latest successful timestamp: {}".format(progress.latest_success_timestamp)) + + # [END get_data_feed_ingestion_progress_async] + + +async def main(): + print("---Listing data feed ingestion status...") + await sample_list_data_feed_ingestion_status_async() + print("---Refreshing data feed ingestion...") + await sample_refresh_data_feed_ingestion_async() + print("---Getting data feed ingestion progress...") + await sample_get_data_feed_ingestion_progress_async() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_alert_configuration.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_alert_configuration.py new file mode 100644 index 000000000000..b5e862229f35 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_alert_configuration.py @@ -0,0 +1,309 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_anomaly_alert_configuration.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, query, update, and delete anomaly alert configurations + under your Metrics Advisor account. + +USAGE: + python sample_anomaly_alert_configuration.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_DETECTION_CONFIGURATION_ID - the ID of an existing detection configuration + 5) METRICS_ADVISOR_HOOK_ID - the ID of hook you would like to be associated with the alert configuration +""" + +import os + + +def sample_create_alert_config(): + # [START create_anomaly_alert_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + TopNGroupScope, + MetricAnomalyAlertConditions, + SeverityCondition, + MetricBoundaryCondition, + MetricAnomalyAlertSnoozeCondition + ) + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + hook_id = os.getenv("METRICS_ADVISOR_HOOK_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + alert_config = client.create_anomaly_alert_configuration( + name="my alert config", + description="alert config description", + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=10, + period=5, + min_top_count=5 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + upper=50 + ) + ), + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=2, + snooze_scope="Metric", + only_for_successive=True + ) + ), + ], + hook_ids=[hook_id] + ) + + return alert_config + # [END create_anomaly_alert_config] + + +def sample_get_alert_config(alert_config_id): + # [START get_anomaly_alert_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + config = client.get_anomaly_alert_configuration(alert_config_id) + + print("Alert config ID: {}".format(config.id)) + print("Alert config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Ids of hooks associated with alert: {}".format(config.hook_ids)) + print("Use {} operator for multiple alert conditions\n".format(config.cross_metrics_operator)) + + print("Alert uses detection configuration ID: {}".format( + config.metric_alert_configurations[0].detection_configuration_id + )) + print("Alert scope type: {}".format(config.metric_alert_configurations[0].alert_scope.scope_type)) + print("Alert severity condition: min- {}, max- {}".format( + config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, + config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, + )) + print("\nAlert uses detection configuration ID: {}".format( + config.metric_alert_configurations[1].detection_configuration_id + )) + print("Alert scope type: {}".format(config.metric_alert_configurations[1].alert_scope.scope_type)) + print("Top N: {}".format(config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.top)) + print("Point count used to look back: {}".format( + config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.period + )) + print("Min top count: {}".format( + config.metric_alert_configurations[1].alert_scope.top_n_group_in_scope.min_top_count + )) + print("Alert metric boundary condition direction: {}, upper bound: {}".format( + config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, + config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, + )) + print("Alert snooze condition, snooze point count: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.auto_snooze, + )) + print("Alert snooze scope: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.snooze_scope, + )) + print("Snooze only for successive anomalies?: {}".format( + config.metric_alert_configurations[1].alert_snooze_condition.only_for_successive, + )) + # [END get_anomaly_alert_config] + + +def sample_list_alert_configs(): + # [START list_anomaly_alert_configs] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + configs = client.list_anomaly_alert_configurations(anomaly_detection_configuration_id) + for config in configs: + print("Alert config name: {}".format(config.name)) + print("Alert description: {}".format(config.description)) + print("Ids of hooks associated with alert: {}\n".format(config.hook_ids)) + + # [END list_anomaly_alert_configs] + + +def sample_list_alerts_for_alert_config(alert_config_id): + # [START list_alerts_for_alert_config] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + results = client.list_alerts_for_alert_configuration( + alert_configuration_id=alert_config_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + time_mode="AnomalyTime", + ) + for result in results: + print("Alert id: {}".format(result.id)) + print("Create on: {}".format(result.created_on)) + return results + + # [END list_alerts_for_alert_config] + + +def sample_list_anomalies_for_alert(alert_config_id, alert_id): + # [START list_anomalies_for_alert] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + results = client.list_anomalies_for_alert( + alert_configuration_id=alert_config_id, + alert_id=alert_id, + ) + for result in results: + print("Create on: {}".format(result.created_on)) + print("Severity: {}".format(result.severity)) + print("Status: {}".format(result.status)) + + # [END list_anomalies_for_alert] + + +def sample_update_alert_config(alert_config): + # [START update_anomaly_alert_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition + ) + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + anomaly_detection_configuration_id = os.getenv("METRICS_ADVISOR_DETECTION_CONFIGURATION_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + alert_config.name = "updated config name" + additional_alert = MetricAlertConfiguration( + detection_configuration_id=anomaly_detection_configuration_id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + lower=5 + ) + ) + ) + alert_config.metric_alert_configurations.append(additional_alert) + + updated = client.update_anomaly_alert_configuration( + alert_config, + cross_metrics_operator="OR", + description="updated alert config" + ) + + print("Updated alert name: {}".format(updated.name)) + print("Updated alert description: {}".format(updated.description)) + print("Updated cross metrics operator: {}".format(updated.cross_metrics_operator)) + print("Updated alert condition configuration scope type: {}".format( + updated.metric_alert_configurations[2].alert_scope.scope_type + )) + + # [END update_anomaly_alert_config] + + +def sample_delete_alert_config(alert_config_id): + # [START delete_anomaly_alert_config] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + client.delete_anomaly_alert_configuration(alert_config_id) + + try: + client.get_anomaly_alert_configuration(alert_config_id) + except ResourceNotFoundError: + print("Alert configuration successfully deleted.") + # [END delete_anomaly_alert_config] + + +if __name__ == '__main__': + print("---Creating anomaly alert configuration...") + alert_config = sample_create_alert_config() + print("Anomaly alert configuration successfully created...") + print("\n---Get an anomaly alert configuration...") + sample_get_alert_config(alert_config.id) + print("\n---List anomaly alert configurations...") + sample_list_alert_configs() + print("\n---Query anomaly detection results...") + alerts = sample_list_alerts_for_alert_config(alert_config.id) + if len(alerts) > 0: + print("\n---Query anomalies using alert id...") + alert_id = alerts[0].id + sample_list_anomalies_for_alert(alert_config.id, alert_id) + print("\n---Update an anomaly alert configuration...") + sample_update_alert_config(alert_config) + print("\n---Delete an anomaly alert configuration...") + sample_delete_alert_config(alert_config.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_detection_configuration.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_detection_configuration.py new file mode 100644 index 000000000000..1844693da335 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_detection_configuration.py @@ -0,0 +1,252 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_anomaly_detection_configuration.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete anomaly detection configurations + under your Metrics Advisor account. + +USAGE: + python sample_anomaly_detection_configuration.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_METRIC_ID - the ID of an metric from an existing data feed +""" + +import os + + +def sample_create_detection_config(): + # [START create_anomaly_detection_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + ChangeThresholdCondition, + HardThresholdCondition, + SmartDetectionCondition, + SuppressCondition, + MetricDetectionCondition, + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + + detection_config = client.create_metric_anomaly_detection_configuration( + name="my_detection_config", + metric_id=metric_id, + description="anomaly detection config for metric", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + change_threshold_condition=change_threshold_condition, + hard_threshold_condition=hard_threshold_condition, + smart_detection_condition=smart_detection_condition + ) + ) + + return detection_config + # [END create_anomaly_detection_config] + + +def sample_get_detection_config(detection_config_id): + # [START get_anomaly_detection_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + config = client.get_metric_anomaly_detection_configuration(detection_config_id) + + print("Detection config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Metric ID: {}".format(config.metric_id)) + + print("\nDetection conditions specified for configuration...") + print("\nWhole Series Detection Conditions:\n") + conditions = config.whole_series_detection_condition + + print("Use {} operator for multiple detection conditions".format(conditions.cross_conditions_operator)) + + print("Smart Detection Condition:") + print("- Sensitivity: {}".format(conditions.smart_detection_condition.sensitivity)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + print("Hard Threshold Condition:") + print("- Lower bound: {}".format(conditions.hard_threshold_condition.lower_bound)) + print("- Upper bound: {}".format(conditions.hard_threshold_condition.upper_bound)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + print("Change Threshold Condition:") + print("- Change percentage: {}".format(conditions.change_threshold_condition.change_percentage)) + print("- Shift point: {}".format(conditions.change_threshold_condition.shift_point)) + print("- Detect anomaly if within range: {}".format(conditions.change_threshold_condition.within_range)) + print("- Detection direction: {}".format(conditions.smart_detection_condition.anomaly_detector_direction)) + print("- Suppress conditions: minimum number: {}; minimum ratio: {}".format( + conditions.smart_detection_condition.suppress_condition.min_number, + conditions.smart_detection_condition.suppress_condition.min_ratio + )) + + # [END get_anomaly_detection_config] + + +def sample_list_detection_configs(): + # [START list_anomaly_detection_configs] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + configs = client.list_metric_anomaly_detection_configurations(metric_id=metric_id) + for config in configs: + print("Detection config name: {}".format(config.name)) + print("Description: {}".format(config.description)) + print("Metric ID: {}\n".format(config.metric_id)) + + # [END list_anomaly_detection_configs] + + +def sample_update_detection_config(detection_config): + # [START update_anomaly_detection_config] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + detection_config.name = "updated config name" + detection_config.description = "updated with more detection conditions" + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + + updated = client.update_metric_anomaly_detection_configuration( + detection_config, + series_group_detection_conditions=[ + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Seoul"}, + smart_detection_condition=smart_detection_condition + ) + ], + series_detection_conditions=[ + MetricSingleSeriesDetectionCondition( + series_key={"city": "Osaka", "category": "Cell Phones"}, + smart_detection_condition=smart_detection_condition + ) + ] + ) + print("Updated detection name: {}".format(updated.name)) + print("Updated detection description: {}".format(updated.description)) + print("Updated detection condition for series group: {}".format( + updated.series_group_detection_conditions[0].series_group_key + )) + print("Updated detection condition for series: {}".format( + updated.series_detection_conditions[0].series_key + )) + + # [END update_anomaly_detection_config] + + +def sample_delete_detection_config(detection_config_id): + # [START delete_anomaly_detection_config] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + client.delete_metric_anomaly_detection_configuration(detection_config_id) + + try: + client.get_metric_anomaly_detection_configuration(detection_config_id) + except ResourceNotFoundError: + print("Detection configuration successfully deleted.") + # [END delete_anomaly_detection_config] + + +if __name__ == '__main__': + print("---Creating anomaly detection configuration...") + detection_config = sample_create_detection_config() + print("Anomaly detection configuration successfully created...") + print("\n---Get an anomaly detection configuration...") + sample_get_detection_config(detection_config.id) + print("\n---List anomaly detection configurations...") + sample_list_detection_configs() + print("\n---Update an anomaly detection configuration...") + sample_update_detection_config(detection_config) + print("\n---Delete an anomaly detection configuration...") + sample_delete_detection_config(detection_config.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_authentication.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_authentication.py new file mode 100644 index 000000000000..c67a8cc4527a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_authentication.py @@ -0,0 +1,56 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_authentication.py + +DESCRIPTION: + This sample demonstrates how to authenticate with the Azure Metrics Advisor + service with Subscription key and API key. + +USAGE: + python sample_authentication.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key +""" + +import os + + +def authentication_client_with_metrics_advisor_credential(): + # [START authentication_client_with_metrics_advisor_credential] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + # [END authentication_client_with_metrics_advisor_credential] + + +def authentication_administration_client_with_metrics_advisor_credential(): + # [START administration_client_with_metrics_advisor_credential] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + # [END administration_client_with_metrics_advisor_credential] + + +if __name__ == '__main__': + authentication_client_with_metrics_advisor_credential() + authentication_administration_client_with_metrics_advisor_credential() diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_data_feeds.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_data_feeds.py new file mode 100644 index 000000000000..d0d31af11729 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_data_feeds.py @@ -0,0 +1,220 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_data_feeds.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete datafeeds under your Metrics Advisor account. + +USAGE: + python sample_data_feeds.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING - Used in this sample for demonstration, but you should + add your own credentials specific to the data source type you're using + 5) METRICS_ADVISOR_SQL_SERVER_QUERY - Used in this sample for demonstration, but you should + add your own credentials specific to the data source type you're using +""" + +import os +import datetime + + +def sample_create_data_feed(): + # [START create_data_feed] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + DataFeedSchema, + Metric, + Dimension, + DataFeedOptions, + DataFeedRollupSettings, + DataFeedMissingDataPointFillSettings + ) + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + sql_server_connection_string = os.getenv("METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING") + query = os.getenv("METRICS_ADVISOR_SQL_SERVER_QUERY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + data_feed = client.create_data_feed( + name="My data feed", + source=SQLServerDataFeed( + connection_string=sql_server_connection_string, + query=query, + ), + granularity="Daily", + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=datetime.datetime(2019, 10, 1), + options=DataFeedOptions( + data_feed_description="cost/revenue data feed", + rollup_settings=DataFeedRollupSettings( + rollup_type="AutoRollup", + rollup_method="Sum", + rollup_identification_value="__CUSTOM_SUM__" + ), + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + access_mode="Private" + ) + ) + + return data_feed + + # [END create_data_feed] + + +def sample_get_data_feed(data_feed_id): + # [START get_data_feed] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + data_feed = client.get_data_feed(data_feed_id) + + print("ID: {}".format(data_feed.id)) + print("Data feed name: {}".format(data_feed.name)) + print("Created time: {}".format(data_feed.created_time)) + print("Status: {}".format(data_feed.status)) + print("Source type: {}".format(data_feed.source.data_source_type)) + print("Granularity type: {}".format(data_feed.granularity.granularity_type)) + print("Data feed metrics: {}".format([metric.name for metric in data_feed.schema.metrics])) + print("Data feed dimensions: {}".format([dimension.name for dimension in data_feed.schema.dimensions])) + print("Data feed timestamp column: {}".format(data_feed.schema.timestamp_column)) + print("Ingestion data starting on: {}".format(data_feed.ingestion_settings.ingestion_begin_time)) + print("Data feed description: {}".format(data_feed.options.data_feed_description)) + print("Data feed rollup type: {}".format(data_feed.options.rollup_settings.rollup_type)) + print("Data feed rollup method: {}".format(data_feed.options.rollup_settings.rollup_method)) + print("Data feed fill setting: {}".format(data_feed.options.missing_data_point_fill_settings.fill_type)) + print("Data feed access mode: {}".format(data_feed.options.access_mode)) + # [END get_data_feed] + + +def sample_list_data_feeds(): + # [START list_data_feeds] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + data_feeds = client.list_data_feeds() + + for feed in data_feeds: + print("Data feed name: {}".format(feed.name)) + print("ID: {}".format(feed.id)) + print("Created time: {}".format(feed.created_time)) + print("Status: {}".format(feed.status)) + print("Source type: {}".format(feed.source.data_source_type)) + print("Granularity type: {}".format(feed.granularity.granularity_type)) + + print("\nFeed metrics:") + for metric in feed.schema.metrics: + print(metric.name) + + print("\nFeed dimensions:") + for dimension in feed.schema.dimensions: + print(dimension.name) + + # [END list_data_feeds] + + +def sample_update_data_feed(data_feed): + # [START update_data_feed] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + # update data feed on the data feed itself or by using available keyword arguments + data_feed.name = "updated name" + data_feed.options.data_feed_description = "updated description for data feed" + + updated_data_feed = client.update_data_feed( + data_feed, + access_mode="Public", + fill_type="CustomValue", + custom_fill_value=1 + ) + + print("Updated name: {}".format(updated_data_feed.name)) + print("Updated description: {}".format(updated_data_feed.options.data_feed_description)) + print("Updated access mode: {}".format(updated_data_feed.options.access_mode)) + print("Updated fill setting, value: {}, {}".format( + updated_data_feed.options.missing_data_point_fill_settings.fill_type, + updated_data_feed.options.missing_data_point_fill_settings.custom_fill_value, + )) + # [END update_data_feed] + + +def sample_delete_data_feed(data_feed_id): + # [START delete_data_feed] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + client.delete_data_feed(data_feed_id) + + try: + client.get_data_feed(data_feed_id) + except ResourceNotFoundError: + print("Data feed successfully deleted.") + + # [END delete_data_feed] + + +if __name__ == '__main__': + print("---Creating data feed...") + data_feed = sample_create_data_feed() + print("Data feed successfully created...") + print("\n---Get a data feed...") + sample_get_data_feed(data_feed.id) + print("\n---List data feeds...") + sample_list_data_feeds() + print("\n---Update a data feed...") + sample_update_data_feed(data_feed) + print("\n---Delete a data feed...") + sample_delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_feedback.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_feedback.py new file mode 100644 index 000000000000..78c7fe3eab67 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_feedback.py @@ -0,0 +1,114 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_feedback.py +DESCRIPTION: + This sample demonstrates feedback operations. +USAGE: + python sample_feedback.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_METRIC_ID - the ID of an metric from an existing data feed + 5) METRICS_ADVISOR_FEEDBACK_ID - the ID of an existing feedback +""" + +import os +import datetime + + +def sample_add_feedback(): + # [START add_feedback] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + from azure.ai.metricsadvisor.models import AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + anomaly_feedback = AnomalyFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotAnomaly") + client.add_feedback(anomaly_feedback) + + change_point_feedback = ChangePointFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotChangePoint") + client.add_feedback(change_point_feedback) + + comment_feedback = CommentFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="comment") + client.add_feedback(comment_feedback) + + period_feedback = PeriodFeedback(metric_id=metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + period_type="AssignValue", + value=2) + client.add_feedback(period_feedback) + # [END add_feedback] + + +def sample_get_feedback(): + # [START get_feedback] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + feedback_id = os.getenv("METRICS_ADVISOR_FEEDBACK_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + result = client.get_feedback(feedback_id=feedback_id) + print("Type: {}; Id: {}".format(result.feedback_type, result.id)) + # [END get_feedback] + + +def sample_list_feedback(): + # [START list_feedback] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + metric_id = os.getenv("METRICS_ADVISOR_METRIC_ID") + + client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + results = client.list_feedbacks(metric_id=metric_id) + for result in results: + print("Type: {}; Id: {}".format(result.feedback_type, result.id)) + # [END list_feedback] + + +if __name__ == '__main__': + print("---Creating feedback...") + sample_add_feedback() + print("Feedback successfully created...") + print("\n---Get a feedback...") + sample_get_feedback() + print("\n---List feedbacks...") + sample_list_feedback() diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_hooks.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_hooks.py new file mode 100644 index 000000000000..52a7539b2d5e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_hooks.py @@ -0,0 +1,151 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_hooks.py + +DESCRIPTION: + This sample demonstrates how to create, get, list, update, and delete hooks + under your Metrics Advisor account. EmailHook is used as an example in this sample. + +USAGE: + python sample_hooks.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key +""" + +import os + + +def sample_create_hook(): + # [START create_hook] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + from azure.ai.metricsadvisor.models import EmailHook + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + hook = client.create_hook( + name="email hook", + hook=EmailHook( + description="my email hook", + emails_to_alert=["alertme@alertme.com"], + external_link="https://adwiki.azurewebsites.net/articles/howto/alerts/create-hooks.html" + ) + ) + + return hook + # [END create_hook] + + +def sample_get_hook(hook_id): + # [START get_hook] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + hook = client.get_hook(hook_id) + + print("Hook name: {}".format(hook.name)) + print("Description: {}".format(hook.description)) + print("Emails to alert: {}".format(hook.emails_to_alert)) + print("External link: {}".format(hook.external_link)) + print("Admins: {}".format(hook.admins)) + + # [END get_hook] + + +def sample_list_hooks(): + # [START list_hooks] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + hooks = client.list_hooks() + for hook in hooks: + print("Hook type: {}".format(hook.hook_type)) + print("Hook name: {}".format(hook.name)) + print("Description: {}\n".format(hook.description)) + + # [END list_hooks] + + +def sample_update_hook(hook): + # [START update_hook] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + hook.name = "updated hook name" + hook.description = "updated hook description" + + updated = client.update_hook( + hook, + emails_to_alert=["newemail@alertme.com"] + ) + print("Updated name: {}".format(updated.name)) + print("Updated description: {}".format(updated.description)) + print("Updated emails: {}".format(updated.emails_to_alert)) + # [END update_hook] + + +def sample_delete_hook(hook_id): + # [START delete_hook] + from azure.core.exceptions import ResourceNotFoundError + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + client.delete_hook(hook_id) + + try: + client.get_hook(hook_id) + except ResourceNotFoundError: + print("Hook successfully deleted.") + # [END delete_hook] + + +if __name__ == '__main__': + print("---Creating hook...") + hook = sample_create_hook() + print("Hook successfully created...") + print("\n---Get a hook...") + sample_get_hook(hook.id) + print("\n---List hooks...") + sample_list_hooks() + print("\n---Update a hook...") + sample_update_hook(hook) + print("\n---Delete a hook...") + sample_delete_hook(hook.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_ingestion.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_ingestion.py new file mode 100644 index 000000000000..e85caac53162 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_ingestion.py @@ -0,0 +1,103 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: sample_ingestion.py + +DESCRIPTION: + This sample demonstrates how to monitor data feed ingestion by listing the ingestion statuses, + refreshing ingestion for a time period, and getting the ingestion progress. + +USAGE: + python sample_ingestion.py + + Set the environment variables with your own values before running the sample: + 1) METRICS_ADVISOR_ENDPOINT - the endpoint of your Azure Metrics Advisor service + 2) METRICS_ADVISOR_SUBSCRIPTION_KEY - Metrics Advisor service subscription key + 3) METRICS_ADVISOR_API_KEY - Metrics Advisor service API key + 4) METRICS_ADVISOR_DATA_FEED_ID - The ID to an existing data feed under your account +""" + +import os + + +def sample_list_data_feed_ingestion_status(): + # [START list_data_feed_ingestion_status] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + ingestion_status = client.list_data_feed_ingestion_status( + data_feed_id, + datetime.datetime(2020, 9, 20), + datetime.datetime(2020, 9, 25) + ) + for status in ingestion_status: + print("Timestamp: {}".format(status.timestamp)) + print("Status: {}".format(status.status)) + print("Message: {}\n".format(status.message)) + + # [END list_data_feed_ingestion_status] + + +def sample_refresh_data_feed_ingestion(): + # [START refresh_data_feed_ingestion] + import datetime + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + client.refresh_data_feed_ingestion( + data_feed_id, + datetime.datetime(2020, 9, 20), + datetime.datetime(2020, 9, 25) + ) + + # [END refresh_data_feed_ingestion] + + +def sample_get_data_feed_ingestion_progress(): + # [START get_data_feed_ingestion_progress] + from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient + + service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") + subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = os.getenv("METRICS_ADVISOR_API_KEY") + data_feed_id = os.getenv("METRICS_ADVISOR_DATA_FEED_ID") + + client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + progress = client.get_data_feed_ingestion_progress(data_feed_id) + + print("Lastest active timestamp: {}".format(progress.latest_active_timestamp)) + print("Latest successful timestamp: {}".format(progress.latest_success_timestamp)) + + # [END get_data_feed_ingestion_progress] + + +if __name__ == '__main__': + print("---Listing data feed ingestion status...") + sample_list_data_feed_ingestion_status() + print("---Refreshing data feed ingestion...") + sample_refresh_data_feed_ingestion() + print("---Getting data feed ingestion progress...") + sample_get_data_feed_ingestion_progress() diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/sdk_packaging.toml b/sdk/metricsadvisor/azure-ai-metricsadvisor/sdk_packaging.toml new file mode 100644 index 000000000000..db7904a3bde6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/sdk_packaging.toml @@ -0,0 +1,9 @@ +[packaging] +package_name = "azure-ai-metricsadvisor" +package_nspkg = "azure-ai-nspkg" +package_pprint_name = "Azure Metrics Advisor" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.cfg b/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.cfg new file mode 100644 index 000000000000..3c6e79cf31da --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.py new file mode 100644 index 000000000000..9d212a415de2 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/setup.py @@ -0,0 +1,89 @@ +#!/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. +#-------------------------------------------------------------------------- + +import re +import os.path +from io import open +from setuptools import find_packages, setup + +# Change the PACKAGE_NAME only to change folder and different name +PACKAGE_NAME = "azure-ai-metricsadvisor" +PACKAGE_PPRINT_NAME = "Azure Metrics Advisor" + +# a-b-c => a/b/c +package_folder_path = PACKAGE_NAME.replace('-', '/') +# a-b-c => a.b.c +namespace_name = PACKAGE_NAME.replace('-', '.') + +# azure v0.x is not compatible with this package +# azure v0.x used to have a __version__ attribute (newer versions don't) +try: + import azure + try: + ver = azure.__version__ + raise Exception( + 'This package is incompatible with azure=={}. '.format(ver) + + 'Uninstall it with "pip uninstall azure".' + ) + except AttributeError: + pass +except ImportError: + pass + +# Version extraction inspired from 'requests' +with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: + version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', + fd.read(), re.MULTILINE).group(1) + +if not version: + raise RuntimeError('Cannot find version information') + +with open('README.md', encoding='utf-8') as f: + readme = f.read() +with open('CHANGELOG.md', encoding='utf-8') as f: + changelog = f.read() + +setup( + name=PACKAGE_NAME, + version=version, + description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), + long_description=readme + "\n\n" + changelog, + long_description_content_type='text/markdown', + license='MIT License', + author='Microsoft Corporation', + author_email='azpysdkhelp@microsoft.com', + url='https://github.com/Azure/azure-sdk-for-python', + classifiers=[ + 'Development Status :: 4 - Beta', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', + ], + zip_safe=False, + packages=find_packages(exclude=[ + 'tests', + # Exclude packages that will be covered by PEP420 or nspkg + 'azure', + 'azure.ai', + ]), + install_requires=[ + "azure-core<2.0.0,>=1.6.0", + "msrest>=0.6.12", + 'six>=1.6', + ], + extras_require={ + ":python_version<'3.0'": ['azure-ai-nspkg'], + ":python_version<'3.5'": ['typing'], + } +) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py new file mode 100644 index 000000000000..58d35312ba42 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py @@ -0,0 +1,493 @@ +# 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. +# -------------------------------------------------------------------------- + +import asyncio +import functools +import datetime + +from azure_devtools.scenario_tests.utilities import trim_kwargs_from_test_function +from devtools_testutils import AzureTestCase +from azure_devtools.scenario_tests import ( + ReplayableTest +) + +from azure.ai.metricsadvisor import ( + MetricsAdvisorKeyCredential, +) +from azure.ai.metricsadvisor.aio import ( + MetricsAdvisorClient, + MetricsAdvisorAdministrationClient, +) +from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + DataFeedSchema, + Metric, + Dimension, + DataFeedGranularity, + DataFeedIngestionSettings, + DataFeedMissingDataPointFillSettings, + DataFeedRollupSettings, + DataFeedOptions, + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition, + TopNGroupScope, + SeverityCondition, + MetricDetectionCondition, + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition, + ChangeThresholdCondition, + HardThresholdCondition, + EmailHook, + WebHook +) + + +class TestMetricsAdvisorAdministrationClientBaseAsync(AzureTestCase): + FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['Ocp-Apim-Subscription-Key', 'x-api-key'] + + def __init__(self, method_name): + super(TestMetricsAdvisorAdministrationClientBaseAsync, self).__init__(method_name) + self.vcr.match_on = ["path", "method", "query"] + if self.is_live: + service_endpoint = self.get_settings_value("METRICS_ADVISOR_ENDPOINT") + subscription_key = self.get_settings_value("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = self.get_settings_value("METRICS_ADVISOR_API_KEY") + self.sql_server_connection_string = self.get_settings_value("METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING") + self.azure_table_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_TABLE_CONNECTION_STRING") + self.azure_blob_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_BLOB_CONNECTION_STRING") + self.azure_cosmosdb_connection_string = self.get_settings_value("METRICS_ADVISOR_COSMOS_DB_CONNECTION_STRING") + self.http_request_get_url = self.get_settings_value("METRICS_ADVISOR_HTTP_GET_URL") + self.http_request_post_url = self.get_settings_value("METRICS_ADVISOR_HTTP_POST_URL") + self.application_insights_api_key = self.get_settings_value("METRICS_ADVISOR_APPLICATION_INSIGHTS_API_KEY") + self.azure_data_explorer_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_DATA_EXPLORER_CONNECTION_STRING") + self.influxdb_connection_string = self.get_settings_value("METRICS_ADVISOR_INFLUXDB_CONNECTION_STRING") + self.influxdb_password = self.get_settings_value("METRICS_ADVISOR_INFLUXDB_PASSWORD") + self.azure_datalake_account_key = self.get_settings_value("METRICS_ADVISOR_AZURE_DATALAKE_ACCOUNT_KEY") + self.mongodb_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_MONGODB_CONNECTION_STRING") + self.mysql_connection_string = self.get_settings_value("METRICS_ADVISOR_MYSQL_CONNECTION_STRING") + self.postgresql_connection_string = self.get_settings_value("METRICS_ADVISOR_POSTGRESQL_CONNECTION_STRING") + self.elasticsearch_auth_header = self.get_settings_value("METRICS_ADVISOR_ELASTICSEARCH_AUTH") + self.anomaly_detection_configuration_id = self.get_settings_value("ANOMALY_DETECTION_CONFIGURATION_ID") + self.data_feed_id = self.get_settings_value("METRICS_ADVISOR_DATA_FEED_ID") + self.metric_id = self.get_settings_value("METRICS_ADVISOR_METRIC_ID") + self.scrubber.register_name_pair( + self.sql_server_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_table_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_blob_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_cosmosdb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.http_request_get_url, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.http_request_post_url, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.application_insights_api_key, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_data_explorer_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.influxdb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.influxdb_password, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_datalake_account_key, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.mongodb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.mysql_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.postgresql_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.elasticsearch_auth_header, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.metric_id, + "metric_id" + ) + self.scrubber.register_name_pair( + self.data_feed_id, + "data_feed_id" + ) + self.scrubber.register_name_pair( + self.anomaly_detection_configuration_id, + "anomaly_detection_configuration_id" + ) + else: + service_endpoint = "https://endpointname.cognitiveservices.azure.com" + subscription_key = "METRICS_ADVISOR_SUBSCRIPTION_KEY" + api_key = "METRICS_ADVISOR_API_KEY" + self.sql_server_connection_string = "SQL_SERVER_CONNECTION_STRING" + self.azure_table_connection_string = "AZURE_TABLE_CONNECTION_STRING" + self.azure_blob_connection_string = "AZURE_BLOB_CONNECTION_STRING" + self.azure_cosmosdb_connection_string = "COSMOS_DB_CONNECTION_STRING" + self.http_request_get_url = "METRICS_ADVISOR_HTTP_GET_URL" + self.http_request_post_url = "METRICS_ADVISOR_HTTP_POST_URL" + self.application_insights_api_key = "METRICS_ADVISOR_APPLICATION_INSIGHTS_API_KEY" + self.azure_data_explorer_connection_string = "METRICS_ADVISOR_AZURE_DATA_EXPLORER_CONNECTION_STRING" + self.influxdb_connection_string = "METRICS_ADVISOR_INFLUXDB_CONNECTION_STRING" + self.influxdb_password = "METRICS_ADVISOR_INFLUXDB_PASSWORD" + self.azure_datalake_account_key = "METRICS_ADVISOR_AZURE_DATALAKE_ACCOUNT_KEY" + self.mongodb_connection_string = "METRICS_ADVISOR_AZURE_MONGODB_CONNECTION_STRING" + self.mysql_connection_string = "METRICS_ADVISOR_MYSQL_CONNECTION_STRING" + self.postgresql_connection_string = "METRICS_ADVISOR_POSTGRESQL_CONNECTION_STRING" + self.elasticsearch_auth_header = "METRICS_ADVISOR_ELASTICSEARCH_AUTH" + self.anomaly_detection_configuration_id = "anomaly_detection_configuration_id" + self.data_feed_id = "data_feed_id" + self.metric_id = "metric_id" + self.admin_client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + async def _create_data_feed(self, name): + name = self.create_random_name(name) + return await self.admin_client.create_data_feed( + name=name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query="select * from adsample2 where Timestamp = @StartTime" + ), + granularity="Daily", + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings="2019-10-01T00:00:00Z", + ) + + async def _create_data_feed_and_anomaly_detection_config(self, name): + data_feed = await self._create_data_feed(name) + detection_config_name = self.create_random_name(name) + detection_config = await self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ) + ) + ) + return detection_config, data_feed + + async def _create_data_feed_for_update(self, name): + data_feed_name = self.create_random_name(name) + return await self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="NoRollup", + rollup_method="None", + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + + async def _create_anomaly_alert_config_for_update(self, name): + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config(name) + alert_config_name = self.create_random_name(name) + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + + async def _create_detection_config_for_update(self, name): + data_feed = await self._create_data_feed(name) + detection_config_name = self.create_random_name("testupdated") + detection_config = await self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )] + ) + return detection_config, data_feed + + async def _create_email_hook_for_update(self, name): + return await self.admin_client.create_hook( + name=name, + hook=EmailHook( + emails_to_alert=["yournamehere@microsoft.com"], + description="my email hook", + external_link="external link" + ) + ) + + async def _create_web_hook_for_update(self, name): + return await self.admin_client.create_hook( + name=name, + hook=WebHook( + endpoint="https://httpbin.org/post", + description="my web hook", + external_link="external link", + username="krista", + password="123" + ) + ) + + @staticmethod + def await_prepared_test(test_fn): + """Synchronous wrapper for async test methods. Used to avoid making changes + upstream to AbstractPreparer (which doesn't await the functions it wraps) + """ + + @functools.wraps(test_fn) + def run(test_class_instance, *args, **kwargs): + trim_kwargs_from_test_function(test_fn, kwargs) + loop = asyncio.get_event_loop() + return loop.run_until_complete(test_fn(test_class_instance, **kwargs)) + + return run + + +class TestMetricsAdvisorClientBaseAsync(AzureTestCase): + FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['Ocp-Apim-Subscription-Key', 'x-api-key'] + + def __init__(self, method_name): + super(TestMetricsAdvisorClientBaseAsync, self).__init__(method_name) + self.vcr.match_on = ["path", "method", "query"] + if self.is_live: + service_endpoint = self.get_settings_value("METRICS_ADVISOR_ENDPOINT") + subscription_key = self.get_settings_value("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = self.get_settings_value("METRICS_ADVISOR_API_KEY") + self.anomaly_detection_configuration_id = self.get_settings_value("ANOMALY_DETECTION_CONFIGURATION_ID") + self.anomaly_alert_configuration_id = self.get_settings_value("ANOMALY_ALERT_CONFIGURATION_ID") + self.metric_id = self.get_settings_value("METRIC_ID") + self.incident_id = self.get_settings_value("INCIDENT_ID") + self.dimension_name = self.get_settings_value("DIMENSION_NAME") + self.feedback_id = self.get_settings_value("FEEDBACK_ID") + self.alert_id = self.get_settings_value("ALERT_ID") + self.scrubber.register_name_pair( + self.anomaly_detection_configuration_id, + "anomaly_detection_configuration_id" + ) + self.scrubber.register_name_pair( + self.anomaly_alert_configuration_id, + "anomaly_alert_configuration_id" + ) + self.scrubber.register_name_pair( + self.metric_id, + "metric_id" + ) + self.scrubber.register_name_pair( + self.incident_id, + "incident_id" + ) + self.scrubber.register_name_pair( + self.dimension_name, + "dimension_name" + ) + self.scrubber.register_name_pair( + self.feedback_id, + "feedback_id" + ) + self.scrubber.register_name_pair( + self.alert_id, + "alert_id" + ) + else: + service_endpoint = "https://endpointname.cognitiveservices.azure.com" + subscription_key = "METRICS_ADVISOR_SUBSCRIPTION_KEY" + api_key = "METRICS_ADVISOR_API_KEY" + self.anomaly_detection_configuration_id = "anomaly_detection_configuration_id" + self.anomaly_alert_configuration_id = "anomaly_alert_configuration_id" + self.metric_id = "metric_id" + self.incident_id = "incident_id" + self.dimension_name = "dimension_name" + self.feedback_id = "feedback_id" + self.alert_id = "alert_id" + + self.client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + @staticmethod + def await_prepared_test(test_fn): + """Synchronous wrapper for async test methods. Used to avoid making changes + upstream to AbstractPreparer (which doesn't await the functions it wraps) + """ + + @functools.wraps(test_fn) + def run(test_class_instance, *args, **kwargs): + trim_kwargs_from_test_function(test_fn, kwargs) + loop = asyncio.get_event_loop() + return loop.run_until_complete(test_fn(test_class_instance, **kwargs)) + + return run diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_multiple_configurations.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_multiple_configurations.yaml new file mode 100644 index 000000000000..e5b86bed2304 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_multiple_configurations.yaml @@ -0,0 +1,280 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "multiple4961244c", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '771' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: ecfe819c-3665-4ef5-a5fc-2467977f46ea + content-length: '0' + date: Sat, 12 Sep 2020 01:20:49 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/aea7b1c8-40f7-473b-807c-abdbc90cd2f4 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '660' + x-request-id: ecfe819c-3665-4ef5-a5fc-2467977f46ea + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/aea7b1c8-40f7-473b-807c-abdbc90cd2f4 + response: + body: + string: "{\"dataFeedId\":\"aea7b1c8-40f7-473b-807c-abdbc90cd2f4\",\"dataFeedName\":\"multiple4961244c\",\"metrics\":[{\"metricId\":\"8f9f259a-749b-415f-b7f5-f64f5c66ea90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f21f0af6-f415-47f2-8e1f-37280aa4873e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:20:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 138be0fa-5f55-4bb5-8d8b-1b28d11f68aa + content-length: '1489' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:49 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '242' + x-request-id: 138be0fa-5f55-4bb5-8d8b-1b28d11f68aa + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/aea7b1c8-40f7-473b-807c-abdbc90cd2f4 +- request: + body: '{"name": "multiple4961244c", "description": "testing", "metricId": "8f9f259a-749b-415f-b7f5-f64f5c66ea90", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '280' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: e848cfa2-2a0d-4dc0-8a99-139d15037670 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:51 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4f20faba-1a41-48ff-bdd5-9f220aa04c3b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: e848cfa2-2a0d-4dc0-8a99-139d15037670 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4f20faba-1a41-48ff-bdd5-9f220aa04c3b + response: + body: + string: '{"anomalyDetectionConfigurationId":"4f20faba-1a41-48ff-bdd5-9f220aa04c3b","name":"multiple4961244c","description":"testing","metricId":"8f9f259a-749b-415f-b7f5-f64f5c66ea90","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: fecd797b-89d0-4cec-8475-606d0a861bc8 + content-length: '413' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:51 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '63' + x-request-id: fecd797b-89d0-4cec-8475-606d0a861bc8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4f20faba-1a41-48ff-bdd5-9f220aa04c3b +- request: + body: '{"name": "testalert4961244c", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "4f20faba-1a41-48ff-bdd5-9f220aa04c3b", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "8f9f259a-749b-415f-b7f5-f64f5c66ea90"}}, {"anomalyDetectionConfigurationId": + "4f20faba-1a41-48ff-bdd5-9f220aa04c3b", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "4f20faba-1a41-48ff-bdd5-9f220aa04c3b", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '822' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: f678e348-2e09-45ed-9c29-2241f5de7542 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:51 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '313' + x-request-id: f678e348-2e09-45ed-9c29-2241f5de7542 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 + response: + body: + string: '{"anomalyAlertingConfigurationId":"33837db7-9d89-44ec-a8cb-7bdf90a462a3","name":"testalert4961244c","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"4f20faba-1a41-48ff-bdd5-9f220aa04c3b","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"8f9f259a-749b-415f-b7f5-f64f5c66ea90","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"4f20faba-1a41-48ff-bdd5-9f220aa04c3b","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"4f20faba-1a41-48ff-bdd5-9f220aa04c3b","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: aaa1ee1b-6d99-40ff-bbed-0d465d7adb95 + content-length: '967' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:51 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: aaa1ee1b-6d99-40ff-bbed-0d465d7adb95 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 + response: + body: + string: '' + headers: + apim-request-id: cf0a1092-0cf5-4adb-ba10-77760d81a4a9 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '125' + x-request-id: cf0a1092-0cf5-4adb-ba10-77760d81a4a9 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: a2869cb7-ae97-4f66-926f-569b63095b75"}' + headers: + apim-request-id: 958b76af-3ad9-40ae-ba9a-a52c0c5d0f35 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '47' + x-request-id: 958b76af-3ad9-40ae-ba9a-a52c0c5d0f35 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/33837db7-9d89-44ec-a8cb-7bdf90a462a3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4f20faba-1a41-48ff-bdd5-9f220aa04c3b + response: + body: + string: '' + headers: + apim-request-id: eccef365-7d93-406c-9474-3c0708ac0b47 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '71' + x-request-id: eccef365-7d93-406c-9474-3c0708ac0b47 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4f20faba-1a41-48ff-bdd5-9f220aa04c3b +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/aea7b1c8-40f7-473b-807c-abdbc90cd2f4 + response: + body: + string: '' + headers: + apim-request-id: 83149e90-10e0-4068-81b6-e5e8bb20cfce + content-length: '0' + date: Sat, 12 Sep 2020 01:20:53 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '255' + x-request-id: 83149e90-10e0-4068-81b6-e5e8bb20cfce + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/aea7b1c8-40f7-473b-807c-abdbc90cd2f4 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml new file mode 100644 index 000000000000..976c7fe8743c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml @@ -0,0 +1,275 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupc8de2850", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 1d505a47-d829-46af-a531-7f81311d4c22 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:53 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/190cf75a-a640-45be-bf2b-5e5f89e6f583 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '456' + x-request-id: 1d505a47-d829-46af-a531-7f81311d4c22 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/190cf75a-a640-45be-bf2b-5e5f89e6f583 + response: + body: + string: "{\"dataFeedId\":\"190cf75a-a640-45be-bf2b-5e5f89e6f583\",\"dataFeedName\":\"seriesgroupc8de2850\",\"metrics\":[{\"metricId\":\"a0ffac6c-e9d5-4f82-b252-1face064688a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"faf7c7d4-6480-43f2-ac78-7ed3ed41a87c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:20:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 2acda8e1-47ed-4c49-9482-6628593595eb + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:53 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '133' + x-request-id: 2acda8e1-47ed-4c49-9482-6628593595eb + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/190cf75a-a640-45be-bf2b-5e5f89e6f583 +- request: + body: '{"name": "seriesgroupc8de2850", "description": "testing", "metricId": "a0ffac6c-e9d5-4f82-b252-1face064688a", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 84b90ce8-4d9d-457d-8526-9b3ce9e22a41 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:54 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/89da0801-fa99-4ba9-9f53-a21dba47c182 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: 84b90ce8-4d9d-457d-8526-9b3ce9e22a41 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/89da0801-fa99-4ba9-9f53-a21dba47c182 + response: + body: + string: '{"anomalyDetectionConfigurationId":"89da0801-fa99-4ba9-9f53-a21dba47c182","name":"seriesgroupc8de2850","description":"testing","metricId":"a0ffac6c-e9d5-4f82-b252-1face064688a","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 5b291b49-b06d-471f-ae5f-8de68d1970cc + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:54 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '58' + x-request-id: 5b291b49-b06d-471f-ae5f-8de68d1970cc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/89da0801-fa99-4ba9-9f53-a21dba47c182 +- request: + body: '{"name": "testalertc8de2850", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "89da0801-fa99-4ba9-9f53-a21dba47c182", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", + "metricId": "a0ffac6c-e9d5-4f82-b252-1face064688a"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '368' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 3b89f4d3-e836-4734-9cc2-dfd0b96fb09a + content-length: '0' + date: Sat, 12 Sep 2020 01:20:54 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '155' + x-request-id: 3b89f4d3-e836-4734-9cc2-dfd0b96fb09a + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a + response: + body: + string: '{"anomalyAlertingConfigurationId":"d0d7c38d-0a51-4e31-a1b7-15f15ff4783a","name":"testalertc8de2850","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"89da0801-fa99-4ba9-9f53-a21dba47c182","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"a0ffac6c-e9d5-4f82-b252-1face064688a","triggerForMissing":false}}]}' + headers: + apim-request-id: a362bb71-c8bc-4394-b8b3-f883315dbfec + content-length: '488' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: a362bb71-c8bc-4394-b8b3-f883315dbfec + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a + response: + body: + string: '' + headers: + apim-request-id: 18006000-de55-470e-9088-ff3e8fd2563b + content-length: '0' + date: Sat, 12 Sep 2020 01:20:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: 18006000-de55-470e-9088-ff3e8fd2563b + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: c66b5843-54ae-4b04-af5b-26b58ae82241"}' + headers: + apim-request-id: 9b62a1d3-2a66-42fb-be43-1540cb0c644b + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '46' + x-request-id: 9b62a1d3-2a66-42fb-be43-1540cb0c644b + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d0d7c38d-0a51-4e31-a1b7-15f15ff4783a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/89da0801-fa99-4ba9-9f53-a21dba47c182 + response: + body: + string: '' + headers: + apim-request-id: 93dc550f-f804-4a0d-a822-f5aef5e5686c + content-length: '0' + date: Sat, 12 Sep 2020 01:20:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 93dc550f-f804-4a0d-a822-f5aef5e5686c + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/89da0801-fa99-4ba9-9f53-a21dba47c182 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/190cf75a-a640-45be-bf2b-5e5f89e6f583 + response: + body: + string: '' + headers: + apim-request-id: 7d3d0754-31a7-46ae-81f9-b9ca77bd6809 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:57 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '286' + x-request-id: 7d3d0754-31a7-46ae-81f9-b9ca77bd6809 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/190cf75a-a640-45be-bf2b-5e5f89e6f583 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml new file mode 100644 index 000000000000..46ad2e336b9f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml @@ -0,0 +1,275 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupc8f2285b", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 9e2e9798-5e9c-414f-bea4-917ebab63fd2 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:57 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7b4ab3f2-5c3d-4179-8569-d6a396246580 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '360' + x-request-id: 9e2e9798-5e9c-414f-bea4-917ebab63fd2 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7b4ab3f2-5c3d-4179-8569-d6a396246580 + response: + body: + string: "{\"dataFeedId\":\"7b4ab3f2-5c3d-4179-8569-d6a396246580\",\"dataFeedName\":\"seriesgroupc8f2285b\",\"metrics\":[{\"metricId\":\"8a46e32d-043b-40f0-b031-0f19c6aaeb0a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a5346667-5df5-4743-89a8-64f8c1d465da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:20:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 691553c0-ca55-48b3-9218-f4361319b67f + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:58 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '122' + x-request-id: 691553c0-ca55-48b3-9218-f4361319b67f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/7b4ab3f2-5c3d-4179-8569-d6a396246580 +- request: + body: '{"name": "seriesgroupc8f2285b", "description": "testing", "metricId": "8a46e32d-043b-40f0-b031-0f19c6aaeb0a", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: ee9ed308-3cc5-4b3c-ba3d-9fd6ea09736d + content-length: '0' + date: Sat, 12 Sep 2020 01:20:58 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/664123f0-28ef-4d4c-b159-c060723b69ad + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: ee9ed308-3cc5-4b3c-ba3d-9fd6ea09736d + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/664123f0-28ef-4d4c-b159-c060723b69ad + response: + body: + string: '{"anomalyDetectionConfigurationId":"664123f0-28ef-4d4c-b159-c060723b69ad","name":"seriesgroupc8f2285b","description":"testing","metricId":"8a46e32d-043b-40f0-b031-0f19c6aaeb0a","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: b8aa5a5d-4f33-40e2-b741-563e81d1f026 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:58 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '63' + x-request-id: b8aa5a5d-4f33-40e2-b741-563e81d1f026 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/664123f0-28ef-4d4c-b159-c060723b69ad +- request: + body: '{"name": "testalertc8f2285b", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "664123f0-28ef-4d4c-b159-c060723b69ad", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"lower": 1.0, "direction": "Down", "metricId": + "8a46e32d-043b-40f0-b031-0f19c6aaeb0a"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '354' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: ac719cea-8709-4433-a761-f6de6f3ac19a + content-length: '0' + date: Sat, 12 Sep 2020 01:20:59 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '143' + x-request-id: ac719cea-8709-4433-a761-f6de6f3ac19a + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 + response: + body: + string: '{"anomalyAlertingConfigurationId":"3a8bf385-b201-4600-878d-b77defc72537","name":"testalertc8f2285b","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"664123f0-28ef-4d4c-b159-c060723b69ad","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"lower":1.0,"direction":"Down","metricId":"8a46e32d-043b-40f0-b031-0f19c6aaeb0a","triggerForMissing":false}}]}' + headers: + apim-request-id: 148e0de4-df1b-409c-8e02-97a23a0494a0 + content-length: '476' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:59 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '65' + x-request-id: 148e0de4-df1b-409c-8e02-97a23a0494a0 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 + response: + body: + string: '' + headers: + apim-request-id: 583f5eec-9396-41f8-88c4-70b670ba78e7 + content-length: '0' + date: Sat, 12 Sep 2020 01:20:59 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 583f5eec-9396-41f8-88c4-70b670ba78e7 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: a38ac5d5-49cc-4d8a-af3b-9f3ab171540a"}' + headers: + apim-request-id: c5b39a93-623c-4491-a962-7dd68489a266 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:20:59 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: c5b39a93-623c-4491-a962-7dd68489a266 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/3a8bf385-b201-4600-878d-b77defc72537 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/664123f0-28ef-4d4c-b159-c060723b69ad + response: + body: + string: '' + headers: + apim-request-id: 354c9e2d-4ff0-4688-9b8c-b9302466aaf2 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:00 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: 354c9e2d-4ff0-4688-9b8c-b9302466aaf2 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/664123f0-28ef-4d4c-b159-c060723b69ad +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7b4ab3f2-5c3d-4179-8569-d6a396246580 + response: + body: + string: '' + headers: + apim-request-id: 17137a71-e9ec-4406-a757-b9a3f6da38e5 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:00 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '258' + x-request-id: 17137a71-e9ec-4406-a757-b9a3f6da38e5 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/7b4ab3f2-5c3d-4179-8569-d6a396246580 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml new file mode 100644 index 000000000000..13674ccc63b5 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroup78cd2788", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 5cab0aff-00dc-46e4-ae0d-244ed6a9b029 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:01 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/476e219e-3128-404a-9143-91a0b78482e7 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '360' + x-request-id: 5cab0aff-00dc-46e4-ae0d-244ed6a9b029 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/476e219e-3128-404a-9143-91a0b78482e7 + response: + body: + string: "{\"dataFeedId\":\"476e219e-3128-404a-9143-91a0b78482e7\",\"dataFeedName\":\"seriesgroup78cd2788\",\"metrics\":[{\"metricId\":\"90adc79b-5a47-45f5-973a-cacbcefbbe9d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"be3a50de-e862-40c4-b81d-03bdb4388bc8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: b4cd6505-8057-4e61-af89-6df2d179698f + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:01 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '123' + x-request-id: b4cd6505-8057-4e61-af89-6df2d179698f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/476e219e-3128-404a-9143-91a0b78482e7 +- request: + body: '{"name": "seriesgroup78cd2788", "description": "testing", "metricId": "90adc79b-5a47-45f5-973a-cacbcefbbe9d", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 31bcfd6b-81e9-45e6-80c4-8ca3afe9c0a8 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:02 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9cb580cf-80e3-4765-af06-9c98b832340a + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: 31bcfd6b-81e9-45e6-80c4-8ca3afe9c0a8 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9cb580cf-80e3-4765-af06-9c98b832340a + response: + body: + string: '{"anomalyDetectionConfigurationId":"9cb580cf-80e3-4765-af06-9c98b832340a","name":"seriesgroup78cd2788","description":"testing","metricId":"90adc79b-5a47-45f5-973a-cacbcefbbe9d","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 2e5d777b-7ae4-4703-b9d8-9c1ced2e4430 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:02 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '59' + x-request-id: 2e5d777b-7ae4-4703-b9d8-9c1ced2e4430 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9cb580cf-80e3-4765-af06-9c98b832340a +- request: + body: '{"name": "testalert78cd2788", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "9cb580cf-80e3-4765-af06-9c98b832340a", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"upper": 5.0, "direction": "Up", "metricId": "90adc79b-5a47-45f5-973a-cacbcefbbe9d"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '352' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 75743184-866f-4757-b296-830c87edae59 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:02 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '145' + x-request-id: 75743184-866f-4757-b296-830c87edae59 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc + response: + body: + string: '{"anomalyAlertingConfigurationId":"145c38f8-8d4c-4e63-8934-7f75153612bc","name":"testalert78cd2788","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"9cb580cf-80e3-4765-af06-9c98b832340a","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"upper":5.0,"direction":"Up","metricId":"90adc79b-5a47-45f5-973a-cacbcefbbe9d","triggerForMissing":false}}]}' + headers: + apim-request-id: 14918359-199b-492d-aa03-87f8c197608c + content-length: '474' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:02 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '70' + x-request-id: 14918359-199b-492d-aa03-87f8c197608c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc + response: + body: + string: '' + headers: + apim-request-id: 8f3d316d-0230-43ab-b546-94a3972a3d3c + content-length: '0' + date: Sat, 12 Sep 2020 01:21:03 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '86' + x-request-id: 8f3d316d-0230-43ab-b546-94a3972a3d3c + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: d809c73b-8fab-4288-884e-1ee4c928ef71"}' + headers: + apim-request-id: 0a51e551-ae8c-4d7f-b473-356b57a97e46 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:03 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: 0a51e551-ae8c-4d7f-b473-356b57a97e46 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/145c38f8-8d4c-4e63-8934-7f75153612bc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9cb580cf-80e3-4765-af06-9c98b832340a + response: + body: + string: '' + headers: + apim-request-id: 5432b644-5eda-4c74-b8fa-bf95001665da + content-length: '0' + date: Sat, 12 Sep 2020 01:21:03 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: 5432b644-5eda-4c74-b8fa-bf95001665da + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9cb580cf-80e3-4765-af06-9c98b832340a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/476e219e-3128-404a-9143-91a0b78482e7 + response: + body: + string: '' + headers: + apim-request-id: 91c7d235-dadc-4187-ae74-17c5ea1a24b0 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:03 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '257' + x-request-id: 91c7d235-dadc-4187-ae74-17c5ea1a24b0 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/476e219e-3128-404a-9143-91a0b78482e7 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_severity_condition.yaml new file mode 100644 index 000000000000..8b39b3164d13 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_series_group_severity_condition.yaml @@ -0,0 +1,275 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupsev7b0f27ad", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '777' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 74bd882d-4338-43ac-8a7b-e9ee21871e60 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:05 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3e140dd-bb94-4951-b782-88f1b26cd57b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '407' + x-request-id: 74bd882d-4338-43ac-8a7b-e9ee21871e60 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3e140dd-bb94-4951-b782-88f1b26cd57b + response: + body: + string: "{\"dataFeedId\":\"d3e140dd-bb94-4951-b782-88f1b26cd57b\",\"dataFeedName\":\"seriesgroupsev7b0f27ad\",\"metrics\":[{\"metricId\":\"6ac0c46b-0374-4665-b869-8bd7b792251d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8a4a3240-c1fa-4f00-b439-4499f515475b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 4628c668-0c79-44fc-985b-8ab8e6c5598a + content-length: '1495' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:05 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '137' + x-request-id: 4628c668-0c79-44fc-985b-8ab8e6c5598a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d3e140dd-bb94-4951-b782-88f1b26cd57b +- request: + body: '{"name": "seriesgroupsev7b0f27ad", "description": "testing", "metricId": + "6ac0c46b-0374-4665-b869-8bd7b792251d", "wholeMetricConfiguration": {"smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 7f9e4cc0-3e6e-4dff-ac72-f4b2f320f6a7 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:06 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bd09dc0a-7e80-4725-9139-8496518402f3 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 7f9e4cc0-3e6e-4dff-ac72-f4b2f320f6a7 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bd09dc0a-7e80-4725-9139-8496518402f3 + response: + body: + string: '{"anomalyDetectionConfigurationId":"bd09dc0a-7e80-4725-9139-8496518402f3","name":"seriesgroupsev7b0f27ad","description":"testing","metricId":"6ac0c46b-0374-4665-b869-8bd7b792251d","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: c68f4cbe-dc31-456e-833b-83720794d94a + content-length: '419' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:06 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '64' + x-request-id: c68f4cbe-dc31-456e-833b-83720794d94a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bd09dc0a-7e80-4725-9139-8496518402f3 +- request: + body: '{"name": "testalert7b0f27ad", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "bd09dc0a-7e80-4725-9139-8496518402f3", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '325' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 1075aa24-bea6-4889-a25b-4d972932a3e7 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:06 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '144' + x-request-id: 1075aa24-bea6-4889-a25b-4d972932a3e7 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 + response: + body: + string: '{"anomalyAlertingConfigurationId":"e47cc619-f119-4235-8ad1-2db1641af6f2","name":"testalert7b0f27ad","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"bd09dc0a-7e80-4725-9139-8496518402f3","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: e9c826ab-f020-4b73-aeed-a98bdc2d16c1 + content-length: '423' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:06 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '65' + x-request-id: e9c826ab-f020-4b73-aeed-a98bdc2d16c1 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 + response: + body: + string: '' + headers: + apim-request-id: cd7769fc-2c8e-4aac-b1c4-53300e19a6d3 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '87' + x-request-id: cd7769fc-2c8e-4aac-b1c4-53300e19a6d3 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 8fd2362b-19b2-4048-9ae7-5b9243420567"}' + headers: + apim-request-id: 0830800a-6c13-4f57-a6ad-253173bfbcfb + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '44' + x-request-id: 0830800a-6c13-4f57-a6ad-253173bfbcfb + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e47cc619-f119-4235-8ad1-2db1641af6f2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bd09dc0a-7e80-4725-9139-8496518402f3 + response: + body: + string: '' + headers: + apim-request-id: 58c3dbe5-b727-4651-bf04-345e6c13a3dc + content-length: '0' + date: Sat, 12 Sep 2020 01:21:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: 58c3dbe5-b727-4651-bf04-345e6c13a3dc + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bd09dc0a-7e80-4725-9139-8496518402f3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3e140dd-bb94-4951-b782-88f1b26cd57b + response: + body: + string: '' + headers: + apim-request-id: 744921d2-1f46-46de-b7bd-e2cd3236b724 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '256' + x-request-id: 744921d2-1f46-46de-b7bd-e2cd3236b724 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d3e140dd-bb94-4951-b782-88f1b26cd57b +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_snooze_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_snooze_condition.yaml new file mode 100644 index 000000000000..57ce14cbdab6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_snooze_condition.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup54a8215a", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: c89a08c9-e53b-4d87-8f4b-252b73370477 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:09 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2f333672-85df-407b-876e-76005fa8cef9 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '389' + x-request-id: c89a08c9-e53b-4d87-8f4b-252b73370477 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2f333672-85df-407b-876e-76005fa8cef9 + response: + body: + string: "{\"dataFeedId\":\"2f333672-85df-407b-876e-76005fa8cef9\",\"dataFeedName\":\"topnup54a8215a\",\"metrics\":[{\"metricId\":\"56447537-0e78-4946-a5b9-6f0081ab41f6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d394c7e1-3812-4ec1-8356-26cd1fff2e9d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 70318223-45ac-40c9-93f2-0a8c1fc63395 + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '124' + x-request-id: 70318223-45ac-40c9-93f2-0a8c1fc63395 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2f333672-85df-407b-876e-76005fa8cef9 +- request: + body: '{"name": "topnup54a8215a", "description": "testing", "metricId": "56447537-0e78-4946-a5b9-6f0081ab41f6", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 9dd6bf76-1d23-4d46-aeaa-db5dbbb3f739 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:09 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '87' + x-request-id: 9dd6bf76-1d23-4d46-aeaa-db5dbbb3f739 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc + response: + body: + string: '{"anomalyDetectionConfigurationId":"8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc","name":"topnup54a8215a","description":"testing","metricId":"56447537-0e78-4946-a5b9-6f0081ab41f6","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 8841da52-0950-4c73-9027-260bc8b857cc + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '62' + x-request-id: 8841da52-0950-4c73-9027-260bc8b857cc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc +- request: + body: '{"name": "testalert54a8215a", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "snoozeFilter": {"autoSnooze": 5, "snoozeScope": "Metric", "onlyForSuccessive": + true}}]}' + headers: + Accept: + - application/json + Content-Length: + - '334' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: af7c14e5-8468-4459-b4d2-99484814d09a + content-length: '0' + date: Sat, 12 Sep 2020 01:21:10 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '87' + x-request-id: af7c14e5-8468-4459-b4d2-99484814d09a + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d + response: + body: + string: '{"anomalyAlertingConfigurationId":"52854141-05a3-4259-8da8-49fd07ff380d","name":"testalert54a8215a","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"snoozeFilter":{"autoSnooze":5,"snoozeScope":"Metric","onlyForSuccessive":true}}]}' + headers: + apim-request-id: 50e53e86-0caf-495b-8ea3-4804c0f39477 + content-length: '427' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: 50e53e86-0caf-495b-8ea3-4804c0f39477 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d + response: + body: + string: '' + headers: + apim-request-id: 8f52d2ad-a97c-4662-a1be-6cc604a0420a + content-length: '0' + date: Sat, 12 Sep 2020 01:21:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '90' + x-request-id: 8f52d2ad-a97c-4662-a1be-6cc604a0420a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: e53cc5cb-2d76-4726-8cd6-1fcaf5ccce9c"}' + headers: + apim-request-id: 10563489-c28d-4b19-bc3d-339489c26f0d + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: 10563489-c28d-4b19-bc3d-339489c26f0d + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/52854141-05a3-4259-8da8-49fd07ff380d +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc + response: + body: + string: '' + headers: + apim-request-id: 0a851483-bee7-44e0-94d3-e7884d483d8d + content-length: '0' + date: Sat, 12 Sep 2020 01:21:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 0a851483-bee7-44e0-94d3-e7884d483d8d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8263f7fc-8b5b-47fd-b4a1-1ee45b22d8cc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2f333672-85df-407b-876e-76005fa8cef9 + response: + body: + string: '' + headers: + apim-request-id: 33882783-17d1-4968-b8d0-fec5c7e67134 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '280' + x-request-id: 33882783-17d1-4968-b8d0-fec5c7e67134 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2f333672-85df-407b-876e-76005fa8cef9 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml new file mode 100644 index 000000000000..0a07d1a1074a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnupb6152559", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 0c45245c-7207-40d1-87cd-cbe46ea1a4f3 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:13 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c05ea5ff-b520-457f-9302-50152bda2c4d + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '379' + x-request-id: 0c45245c-7207-40d1-87cd-cbe46ea1a4f3 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c05ea5ff-b520-457f-9302-50152bda2c4d + response: + body: + string: "{\"dataFeedId\":\"c05ea5ff-b520-457f-9302-50152bda2c4d\",\"dataFeedName\":\"topnupb6152559\",\"metrics\":[{\"metricId\":\"d14feb1c-be33-49db-9436-ea6424bb92bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2f6c8b-cae1-4d20-b070-a58108c8e327\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 305e25c3-838c-47e6-8a9c-f9b8f3f7ea37 + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '134' + x-request-id: 305e25c3-838c-47e6-8a9c-f9b8f3f7ea37 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/c05ea5ff-b520-457f-9302-50152bda2c4d +- request: + body: '{"name": "topnupb6152559", "description": "testing", "metricId": "d14feb1c-be33-49db-9436-ea6424bb92bb", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 734fc8c6-e00c-4273-b591-44e327345d0e + content-length: '0' + date: Sat, 12 Sep 2020 01:21:13 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2f9b8969-e73b-43b6-b9b6-37dc196c49be + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '88' + x-request-id: 734fc8c6-e00c-4273-b591-44e327345d0e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2f9b8969-e73b-43b6-b9b6-37dc196c49be + response: + body: + string: '{"anomalyDetectionConfigurationId":"2f9b8969-e73b-43b6-b9b6-37dc196c49be","name":"topnupb6152559","description":"testing","metricId":"d14feb1c-be33-49db-9436-ea6424bb92bb","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: d26a5573-9f71-4ce9-a24b-fe4ae6e9c3e4 + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '60' + x-request-id: d26a5573-9f71-4ce9-a24b-fe4ae6e9c3e4 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2f9b8969-e73b-43b6-b9b6-37dc196c49be +- request: + body: '{"name": "testalertb6152559", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "2f9b8969-e73b-43b6-b9b6-37dc196c49be", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "d14feb1c-be33-49db-9436-ea6424bb92bb"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '365' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: de72bb70-6429-4308-a6ec-f3ebd03a7ce7 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:14 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '97' + x-request-id: de72bb70-6429-4308-a6ec-f3ebd03a7ce7 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de + response: + body: + string: '{"anomalyAlertingConfigurationId":"d4c42634-b61e-4ba1-9010-e0544dab62de","name":"testalertb6152559","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"2f9b8969-e73b-43b6-b9b6-37dc196c49be","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"d14feb1c-be33-49db-9436-ea6424bb92bb","triggerForMissing":false}}]}' + headers: + apim-request-id: 8c71e940-10b2-4287-9760-90637938dd8c + content-length: '482' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: 8c71e940-10b2-4287-9760-90637938dd8c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de + response: + body: + string: '' + headers: + apim-request-id: fe7cfe55-6a55-48c5-b4c4-7053dd89b842 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: fe7cfe55-6a55-48c5-b4c4-7053dd89b842 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 1b422d14-a6b6-447d-a431-583c9967a3bb"}' + headers: + apim-request-id: d847a4db-9990-4cf7-ac44-244168691665 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: d847a4db-9990-4cf7-ac44-244168691665 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/d4c42634-b61e-4ba1-9010-e0544dab62de +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2f9b8969-e73b-43b6-b9b6-37dc196c49be + response: + body: + string: '' + headers: + apim-request-id: 526c401a-c504-4e87-944e-15aa65d0b021 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 526c401a-c504-4e87-944e-15aa65d0b021 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2f9b8969-e73b-43b6-b9b6-37dc196c49be +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c05ea5ff-b520-457f-9302-50152bda2c4d + response: + body: + string: '' + headers: + apim-request-id: 9e6605d9-4b4b-42d7-b31a-5c4e28dd9707 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '266' + x-request-id: 9e6605d9-4b4b-42d7-b31a-5c4e28dd9707 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/c05ea5ff-b520-457f-9302-50152bda2c4d +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml new file mode 100644 index 000000000000..bd255e57bcff --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnupb6292564", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 06145c1f-f6c3-49ce-925c-574a100f62c9 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:17 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bbd1b296-4a2b-4e23-b082-4c971a3fb016 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '333' + x-request-id: 06145c1f-f6c3-49ce-925c-574a100f62c9 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bbd1b296-4a2b-4e23-b082-4c971a3fb016 + response: + body: + string: "{\"dataFeedId\":\"bbd1b296-4a2b-4e23-b082-4c971a3fb016\",\"dataFeedName\":\"topnupb6292564\",\"metrics\":[{\"metricId\":\"d0d47403-168f-4cc2-bbc3-819604576042\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"807d905a-db36-4306-b37d-b294592a6098\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 93129d74-1825-4c8d-996b-54399add6e2b + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '133' + x-request-id: 93129d74-1825-4c8d-996b-54399add6e2b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/bbd1b296-4a2b-4e23-b082-4c971a3fb016 +- request: + body: '{"name": "topnupb6292564", "description": "testing", "metricId": "d0d47403-168f-4cc2-bbc3-819604576042", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: e4d163f1-de53-49b7-b33b-76491fd8bdf0 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:17 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fa58950f-ae92-445e-935e-f07920b4017b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: e4d163f1-de53-49b7-b33b-76491fd8bdf0 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fa58950f-ae92-445e-935e-f07920b4017b + response: + body: + string: '{"anomalyDetectionConfigurationId":"fa58950f-ae92-445e-935e-f07920b4017b","name":"topnupb6292564","description":"testing","metricId":"d0d47403-168f-4cc2-bbc3-819604576042","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 17ba7fab-4f91-4797-a65b-1f8524f0a8b6 + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '63' + x-request-id: 17ba7fab-4f91-4797-a65b-1f8524f0a8b6 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fa58950f-ae92-445e-935e-f07920b4017b +- request: + body: '{"name": "testalertb6292564", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "fa58950f-ae92-445e-935e-f07920b4017b", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "direction": "Down", "metricId": "d0d47403-168f-4cc2-bbc3-819604576042"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '351' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: a99932a1-826b-439c-b42d-2288e3bd34ae + content-length: '0' + date: Sat, 12 Sep 2020 01:21:18 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '94' + x-request-id: a99932a1-826b-439c-b42d-2288e3bd34ae + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 + response: + body: + string: '{"anomalyAlertingConfigurationId":"db0ed4d4-0116-4209-8a90-bc03610ef997","name":"testalertb6292564","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"fa58950f-ae92-445e-935e-f07920b4017b","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"direction":"Down","metricId":"d0d47403-168f-4cc2-bbc3-819604576042","triggerForMissing":false}}]}' + headers: + apim-request-id: efb0f771-c8a5-4a81-8008-ed907bcf4a4f + content-length: '470' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '68' + x-request-id: efb0f771-c8a5-4a81-8008-ed907bcf4a4f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 + response: + body: + string: '' + headers: + apim-request-id: 8740d8c0-4fce-4f01-b1f1-e52b62754c8b + content-length: '0' + date: Sat, 12 Sep 2020 01:21:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: 8740d8c0-4fce-4f01-b1f1-e52b62754c8b + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 34f1a50f-f28f-4459-a4b5-d50db9dc1453"}' + headers: + apim-request-id: 2b599975-c777-4c22-97f4-efd14e8c670d + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '44' + x-request-id: 2b599975-c777-4c22-97f4-efd14e8c670d + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/db0ed4d4-0116-4209-8a90-bc03610ef997 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fa58950f-ae92-445e-935e-f07920b4017b + response: + body: + string: '' + headers: + apim-request-id: 502a80ef-3af2-4af5-a9c1-ddabe18cd738 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:19 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: 502a80ef-3af2-4af5-a9c1-ddabe18cd738 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fa58950f-ae92-445e-935e-f07920b4017b +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bbd1b296-4a2b-4e23-b082-4c971a3fb016 + response: + body: + string: '' + headers: + apim-request-id: 5a77e2e3-8447-47ba-8a90-7fc9a5ba5106 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:19 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '268' + x-request-id: 5a77e2e3-8447-47ba-8a90-7fc9a5ba5106 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/bbd1b296-4a2b-4e23-b082-4c971a3fb016 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml new file mode 100644 index 000000000000..c1127097b9df --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup6bf22491", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 4ac4dd31-7879-4756-9049-cf19018c3d6e + content-length: '0' + date: Sat, 12 Sep 2020 01:21:21 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/93cc4e67-52f0-4949-80b0-6da125b09f3a + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '344' + x-request-id: 4ac4dd31-7879-4756-9049-cf19018c3d6e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/93cc4e67-52f0-4949-80b0-6da125b09f3a + response: + body: + string: "{\"dataFeedId\":\"93cc4e67-52f0-4949-80b0-6da125b09f3a\",\"dataFeedName\":\"topnup6bf22491\",\"metrics\":[{\"metricId\":\"73e2f1e2-bfa7-4bc4-957d-8216cf985bfe\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80a39972-25e6-4d9b-acd4-ae5c396ed5ea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 0294ac27-61c8-4dec-be8b-d99368d2db21 + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '117' + x-request-id: 0294ac27-61c8-4dec-be8b-d99368d2db21 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/93cc4e67-52f0-4949-80b0-6da125b09f3a +- request: + body: '{"name": "topnup6bf22491", "description": "testing", "metricId": "73e2f1e2-bfa7-4bc4-957d-8216cf985bfe", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 895b4d69-52cc-4d44-9452-8f17013b1976 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:21 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3062c4dd-4ccf-4bb2-af77-7de0cbb171de + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: 895b4d69-52cc-4d44-9452-8f17013b1976 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3062c4dd-4ccf-4bb2-af77-7de0cbb171de + response: + body: + string: '{"anomalyDetectionConfigurationId":"3062c4dd-4ccf-4bb2-af77-7de0cbb171de","name":"topnup6bf22491","description":"testing","metricId":"73e2f1e2-bfa7-4bc4-957d-8216cf985bfe","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: de1bb7b6-669f-434b-890e-7c469c56b59c + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '65' + x-request-id: de1bb7b6-669f-434b-890e-7c469c56b59c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3062c4dd-4ccf-4bb2-af77-7de0cbb171de +- request: + body: '{"name": "testalert6bf22491", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "3062c4dd-4ccf-4bb2-af77-7de0cbb171de", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"upper": 5.0, "direction": "Up", "metricId": "73e2f1e2-bfa7-4bc4-957d-8216cf985bfe"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '349' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 18df53bb-56d2-4d8d-a0ef-e06f175088bd + content-length: '0' + date: Sat, 12 Sep 2020 01:21:22 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '90' + x-request-id: 18df53bb-56d2-4d8d-a0ef-e06f175088bd + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 + response: + body: + string: '{"anomalyAlertingConfigurationId":"b329a17f-1f19-4b72-9828-4239e46f9b53","name":"testalert6bf22491","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"3062c4dd-4ccf-4bb2-af77-7de0cbb171de","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"upper":5.0,"direction":"Up","metricId":"73e2f1e2-bfa7-4bc4-957d-8216cf985bfe","triggerForMissing":false}}]}' + headers: + apim-request-id: 75f39f6e-f158-4f1d-9af7-6c2f7544acd1 + content-length: '468' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '71' + x-request-id: 75f39f6e-f158-4f1d-9af7-6c2f7544acd1 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 + response: + body: + string: '' + headers: + apim-request-id: eaa3627c-66d6-4c7f-8d13-d144c36c1cb6 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '90' + x-request-id: eaa3627c-66d6-4c7f-8d13-d144c36c1cb6 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 3cb7c940-cb67-4a7a-8353-6883d0886cd4"}' + headers: + apim-request-id: 066b83d0-b9d3-44c3-b12b-a7653b30993e + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '41' + x-request-id: 066b83d0-b9d3-44c3-b12b-a7653b30993e + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/b329a17f-1f19-4b72-9828-4239e46f9b53 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3062c4dd-4ccf-4bb2-af77-7de0cbb171de + response: + body: + string: '' + headers: + apim-request-id: 0469bd3e-35b9-49fc-8ba4-618580ddf5ae + content-length: '0' + date: Sat, 12 Sep 2020 01:21:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: 0469bd3e-35b9-49fc-8ba4-618580ddf5ae + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3062c4dd-4ccf-4bb2-af77-7de0cbb171de +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/93cc4e67-52f0-4949-80b0-6da125b09f3a + response: + body: + string: '' + headers: + apim-request-id: eef57d67-9385-4d72-bb9a-03440da09373 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '250' + x-request-id: eef57d67-9385-4d72-bb9a-03440da09373 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/93cc4e67-52f0-4949-80b0-6da125b09f3a +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_severity_condition.yaml new file mode 100644 index 000000000000..29e83f5eef69 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_top_n_severity_condition.yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup6e3424b6", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 3522ab76-f433-4213-acf2-a82fd5a77b44 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:25 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5fb1869c-19b5-4c46-a5bc-8203e7805595 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '379' + x-request-id: 3522ab76-f433-4213-acf2-a82fd5a77b44 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5fb1869c-19b5-4c46-a5bc-8203e7805595 + response: + body: + string: "{\"dataFeedId\":\"5fb1869c-19b5-4c46-a5bc-8203e7805595\",\"dataFeedName\":\"topnup6e3424b6\",\"metrics\":[{\"metricId\":\"c000b312-4f57-4db9-a364-e562fa41b1a6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5fc3abba-09a3-4c4c-85c7-1325f266f31d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: ae3cbb13-e348-441f-8eb6-d16bedc584a1 + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '124' + x-request-id: ae3cbb13-e348-441f-8eb6-d16bedc584a1 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5fb1869c-19b5-4c46-a5bc-8203e7805595 +- request: + body: '{"name": "topnup6e3424b6", "description": "testing", "metricId": "c000b312-4f57-4db9-a364-e562fa41b1a6", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: cc71cb62-bfae-432d-9d6c-0aab100e902c + content-length: '0' + date: Sat, 12 Sep 2020 01:21:25 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/67dd8c87-da64-469b-872c-0fae189c68bb + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: cc71cb62-bfae-432d-9d6c-0aab100e902c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/67dd8c87-da64-469b-872c-0fae189c68bb + response: + body: + string: '{"anomalyDetectionConfigurationId":"67dd8c87-da64-469b-872c-0fae189c68bb","name":"topnup6e3424b6","description":"testing","metricId":"c000b312-4f57-4db9-a364-e562fa41b1a6","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 0ab5ad82-3b49-412c-b365-fe796ac31056 + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: 0ab5ad82-3b49-412c-b365-fe796ac31056 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/67dd8c87-da64-469b-872c-0fae189c68bb +- request: + body: '{"name": "testalert6e3424b6", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "67dd8c87-da64-469b-872c-0fae189c68bb", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '322' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 3d60b284-3208-445f-86ba-aa7332808e8f + content-length: '0' + date: Sat, 12 Sep 2020 01:21:26 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '97' + x-request-id: 3d60b284-3208-445f-86ba-aa7332808e8f + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f + response: + body: + string: '{"anomalyAlertingConfigurationId":"0bf83f4e-1496-485d-8517-0fbb794ac29f","name":"testalert6e3424b6","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"67dd8c87-da64-469b-872c-0fae189c68bb","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: 2e669609-4c92-49c5-b2d1-6d63e3d3952d + content-length: '417' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: 2e669609-4c92-49c5-b2d1-6d63e3d3952d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f + response: + body: + string: '' + headers: + apim-request-id: f0bf3063-c6d4-4c4b-aa41-98f8ab7a7516 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '84' + x-request-id: f0bf3063-c6d4-4c4b-aa41-98f8ab7a7516 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 29299204-61c2-44fe-8ccf-5205550e86d7"}' + headers: + apim-request-id: a05d2327-3895-4422-a643-5d058e6a59f9 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '44' + x-request-id: a05d2327-3895-4422-a643-5d058e6a59f9 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0bf83f4e-1496-485d-8517-0fbb794ac29f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/67dd8c87-da64-469b-872c-0fae189c68bb + response: + body: + string: '' + headers: + apim-request-id: b58cfcc4-1b66-4fab-aca1-cfdd12ce0fde + content-length: '0' + date: Sat, 12 Sep 2020 01:21:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: b58cfcc4-1b66-4fab-aca1-cfdd12ce0fde + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/67dd8c87-da64-469b-872c-0fae189c68bb +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5fb1869c-19b5-4c46-a5bc-8203e7805595 + response: + body: + string: '' + headers: + apim-request-id: d27cef95-241d-4a35-a04f-ddadde43024a + content-length: '0' + date: Sat, 12 Sep 2020 01:21:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '278' + x-request-id: d27cef95-241d-4a35-a04f-ddadde43024a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5fb1869c-19b5-4c46-a5bc-8203e7805595 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml new file mode 100644 index 000000000000..4cc40fd90b69 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseriesc7b92842", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 51384778-54de-44df-8293-0089241f273e + content-length: '0' + date: Sat, 12 Sep 2020 01:21:34 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d9d26fc5-40da-4752-9d4e-5705bb306674 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5439' + x-request-id: 51384778-54de-44df-8293-0089241f273e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d9d26fc5-40da-4752-9d4e-5705bb306674 + response: + body: + string: "{\"dataFeedId\":\"d9d26fc5-40da-4752-9d4e-5705bb306674\",\"dataFeedName\":\"wholeseriesc7b92842\",\"metrics\":[{\"metricId\":\"03ae25ef-d789-452a-aad9-d491a066073f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"96ad90d7-e930-4a94-ada2-f088f86764ed\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: a1448f6c-42a6-4065-8737-73087378053f + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '117' + x-request-id: a1448f6c-42a6-4065-8737-73087378053f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d9d26fc5-40da-4752-9d4e-5705bb306674 +- request: + body: '{"name": "wholeseriesc7b92842", "description": "testing", "metricId": "03ae25ef-d789-452a-aad9-d491a066073f", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: bed97bd3-203b-4e0d-a3db-22574abf9577 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:34 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/dd94796b-67c4-42be-b56b-38ec762eb5b0 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: bed97bd3-203b-4e0d-a3db-22574abf9577 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/dd94796b-67c4-42be-b56b-38ec762eb5b0 + response: + body: + string: '{"anomalyDetectionConfigurationId":"dd94796b-67c4-42be-b56b-38ec762eb5b0","name":"wholeseriesc7b92842","description":"testing","metricId":"03ae25ef-d789-452a-aad9-d491a066073f","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 5bf030ed-c6ff-4aab-82d9-e71d3bf8a880 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '62' + x-request-id: 5bf030ed-c6ff-4aab-82d9-e71d3bf8a880 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/dd94796b-67c4-42be-b56b-38ec762eb5b0 +- request: + body: '{"name": "testalertc7b92842", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "dd94796b-67c4-42be-b56b-38ec762eb5b0", + "anomalyScopeType": "All", "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": + "Both", "metricId": "03ae25ef-d789-452a-aad9-d491a066073f"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '300' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 06c9527e-059d-41a3-b659-b81b7a5e4cf6 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:35 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '86' + x-request-id: 06c9527e-059d-41a3-b659-b81b7a5e4cf6 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 + response: + body: + string: '{"anomalyAlertingConfigurationId":"c3760d72-d24e-44e0-a251-bbfe897bf336","name":"testalertc7b92842","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"dd94796b-67c4-42be-b56b-38ec762eb5b0","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"03ae25ef-d789-452a-aad9-d491a066073f","triggerForMissing":false}}]}' + headers: + apim-request-id: 1128caea-842c-471a-8d6d-a0b837a79173 + content-length: '424' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '63' + x-request-id: 1128caea-842c-471a-8d6d-a0b837a79173 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 + response: + body: + string: '' + headers: + apim-request-id: fb271234-4c49-4728-aaec-51b07e9fccc5 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: fb271234-4c49-4728-aaec-51b07e9fccc5 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 30678f52-9dc2-41df-b6a9-0f10b99abc09"}' + headers: + apim-request-id: 2c369857-1c66-48e3-9410-d1ef417187e0 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '43' + x-request-id: 2c369857-1c66-48e3-9410-d1ef417187e0 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/c3760d72-d24e-44e0-a251-bbfe897bf336 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/dd94796b-67c4-42be-b56b-38ec762eb5b0 + response: + body: + string: '' + headers: + apim-request-id: f7c1b875-fe50-4577-b6a9-a732c4851d2e + content-length: '0' + date: Sat, 12 Sep 2020 01:21:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: f7c1b875-fe50-4577-b6a9-a732c4851d2e + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/dd94796b-67c4-42be-b56b-38ec762eb5b0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d9d26fc5-40da-4752-9d4e-5705bb306674 + response: + body: + string: '' + headers: + apim-request-id: cf6b81c2-5dbc-4583-b40c-7f4dea89a1a3 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '301' + x-request-id: cf6b81c2-5dbc-4583-b40c-7f4dea89a1a3 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d9d26fc5-40da-4752-9d4e-5705bb306674 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml new file mode 100644 index 000000000000..6e3c52a5ca1b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseriesc7cd284d", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 6ea5797e-d944-4689-aa24-d7395300a3f8 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:37 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec667284-957a-4c2c-a168-0797b4658d77 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '408' + x-request-id: 6ea5797e-d944-4689-aa24-d7395300a3f8 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec667284-957a-4c2c-a168-0797b4658d77 + response: + body: + string: "{\"dataFeedId\":\"ec667284-957a-4c2c-a168-0797b4658d77\",\"dataFeedName\":\"wholeseriesc7cd284d\",\"metrics\":[{\"metricId\":\"92228bd9-0003-4235-b062-05a15badc149\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f67980c8-6a3a-46f9-8d18-fa91b9fc4836\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 57edb202-5b3f-4ead-8b44-f9d297edc684 + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '119' + x-request-id: 57edb202-5b3f-4ead-8b44-f9d297edc684 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/ec667284-957a-4c2c-a168-0797b4658d77 +- request: + body: '{"name": "wholeseriesc7cd284d", "description": "testing", "metricId": "92228bd9-0003-4235-b062-05a15badc149", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 7930edd9-0886-4103-bada-932b8f157e39 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:38 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/efe7bb43-fd34-480c-aa32-35f01a5efa41 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: 7930edd9-0886-4103-bada-932b8f157e39 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/efe7bb43-fd34-480c-aa32-35f01a5efa41 + response: + body: + string: '{"anomalyDetectionConfigurationId":"efe7bb43-fd34-480c-aa32-35f01a5efa41","name":"wholeseriesc7cd284d","description":"testing","metricId":"92228bd9-0003-4235-b062-05a15badc149","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 66e1c540-073c-4db3-b291-a0f532e3093e + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '59' + x-request-id: 66e1c540-073c-4db3-b291-a0f532e3093e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/efe7bb43-fd34-480c-aa32-35f01a5efa41 +- request: + body: '{"name": "testalertc7cd284d", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "efe7bb43-fd34-480c-aa32-35f01a5efa41", + "anomalyScopeType": "All", "valueFilter": {"lower": 1.0, "direction": "Down", + "metricId": "92228bd9-0003-4235-b062-05a15badc149"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: f9198347-161a-4f84-b7e2-072adf0dd54b + content-length: '0' + date: Sat, 12 Sep 2020 01:21:38 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '88' + x-request-id: f9198347-161a-4f84-b7e2-072adf0dd54b + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd + response: + body: + string: '{"anomalyAlertingConfigurationId":"ed59e29e-9b75-4dd4-b9b7-828d6f081fdd","name":"testalertc7cd284d","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"efe7bb43-fd34-480c-aa32-35f01a5efa41","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"lower":1.0,"direction":"Down","metricId":"92228bd9-0003-4235-b062-05a15badc149","triggerForMissing":false}}]}' + headers: + apim-request-id: 5963cea4-2e07-4e6c-9a59-e42216a5d27e + content-length: '412' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '65' + x-request-id: 5963cea4-2e07-4e6c-9a59-e42216a5d27e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd + response: + body: + string: '' + headers: + apim-request-id: 7d485185-526a-43bc-95e5-89fa8f6ac793 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: 7d485185-526a-43bc-95e5-89fa8f6ac793 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: d5cbfd2c-595d-4a82-9c23-cd95dad81295"}' + headers: + apim-request-id: 65d67856-060e-4e85-8b3b-9fd23ce3d3d5 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: 65d67856-060e-4e85-8b3b-9fd23ce3d3d5 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/ed59e29e-9b75-4dd4-b9b7-828d6f081fdd +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/efe7bb43-fd34-480c-aa32-35f01a5efa41 + response: + body: + string: '' + headers: + apim-request-id: 265b5b42-b91c-4739-9f89-c4a01304b5c1 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: 265b5b42-b91c-4739-9f89-c4a01304b5c1 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/efe7bb43-fd34-480c-aa32-35f01a5efa41 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec667284-957a-4c2c-a168-0797b4658d77 + response: + body: + string: '' + headers: + apim-request-id: b565aaaf-34df-4de5-85cf-355a3674c51c + content-length: '0' + date: Sat, 12 Sep 2020 01:21:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '255' + x-request-id: b565aaaf-34df-4de5-85cf-355a3674c51c + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/ec667284-957a-4c2c-a168-0797b4658d77 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml new file mode 100644 index 000000000000..d2409f64c37a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml @@ -0,0 +1,274 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseries77c4277a", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 94b0ff0b-ecb0-4ceb-bb0b-b9454c904983 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:41 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/050f4a17-b4af-499c-b72c-c08b9ab1f0bf + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '331' + x-request-id: 94b0ff0b-ecb0-4ceb-bb0b-b9454c904983 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/050f4a17-b4af-499c-b72c-c08b9ab1f0bf + response: + body: + string: "{\"dataFeedId\":\"050f4a17-b4af-499c-b72c-c08b9ab1f0bf\",\"dataFeedName\":\"wholeseries77c4277a\",\"metrics\":[{\"metricId\":\"2621aaa6-27b3-4ac0-9a35-c1277257e5e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f450a58-78f4-4360-b171-15c4fb956482\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: fb308cb8-c1cd-4541-9b90-7c21887975a6 + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '119' + x-request-id: fb308cb8-c1cd-4541-9b90-7c21887975a6 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/050f4a17-b4af-499c-b72c-c08b9ab1f0bf +- request: + body: '{"name": "wholeseries77c4277a", "description": "testing", "metricId": "2621aaa6-27b3-4ac0-9a35-c1277257e5e3", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 9fadafce-aa6e-43f2-b490-ec71e57ebc8e + content-length: '0' + date: Sat, 12 Sep 2020 01:21:42 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7fc06f8b-20de-4b57-a021-020fa45b74ad + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 9fadafce-aa6e-43f2-b490-ec71e57ebc8e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7fc06f8b-20de-4b57-a021-020fa45b74ad + response: + body: + string: '{"anomalyDetectionConfigurationId":"7fc06f8b-20de-4b57-a021-020fa45b74ad","name":"wholeseries77c4277a","description":"testing","metricId":"2621aaa6-27b3-4ac0-9a35-c1277257e5e3","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 4094b22d-4ec9-49b1-9250-d85bac3514a0 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '172' + x-request-id: 4094b22d-4ec9-49b1-9250-d85bac3514a0 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7fc06f8b-20de-4b57-a021-020fa45b74ad +- request: + body: '{"name": "testalert77c4277a", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "7fc06f8b-20de-4b57-a021-020fa45b74ad", + "anomalyScopeType": "All", "valueFilter": {"upper": 5.0, "direction": "Up", + "metricId": "2621aaa6-27b3-4ac0-9a35-c1277257e5e3"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '284' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 58d4b856-5b0a-4ebf-a16f-2689cd61f8fa + content-length: '0' + date: Sat, 12 Sep 2020 01:21:42 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 58d4b856-5b0a-4ebf-a16f-2689cd61f8fa + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 + response: + body: + string: '{"anomalyAlertingConfigurationId":"64322546-c371-48ef-88fa-a49060ad0100","name":"testalert77c4277a","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"7fc06f8b-20de-4b57-a021-020fa45b74ad","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"upper":5.0,"direction":"Up","metricId":"2621aaa6-27b3-4ac0-9a35-c1277257e5e3","triggerForMissing":false}}]}' + headers: + apim-request-id: 102a492b-ce56-4e5b-8481-91f0546804f6 + content-length: '410' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: 102a492b-ce56-4e5b-8481-91f0546804f6 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 + response: + body: + string: '' + headers: + apim-request-id: 8dfc8e74-bc21-4f83-be11-7fa04f3e37fd + content-length: '0' + date: Sat, 12 Sep 2020 01:21:43 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 8dfc8e74-bc21-4f83-be11-7fa04f3e37fd + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 2b406400-5cc1-46d5-9470-cc93cdd60eb3"}' + headers: + apim-request-id: 0559a771-db81-47d8-b5b9-97afed79a568 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:43 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '52' + x-request-id: 0559a771-db81-47d8-b5b9-97afed79a568 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/64322546-c371-48ef-88fa-a49060ad0100 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7fc06f8b-20de-4b57-a021-020fa45b74ad + response: + body: + string: '' + headers: + apim-request-id: 04482822-b436-42cb-a42f-1f139d0a0ab1 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:43 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '70' + x-request-id: 04482822-b436-42cb-a42f-1f139d0a0ab1 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7fc06f8b-20de-4b57-a021-020fa45b74ad +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/050f4a17-b4af-499c-b72c-c08b9ab1f0bf + response: + body: + string: '' + headers: + apim-request-id: 5f8a6e9b-8ee0-44cd-bb2c-d72ff2f972c7 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:44 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '251' + x-request-id: 5f8a6e9b-8ee0-44cd-bb2c-d72ff2f972c7 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/050f4a17-b4af-499c-b72c-c08b9ab1f0bf +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_severity_condition.yaml new file mode 100644 index 000000000000..81aca0c64516 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_create_anomaly_alert_config_whole_series_severity_condition.yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup7a06279f", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '769' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: d2706673-0282-47d0-ac4f-a23edb81028d + content-length: '0' + date: Sat, 12 Sep 2020 01:21:44 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/36be8d84-4dbb-4c33-a175-b536ee30f454 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '402' + x-request-id: d2706673-0282-47d0-ac4f-a23edb81028d + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/36be8d84-4dbb-4c33-a175-b536ee30f454 + response: + body: + string: "{\"dataFeedId\":\"36be8d84-4dbb-4c33-a175-b536ee30f454\",\"dataFeedName\":\"topnup7a06279f\",\"metrics\":[{\"metricId\":\"6a7d872d-4ea9-42dd-a44f-791d7f7e324f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0587dcf3-6b60-4bb7-b887-9e56360f9a5c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T01:21:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 2f41f04a-52b6-4d0e-809d-bf8359e25911 + content-length: '1487' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '140' + x-request-id: 2f41f04a-52b6-4d0e-809d-bf8359e25911 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/36be8d84-4dbb-4c33-a175-b536ee30f454 +- request: + body: '{"name": "topnup7a06279f", "description": "testing", "metricId": "6a7d872d-4ea9-42dd-a44f-791d7f7e324f", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: d48cd29b-f66a-436b-82ab-6740858ce828 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:45 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c6e462e-1e61-4256-97dd-2e39e7ad0eca + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: d48cd29b-f66a-436b-82ab-6740858ce828 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c6e462e-1e61-4256-97dd-2e39e7ad0eca + response: + body: + string: '{"anomalyDetectionConfigurationId":"9c6e462e-1e61-4256-97dd-2e39e7ad0eca","name":"topnup7a06279f","description":"testing","metricId":"6a7d872d-4ea9-42dd-a44f-791d7f7e324f","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 01ab5355-10fe-4aa1-8702-97feb504226b + content-length: '411' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '68' + x-request-id: 01ab5355-10fe-4aa1-8702-97feb504226b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c6e462e-1e61-4256-97dd-2e39e7ad0eca +- request: + body: '{"name": "testalert7a06279f", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "9c6e462e-1e61-4256-97dd-2e39e7ad0eca", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '257' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: d962f367-7b69-4f12-b4c7-1c26ac40fc9d + content-length: '0' + date: Sat, 12 Sep 2020 01:21:45 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '89' + x-request-id: d962f367-7b69-4f12-b4c7-1c26ac40fc9d + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 + response: + body: + string: '{"anomalyAlertingConfigurationId":"a38c0665-b152-4586-8750-8c961b581855","name":"testalert7a06279f","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"9c6e462e-1e61-4256-97dd-2e39e7ad0eca","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: f3dd686e-7db6-4b4b-9d5b-9274dd901fbf + content-length: '359' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '62' + x-request-id: f3dd686e-7db6-4b4b-9d5b-9274dd901fbf + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 + response: + body: + string: '' + headers: + apim-request-id: 2fd67b7a-2ea1-46b4-9ebf-f36f8bea0e00 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '88' + x-request-id: 2fd67b7a-2ea1-46b4-9ebf-f36f8bea0e00 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 0da9e4a7-d257-4a60-98b8-cf5d57081a73"}' + headers: + apim-request-id: a9681ecb-8054-461b-9d6f-b5db4770f890 + content-length: '123' + content-type: application/json; charset=utf-8 + date: Sat, 12 Sep 2020 01:21:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '45' + x-request-id: a9681ecb-8054-461b-9d6f-b5db4770f890 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/a38c0665-b152-4586-8750-8c961b581855 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c6e462e-1e61-4256-97dd-2e39e7ad0eca + response: + body: + string: '' + headers: + apim-request-id: 3a975ec1-675c-4fa9-abea-0ce2c5a8cb41 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 3a975ec1-675c-4fa9-abea-0ce2c5a8cb41 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c6e462e-1e61-4256-97dd-2e39e7ad0eca +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/36be8d84-4dbb-4c33-a175-b536ee30f454 + response: + body: + string: '' + headers: + apim-request-id: 1c444d56-65cc-40b7-9bd4-2d54fbf5c9c8 + content-length: '0' + date: Sat, 12 Sep 2020 01:21:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '245' + x-request-id: 1c444d56-65cc-40b7-9bd4-2d54fbf5c9c8 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/36be8d84-4dbb-4c33-a175-b536ee30f454 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_list_anomaly_alert_configs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_list_anomaly_alert_configs.yaml new file mode 100644 index 000000000000..566f0ef06c80 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_list_anomaly_alert_configs.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/alert/anomaly/configurations + response: + body: + string: '{"value":[{"anomalyAlertingConfigurationId":"08318302-6006-4019-9afc-975bc63ee566","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"ce734b14-bf83-4871-97ee-60c273938ec3","name":"test_alert_configuration","description":"testing_alert_configuration_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7b75aa62-b97d-42d4-904b-afc131714c6b","name":"test_alert_configuration","description":"testing_alert_configuration_description","crossMetricsOperator":"XOR","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7f825107-f40c-44f7-af53-56192aa059b3","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7546afba-01e5-49dc-952e-af32b08e75ac","name":"test_alert_configuration","description":"testing_alert_configuration_description","crossMetricsOperator":"XOR","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"0d1dfaf4-6012-4cfd-83e3-dd020f4692be","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"ff3014a0-bbbb-41ec-a637-677e77b81299","name":"test_alert_setting","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Medium","maxAlertSeverity":"High"},"snoozeFilter":{"autoSnooze":0,"snoozeScope":"Series","onlyForSuccessive":true}}]},{"anomalyAlertingConfigurationId":"00674295-7529-42f2-b91c-942a36e69370","name":"test_alert_configuration","description":"testing_alert_configuration_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"snoozeFilter":{"autoSnooze":0,"snoozeScope":"Series","onlyForSuccessive":true}}]}]}' + headers: + apim-request-id: fb62f34d-7fac-48ce-bc01-3488a270c84d + content-length: '3473' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5328' + x-request-id: fb62f34d-7fac-48ce-bc01-3488a270c84d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/alert/anomaly/configurations +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_by_resetting_properties.yaml new file mode 100644 index 000000000000..cce248cb9ab9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_by_resetting_properties.yaml @@ -0,0 +1,261 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdate58f2218b", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: dfa0dfd7-e14b-4108-96ff-0583113cc07c + content-length: '0' + date: Mon, 21 Sep 2020 23:34:58 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5ffb8b3d-b524-480e-b437-8bae591b8483 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '558' + x-request-id: dfa0dfd7-e14b-4108-96ff-0583113cc07c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5ffb8b3d-b524-480e-b437-8bae591b8483 + response: + body: + string: "{\"dataFeedId\":\"5ffb8b3d-b524-480e-b437-8bae591b8483\",\"dataFeedName\":\"alertupdate58f2218b\",\"metrics\":[{\"metricId\":\"7dc8ed4e-f6c5-4652-aa36-262751c0b75d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ea2f1e7-14f9-44f9-ad8a-ca46f8b6ee04\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:34:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: a9e3f486-daea-4cf0-93a2-bdcd9c334490 + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10207' + x-request-id: a9e3f486-daea-4cf0-93a2-bdcd9c334490 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5ffb8b3d-b524-480e-b437-8bae591b8483 +- request: + body: '{"name": "alertupdate58f2218b", "description": "testing", "metricId": "7dc8ed4e-f6c5-4652-aa36-262751c0b75d", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: ee16315b-af9a-4866-a9f6-40fe60d68175 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:08 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b3586869-72a2-4e86-81f7-1072e9077513 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '150' + x-request-id: ee16315b-af9a-4866-a9f6-40fe60d68175 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b3586869-72a2-4e86-81f7-1072e9077513 + response: + body: + string: '{"anomalyDetectionConfigurationId":"b3586869-72a2-4e86-81f7-1072e9077513","name":"alertupdate58f2218b","description":"testing","metricId":"7dc8ed4e-f6c5-4652-aa36-262751c0b75d","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: e61b251b-cdf7-46d9-8a09-26013df1659c + content-length: '416' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: e61b251b-cdf7-46d9-8a09-26013df1659c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b3586869-72a2-4e86-81f7-1072e9077513 +- request: + body: '{"name": "alertupdate58f2218b", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "b3586869-72a2-4e86-81f7-1072e9077513", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "7dc8ed4e-f6c5-4652-aa36-262751c0b75d"}}, {"anomalyDetectionConfigurationId": + "b3586869-72a2-4e86-81f7-1072e9077513", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "b3586869-72a2-4e86-81f7-1072e9077513", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 0e0fe07f-7b77-4686-aae2-198d99d9ddbc + content-length: '0' + date: Mon, 21 Sep 2020 23:35:09 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '170' + x-request-id: 0e0fe07f-7b77-4686-aae2-198d99d9ddbc + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 + response: + body: + string: '{"anomalyAlertingConfigurationId":"8547e0ba-d965-4258-b078-6ae0cf38f0c0","name":"alertupdate58f2218b","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"b3586869-72a2-4e86-81f7-1072e9077513","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"7dc8ed4e-f6c5-4652-aa36-262751c0b75d","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"b3586869-72a2-4e86-81f7-1072e9077513","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"b3586869-72a2-4e86-81f7-1072e9077513","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: 1853ee8c-1b76-4de4-a909-dfb3d004f776 + content-length: '969' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 1853ee8c-1b76-4de4-a909-dfb3d004f776 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 +- request: + body: '{"name": "reset", "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "b3586869-72a2-4e86-81f7-1072e9077513", "anomalyScopeType": "TopN", "topNAnomalyScope": + {"top": 5, "period": 10, "minTopCount": 9}}], "description": ""}' + headers: + Accept: + - application/json + Content-Length: + - '239' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 + response: + body: + string: '' + headers: + apim-request-id: 15f55b13-7b2d-4fce-9f21-7f3c4b6aa227 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '105' + x-request-id: 15f55b13-7b2d-4fce-9f21-7f3c4b6aa227 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 + response: + body: + string: '{"anomalyAlertingConfigurationId":"8547e0ba-d965-4258-b078-6ae0cf38f0c0","name":"reset","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"b3586869-72a2-4e86-81f7-1072e9077513","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9}}]}' + headers: + apim-request-id: 61ece046-c962-4bc3-8912-d03d34c30b50 + content-length: '335' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 61ece046-c962-4bc3-8912-d03d34c30b50 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/8547e0ba-d965-4258-b078-6ae0cf38f0c0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5ffb8b3d-b524-480e-b437-8bae591b8483 + response: + body: + string: '' + headers: + apim-request-id: f83731c6-ed97-45b2-9526-d1b397a0c9fc + content-length: '0' + date: Mon, 21 Sep 2020 23:35:11 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '275' + x-request-id: f83731c6-ed97-45b2-9526-d1b397a0c9fc + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5ffb8b3d-b524-480e-b437-8bae591b8483 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_kwargs.yaml new file mode 100644 index 000000000000..4d452cfb8b16 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_kwargs.yaml @@ -0,0 +1,272 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdateb43f1f4f", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 43adc356-68ac-4ebe-891c-f6016a43b809 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:11 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2e9acdf2-abf5-4cc5-bb02-88378d530f33 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '419' + x-request-id: 43adc356-68ac-4ebe-891c-f6016a43b809 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2e9acdf2-abf5-4cc5-bb02-88378d530f33 + response: + body: + string: "{\"dataFeedId\":\"2e9acdf2-abf5-4cc5-bb02-88378d530f33\",\"dataFeedName\":\"alertupdateb43f1f4f\",\"metrics\":[{\"metricId\":\"74272baa-0610-4e7f-890a-3c338d03cbcf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fefa052a-9949-4c20-a408-ff09923935cb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:35:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 4de77ff8-c4f0-45de-8744-443a68f6f6ac + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '128' + x-request-id: 4de77ff8-c4f0-45de-8744-443a68f6f6ac + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2e9acdf2-abf5-4cc5-bb02-88378d530f33 +- request: + body: '{"name": "alertupdateb43f1f4f", "description": "testing", "metricId": "74272baa-0610-4e7f-890a-3c338d03cbcf", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 202885cf-3c4b-41b7-8ec0-3c7c94456407 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:12 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/92964682-969c-42d3-9745-478b91795a6c + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: 202885cf-3c4b-41b7-8ec0-3c7c94456407 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/92964682-969c-42d3-9745-478b91795a6c + response: + body: + string: '{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","name":"alertupdateb43f1f4f","description":"testing","metricId":"74272baa-0610-4e7f-890a-3c338d03cbcf","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 672e68d1-22ef-45d5-bf48-fc98330aa6f6 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: 672e68d1-22ef-45d5-bf48-fc98330aa6f6 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/92964682-969c-42d3-9745-478b91795a6c +- request: + body: '{"name": "alertupdateb43f1f4f", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "92964682-969c-42d3-9745-478b91795a6c", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "74272baa-0610-4e7f-890a-3c338d03cbcf"}}, {"anomalyDetectionConfigurationId": + "92964682-969c-42d3-9745-478b91795a6c", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "92964682-969c-42d3-9745-478b91795a6c", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 5d5ce592-3db9-43e3-8c06-57d4b9f0f066 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:13 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '391' + x-request-id: 5d5ce592-3db9-43e3-8c06-57d4b9f0f066 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 + response: + body: + string: '{"anomalyAlertingConfigurationId":"5646d49d-b1b7-4fbe-a170-a9a751760786","name":"alertupdateb43f1f4f","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"74272baa-0610-4e7f-890a-3c338d03cbcf","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: d00982e0-a8c3-42f6-bbd8-037c1982986e + content-length: '969' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '71' + x-request-id: d00982e0-a8c3-42f6-bbd8-037c1982986e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 +- request: + body: '{"name": "update", "crossMetricsOperator": "OR", "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "92964682-969c-42d3-9745-478b91795a6c", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}, + "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "74272baa-0610-4e7f-890a-3c338d03cbcf"}}, {"anomalyDetectionConfigurationId": + "92964682-969c-42d3-9745-478b91795a6c", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "92964682-969c-42d3-9745-478b91795a6c", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both"}}], + "description": "update description"}' + headers: + Accept: + - application/json + Content-Length: + - '1039' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 + response: + body: + string: '' + headers: + apim-request-id: 11df1a9b-238a-4bfd-97da-060977d57003 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '183' + x-request-id: 11df1a9b-238a-4bfd-97da-060977d57003 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 + response: + body: + string: '{"anomalyAlertingConfigurationId":"5646d49d-b1b7-4fbe-a170-a9a751760786","name":"update","description":"update + description","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"74272baa-0610-4e7f-890a-3c338d03cbcf","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"92964682-969c-42d3-9745-478b91795a6c","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: c2d3d1df-5b1f-43b0-9e0a-b25a6fa18838 + content-length: '1213' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: c2d3d1df-5b1f-43b0-9e0a-b25a6fa18838 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/5646d49d-b1b7-4fbe-a170-a9a751760786 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2e9acdf2-abf5-4cc5-bb02-88378d530f33 + response: + body: + string: '' + headers: + apim-request-id: 5426692f-6d23-48e6-a780-7619abef74a5 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '281' + x-request-id: 5426692f-6d23-48e6-a780-7619abef74a5 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2e9acdf2-abf5-4cc5-bb02-88378d530f33 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model.yaml new file mode 100644 index 000000000000..8d897282822c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model.yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdate94ce1ed1", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 9a55dbdf-263a-412e-a084-896151ea2a33 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:16 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/23ca51af-7053-4a39-871d-fde184348122 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '364' + x-request-id: 9a55dbdf-263a-412e-a084-896151ea2a33 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/23ca51af-7053-4a39-871d-fde184348122 + response: + body: + string: "{\"dataFeedId\":\"23ca51af-7053-4a39-871d-fde184348122\",\"dataFeedName\":\"alertupdate94ce1ed1\",\"metrics\":[{\"metricId\":\"67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dc5c7554-19fc-4764-953f-a52cf06669dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:35:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 94abe4cb-83ce-4fdf-b731-f07a4d2a4b30 + content-length: '1492' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:16 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '135' + x-request-id: 94abe4cb-83ce-4fdf-b731-f07a4d2a4b30 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/23ca51af-7053-4a39-871d-fde184348122 +- request: + body: '{"name": "alertupdate94ce1ed1", "description": "testing", "metricId": "67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 0e6e3bf4-b2af-4a71-845e-401a9d9820b7 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:16 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a723a88e-56a8-48d3-b65f-32956e72d9b1 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '94' + x-request-id: 0e6e3bf4-b2af-4a71-845e-401a9d9820b7 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a723a88e-56a8-48d3-b65f-32956e72d9b1 + response: + body: + string: '{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","name":"alertupdate94ce1ed1","description":"testing","metricId":"67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 6d76ea81-b599-41be-b277-21439fd47953 + content-length: '416' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:16 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '70' + x-request-id: 6d76ea81-b599-41be-b277-21439fd47953 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a723a88e-56a8-48d3-b65f-32956e72d9b1 +- request: + body: '{"name": "alertupdate94ce1ed1", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "a723a88e-56a8-48d3-b65f-32956e72d9b1", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3"}}, {"anomalyDetectionConfigurationId": + "a723a88e-56a8-48d3-b65f-32956e72d9b1", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "a723a88e-56a8-48d3-b65f-32956e72d9b1", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 1d91d412-39bb-4698-9911-34460a3377fc + content-length: '0' + date: Mon, 21 Sep 2020 23:35:17 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '165' + x-request-id: 1d91d412-39bb-4698-9911-34460a3377fc + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 + response: + body: + string: '{"anomalyAlertingConfigurationId":"e6d3216a-4d3d-4c55-a757-7132691c0ee0","name":"alertupdate94ce1ed1","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: 01d5411c-75f8-4b39-916c-7e93064955bc + content-length: '969' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '88' + x-request-id: 01d5411c-75f8-4b39-916c-7e93064955bc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 +- request: + body: '{"name": "update", "description": "update description", "crossMetricsOperator": + "OR", "hookIds": [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "a723a88e-56a8-48d3-b65f-32956e72d9b1", "anomalyScopeType": "TopN", "negationOperation": + false, "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": 9}, "severityFilter": + {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": + 1.0, "upper": 5.0, "direction": "Both", "metricId": "67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3", + "triggerForMissing": false}}, {"anomalyDetectionConfigurationId": "a723a88e-56a8-48d3-b65f-32956e72d9b1", + "anomalyScopeType": "Dimension", "negationOperation": false, "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "a723a88e-56a8-48d3-b65f-32956e72d9b1", + "anomalyScopeType": "All", "negationOperation": false, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1166' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 + response: + body: + string: '' + headers: + apim-request-id: a2294480-f7b9-48c9-9406-555a106606e1 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '224' + x-request-id: a2294480-f7b9-48c9-9406-555a106606e1 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 + response: + body: + string: '{"anomalyAlertingConfigurationId":"e6d3216a-4d3d-4c55-a757-7132691c0ee0","name":"update","description":"update + description","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"67a2c3f6-9ec9-4b8c-9d1a-952b3fc18cd3","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"a723a88e-56a8-48d3-b65f-32956e72d9b1","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: ce3c8710-d0ec-4115-8e10-b501406fddc9 + content-length: '1213' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: ce3c8710-d0ec-4115-8e10-b501406fddc9 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/e6d3216a-4d3d-4c55-a757-7132691c0ee0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/23ca51af-7053-4a39-871d-fde184348122 + response: + body: + string: '' + headers: + apim-request-id: dee41b54-d57e-43f8-848c-2b046d71c286 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '287' + x-request-id: dee41b54-d57e-43f8-848c-2b046d71c286 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/23ca51af-7053-4a39-871d-fde184348122 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..c54cdcb1d8ff --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_anomaly_alert_config_async.test_update_anomaly_alert_config_with_model_and_kwargs.yaml @@ -0,0 +1,270 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdate24d2351", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '773' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: cacaf39c-924f-4390-97d7-d28cce18db8e + content-length: '0' + date: Mon, 21 Sep 2020 23:35:19 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d520ecff-5f61-4ecd-87ca-7ccfea35636c + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '337' + x-request-id: cacaf39c-924f-4390-97d7-d28cce18db8e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d520ecff-5f61-4ecd-87ca-7ccfea35636c + response: + body: + string: "{\"dataFeedId\":\"d520ecff-5f61-4ecd-87ca-7ccfea35636c\",\"dataFeedName\":\"alertupdate24d2351\",\"metrics\":[{\"metricId\":\"833bedff-9116-46e5-be6e-081309e01a6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3c707966-03ba-4343-9e29-859e28e2f42d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:35:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 6d8d5924-ad88-4586-8bf8-20ca049ee0bc + content-length: '1491' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:19 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '126' + x-request-id: 6d8d5924-ad88-4586-8bf8-20ca049ee0bc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d520ecff-5f61-4ecd-87ca-7ccfea35636c +- request: + body: '{"name": "alertupdate24d2351", "description": "testing", "metricId": "833bedff-9116-46e5-be6e-081309e01a6e", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Content-Length: + - '282' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 1766354c-9b37-466c-8b44-b1bc406587da + content-length: '0' + date: Mon, 21 Sep 2020 23:35:20 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/f473aacd-ac18-4d99-a81d-478b8753e217 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '87' + x-request-id: 1766354c-9b37-466c-8b44-b1bc406587da + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/f473aacd-ac18-4d99-a81d-478b8753e217 + response: + body: + string: '{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","name":"alertupdate24d2351","description":"testing","metricId":"833bedff-9116-46e5-be6e-081309e01a6e","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: d9c0b953-59a6-415e-8ecd-80cc961c122d + content-length: '415' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:20 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: d9c0b953-59a6-415e-8ecd-80cc961c122d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/f473aacd-ac18-4d99-a81d-478b8753e217 +- request: + body: '{"name": "alertupdate24d2351", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "f473aacd-ac18-4d99-a81d-478b8753e217", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "833bedff-9116-46e5-be6e-081309e01a6e"}}, {"anomalyDetectionConfigurationId": + "f473aacd-ac18-4d99-a81d-478b8753e217", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "f473aacd-ac18-4d99-a81d-478b8753e217", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '823' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: 33c754b9-b9a9-43a8-a711-4fb84837d124 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:20 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '173' + x-request-id: 33c754b9-b9a9-43a8-a711-4fb84837d124 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f + response: + body: + string: '{"anomalyAlertingConfigurationId":"0590df1a-efc6-42f3-bc88-43817bafd01f","name":"alertupdate24d2351","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"833bedff-9116-46e5-be6e-081309e01a6e","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: 8af4af48-5e91-49b3-b0e8-08e077fdfff3 + content-length: '968' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '71' + x-request-id: 8af4af48-5e91-49b3-b0e8-08e077fdfff3 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f +- request: + body: '{"name": "updateMe", "description": "updateMe", "crossMetricsOperator": + "OR", "hookIds": [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "f473aacd-ac18-4d99-a81d-478b8753e217", "anomalyScopeType": "TopN", "topNAnomalyScope": + {"top": 5, "period": 10, "minTopCount": 9}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both", "metricId": "833bedff-9116-46e5-be6e-081309e01a6e"}}, {"anomalyDetectionConfigurationId": + "f473aacd-ac18-4d99-a81d-478b8753e217", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "f473aacd-ac18-4d99-a81d-478b8753e217", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1046' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f + response: + body: + string: '' + headers: + apim-request-id: 7acd4080-a5eb-4de6-9a66-8516b6d1a356 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '188' + x-request-id: 7acd4080-a5eb-4de6-9a66-8516b6d1a356 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f + response: + body: + string: '{"anomalyAlertingConfigurationId":"0590df1a-efc6-42f3-bc88-43817bafd01f","name":"updateMe","description":"updateMe","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"833bedff-9116-46e5-be6e-081309e01a6e","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"f473aacd-ac18-4d99-a81d-478b8753e217","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: fe14a2ab-1228-4848-a756-eee31a442ef9 + content-length: '1205' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:35:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: fe14a2ab-1228-4848-a756-eee31a442ef9 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/alert/anomaly/configurations/0590df1a-efc6-42f3-bc88-43817bafd01f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d520ecff-5f61-4ecd-87ca-7ccfea35636c + response: + body: + string: '' + headers: + apim-request-id: 8d814b8e-515e-48f6-813e-d0d3d426d351 + content-length: '0' + date: Mon, 21 Sep 2020 23:35:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '268' + x-request-id: 8d814b8e-515e-48f6-813e-d0d3d426d351 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/d520ecff-5f61-4ecd-87ca-7ccfea35636c +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_get_data_feed_ingestion_progress.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_get_data_feed_ingestion_progress.yaml new file mode 100644 index 000000000000..ca493261f1e6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_get_data_feed_ingestion_progress.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionProgress + response: + body: + string: '{"latestSuccessTimestamp":"2020-01-26T00:00:00Z","latestActiveTimestamp":"2020-02-01T00:00:00Z"}' + headers: + apim-request-id: e3e15f44-cbb2-465e-8907-d015618f8cdc + content-length: '96' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5527' + x-request-id: e3e15f44-cbb2-465e-8907-d015618f8cdc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/4957a2f7-a0f4-4fc0-b8d7-d866c1df0f4c/ingestionProgress +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status.yaml new file mode 100644 index 000000000000..4bfe42e01729 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-15T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-14T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-13T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-12T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-11T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"NotStarted","message":""}],"@nextLink":null}' + headers: + apim-request-id: b19aef08-cac5-404e-8ded-97adac6a9340 + content-length: '2764' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:53 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '625' + x-request-id: b19aef08-cac5-404e-8ded-97adac6a9340 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/4957a2f7-a0f4-4fc0-b8d7-d866c1df0f4c/ingestionStatus/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status_with_skip.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status_with_skip.yaml new file mode 100644 index 000000000000..7144d2f76f6a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_list_data_feed_ingestion_status_with_skip.yaml @@ -0,0 +1,60 @@ +interactions: +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-15T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-14T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-13T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-12T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-11T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"NotStarted","message":""}],"@nextLink":null}' + headers: + apim-request-id: 22429294-b9c1-4362-b400-46f87c2f27ce + content-length: '2764' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:54 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '626' + x-request-id: 22429294-b9c1-4362-b400-46f87c2f27ce + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/4957a2f7-a0f4-4fc0-b8d7-d866c1df0f4c/ingestionStatus/query +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query?$skip=5 + response: + body: + string: '{"value":[{"timestamp":"2020-09-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"NotStarted","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"NotStarted","message":""}],"@nextLink":null}' + headers: + apim-request-id: a1c7311c-bfb3-42b5-af05-4ed82db4578d + content-length: '2404' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '609' + x-request-id: a1c7311c-bfb3-42b5-af05-4ed82db4578d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/4957a2f7-a0f4-4fc0-b8d7-d866c1df0f4c/ingestionStatus/query?$skip=5 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_refresh_data_feed_ingestion.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_refresh_data_feed_ingestion.yaml new file mode 100644 index 000000000000..76142405feac --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feed_ingestion_async.test_refresh_data_feed_ingestion.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: '{"startTime": "2019-10-01T00:00:00.000Z", "endTime": "2020-10-03T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionProgress/reset + response: + body: + string: '' + headers: + apim-request-id: 75ce7f07-096d-46cb-bd3d-f008d17be033 + content-length: '0' + date: Tue, 22 Sep 2020 01:48:57 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '1024' + x-request-id: 75ce7f07-096d-46cb-bd3d-f008d17be033 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/4957a2f7-a0f4-4fc0-b8d7-d866c1df0f4c/ingestionProgress/reset +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server.yaml new file mode 100644 index 000000000000..490d872f9e7f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeedasyncce82373", + "dataFeedDescription": "my first data feed", "granularityName": "Daily", "metrics": + [{"metricName": "cost", "metricDisplayName": "display cost", "metricDescription": + "the cost"}, {"metricName": "revenue", "metricDisplayName": "display revenue", + "metricDescription": "the revenue"}], "dimension": [{"dimensionName": "category", + "dimensionDisplayName": "display category"}, {"dimensionName": "city", "dimensionDisplayName": + "display city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1308' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: aaa67d13-15f1-4bfc-92e4-90e06bbf41b9 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:39 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '392' + x-request-id: aaa67d13-15f1-4bfc-92e4-90e06bbf41b9 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 + response: + body: + string: "{\"dataFeedId\":\"77e536a2-8703-46bc-a1a0-2b394e3ccd71\",\"dataFeedName\":\"testfeedasyncce82373\",\"metrics\":[{\"metricId\":\"4c40feaa-8c30-4812-9297-0a9e2b9e45d9\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"c2dd17e0-0268-4259-9ff9-826506fa2a2c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:36:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: ea5d7537-c028-499b-944a-f3a4f7bf0a90 + content-length: '1629' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '127' + x-request-id: ea5d7537-c028-499b-944a-f3a4f7bf0a90 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 + response: + body: + string: '' + headers: + apim-request-id: 22fdd5f7-d52a-4309-8271-21ded01467c8 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '259' + x-request-id: 22fdd5f7-d52a-4309-8271-21ded01467c8 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"datafeedId is invalid."}' + headers: + apim-request-id: ad543730-af91-4f4e-aa50-1662aaa67c93 + content-length: '69' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '58' + x-request-id: ad543730-af91-4f4e-aa50-1662aaa67c93 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/77e536a2-8703-46bc-a1a0-2b394e3ccd71 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server_with_custom_values.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server_with_custom_values.yaml new file mode 100644 index 000000000000..a9d22b01d1c9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_from_sql_server_with_custom_values.yaml @@ -0,0 +1,124 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeedasyncfe562b77", + "dataFeedDescription": "my first data feed", "granularityName": "Custom", "granularityAmount": + 20, "metrics": [{"metricName": "cost", "metricDisplayName": "display cost", + "metricDescription": "the cost"}, {"metricName": "revenue", "metricDisplayName": + "display revenue", "metricDescription": "the revenue"}], "dimension": [{"dimensionName": + "category", "dimensionDisplayName": "display category"}, {"dimensionName": "city", + "dimensionDisplayName": "display city"}], "timestampColumn": "Timestamp", "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": -1, "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "needRollup": + "AlreadyRollup", "rollUpMethod": "Sum", "allUpIdentification": "sumrollup", + "fillMissingPointType": "CustomValue", "fillMissingPointValue": 10.0, "viewMode": + "Private", "admins": ["yournamehere@microsoft.com"], "viewers": ["viewers"], + "actionLinkTemplate": "action link template", "dataSourceParameter": {"connectionString": + "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1405' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: f11a97b9-55f4-4069-97c7-addd924357a1 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:41 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '383' + x-request-id: f11a97b9-55f4-4069-97c7-addd924357a1 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 + response: + body: + string: "{\"dataFeedId\":\"0257f85c-6cfb-4d3a-b6d6-10eeadbd1018\",\"dataFeedName\":\"testfeedasyncfe562b77\",\"metrics\":[{\"metricId\":\"16e0a58c-f999-4dae-b1f0-3482d867bb37\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"5b6d7c0d-1294-463f-ab6b-07686a5bd463\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Custom\",\"granularityAmount\":20,\"allUpIdentification\":\"sumrollup\",\"needRollup\":\"AlreadyRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":10.0,\"rollUpMethod\":\"Sum\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:36:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 9faf8659-f749-4761-b4c2-afa08356a652 + content-length: '1640' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '124' + x-request-id: 9faf8659-f749-4761-b4c2-afa08356a652 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 + response: + body: + string: '' + headers: + apim-request-id: 527f456d-f8c4-4d9a-959d-08c877703943 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '253' + x-request-id: 527f456d-f8c4-4d9a-959d-08c877703943 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"datafeedId is invalid."}' + headers: + apim-request-id: 3f36a74f-49f4-4404-85a8-9722d28629e4 + content-length: '69' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '36' + x-request-id: 3f36a74f-49f4-4404-85a8-9722d28629e4 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/0257f85c-6cfb-4d3a-b6d6-10eeadbd1018 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_application_insights.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_application_insights.yaml new file mode 100644 index 000000000000..e5b9678cc3d9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_application_insights.yaml @@ -0,0 +1,91 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureApplicationInsights", "dataFeedName": "applicationinsightsasyncd2561c20", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2020-07-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"azureCloud": "Azure", "applicationId": "3706fe8b-98f1-47c7-bf69-b73b6e53274d", + "apiKey": "connectionstring", "query": "let gran=60m; let starttime=datetime(@StartTime); + let endtime=starttime + gran; requests |\\u202fwhere\\u202ftimestamp\\u202f>=\\u202fstarttime\\u202fand\\u202ftimestamp\\u202f<\\u202fendtime + |\\u202fsummarize\\u202frequest_count\\u202f=\\u202fcount(),\\u202fduration_avg_ms\\u202f=\\u202favg(duration),\\u202fduration_95th_ms\\u202f=\\u202fpercentile(duration,\\u202f95),\\u202fduration_max_ms\\u202f=\\u202fmax(duration)\\u202fby\\u202fresultCode"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1017' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: f40e9d7e-a96f-468a-821d-4b65d9619e96 + content-length: '0' + date: Tue, 15 Sep 2020 16:05:52 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cc0b3fe-8528-438d-a470-3fd7fcf05800 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '416' + x-request-id: f40e9d7e-a96f-468a-821d-4b65d9619e96 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cc0b3fe-8528-438d-a470-3fd7fcf05800 + response: + body: + string: "{\"dataFeedId\":\"2cc0b3fe-8528-438d-a470-3fd7fcf05800\",\"dataFeedName\":\"applicationinsightsasyncd2561c20\",\"metrics\":[{\"metricId\":\"54ff6547-56ed-4f87-ba28-3a2f0c28c074\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3c56f653-53e2-442b-8e6e-716139922d2a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-07-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-15T16:05:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"apiKey\":\"connectionstring\",\"query\":\"let + gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; + requests |\u202Fwhere\u202Ftimestamp\u202F>=\u202Fstarttime\u202Fand\u202Ftimestamp\u202F<\u202Fendtime + |\u202Fsummarize\u202Frequest_count\u202F=\u202Fcount(),\u202Fduration_avg_ms\u202F=\u202Favg(duration),\u202Fduration_95th_ms\u202F=\u202Fpercentile(duration,\u202F95),\u202Fduration_max_ms\u202F=\u202Fmax(duration)\u202Fby\u202FresultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"3706fe8b-98f1-47c7-bf69-b73b6e53274d\"}}" + headers: + apim-request-id: 37f322f6-4a32-4763-9169-42d427c81de1 + content-length: '1680' + content-type: application/json; charset=utf-8 + date: Tue, 15 Sep 2020 16:05:53 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '135' + x-request-id: 37f322f6-4a32-4763-9169-42d427c81de1 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2cc0b3fe-8528-438d-a470-3fd7fcf05800 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cc0b3fe-8528-438d-a470-3fd7fcf05800 + response: + body: + string: '' + headers: + apim-request-id: aaf7d59e-b906-40fb-ae6f-ee1cad12bac6 + content-length: '0' + date: Tue, 15 Sep 2020 16:05:53 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '302' + x-request-id: aaf7d59e-b906-40fb-ae6f-ee1cad12bac6 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2cc0b3fe-8528-438d-a470-3fd7fcf05800 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_blob.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_blob.yaml new file mode 100644 index 000000000000..89a1204e5851 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_blob.yaml @@ -0,0 +1,86 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureBlob", "dataFeedName": "blobfeedasyncd0c235a", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "container": + "adsample", "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json"}}''' + headers: + Accept: + - application/json + Content-Length: + - '903' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 2d456dfb-5c6c-4fb4-a50d-87dd6be113b8 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:45 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a5522d39-e802-4398-a046-a99364c6c9b8 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '324' + x-request-id: 2d456dfb-5c6c-4fb4-a50d-87dd6be113b8 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a5522d39-e802-4398-a046-a99364c6c9b8 + response: + body: + string: '{"dataFeedId":"a5522d39-e802-4398-a046-a99364c6c9b8","dataFeedName":"blobfeedasyncd0c235a","metrics":[{"metricId":"e26fb3d2-4bef-45a4-9c69-7d48078ed0e9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"680a72f9-9044-4e3e-9555-a7ed99e775df","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:36:45Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}}' + headers: + apim-request-id: 1c1d37e0-3ebb-4f07-8e54-2d0482cf14ae + content-length: '1640' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '125' + x-request-id: 1c1d37e0-3ebb-4f07-8e54-2d0482cf14ae + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/a5522d39-e802-4398-a046-a99364c6c9b8 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a5522d39-e802-4398-a046-a99364c6c9b8 + response: + body: + string: '' + headers: + apim-request-id: 8784ee5f-b94d-4e62-99b4-4de17f6f8a21 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '309' + x-request-id: 8784ee5f-b94d-4e62-99b4-4de17f6f8a21 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/a5522d39-e802-4398-a046-a99364c6c9b8 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_cosmos_db.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_cosmos_db.yaml new file mode 100644 index 000000000000..7c08c08c16b2 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_cosmos_db.yaml @@ -0,0 +1,88 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureCosmosDB", "dataFeedName": "cosmosfeedasyncc48b2574", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "sqlQuery": + "\''SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < + @EndTime\''", "database": "adsample", "collectionId": "adsample"}}''' + headers: + Accept: + - application/json + Content-Length: + - '759' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 163a5d38-d1cc-4ba2-9389-0714532a6957 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:47 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6be2c4d2-6376-47a3-92c4-05fb27c36a3b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '879' + x-request-id: 163a5d38-d1cc-4ba2-9389-0714532a6957 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6be2c4d2-6376-47a3-92c4-05fb27c36a3b + response: + body: + string: '{"dataFeedId":"6be2c4d2-6376-47a3-92c4-05fb27c36a3b","dataFeedName":"cosmosfeedasyncc48b2574","metrics":[{"metricId":"fd161e3d-02eb-46d7-972f-0e1374885845","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"aabc13b3-c01f-4830-a09d-1a8a9b0962fa","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureCosmosDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:36:48Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","database":"adsample","sqlQuery":"''SELECT + * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime''","collectionId":"adsample"}}' + headers: + apim-request-id: befc7cf2-bb2f-4632-9572-70b6ad21ac74 + content-length: '1494' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:47 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '123' + x-request-id: befc7cf2-bb2f-4632-9572-70b6ad21ac74 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/6be2c4d2-6376-47a3-92c4-05fb27c36a3b +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6be2c4d2-6376-47a3-92c4-05fb27c36a3b + response: + body: + string: '' + headers: + apim-request-id: ff4ca5b9-5528-4a26-92e7-7bfbbba5c64f + content-length: '0' + date: Wed, 09 Sep 2020 22:36:49 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '280' + x-request-id: ff4ca5b9-5528-4a26-92e7-7bfbbba5c64f + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/6be2c4d2-6376-47a3-92c4-05fb27c36a3b +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_table.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_table.yaml new file mode 100644 index 000000000000..0bab57648e91 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_azure_table.yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureTable", "dataFeedName": "tablefeedasync30e623c3", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "table": + "adsample", "query": "PartitionKey ge \''@StartTime\'' and PartitionKey lt \''@EndTime\''"}}''' + headers: + Accept: + - application/json + Content-Length: + - '721' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 61b55f30-4403-4c42-9cf7-e02ad03e04a1 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:49 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/360e2426-0281-404c-a539-17d44cf807e5 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '347' + x-request-id: 61b55f30-4403-4c42-9cf7-e02ad03e04a1 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/360e2426-0281-404c-a539-17d44cf807e5 + response: + body: + string: '{"dataFeedId":"360e2426-0281-404c-a539-17d44cf807e5","dataFeedName":"tablefeedasync30e623c3","metrics":[{"metricId":"4129f08b-aa39-42a7-a78b-9369788619d6","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"3955705b-3647-4c33-9560-b17b8d062926","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureTable","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","query":"PartitionKey + ge ''@StartTime'' and PartitionKey lt ''@EndTime''","table":"adsample"}}' + headers: + apim-request-id: dafb7c68-7421-430c-92f9-637e44c1937e + content-length: '1458' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:49 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '139' + x-request-id: dafb7c68-7421-430c-92f9-637e44c1937e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/360e2426-0281-404c-a539-17d44cf807e5 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/360e2426-0281-404c-a539-17d44cf807e5 + response: + body: + string: '' + headers: + apim-request-id: 8fcb25ce-6de5-4078-a4cd-e2a5c0260cbc + content-length: '0' + date: Wed, 09 Sep 2020 22:36:50 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '255' + x-request-id: 8fcb25ce-6de5-4078-a4cd-e2a5c0260cbc + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/360e2426-0281-404c-a539-17d44cf807e5 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_data_explorer.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_data_explorer.yaml new file mode 100644 index 000000000000..d4ee3c6e050e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_data_explorer.yaml @@ -0,0 +1,89 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureDataExplorer", "dataFeedName": "azuredataexplorerasync78c3249f", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "let StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + + 1d; adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '898' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 35c29994-14f0-480b-88bf-536143df7e22 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:51 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/65540d94-6e1a-488e-b165-8615f73689f2 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '434' + x-request-id: 35c29994-14f0-480b-88bf-536143df7e22 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/65540d94-6e1a-488e-b165-8615f73689f2 + response: + body: + string: '{"dataFeedId":"65540d94-6e1a-488e-b165-8615f73689f2","dataFeedName":"azuredataexplorerasync78c3249f","metrics":[{"metricId":"b98f9538-d972-4798-811e-ae65748c69a2","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f5553f2c-db1d-4173-86a8-9292b1c288cf","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"AzureDataExplorer","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:36:52Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","query":"let + StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + 1d; + adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime"}}' + headers: + apim-request-id: 34bc0cfd-ec1b-4673-9078-a135d4aaf800 + content-length: '1637' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:51 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '130' + x-request-id: 34bc0cfd-ec1b-4673-9078-a135d4aaf800 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/65540d94-6e1a-488e-b165-8615f73689f2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/65540d94-6e1a-488e-b165-8615f73689f2 + response: + body: + string: '' + headers: + apim-request-id: 21e6e417-bfa3-48b3-9d86-bd2debcd1f8a + content-length: '0' + date: Wed, 09 Sep 2020 22:36:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '253' + x-request-id: 21e6e417-bfa3-48b3-9d86-bd2debcd1f8a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/65540d94-6e1a-488e-b165-8615f73689f2 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_datalake.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_datalake.yaml new file mode 100644 index 000000000000..07698852fcd5 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_datalake.yaml @@ -0,0 +1,88 @@ +interactions: +- request: + body: '{"dataSourceType": "AzureDataLakeStorageGen2", "dataFeedName": "datalakeasync9c7e16fb", + "granularityName": "Daily", "metrics": [{"metricName": "cost", "metricDisplayName": + "Cost"}, {"metricName": "revenue", "metricDisplayName": "Revenue"}], "dimension": + [{"dimensionName": "category", "dimensionDisplayName": "Category"}, {"dimensionName": + "city", "dimensionDisplayName": "City"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", + "startOffsetInSeconds": 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": {"accountName": "adsampledatalakegen2", + "accountKey": "connectionstring", "fileSystemName": "adsample", "directoryTemplate": + "%Y/%m/%d", "fileTemplate": "adsample.json"}}' + headers: + Accept: + - application/json + Content-Length: + - '805' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 44621909-f22b-4990-b984-e561ec090210 + content-length: '0' + date: Fri, 25 Sep 2020 17:44:38 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2492e624-235d-4a42-9841-19251bc2204d + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '463' + x-request-id: 44621909-f22b-4990-b984-e561ec090210 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2492e624-235d-4a42-9841-19251bc2204d + response: + body: + string: '{"dataFeedId":"2492e624-235d-4a42-9841-19251bc2204d","dataFeedName":"datalakeasync9c7e16fb","metrics":[{"metricId":"ece9ca70-e593-45fc-9bda-911d199234d1","metricName":"cost","metricDisplayName":"Cost","metricDescription":""},{"metricId":"65d3dd85-a08f-40eb-b38b-67b5bdf264fd","metricName":"revenue","metricDisplayName":"Revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"Category"},{"dimensionName":"city","dimensionDisplayName":"City"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"AzureDataLakeStorageGen2","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-25T17:44:39Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"fileTemplate":"adsample.json","accountName":"adsampledatalakegen2","directoryTemplate":"%Y/%m/%d","fileSystemName":"adsample","accountKey":"connectionstring"}}' + headers: + apim-request-id: af8731a0-9f27-4cd8-9739-1176e8d31d50 + content-length: '1409' + content-type: application/json; charset=utf-8 + date: Fri, 25 Sep 2020 17:44:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '129' + x-request-id: af8731a0-9f27-4cd8-9739-1176e8d31d50 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2492e624-235d-4a42-9841-19251bc2204d +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2492e624-235d-4a42-9841-19251bc2204d + response: + body: + string: '' + headers: + apim-request-id: 876ee2e7-39b4-432d-bdfb-f24be534fe1d + content-length: '0' + date: Fri, 25 Sep 2020 17:44:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '288' + x-request-id: 876ee2e7-39b4-432d-bdfb-f24be534fe1d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/2492e624-235d-4a42-9841-19251bc2204d +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_elasticsearch.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_elasticsearch.yaml new file mode 100644 index 000000000000..8d0a32d6c36b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_elasticsearch.yaml @@ -0,0 +1,89 @@ +interactions: +- request: + body: '{"dataSourceType": "Elasticsearch", "dataFeedName": "elasticasync168d191f", + "granularityName": "Daily", "metrics": [{"metricName": "cost", "metricDisplayName": + "Cost"}, {"metricName": "revenue", "metricDisplayName": "Revenue"}], "dimension": + [{"dimensionName": "category", "dimensionDisplayName": "Category"}, {"dimensionName": + "city", "dimensionDisplayName": "City"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", + "startOffsetInSeconds": 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": {"host": "ad-sample-es.westus2.cloudapp.azure.com", + "port": "9200", "authHeader": "connectionstring", "query": "''select * from + adsample where timestamp = @StartTime''"}}' + headers: + Accept: + - application/json + Content-Length: + - '737' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 96dc1683-f990-446d-ac25-0fc672c79386 + content-length: '0' + date: Fri, 25 Sep 2020 17:44:58 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/addf9eab-7403-4f33-9ffe-73080b73720f + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '399' + x-request-id: 96dc1683-f990-446d-ac25-0fc672c79386 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/addf9eab-7403-4f33-9ffe-73080b73720f + response: + body: + string: '{"dataFeedId":"addf9eab-7403-4f33-9ffe-73080b73720f","dataFeedName":"elasticasync168d191f","metrics":[{"metricId":"23f7757d-6947-4109-a2ba-37cb35fa8c4f","metricName":"cost","metricDisplayName":"Cost","metricDescription":""},{"metricId":"8cb3a836-bea8-41d8-b1fb-5c8a49484996","metricName":"revenue","metricDisplayName":"Revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"Category"},{"dimensionName":"city","dimensionDisplayName":"City"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"Elasticsearch","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-25T17:44:58Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"authHeader":"connectionstring","port":"9200","query":"''select + * from adsample where timestamp = @StartTime''","host":"ad-sample-es.westus2.cloudapp.azure.com"}}' + headers: + apim-request-id: 697c7c83-e0cd-450c-b285-021588e0895a + content-length: '1343' + content-type: application/json; charset=utf-8 + date: Fri, 25 Sep 2020 17:44:59 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '135' + x-request-id: 697c7c83-e0cd-450c-b285-021588e0895a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/addf9eab-7403-4f33-9ffe-73080b73720f +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/addf9eab-7403-4f33-9ffe-73080b73720f + response: + body: + string: '' + headers: + apim-request-id: cc0208b6-77fa-4cb4-ac75-09fcf8536f4a + content-length: '0' + date: Fri, 25 Sep 2020 17:44:59 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '272' + x-request-id: cc0208b6-77fa-4cb4-ac75-09fcf8536f4a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/addf9eab-7403-4f33-9ffe-73080b73720f +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_get.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_get.yaml new file mode 100644 index 000000000000..59ce0c932fa6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_get.yaml @@ -0,0 +1,85 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "HttpRequest", "dataFeedName": "httprequestfeedgetasync66241a8b", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"url": "connectionstring", "httpMethod": "GET"}}''' + headers: + Accept: + - application/json + Content-Length: + - '559' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 64da27c7-dc4d-4cd4-bd24-c884ca9ac992 + content-length: '0' + date: Fri, 11 Sep 2020 22:36:54 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '629' + x-request-id: 64da27c7-dc4d-4cd4-bd24-c884ca9ac992 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b + response: + body: + string: '{"dataFeedId":"9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b","dataFeedName":"httprequestfeedgetasync66241a8b","metrics":[{"metricId":"599911b7-a09b-4b39-8190-51ee24520197","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"09a39457-ceee-4718-9199-2d1fe6d70f43","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"HttpRequest","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-11T22:36:54Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"httpMethod":"GET","url":"connectionstring"}}' + headers: + apim-request-id: 5eeec3b1-296b-46e6-86dc-32f0449ab291 + content-length: '1298' + content-type: application/json; charset=utf-8 + date: Fri, 11 Sep 2020 22:36:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '127' + x-request-id: 5eeec3b1-296b-46e6-86dc-32f0449ab291 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b + response: + body: + string: '' + headers: + apim-request-id: 257c6c1c-d178-41ae-add1-a1bda163d70e + content-length: '0' + date: Fri, 11 Sep 2020 22:36:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '288' + x-request-id: 257c6c1c-d178-41ae-add1-a1bda163d70e + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/9fdc7938-4a0b-4ea5-b5a3-10c7576f9f1b +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_post.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_post.yaml new file mode 100644 index 000000000000..8b0ce049cc8c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_http_request_post.yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "HttpRequest", "dataFeedName": "httprequestfeedpostasync11d32682", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"url": "connectionstring", "httpMethod": "POST", + "payload": "{\''startTime\'': \''@StartTime\''}"}}''' + headers: + Accept: + - application/json + Content-Length: + - '575' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: dfd8cefb-b11d-404e-afb8-65868bc10b28 + content-length: '0' + date: Thu, 10 Sep 2020 16:30:12 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/dab1caee-2be0-4dfe-84b9-1ae87a01fd01 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '386' + x-request-id: dfd8cefb-b11d-404e-afb8-65868bc10b28 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/dab1caee-2be0-4dfe-84b9-1ae87a01fd01 + response: + body: + string: '{"dataFeedId":"dab1caee-2be0-4dfe-84b9-1ae87a01fd01","dataFeedName":"httprequestfeedpostasync11d32682","metrics":[{"metricId":"702d6aa1-69ad-42b8-9bd8-801419ac2f7b","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"d0888606-261d-4280-b105-8e05af9c617f","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"HttpRequest","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-10T16:30:13Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"payload":"{''startTime'': + ''@StartTime''}","httpMethod":"POST","url":"connectionstring"}}' + headers: + apim-request-id: 172258bd-807f-4be0-86c2-48cf99808166 + content-length: '1312' + content-type: application/json; charset=utf-8 + date: Thu, 10 Sep 2020 16:30:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '133' + x-request-id: 172258bd-807f-4be0-86c2-48cf99808166 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/dab1caee-2be0-4dfe-84b9-1ae87a01fd01 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/dab1caee-2be0-4dfe-84b9-1ae87a01fd01 + response: + body: + string: '' + headers: + apim-request-id: 8aab8dd3-a380-44a3-9cc1-3606b293a36a + content-length: '0' + date: Thu, 10 Sep 2020 16:30:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '275' + x-request-id: 8aab8dd3-a380-44a3-9cc1-3606b293a36a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/dab1caee-2be0-4dfe-84b9-1ae87a01fd01 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_influxdb.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_influxdb.yaml new file mode 100644 index 000000000000..d82b4a7c1d1b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_influxdb.yaml @@ -0,0 +1,88 @@ +interactions: +- request: + body: 'b''b\''{"dataSourceType": "InfluxDB", "dataFeedName": "influxdbasyncc6a42291", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "database": + "adsample", "userName": "adreadonly", "password": "connectionstring", "query": + "\\\''select * from adsample2 where Timestamp = @StartTime\\\''"}}\''''' + headers: + Accept: + - application/json + Content-Length: + - '643' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 63946740-7cee-4457-9751-0f19b9eafbb7 + content-length: '0' + date: Wed, 09 Sep 2020 22:36:58 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/429f79ba-189a-425d-a262-5f8f81ae44ab + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '331' + x-request-id: 63946740-7cee-4457-9751-0f19b9eafbb7 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/429f79ba-189a-425d-a262-5f8f81ae44ab + response: + body: + string: '{"dataFeedId":"429f79ba-189a-425d-a262-5f8f81ae44ab","dataFeedName":"influxdbasyncc6a42291","metrics":[{"metricId":"cc531690-5d0d-43ea-b9e4-1aa7e68234d2","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"9ee4403f-6d33-4ffd-9370-d2421a6d1a8d","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"InfluxDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:36:58Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","password":"connectionstring","database":"adsample","query":"''select + * from adsample2 where Timestamp = @StartTime''","userName":"adreadonly"}}' + headers: + apim-request-id: 55c777ef-9a09-4240-9642-62890dd4c31b + content-length: '1376' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:36:58 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '120' + x-request-id: 55c777ef-9a09-4240-9642-62890dd4c31b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/429f79ba-189a-425d-a262-5f8f81ae44ab +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/429f79ba-189a-425d-a262-5f8f81ae44ab + response: + body: + string: '' + headers: + apim-request-id: 029f58b8-6520-4d23-9cfd-1ee7bc115828 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5805' + x-request-id: 029f58b8-6520-4d23-9cfd-1ee7bc115828 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/429f79ba-189a-425d-a262-5f8f81ae44ab +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mongodb.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mongodb.yaml new file mode 100644 index 000000000000..e258a642d08b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mongodb.yaml @@ -0,0 +1,89 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "MongoDB", "dataFeedName": "mongodbasynca40d221b", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "database": + "adsample", "command": "{\\"find\\": \\"adsample\\", \\"filter\\": { Timestamp: + { $eq: @StartTime }} \\"batchSize\\": 2000,}"}}''' + headers: + Accept: + - application/json + Content-Length: + - '630' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 74f11a57-556d-472b-b1bc-b6469758e7f4 + content-length: '0' + date: Wed, 09 Sep 2020 22:55:56 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec6522f9-a252-480f-a69d-efc494975d06 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '728' + x-request-id: 74f11a57-556d-472b-b1bc-b6469758e7f4 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec6522f9-a252-480f-a69d-efc494975d06 + response: + body: + string: '{"dataFeedId":"ec6522f9-a252-480f-a69d-efc494975d06","dataFeedName":"mongodbasynca40d221b","metrics":[{"metricId":"6554678d-bd33-48eb-a811-569e8e4273d8","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"e579f0be-12cc-4b6a-9f9a-830c411d4dd9","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"MongoDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:55:56Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","database":"adsample","command":"{\"find\": + \"adsample\", \"filter\": { Timestamp: { $eq: @StartTime }} \"batchSize\": + 2000,}"}}' + headers: + apim-request-id: de1dce64-b7cf-4ba6-98aa-4c2537481ec7 + content-length: '1367' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:55:56 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '128' + x-request-id: de1dce64-b7cf-4ba6-98aa-4c2537481ec7 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/ec6522f9-a252-480f-a69d-efc494975d06 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ec6522f9-a252-480f-a69d-efc494975d06 + response: + body: + string: '' + headers: + apim-request-id: d49b5157-a06b-4cb3-9b80-8c40936e7051 + content-length: '0' + date: Wed, 09 Sep 2020 22:55:57 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '309' + x-request-id: d49b5157-a06b-4cb3-9b80-8c40936e7051 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/ec6522f9-a252-480f-a69d-efc494975d06 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mysql.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mysql.yaml new file mode 100644 index 000000000000..0006265e362a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_mysql.yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "MySql", "dataFeedName": "mysqlasync6081216b", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "Server=ad-sample.westcentralus.cloudapp.azure.com;Port=3306;Database=adsample;Uid=adreadonly;Pwd=connectionstring", + "query": "\''select * from adsample2 where Timestamp = @StartTime\''"}}''' + headers: + Accept: + - application/json + Content-Length: + - '614' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 882c5019-c283-4e2a-9d60-4516fd7f443f + content-length: '0' + date: Wed, 09 Sep 2020 23:33:34 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bb46ea90-3955-4d5a-a161-30e4ca1c9611 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5793' + x-request-id: 882c5019-c283-4e2a-9d60-4516fd7f443f + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bb46ea90-3955-4d5a-a161-30e4ca1c9611 + response: + body: + string: '{"dataFeedId":"bb46ea90-3955-4d5a-a161-30e4ca1c9611","dataFeedName":"mysqlasync6081216b","metrics":[{"metricId":"277791b2-9a63-454f-a414-db371f1c8097","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"0c8188ec-8630-485e-ab78-f1193e32a4c2","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"MySql","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T23:33:34Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"Server=ad-sample.westcentralus.cloudapp.azure.com;Port=3306;Database=adsample;Uid=adreadonly;Pwd=connectionstring","query":"''select + * from adsample2 where Timestamp = @StartTime''"}}' + headers: + apim-request-id: c84a890c-191f-4bd0-8c16-fc01a729d13e + content-length: '1353' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 23:33:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '184' + x-request-id: c84a890c-191f-4bd0-8c16-fc01a729d13e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/bb46ea90-3955-4d5a-a161-30e4ca1c9611 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bb46ea90-3955-4d5a-a161-30e4ca1c9611 + response: + body: + string: '' + headers: + apim-request-id: 56d3d6c7-93d3-476c-8cf6-5b7aa3204a80 + content-length: '0' + date: Wed, 09 Sep 2020 23:33:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '345' + x-request-id: 56d3d6c7-93d3-476c-8cf6-5b7aa3204a80 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/bb46ea90-3955-4d5a-a161-30e4ca1c9611 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_postgresql.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_postgresql.yaml new file mode 100644 index 000000000000..f30b5693123b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_data_feed_with_postgresql.yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "PostgreSql", "dataFeedName": "postgresqlasyncdd72389", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "Host=adsamplepostgresql.eastus.cloudapp.azure.com;Username=adreadonly;Password=connectionstring;Database=adsample;Timeout=30;", + "query": "\''select * from adsample2 where Timestamp = @StartTime\''"}}''' + headers: + Accept: + - application/json + Content-Length: + - '635' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 64470970-1b88-4591-b466-47f2908aed4e + content-length: '0' + date: Wed, 09 Sep 2020 23:09:16 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/78bd925e-cd06-4dc3-a4d6-cb990b687c75 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '583' + x-request-id: 64470970-1b88-4591-b466-47f2908aed4e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/78bd925e-cd06-4dc3-a4d6-cb990b687c75 + response: + body: + string: '{"dataFeedId":"78bd925e-cd06-4dc3-a4d6-cb990b687c75","dataFeedName":"postgresqlasyncdd72389","metrics":[{"metricId":"bb4209b8-099c-48e0-8353-ca4d8dd3865e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"8355fadc-70cc-4d71-836d-111a3c848ce6","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"PostgreSql","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T23:09:17Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"Host=adsamplepostgresql.eastus.cloudapp.azure.com;Username=adreadonly;Password=connectionstring;Database=adsample;Timeout=30;","query":"''select + * from adsample2 where Timestamp = @StartTime''"}}' + headers: + apim-request-id: d526a18e-d1e7-4cfd-9665-5be0750bae35 + content-length: '1374' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 23:09:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '247' + x-request-id: d526a18e-d1e7-4cfd-9665-5be0750bae35 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/78bd925e-cd06-4dc3-a4d6-cb990b687c75 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/78bd925e-cd06-4dc3-a4d6-cb990b687c75 + response: + body: + string: '' + headers: + apim-request-id: 888c211d-1386-4305-97ec-43965432f640 + content-length: '0' + date: Wed, 09 Sep 2020 23:09:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '264' + x-request-id: 888c211d-1386-4305-97ec-43965432f640 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/78bd925e-cd06-4dc3-a4d6-cb990b687c75 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_simple_data_feed.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_simple_data_feed.yaml new file mode 100644 index 000000000000..f04b9726f912 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_create_simple_data_feed.yaml @@ -0,0 +1,85 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeeddefb1fa4", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '699' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 2ae56d63-1025-4df3-927a-61f5747f54b5 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:15 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b504f313-3e39-44de-85ef-9a8541a482f3 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '310' + x-request-id: 2ae56d63-1025-4df3-927a-61f5747f54b5 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b504f313-3e39-44de-85ef-9a8541a482f3 + response: + body: + string: "{\"dataFeedId\":\"b504f313-3e39-44de-85ef-9a8541a482f3\",\"dataFeedName\":\"testfeeddefb1fa4\",\"metrics\":[{\"metricId\":\"3eee5310-1f0d-48d7-8eb3-45ff90d5b926\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d1c11f0-2cea-4a5d-82a1-36ce0fa187e0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:37:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: a700e6d3-112e-4324-9636-3265b14669d8 + content-length: '1373' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '140' + x-request-id: a700e6d3-112e-4324-9636-3265b14669d8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b504f313-3e39-44de-85ef-9a8541a482f3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b504f313-3e39-44de-85ef-9a8541a482f3 + response: + body: + string: '' + headers: + apim-request-id: a088aaaa-8d62-40b9-9c0a-0c85ad4880f6 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:16 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '317' + x-request-id: a088aaaa-8d62-40b9-9c0a-0c85ad4880f6 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b504f313-3e39-44de-85ef-9a8541a482f3 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds.yaml new file mode 100644 index 000000000000..b70f55df83ef --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: b69f7c7f-2b43-4b19-b61b-5d0a38a1e562 + content-length: '4961' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:11 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '309' + x-request-id: b69f7c7f-2b43-4b19-b61b-5d0a38a1e562 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_data_feed_name.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_data_feed_name.yaml new file mode 100644 index 000000000000..a55635d5472c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_data_feed_name.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=testDataFeed1 + response: + body: + string: '{"value":[{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["anuchan@microsoft.com","xiangyan@microsoft.com","krpratic@microsoft.com","mayurid@microsoft.com","savaity@microsoft.com","yumeng@microsoft.com","camaiaor@microsoft.com","kaghiya@microsoft.com","johanste@microsoft.com","kaolsze@microsoft.com","chriss@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}}],"@nextLink":null}' + headers: + apim-request-id: 4d30d448-533d-4f88-b79e-a563260121aa + content-length: '1933' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10318' + x-request-id: 4d30d448-533d-4f88-b79e-a563260121aa + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds?dataFeedName=testDataFeed1 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_granularity_type.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_granularity_type.yaml new file mode 100644 index 000000000000..50e6c1bba0dd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_granularity_type.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: aa00fa25-c846-4553-842a-73b24aa71437 + content-length: '4961' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '567' + x-request-id: aa00fa25-c846-4553-842a-73b24aa71437 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds?granularityName=Daily +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_skip.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_skip.yaml new file mode 100644 index 000000000000..e341967f249b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_skip.yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: 9609b49b-f922-4990-8776-30dbae1e50fd + content-length: '4961' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '381' + x-request-id: 9609b49b-f922-4990-8776-30dbae1e50fd + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$skip=1 + response: + body: + string: '{"value":[{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: e29e89ba-5087-4d66-b513-5435305ef80c + content-length: '3661' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '646' + x-request-id: e29e89ba-5087-4d66-b513-5435305ef80c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds?$skip=1 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_source_type.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_source_type.yaml new file mode 100644 index 000000000000..ed8778685434 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_source_type.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["anuchan@microsoft.com","xiangyan@microsoft.com","krpratic@microsoft.com","mayurid@microsoft.com","savaity@microsoft.com","yumeng@microsoft.com","camaiaor@microsoft.com","kaghiya@microsoft.com","johanste@microsoft.com","kaolsze@microsoft.com","chriss@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}}],"@nextLink":null}' + headers: + apim-request-id: 3b305eda-2872-44ab-a326-fa4784149776 + content-length: '3233' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '326' + x-request-id: 3b305eda-2872-44ab-a326-fa4784149776 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_status.yaml new file mode 100644 index 000000000000..57e36e3c77d5 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_list_data_feeds_with_status.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Paused + response: + body: + string: '{"value":[],"@nextLink":null}' + headers: + apim-request-id: b8856726-9c09-4e16-9c12-833e3004dc4f + content-length: '29' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:46:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '224' + x-request-id: b8856726-9c09-4e16-9c12-833e3004dc4f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds?status=Paused +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_by_reseting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_by_reseting_properties.yaml new file mode 100644 index 000000000000..a4fc3fc9e87e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_by_reseting_properties.yaml @@ -0,0 +1,162 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "update821a1aff", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: c1154d79-8247-407c-9829-99a87c70222a + content-length: '0' + date: Mon, 21 Sep 2020 23:40:21 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '438' + x-request-id: c1154d79-8247-407c-9829-99a87c70222a + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e + response: + body: + string: "{\"dataFeedId\":\"828fb77e-ee57-4781-8080-8a9f9ab86e9e\",\"dataFeedName\":\"update821a1aff\",\"metrics\":[{\"metricId\":\"3568145c-46ee-467a-96a9-1b8e0ae6f015\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"8fa37e2d-94ca-4b66-83e6-9caaf594979a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:40:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 3279bb1e-e3fc-48d1-a4f6-d2028e143199 + content-length: '1622' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '168' + x-request-id: 3279bb1e-e3fc-48d1-a4f6-d2028e143199 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e +- request: + body: '{"dataFeedName": "update", "dataFeedDescription": null, "timestampColumn": + null, "startOffsetInSeconds": null, "maxConcurrency": null, "minRetryIntervalInSeconds": + null, "stopRetryAfterInSeconds": null, "needRollup": null, "rollUpMethod": null, + "rollUpColumns": null, "allUpIdentification": null, "fillMissingPointType": + null, "fillMissingPointValue": null, "viewMode": null, "viewers": null, "status": + null, "actionLinkTemplate": null}' + headers: + Accept: + - application/json + Content-Length: + - '436' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e + response: + body: + string: '' + headers: + apim-request-id: 40ce64e9-fefa-4735-9af7-2fcaefe11e42 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '144' + x-request-id: 40ce64e9-fefa-4735-9af7-2fcaefe11e42 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e + response: + body: + string: "{\"dataFeedId\":\"828fb77e-ee57-4781-8080-8a9f9ab86e9e\",\"dataFeedName\":\"update\",\"metrics\":[{\"metricId\":\"3568145c-46ee-467a-96a9-1b8e0ae6f015\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"8fa37e2d-94ca-4b66-83e6-9caaf594979a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:40:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: a96a4754-d505-4dd3-8a30-da3503dcbc91 + content-length: '1614' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '129' + x-request-id: a96a4754-d505-4dd3-8a30-da3503dcbc91 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e + response: + body: + string: '' + headers: + apim-request-id: 4c7839bd-ffe8-4c00-9276-589f32234f50 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '282' + x-request-id: 4c7839bd-ffe8-4c00-9276-589f32234f50 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/828fb77e-ee57-4781-8080-8a9f9ab86e9e +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_kwargs.yaml new file mode 100644 index 000000000000..c899dee3c6ef --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_kwargs.yaml @@ -0,0 +1,162 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "update711c1662", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 5a2f2c8f-07c4-440a-8987-323d636337e2 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:24 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '362' + x-request-id: 5a2f2c8f-07c4-440a-8987-323d636337e2 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 + response: + body: + string: "{\"dataFeedId\":\"b68f770b-78f3-40d9-8baa-f6c4a2170948\",\"dataFeedName\":\"update711c1662\",\"metrics\":[{\"metricId\":\"377a330f-c68d-4b11-a2a1-5bc9ca20e230\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"1758b5c2-a59a-4820-ba72-309c37ee3b20\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:40:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: b878baaf-91c5-44af-afaa-edd11395f408 + content-length: '1622' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '148' + x-request-id: b878baaf-91c5-44af-afaa-edd11395f408 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 +- request: + body: '{"dataFeedName": "update", "dataFeedDescription": "updated", "timestampColumn": + "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", "startOffsetInSeconds": + 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": 1, "stopRetryAfterInSeconds": + 1, "needRollup": "AlreadyRollup", "rollUpMethod": "Sum", "rollUpColumns": [], + "allUpIdentification": "sumrollup", "fillMissingPointType": "CustomValue", "fillMissingPointValue": + 2, "viewMode": "Public", "viewers": ["updated"], "status": "Paused", "actionLinkTemplate": + "updated", "dataSourceParameter": {"connectionString": "updated", "query": "get + data"}}' + headers: + Accept: + - application/json + Content-Length: + - '596' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 + response: + body: + string: '' + headers: + apim-request-id: d3857b16-830a-4e18-8b3d-e757d24c64e0 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '554' + x-request-id: d3857b16-830a-4e18-8b3d-e757d24c64e0 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 + response: + body: + string: '{"dataFeedId":"b68f770b-78f3-40d9-8baa-f6c4a2170948","dataFeedName":"update","metrics":[{"metricId":"377a330f-c68d-4b11-a2a1-5bc9ca20e230","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"1758b5c2-a59a-4820-ba72-309c37ee3b20","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updated","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T23:40:24Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: 44a83e1b-6e74-4bb0-8f4c-21c5e6233619 + content-length: '1308' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '151' + x-request-id: 44a83e1b-6e74-4bb0-8f4c-21c5e6233619 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 + response: + body: + string: '' + headers: + apim-request-id: 8925fe0e-8736-4b7f-90fb-55c19cbecb61 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '273' + x-request-id: 8925fe0e-8736-4b7f-90fb-55c19cbecb61 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/b68f770b-78f3-40d9-8baa-f6c4a2170948 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model.yaml new file mode 100644 index 000000000000..e9007cd8e05f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "update5a9815e4", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 01fdb076-fdd8-4349-876a-d9db7f21ce77 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:27 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '379' + x-request-id: 01fdb076-fdd8-4349-876a-d9db7f21ce77 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a + response: + body: + string: "{\"dataFeedId\":\"1db11a9c-5f80-4d54-ae4e-e7a71f29da6a\",\"dataFeedName\":\"update5a9815e4\",\"metrics\":[{\"metricId\":\"c75633a7-174b-4bae-9ca6-9aebe52faaac\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"193bdcaf-75d8-4d82-90f6-244cac786441\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:40:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 30bf0018-a0bb-47d1-b584-d603b3cd8a9c + content-length: '1622' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '130' + x-request-id: 30bf0018-a0bb-47d1-b584-d603b3cd8a9c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a +- request: + body: '{"dataSourceType": "SqlServer", "dataFeedName": "update", "dataFeedDescription": + "updated", "timestampColumn": "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", + "startOffsetInSeconds": 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": + 1, "stopRetryAfterInSeconds": 1, "needRollup": "AlreadyRollup", "rollUpMethod": + "Sum", "rollUpColumns": [], "allUpIdentification": "sumrollup", "fillMissingPointType": + "CustomValue", "fillMissingPointValue": 2.0, "viewMode": "Public", "admins": + ["krpratic@microsoft.com", "yournamehere@microsoft.com"], "viewers": ["updated"], + "status": "Paused", "actionLinkTemplate": "updated", "dataSourceParameter": + {"connectionString": "updated", "query": "get data"}}' + headers: + Accept: + - application/json + Content-Length: + - '697' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a + response: + body: + string: '' + headers: + apim-request-id: f4b165b6-351d-4278-a9d3-8c006136fe8d + content-length: '0' + date: Mon, 21 Sep 2020 23:40:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '469' + x-request-id: f4b165b6-351d-4278-a9d3-8c006136fe8d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a + response: + body: + string: '{"dataFeedId":"1db11a9c-5f80-4d54-ae4e-e7a71f29da6a","dataFeedName":"update","metrics":[{"metricId":"c75633a7-174b-4bae-9ca6-9aebe52faaac","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"193bdcaf-75d8-4d82-90f6-244cac786441","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updated","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T23:40:27Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: a08ec921-121c-429e-af1c-96b989705e75 + content-length: '1308' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '140' + x-request-id: a08ec921-121c-429e-af1c-96b989705e75 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a + response: + body: + string: '' + headers: + apim-request-id: 5e747c32-2c87-48cb-8146-c0f05e7c0a8d + content-length: '0' + date: Mon, 21 Sep 2020 23:40:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '259' + x-request-id: 5e747c32-2c87-48cb-8146-c0f05e7c0a8d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/1db11a9c-5f80-4d54-ae4e-e7a71f29da6a +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..1c8bf87e8df1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_data_feeds_async.test_update_data_feed_with_model_and_kwargs.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "update65d91a64", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: b91239d5-c560-4032-99d2-a5bcc188fad5 + content-length: '0' + date: Mon, 21 Sep 2020 23:40:29 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '348' + x-request-id: b91239d5-c560-4032-99d2-a5bcc188fad5 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed + response: + body: + string: "{\"dataFeedId\":\"5eb2e82f-81fa-452a-aba6-e2b0f0b27aed\",\"dataFeedName\":\"update65d91a64\",\"metrics\":[{\"metricId\":\"524a0825-05c4-4522-9eef-00a5d5c0f7eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"14c4251c-ebc2-4cfd-b6ca-41136dac5fb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:40:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: b2252c01-9e3a-4646-a767-77b94b613309 + content-length: '1622' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '127' + x-request-id: b2252c01-9e3a-4646-a767-77b94b613309 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed +- request: + body: '{"dataSourceType": "SqlServer", "dataFeedName": "updateMe", "dataFeedDescription": + "updateMe", "timestampColumn": "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", + "startOffsetInSeconds": 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": + 1, "stopRetryAfterInSeconds": 1, "needRollup": "AlreadyRollup", "rollUpMethod": + "Sum", "rollUpColumns": [], "allUpIdentification": "sumrollup", "fillMissingPointType": + "CustomValue", "fillMissingPointValue": 2.0, "viewMode": "Public", "admins": + ["krpratic@microsoft.com", "yournamehere@microsoft.com"], "viewers": ["updated"], + "status": "Paused", "actionLinkTemplate": "updated", "dataSourceParameter": + {"connectionString": "updated", "query": "get data"}}' + headers: + Accept: + - application/json + Content-Length: + - '700' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed + response: + body: + string: '' + headers: + apim-request-id: c0377692-15a1-43c7-a888-48ee26f5903d + content-length: '0' + date: Mon, 21 Sep 2020 23:40:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '485' + x-request-id: c0377692-15a1-43c7-a888-48ee26f5903d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed + response: + body: + string: '{"dataFeedId":"5eb2e82f-81fa-452a-aba6-e2b0f0b27aed","dataFeedName":"updateMe","metrics":[{"metricId":"524a0825-05c4-4522-9eef-00a5d5c0f7eb","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"14c4251c-ebc2-4cfd-b6ca-41136dac5fb5","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updateMe","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T23:40:30Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: 3f6c2327-b893-45b3-9935-99fbbe193c9e + content-length: '1311' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:40:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '132' + x-request-id: 3f6c2327-b893-45b3-9935-99fbbe193c9e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed + response: + body: + string: '' + headers: + apim-request-id: 6db999f0-6d5f-4d56-98e5-9ff04044f69b + content-length: '0' + date: Mon, 21 Sep 2020 23:40:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '268' + x-request-id: 6db999f0-6d5f-4d56-98e5-9ff04044f69b + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/5eb2e82f-81fa-452a-aba6-e2b0f0b27aed +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_email_hook.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_email_hook.yaml new file mode 100644 index 000000000000..9d69881461af --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_email_hook.yaml @@ -0,0 +1,108 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testemailhookasync26461d46", "description": + "my email hook", "externalLink": "external link", "hookParameter": {"toList": + ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '189' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: b8c4f4c4-b9c2-4ce8-a05d-9092d579e224 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:07 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '423' + x-request-id: b8c4f4c4-b9c2-4ce8-a05d-9092d579e224 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec + response: + body: + string: '{"hookId":"8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec","hookName":"testemailhookasync26461d46","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: e6ce4b9e-a0e6-4bf2-b293-3f296c6d86c3 + content-length: '292' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '132' + x-request-id: e6ce4b9e-a0e6-4bf2-b293-3f296c6d86c3 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec + response: + body: + string: '' + headers: + apim-request-id: 66951749-b71c-4223-923a-1eccd0ff0595 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '147' + x-request-id: 66951749-b71c-4223-923a-1eccd0ff0595 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"hookId is invalid."}' + headers: + apim-request-id: e0fc6043-d8de-470c-bebb-82a4f80e10a3 + content-length: '65' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '46' + x-request-id: e0fc6043-d8de-470c-bebb-82a4f80e10a3 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8b42d85b-aa8a-44fd-8ff6-5ccca934d2ec +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_web_hook.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_web_hook.yaml new file mode 100644 index 000000000000..a477add17f7e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_create_web_hook.yaml @@ -0,0 +1,108 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhookasyncec6c1c7c", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post"}}' + headers: + Accept: + - application/json + Content-Length: + - '185' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: ffdd5e18-2c1b-4f34-9f8e-0a9f5eaf923e + content-length: '0' + date: Wed, 09 Sep 2020 22:37:17 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '648' + x-request-id: ffdd5e18-2c1b-4f34-9f8e-0a9f5eaf923e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc + response: + body: + string: '{"hookId":"1fc44190-a616-4974-a712-5874b519bcfc","hookName":"testwebhookasyncec6c1c7c","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"","password":"","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 9b6944fe-2bd3-419d-a76a-1bbe7ac49131 + content-length: '345' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '124' + x-request-id: 9b6944fe-2bd3-419d-a76a-1bbe7ac49131 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc + response: + body: + string: '' + headers: + apim-request-id: 4bb77eef-f418-4c81-9d48-a2d82bf11765 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '162' + x-request-id: 4bb77eef-f418-4c81-9d48-a2d82bf11765 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"hookId is invalid."}' + headers: + apim-request-id: 4974e734-2fbb-40e8-85ba-60f0af62e943 + content-length: '65' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '42' + x-request-id: 4974e734-2fbb-40e8-85ba-60f0af62e943 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/1fc44190-a616-4974-a712-5874b519bcfc +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_list_hooks.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_list_hooks.yaml new file mode 100644 index 000000000000..cdc3a4a79f01 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_list_hooks.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '{"value":[{"hookId":"d25286fb-98b6-48b8-9a05-712871c0d4e1","hookName":"emailhook","hookType":"Email","externalLink":"","description":"","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["krpratic@microsoft.com"],"ccList":null,"bccList":null}},{"hookId":"3af3e00f-adf4-40eb-b01f-4cc12f58db45","hookName":"updatedWebHook1","hookType":"Webhook","externalLink":"my + external link","description":"","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"sdfsd","password":"","headers":{},"certificateKey":"","certificatePassword":""}},{"hookId":"b1befa30-37a6-4f4e-b195-c91788d2af9d","hookName":"web_hook","hookType":"Webhook","externalLink":"my + external link","description":"jadg","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"fsdgsd","password":"","headers":{},"certificateKey":"","certificatePassword":""}}],"@nextLink":null}' + headers: + apim-request-id: 5eef0c4f-2c8f-45f7-b931-b5e5f8720b87 + content-length: '940' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:16 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '438' + x-request-id: 5eef0c4f-2c8f-45f7-b931-b5e5f8720b87 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_by_resetting_properties.yaml new file mode 100644 index 000000000000..5032fbcbb71f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_by_resetting_properties.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhook40a81a22", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '179' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: 0d158994-6b97-4ada-adf0-0714bfd7f8c9 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:29 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '514' + x-request-id: 0d158994-6b97-4ada-adf0-0714bfd7f8c9 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 + response: + body: + string: '{"hookId":"8f2169df-c35b-4a42-93dd-7e43247a54b1","hookName":"testhook40a81a22","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: ddc9c934-5efb-4efd-bac2-555aa3f45254 + content-length: '282' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '259' + x-request-id: ddc9c934-5efb-4efd-bac2-555aa3f45254 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 +- request: + body: '{"hookName": "reset", "description": null, "externalLink": null}' + headers: + Accept: + - application/json + Content-Length: + - '64' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 + response: + body: + string: '' + headers: + apim-request-id: 2ce4ccbf-e33f-4745-bf2c-a8543e087232 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '174' + x-request-id: 2ce4ccbf-e33f-4745-bf2c-a8543e087232 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 + response: + body: + string: '{"hookId":"8f2169df-c35b-4a42-93dd-7e43247a54b1","hookName":"reset","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 40f2cd55-025e-4066-a4a2-ad59c72b4d84 + content-length: '271' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '221' + x-request-id: 40f2cd55-025e-4066-a4a2-ad59c72b4d84 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 + response: + body: + string: '' + headers: + apim-request-id: 8225b8f8-8cd4-416e-9724-4029732b20b0 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '157' + x-request-id: 8225b8f8-8cd4-416e-9724-4029732b20b0 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/8f2169df-c35b-4a42-93dd-7e43247a54b1 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_kwargs.yaml new file mode 100644 index 000000000000..378a6004235c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_kwargs.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhook23951511", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '179' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: 2d97bf75-a20d-447f-a4e5-8c770b349159 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:31 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '271' + x-request-id: 2d97bf75-a20d-447f-a4e5-8c770b349159 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab + response: + body: + string: '{"hookId":"42d0dafe-594c-44b3-94c9-100d2f25beab","hookName":"testhook23951511","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 11e77035-02b8-40c2-b563-14a57cbdd595 + content-length: '282' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '132' + x-request-id: 11e77035-02b8-40c2-b563-14a57cbdd595 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab +- request: + body: '{"hookName": "update", "description": "update", "externalLink": "update", + "hookType": "Email", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab + response: + body: + string: '' + headers: + apim-request-id: 900f730f-b3ad-4135-bcbd-5a29bf7f25c0 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '274' + x-request-id: 900f730f-b3ad-4135-bcbd-5a29bf7f25c0 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab + response: + body: + string: '{"hookId":"42d0dafe-594c-44b3-94c9-100d2f25beab","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 93093701-65e1-43d6-805d-80e8932ddd97 + content-length: '245' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '149' + x-request-id: 93093701-65e1-43d6-805d-80e8932ddd97 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab + response: + body: + string: '' + headers: + apim-request-id: 33977d5e-3de6-448f-a044-1be9edfa2fe6 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '153' + x-request-id: 33977d5e-3de6-448f-a044-1be9edfa2fe6 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/42d0dafe-594c-44b3-94c9-100d2f25beab +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model.yaml new file mode 100644 index 000000000000..b0a09607f1bc --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model.yaml @@ -0,0 +1,137 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testwebhooke621493", "description": + "my email hook", "externalLink": "external link", "hookParameter": {"toList": + ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '181' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: ed6eadbb-28fa-4214-b996-3c4846ddd829 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:34 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '268' + x-request-id: ed6eadbb-28fa-4214-b996-3c4846ddd829 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 + response: + body: + string: '{"hookId":"39dba227-6f4f-47d6-aa41-922d22a351e3","hookName":"testwebhooke621493","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 256c35a9-4194-4830-9843-969b69ec424b + content-length: '284' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '122' + x-request-id: 256c35a9-4194-4830-9843-969b69ec424b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 +- request: + body: '{"hookType": "Email", "hookName": "update", "description": "update", "externalLink": + "update", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 + response: + body: + string: '' + headers: + apim-request-id: 9002bee6-f734-432f-95d2-352eef5418a6 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '260' + x-request-id: 9002bee6-f734-432f-95d2-352eef5418a6 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 + response: + body: + string: '{"hookId":"39dba227-6f4f-47d6-aa41-922d22a351e3","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 001508c3-8ca6-4291-b5c1-311698fdf6ae + content-length: '245' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '133' + x-request-id: 001508c3-8ca6-4291-b5c1-311698fdf6ae + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 + response: + body: + string: '' + headers: + apim-request-id: ed7f3f4d-58ae-42a4-8716-494478feec52 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '154' + x-request-id: ed7f3f4d-58ae-42a4-8716-494478feec52 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/39dba227-6f4f-47d6-aa41-922d22a351e3 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..e724255982db --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_email_hook_with_model_and_kwargs.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhookb281913", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '178' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: c9dfb680-9b38-498c-92dd-271ecae9a4f9 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:36 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '328' + x-request-id: c9dfb680-9b38-498c-92dd-271ecae9a4f9 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb + response: + body: + string: '{"hookId":"c1b5f3da-d845-4984-a537-284267bc6ecb","hookName":"testhookb281913","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 2d1bd749-0e8e-48cb-9eda-4bc04ce092c2 + content-length: '281' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '143' + x-request-id: 2d1bd749-0e8e-48cb-9eda-4bc04ce092c2 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb +- request: + body: '{"hookType": "Email", "hookName": "update", "description": "update", "externalLink": + "update", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb + response: + body: + string: '' + headers: + apim-request-id: 9cbea505-4d21-4557-8761-576a0cb8f541 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '278' + x-request-id: 9cbea505-4d21-4557-8761-576a0cb8f541 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb + response: + body: + string: '{"hookId":"c1b5f3da-d845-4984-a537-284267bc6ecb","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: 63280d29-c03e-455d-bd59-63ba7e7cfec5 + content-length: '245' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '136' + x-request-id: 63280d29-c03e-455d-bd59-63ba7e7cfec5 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb + response: + body: + string: '' + headers: + apim-request-id: 657dec6c-39c1-4612-a68d-269dbe0b562a + content-length: '0' + date: Mon, 21 Sep 2020 23:44:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '159' + x-request-id: 657dec6c-39c1-4612-a68d-269dbe0b562a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/c1b5f3da-d845-4984-a537-284267bc6ecb +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_by_resetting_properties.yaml new file mode 100644 index 000000000000..e11833e82324 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_by_resetting_properties.yaml @@ -0,0 +1,139 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testhooke691958", "description": "my + web hook", "externalLink": "external link", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Content-Length: + - '217' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: 46f97846-3e79-4746-bcbf-3ad541ac7469 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:39 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '623' + x-request-id: 46f97846-3e79-4746-bcbf-3ad541ac7469 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 + response: + body: + string: '{"hookId":"66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82","hookName":"testhooke691958","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 385ba926-a663-46f4-b2d8-c9fb3aac58e3 + content-length: '345' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '130' + x-request-id: 385ba926-a663-46f4-b2d8-c9fb3aac58e3 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 +- request: + body: '{"hookName": "reset", "description": null, "externalLink": null, "hookType": + "Webhook", "hookParameter": {"endpoint": "https://httpbin.org/post", "username": + "myusername", "password": null}}' + headers: + Accept: + - application/json + Content-Length: + - '190' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 + response: + body: + string: '' + headers: + apim-request-id: 1556b95a-80df-48a7-87d1-019bbc649f2d + content-length: '0' + date: Mon, 21 Sep 2020 23:44:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '603' + x-request-id: 1556b95a-80df-48a7-87d1-019bbc649f2d + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 + response: + body: + string: '{"hookId":"66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82","hookName":"reset","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 09901c97-238f-412c-8e98-d2ca41efdf21 + content-length: '336' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '131' + x-request-id: 09901c97-238f-412c-8e98-d2ca41efdf21 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 + response: + body: + string: '' + headers: + apim-request-id: 57fb1562-963a-4e30-880b-31e7c0ff7b3a + content-length: '0' + date: Mon, 21 Sep 2020 23:44:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '157' + x-request-id: 57fb1562-963a-4e30-880b-31e7c0ff7b3a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/66d1cb5b-adbd-4a3c-8ded-01aadfcbdb82 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_kwargs.yaml new file mode 100644 index 000000000000..98c5170da705 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_kwargs.yaml @@ -0,0 +1,138 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhookfabf1447", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: 4188751a-d028-4923-8408-caa07c41034c + content-length: '0' + date: Mon, 21 Sep 2020 23:44:43 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '674' + x-request-id: 4188751a-d028-4923-8408-caa07c41034c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c + response: + body: + string: '{"hookId":"278415a3-43a4-4c23-a4e3-70109afa5a0c","hookName":"testwebhookfabf1447","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 0a6ad1ea-7cc9-44c3-a3a8-f6b60c8469f6 + content-length: '349' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:44 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '159' + x-request-id: 0a6ad1ea-7cc9-44c3-a3a8-f6b60c8469f6 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c +- request: + body: '{"hookName": "update", "description": "update", "externalLink": "update", + "hookType": "Webhook", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password"}}' + headers: + Accept: + - application/json + Content-Length: + - '205' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c + response: + body: + string: '' + headers: + apim-request-id: c2d6b1f5-67a0-497c-840c-3184d8d69429 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:44 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '598' + x-request-id: c2d6b1f5-67a0-497c-840c-3184d8d69429 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c + response: + body: + string: '{"hookId":"278415a3-43a4-4c23-a4e3-70109afa5a0c","hookName":"update","hookType":"Webhook","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: bf622488-25af-4b6e-a726-cb6404d16993 + content-length: '333' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '144' + x-request-id: bf622488-25af-4b6e-a726-cb6404d16993 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c + response: + body: + string: '' + headers: + apim-request-id: 9067b6f7-4820-474d-a280-884500f33460 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '151' + x-request-id: 9067b6f7-4820-474d-a280-884500f33460 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/278415a3-43a4-4c23-a4e3-70109afa5a0c +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model.yaml new file mode 100644 index 000000000000..3186812a2c3c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model.yaml @@ -0,0 +1,139 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhooke65613c9", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: ee307c02-1537-41a4-bbcf-3c1885e00228 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:46 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '640' + x-request-id: ee307c02-1537-41a4-bbcf-3c1885e00228 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 + response: + body: + string: '{"hookId":"b4053948-d3f0-41d6-8832-d9c75e11e8d3","hookName":"testwebhooke65613c9","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 496e56ac-2f15-4f40-9569-98d96de21db1 + content-length: '349' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '133' + x-request-id: 496e56ac-2f15-4f40-9569-98d96de21db1 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 +- request: + body: '{"hookType": "Webhook", "hookName": "update", "description": "update", + "externalLink": "update", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password", "certificateKey": "", "certificatePassword": + ""}}' + headers: + Accept: + - application/json + Content-Length: + - '254' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 + response: + body: + string: '' + headers: + apim-request-id: 021c52bb-1f9c-4857-881d-f79e5fb52fc2 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '631' + x-request-id: 021c52bb-1f9c-4857-881d-f79e5fb52fc2 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 + response: + body: + string: '{"hookId":"b4053948-d3f0-41d6-8832-d9c75e11e8d3","hookName":"update","hookType":"Webhook","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 2ffac8e3-2b5e-4b9e-a1ef-4a566933a56b + content-length: '333' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '131' + x-request-id: 2ffac8e3-2b5e-4b9e-a1ef-4a566933a56b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 + response: + body: + string: '' + headers: + apim-request-id: 32457b89-06c6-449f-8b1d-ea8bcc0a0501 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '150' + x-request-id: 32457b89-06c6-449f-8b1d-ea8bcc0a0501 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/b4053948-d3f0-41d6-8832-d9c75e11e8d3 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..09e98ae10b17 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_hooks_async.test_update_web_hook_with_model_and_kwargs.yaml @@ -0,0 +1,139 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhookda6e1849", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: ed9947db-53af-4dd7-9ad0-15ca86abfdb6 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:49 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '595' + x-request-id: ed9947db-53af-4dd7-9ad0-15ca86abfdb6 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb + response: + body: + string: '{"hookId":"9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb","hookName":"testwebhookda6e1849","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: fd82677d-28e1-4231-818c-856e895d126f + content-length: '349' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:49 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '195' + x-request-id: fd82677d-28e1-4231-818c-856e895d126f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb +- request: + body: '{"hookType": "Webhook", "hookName": "update", "description": "updateMe", + "externalLink": "update", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password", "certificateKey": "", "certificatePassword": + ""}}' + headers: + Accept: + - application/json + Content-Length: + - '256' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb + response: + body: + string: '' + headers: + apim-request-id: e050ea7c-2b31-4694-b4b0-359af58492db + content-length: '0' + date: Mon, 21 Sep 2020 23:44:50 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '692' + x-request-id: e050ea7c-2b31-4694-b4b0-359af58492db + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb + response: + body: + string: '{"hookId":"9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb","hookName":"update","hookType":"Webhook","externalLink":"update","description":"updateMe","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: 559478d5-c827-4b11-8a96-e21a19add364 + content-length: '335' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:44:50 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '129' + x-request-id: 559478d5-c827-4b11-8a96-e21a19add364 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb + response: + body: + string: '' + headers: + apim-request-id: ba9ed676-fd36-43a2-9758-c35899ab1291 + content-length: '0' + date: Mon, 21 Sep 2020 23:44:51 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '152' + x-request-id: ba9ed676-fd36-43a2-9758-c35899ab1291 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/hooks/9c34ed33-b712-4c9b-8f7f-2aa6a9a6ccfb +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml new file mode 100644 index 000000000000..4e360a237fb6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml @@ -0,0 +1,171 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "datafeedforconfigasync8d813149", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '786' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 99bbbb5f-f3c8-4aaa-95df-e4643eeb9e28 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:05 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cf6c9853-6494-4e4c-9b6b-0fdc672cac53 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '315' + x-request-id: 99bbbb5f-f3c8-4aaa-95df-e4643eeb9e28 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cf6c9853-6494-4e4c-9b6b-0fdc672cac53 + response: + body: + string: "{\"dataFeedId\":\"cf6c9853-6494-4e4c-9b6b-0fdc672cac53\",\"dataFeedName\":\"datafeedforconfigasync8d813149\",\"metrics\":[{\"metricId\":\"69b4c5a2-5d80-42b5-b532-004fc5b4c81f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4bf00683-626c-45ee-bee2-ee3436e449f4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:37:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 69ddca60-fc81-453d-bb8c-ce82a2b7fb78 + content-length: '1504' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:06 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '214' + x-request-id: 69ddca60-fc81-453d-bb8c-ce82a2b7fb78 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/cf6c9853-6494-4e4c-9b6b-0fdc672cac53 +- request: + body: '{"name": "multipledetectionconfigsasync8d813149", "description": "My test + metric anomaly detection configuration", "metricId": "69b4c5a2-5d80-42b5-b532-004fc5b4c81f", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "conditionOperator": "AND", + "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}, "hardThresholdCondition": + {"lowerBound": 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": + {"changePercentage": 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, {"group": + {"dimension": {"city": "Seoul"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}, "hardThresholdCondition": + {"lowerBound": 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": + {"changePercentage": 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, {"series": + {"dimension": {"city": "Osaka", "category": "Cell Phones"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '2412' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: fef0b10a-ba32-4c5c-ab3b-27afe255c390 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:06 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fd4bf8e1-770c-418b-b5c7-2e2a6674fd92 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '173' + x-request-id: fef0b10a-ba32-4c5c-ab3b-27afe255c390 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fd4bf8e1-770c-418b-b5c7-2e2a6674fd92 + response: + body: + string: '{"anomalyDetectionConfigurationId":"fd4bf8e1-770c-418b-b5c7-2e2a6674fd92","name":"multipledetectionconfigsasync8d813149","description":"My + test metric anomaly detection configuration","metricId":"69b4c5a2-5d80-42b5-b532-004fc5b4c81f","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},{"group":{"dimension":{"city":"Seoul"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"a33d0520a1b24768f7cafd9cc0979c51","dimension":{"city":"Shenzhen","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},{"series":{"seriesId":"8e45a5a45088ead52653145a94267f5a","dimension":{"city":"Osaka","category":"Cell + Phones"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: 34e9d350-b4c2-4b21-bd0e-fc85404a4089 + content-length: '2359' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:06 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 34e9d350-b4c2-4b21-bd0e-fc85404a4089 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fd4bf8e1-770c-418b-b5c7-2e2a6674fd92 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cf6c9853-6494-4e4c-9b6b-0fdc672cac53 + response: + body: + string: '' + headers: + apim-request-id: a15a8a7f-bf8e-4ab6-be5c-7a52d6bc58b3 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '271' + x-request-id: a15a8a7f-bf8e-4ab6-be5c-7a52d6bc58b3 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/cf6c9853-6494-4e4c-9b6b-0fdc672cac53 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml new file mode 100644 index 000000000000..faa7eaf1bfdc --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml @@ -0,0 +1,156 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "adconfiggetasyncbad833b1", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '780' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: bfb3f44e-a4fc-4cd1-9fbe-62c30e86d417 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:10 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19cd9c61-dc24-4efd-8668-5d53d4cd4e0c + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '305' + x-request-id: bfb3f44e-a4fc-4cd1-9fbe-62c30e86d417 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19cd9c61-dc24-4efd-8668-5d53d4cd4e0c + response: + body: + string: "{\"dataFeedId\":\"19cd9c61-dc24-4efd-8668-5d53d4cd4e0c\",\"dataFeedName\":\"adconfiggetasyncbad833b1\",\"metrics\":[{\"metricId\":\"e97a9138-7b8a-4c59-b715-1e7e6e13a587\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"91bc17cb-f8fd-47fe-a42c-e0304560401e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:37:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 784132c6-2d93-4e10-a45d-e95095156aca + content-length: '1498' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '113' + x-request-id: 784132c6-2d93-4e10-a45d-e95095156aca + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/19cd9c61-dc24-4efd-8668-5d53d4cd4e0c +- request: + body: '{"name": "testdetectionconfigetasyncbad833b1", "description": "My test + metric anomaly detection configuration", "metricId": "e97a9138-7b8a-4c59-b715-1e7e6e13a587", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1197' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: acf81ba4-50fb-416a-9b3b-b5b1913fad69 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:10 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b7680247-803b-48aa-b471-0a431e664fc1 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '142' + x-request-id: acf81ba4-50fb-416a-9b3b-b5b1913fad69 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b7680247-803b-48aa-b471-0a431e664fc1 + response: + body: + string: '{"anomalyDetectionConfigurationId":"b7680247-803b-48aa-b471-0a431e664fc1","name":"testdetectionconfigetasyncbad833b1","description":"My + test metric anomaly detection configuration","metricId":"e97a9138-7b8a-4c59-b715-1e7e6e13a587","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"052cf31bf44ff560764d264a08f5464d","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: e75b3515-1828-4a66-a5ab-12abe3b9f454 + content-length: '1240' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '72' + x-request-id: e75b3515-1828-4a66-a5ab-12abe3b9f454 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b7680247-803b-48aa-b471-0a431e664fc1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19cd9c61-dc24-4efd-8668-5d53d4cd4e0c + response: + body: + string: '' + headers: + apim-request-id: 1dd02a9b-cea5-469f-8a79-c3748a75497b + content-length: '0' + date: Wed, 09 Sep 2020 22:37:11 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '260' + x-request-id: 1dd02a9b-cea5-469f-8a79-c3748a75497b + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/19cd9c61-dc24-4efd-8668-5d53d4cd4e0c +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml new file mode 100644 index 000000000000..cb579fec8324 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml @@ -0,0 +1,200 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "adconfigasync2404327d", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '777' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: c62cfc4c-ffc5-4322-8a29-a584a80a464e + content-length: '0' + date: Wed, 09 Sep 2020 22:37:12 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c1d79be1-e210-4859-8be6-9587f148c018 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '318' + x-request-id: c62cfc4c-ffc5-4322-8a29-a584a80a464e + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c1d79be1-e210-4859-8be6-9587f148c018 + response: + body: + string: "{\"dataFeedId\":\"c1d79be1-e210-4859-8be6-9587f148c018\",\"dataFeedName\":\"adconfigasync2404327d\",\"metrics\":[{\"metricId\":\"f1514645-0fe3-4b1e-beb0-80c0942d10af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f09814b2-9dd2-4e55-9a82-b2ee0a95270a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:37:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 000eb164-8bdc-4db9-aa6b-dc1e51ddf95b + content-length: '1495' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '122' + x-request-id: 000eb164-8bdc-4db9-aa6b-dc1e51ddf95b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/c1d79be1-e210-4859-8be6-9587f148c018 +- request: + body: '{"name": "testdetectionconfigasync2404327d", "description": "My test metric + anomaly detection configuration", "metricId": "f1514645-0fe3-4b1e-beb0-80c0942d10af", + "wholeMetricConfiguration": {"conditionOperator": "OR", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [], "seriesOverrideConfigurations": []}' + headers: + Accept: + - application/json + Content-Length: + - '789' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 54594f6c-ad28-49af-a3dd-c4f26cf0297c + content-length: '0' + date: Wed, 09 Sep 2020 22:37:13 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '96' + x-request-id: 54594f6c-ad28-49af-a3dd-c4f26cf0297c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 + response: + body: + string: '{"anomalyDetectionConfigurationId":"b914080c-b7e6-4b02-8444-1e86c0df4420","name":"testdetectionconfigasync2404327d","description":"My + test metric anomaly detection configuration","metricId":"f1514645-0fe3-4b1e-beb0-80c0942d10af","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: 8652203f-5e9b-411d-89b8-2b5887ef08ab + content-length: '814' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '66' + x-request-id: 8652203f-5e9b-411d-89b8-2b5887ef08ab + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 + response: + body: + string: '' + headers: + apim-request-id: ba603ce1-5ceb-4d86-a8de-e80b07d88fb1 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '75' + x-request-id: ba603ce1-5ceb-4d86-a8de-e80b07d88fb1 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyDetectionConfiguration. + TraceId: 807f125d-e118-4c37-89c7-842cc1ac897c"}' + headers: + apim-request-id: 67875891-aa0f-4cad-b166-47c6d98fc449 + content-length: '124' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 22:37:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '41' + x-request-id: 67875891-aa0f-4cad-b166-47c6d98fc449 + status: + code: 404 + message: Not Found + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/b914080c-b7e6-4b02-8444-1e86c0df4420 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c1d79be1-e210-4859-8be6-9587f148c018 + response: + body: + string: '' + headers: + apim-request-id: e7dd8eda-3f45-4e0b-8849-0d01d1dc1809 + content-length: '0' + date: Wed, 09 Sep 2020 22:37:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '267' + x-request-id: e7dd8eda-3f45-4e0b-8849-0d01d1dc1809 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/c1d79be1-e210-4859-8be6-9587f148c018 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_list_metric_anomaly_detection_configs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_list_metric_anomaly_detection_configs.yaml new file mode 100644 index 000000000000..0975dfe50b22 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_list_metric_anomaly_detection_configs.yaml @@ -0,0 +1,32 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/enrichment/anomalyDetection/configurations + response: + body: + string: '{"value":[{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":4,"minRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"Dim1":"Common + Lime"}},"hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":2,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"54bdef99c03c71c764fd3ea671cd1260","dimension":{"Dim1":"Common + Beech","Dim2":"Ant"}},"changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}}]},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","name":"js-all-as-anomaly","description":"","metricId":"metric_id","wholeMetricConfiguration":{"hardThresholdCondition":{"upperBound":0.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]},{"anomalyDetectionConfigurationId":"a420626b-b09b-4938-9bd3-91f263f50612","name":"test_detection_configuration_java","description":"","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":68.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":1,"minRatio":100.0}},"changeThresholdCondition":{"changePercentage":5.0,"shiftPoint":1,"anomalyDetectorDirection":"Up","withinRange":false,"suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"Dim1":"Common + Alder"}},"smartDetectionCondition":{"sensitivity":80.0,"anomalyDetectorDirection":"Down","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"8f0847fcd60e1002241f4da0f02b6d57","dimension":{"Dim1":"Common + Alder","Dim2":"American robin"}},"smartDetectionCondition":{"sensitivity":68.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]},{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","name":"Default","description":"","metricId":"metric_id","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":60.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}]}' + headers: + apim-request-id: 70def1e6-8087-4389-8c38-526a92110321 + content-length: '2925' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 01:48:02 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '2805' + x-request-id: 70def1e6-8087-4389-8c38-526a92110321 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/enrichment/anomalyDetection/configurations +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_by_resetting_properties.yaml new file mode 100644 index 000000000000..dbd603f081ef --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_by_resetting_properties.yaml @@ -0,0 +1,210 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection571b2741", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: aac25dff-d116-4428-9122-7587b6cf577c + content-length: '0' + date: Mon, 21 Sep 2020 23:49:22 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/152400a8-4ee8-416a-9f7d-07af8159dc53 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '626' + x-request-id: aac25dff-d116-4428-9122-7587b6cf577c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/152400a8-4ee8-416a-9f7d-07af8159dc53 + response: + body: + string: "{\"dataFeedId\":\"152400a8-4ee8-416a-9f7d-07af8159dc53\",\"dataFeedName\":\"updatedetection571b2741\",\"metrics\":[{\"metricId\":\"d1a8ed31-9343-48b5-a29d-2258770e7296\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c47eb638-f428-40cd-a446-728b0155f9f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:49:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: a4421186-805e-4c20-bd65-ae069e6d9b62 + content-length: '1496' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '191' + x-request-id: a4421186-805e-4c20-bd65-ae069e6d9b62 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/152400a8-4ee8-416a-9f7d-07af8159dc53 +- request: + body: '{"name": "testupdated571b2741", "description": "My test metric anomaly + detection configuration", "metricId": "d1a8ed31-9343-48b5-a29d-2258770e7296", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 00b0be06-856a-4e10-b79c-392fadb843f4 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:23 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '222' + x-request-id: 00b0be06-856a-4e10-b79c-392fadb843f4 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 + response: + body: + string: '{"anomalyDetectionConfigurationId":"c4925d17-262c-4999-8060-2fe5e0415db8","name":"testupdated571b2741","description":"My + test metric anomaly detection configuration","metricId":"d1a8ed31-9343-48b5-a29d-2258770e7296","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"4b224008a1d941c821d8ffc49945b503","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: 346390ef-1bd5-4b5b-828f-ed32a056bb7c + content-length: '1225' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5191' + x-request-id: 346390ef-1bd5-4b5b-828f-ed32a056bb7c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 +- request: + body: '{"name": "reset", "description": ""}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 + response: + body: + string: '' + headers: + apim-request-id: a45457fc-514f-46d8-ae8f-866bb1e0551a + content-length: '0' + date: Mon, 21 Sep 2020 23:49:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: a45457fc-514f-46d8-ae8f-866bb1e0551a + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 + response: + body: + string: '{"anomalyDetectionConfigurationId":"c4925d17-262c-4999-8060-2fe5e0415db8","name":"reset","description":"","metricId":"d1a8ed31-9343-48b5-a29d-2258770e7296","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"4b224008a1d941c821d8ffc49945b503","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: e9177076-c2e4-43e7-8d2e-0ef2ee98a82c + content-length: '1165' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '71' + x-request-id: e9177076-c2e4-43e7-8d2e-0ef2ee98a82c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c4925d17-262c-4999-8060-2fe5e0415db8 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/152400a8-4ee8-416a-9f7d-07af8159dc53 + response: + body: + string: '' + headers: + apim-request-id: 1e35f5f8-7219-429b-b14b-6be20e0f079c + content-length: '0' + date: Mon, 21 Sep 2020 23:49:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '273' + x-request-id: 1e35f5f8-7219-429b-b14b-6be20e0f079c + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/152400a8-4ee8-416a-9f7d-07af8159dc53 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_kwargs.yaml new file mode 100644 index 000000000000..317468b78203 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_kwargs.yaml @@ -0,0 +1,230 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection9c852230", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: e87a42a1-c425-4c32-8c7e-25f38c3949f8 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:31 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/34292aa1-e3bb-4a4e-ba94-984c60e2d472 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '372' + x-request-id: e87a42a1-c425-4c32-8c7e-25f38c3949f8 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/34292aa1-e3bb-4a4e-ba94-984c60e2d472 + response: + body: + string: "{\"dataFeedId\":\"34292aa1-e3bb-4a4e-ba94-984c60e2d472\",\"dataFeedName\":\"updatedetection9c852230\",\"metrics\":[{\"metricId\":\"b19434b0-1651-419e-9d1e-8a45f3e6b18d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4dfe2873-6e56-4dba-bfbf-12dd7627fc53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:49:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 5ce36599-58d4-4f6f-b871-639ac9a75cc4 + content-length: '1496' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '130' + x-request-id: 5ce36599-58d4-4f6f-b871-639ac9a75cc4 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/34292aa1-e3bb-4a4e-ba94-984c60e2d472 +- request: + body: '{"name": "testupdated9c852230", "description": "My test metric anomaly + detection configuration", "metricId": "b19434b0-1651-419e-9d1e-8a45f3e6b18d", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: fd2aba94-cd60-474c-a02e-40a53dc1bbbc + content-length: '0' + date: Mon, 21 Sep 2020 23:49:31 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '153' + x-request-id: fd2aba94-cd60-474c-a02e-40a53dc1bbbc + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 + response: + body: + string: '{"anomalyDetectionConfigurationId":"731b9eaf-7805-4060-bb08-bec93ed88050","name":"testupdated9c852230","description":"My + test metric anomaly detection configuration","metricId":"b19434b0-1651-419e-9d1e-8a45f3e6b18d","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"fc37fd20a8babfcaefc95419835f7167","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: 20f84daa-4c82-468e-a0eb-fb451b51a954 + content-length: '1225' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: 20f84daa-4c82-468e-a0eb-fb451b51a954 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 +- request: + body: '{"name": "updated", "wholeMetricConfiguration": {"conditionOperator": "OR", + "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Shenzen"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 10.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": {"upperBound": + 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": + 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": 20.0, + "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "San Paulo", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}], "description": "updated"}' + headers: + Accept: + - application/json + Content-Length: + - '1752' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 + response: + body: + string: '' + headers: + apim-request-id: 09411087-140c-4f1e-ae25-0a54a0d3b76f + content-length: '0' + date: Mon, 21 Sep 2020 23:49:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '164' + x-request-id: 09411087-140c-4f1e-ae25-0a54a0d3b76f + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 + response: + body: + string: '{"anomalyDetectionConfigurationId":"731b9eaf-7805-4060-bb08-bec93ed88050","name":"updated","description":"updated","metricId":"b19434b0-1651-419e-9d1e-8a45f3e6b18d","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Shenzen"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"a306cfa02ebf0ac49afc92486636ca54","dimension":{"city":"San + Paulo","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: 594dfa4a-3bc1-4674-be0f-622669472230 + content-length: '1797' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '69' + x-request-id: 594dfa4a-3bc1-4674-be0f-622669472230 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/731b9eaf-7805-4060-bb08-bec93ed88050 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/34292aa1-e3bb-4a4e-ba94-984c60e2d472 + response: + body: + string: '' + headers: + apim-request-id: 348c6f32-42f5-49f2-b8e7-30d5a2a395b5 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '289' + x-request-id: 348c6f32-42f5-49f2-b8e7-30d5a2a395b5 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/34292aa1-e3bb-4a4e-ba94-984c60e2d472 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model.yaml new file mode 100644 index 000000000000..2dce6bc7efc2 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model.yaml @@ -0,0 +1,230 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection7a3321b2", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 731748c3-3df9-49f2-8cfe-202bc8581efd + content-length: '0' + date: Mon, 21 Sep 2020 23:49:34 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/467ad9b8-fc58-4a4b-8ec0-7c83df933818 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '366' + x-request-id: 731748c3-3df9-49f2-8cfe-202bc8581efd + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/467ad9b8-fc58-4a4b-8ec0-7c83df933818 + response: + body: + string: "{\"dataFeedId\":\"467ad9b8-fc58-4a4b-8ec0-7c83df933818\",\"dataFeedName\":\"updatedetection7a3321b2\",\"metrics\":[{\"metricId\":\"0951e8a4-4a9a-44bd-af8a-e79177841561\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"becec1ff-3fc0-4176-90aa-ce7fb4a5a017\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:49:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 123fde77-7430-4566-abe3-b9d090a0bbd7 + content-length: '1496' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '131' + x-request-id: 123fde77-7430-4566-abe3-b9d090a0bbd7 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/467ad9b8-fc58-4a4b-8ec0-7c83df933818 +- request: + body: '{"name": "testupdated7a3321b2", "description": "My test metric anomaly + detection configuration", "metricId": "0951e8a4-4a9a-44bd-af8a-e79177841561", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 3d482171-00e9-4d8c-afdd-2f6b8e88ac1c + content-length: '0' + date: Mon, 21 Sep 2020 23:49:35 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '143' + x-request-id: 3d482171-00e9-4d8c-afdd-2f6b8e88ac1c + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 + response: + body: + string: '{"anomalyDetectionConfigurationId":"a0d4432b-5f0e-45bf-bdbb-051977c99140","name":"testupdated7a3321b2","description":"My + test metric anomaly detection configuration","metricId":"0951e8a4-4a9a-44bd-af8a-e79177841561","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"284ae93a40cae7eb5aff11f84205b7a3","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: d098237b-66ce-480d-bd48-dc46a348d6db + content-length: '1225' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '73' + x-request-id: d098237b-66ce-480d-bd48-dc46a348d6db + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 +- request: + body: '{"name": "updated", "description": "updated", "wholeMetricConfiguration": + {"conditionOperator": "OR", "smartDetectionCondition": {"sensitivity": 10.0, + "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": 5, "minRatio": + 2.0}}, "hardThresholdCondition": {"upperBound": 100.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": + {"changePercentage": 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "conditionOperator": "AND", + "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": + [{"series": {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1753' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 + response: + body: + string: '' + headers: + apim-request-id: 1447bd25-bf94-40ba-b964-0df1c8cd6ccf + content-length: '0' + date: Mon, 21 Sep 2020 23:49:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '163' + x-request-id: 1447bd25-bf94-40ba-b964-0df1c8cd6ccf + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 + response: + body: + string: '{"anomalyDetectionConfigurationId":"a0d4432b-5f0e-45bf-bdbb-051977c99140","name":"updated","description":"updated","metricId":"0951e8a4-4a9a-44bd-af8a-e79177841561","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"284ae93a40cae7eb5aff11f84205b7a3","dimension":{"city":"Shenzhen","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: 7179cf48-fe81-49d8-8cb8-19c6763db22d + content-length: '1798' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 7179cf48-fe81-49d8-8cb8-19c6763db22d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0d4432b-5f0e-45bf-bdbb-051977c99140 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/467ad9b8-fc58-4a4b-8ec0-7c83df933818 + response: + body: + string: '' + headers: + apim-request-id: 6f6b9b89-c954-4c6c-a7b7-48c85198a48b + content-length: '0' + date: Mon, 21 Sep 2020 23:49:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '263' + x-request-id: 6f6b9b89-c954-4c6c-a7b7-48c85198a48b + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/467ad9b8-fc58-4a4b-8ec0-7c83df933818 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..29fc4a831a8f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_update_detection_config_with_model_and_kwargs.yaml @@ -0,0 +1,229 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection75d2632", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Content-Length: + - '777' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: 8c2578e8-e1ce-4e8b-a9ee-68497a768681 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:38 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/030babfe-8b8a-45b5-b84a-674620402ef2 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '377' + x-request-id: 8c2578e8-e1ce-4e8b-a9ee-68497a768681 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/030babfe-8b8a-45b5-b84a-674620402ef2 + response: + body: + string: "{\"dataFeedId\":\"030babfe-8b8a-45b5-b84a-674620402ef2\",\"dataFeedName\":\"updatedetection75d2632\",\"metrics\":[{\"metricId\":\"2a05e66a-0b82-4e39-a0d8-2c584b2fa1cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3133504e-4982-4852-870e-5c1f81a75f46\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T23:49:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: 1360e5b0-9a73-4f38-967b-51823829cafc + content-length: '1495' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '127' + x-request-id: 1360e5b0-9a73-4f38-967b-51823829cafc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/030babfe-8b8a-45b5-b84a-674620402ef2 +- request: + body: '{"name": "testupdated75d2632", "description": "My test metric anomaly detection + configuration", "metricId": "2a05e66a-0b82-4e39-a0d8-2c584b2fa1cb", "wholeMetricConfiguration": + {"conditionOperator": "AND", "smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}, "hardThresholdCondition": {"lowerBound": 0.0, "upperBound": 100.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": + {"changePercentage": 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1181' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: 29525af0-84f9-4c69-81d6-e04ed08de105 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:38 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '158' + x-request-id: 29525af0-84f9-4c69-81d6-e04ed08de105 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 + response: + body: + string: '{"anomalyDetectionConfigurationId":"bccf9dfe-4d35-4bbe-b832-ff5b104163d2","name":"testupdated75d2632","description":"My + test metric anomaly detection configuration","metricId":"2a05e66a-0b82-4e39-a0d8-2c584b2fa1cb","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"4657581810f0b311e54fd9403efad375","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: f2bcabe1-2b70-4029-929d-74239e25ac30 + content-length: '1224' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '72' + x-request-id: f2bcabe1-2b70-4029-929d-74239e25ac30 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 +- request: + body: '{"name": "updateMe", "description": "updateMe", "wholeMetricConfiguration": + {"conditionOperator": "OR", "smartDetectionCondition": {"sensitivity": 10.0, + "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": 5, "minRatio": + 2.0}}, "hardThresholdCondition": {"upperBound": 100.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": + {"changePercentage": 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Shenzen"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 10.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": {"upperBound": + 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": + 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": 20.0, + "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "San Paulo", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}]}' + headers: + Accept: + - application/json + Content-Length: + - '1754' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 + response: + body: + string: '' + headers: + apim-request-id: 66f0d034-488a-4ae7-8eca-bb01521af2c2 + content-length: '0' + date: Mon, 21 Sep 2020 23:49:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '165' + x-request-id: 66f0d034-488a-4ae7-8eca-bb01521af2c2 + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 + response: + body: + string: '{"anomalyDetectionConfigurationId":"bccf9dfe-4d35-4bbe-b832-ff5b104163d2","name":"updateMe","description":"updateMe","metricId":"2a05e66a-0b82-4e39-a0d8-2c584b2fa1cb","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Shenzen"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"62dd523eedadd6115381ea4944bd2990","dimension":{"city":"San + Paulo","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: b98f6f93-ccb4-4143-8cfc-75fefc8e2688 + content-length: '1799' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 23:49:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '67' + x-request-id: b98f6f93-ccb4-4143-8cfc-75fefc8e2688 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccf9dfe-4d35-4bbe-b832-ff5b104163d2 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/030babfe-8b8a-45b5-b84a-674620402ef2 + response: + body: + string: '' + headers: + apim-request-id: 48e4f68b-5b2d-4287-a3a2-d038daab19bd + content-length: '0' + date: Mon, 21 Sep 2020 23:49:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '266' + x-request-id: 48e4f68b-5b2d-4287-a3a2-d038daab19bd + status: + code: 204 + message: No Content + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com//metricsadvisor/v1.0/dataFeeds/030babfe-8b8a-45b5-b84a-674620402ef2 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_anomaly_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_anomaly_feedback.yaml new file mode 100644 index 000000000000..bb56c33db0a8 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_anomaly_feedback.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"feedbackType": "Anomaly", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"anomalyValue": "NotAnomaly"}}' + headers: + Accept: + - application/json + Content-Length: + - '259' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: 1173bb14-23cb-463a-acd7-4bc4d2d2c908 + content-length: '0' + date: Tue, 22 Sep 2020 20:35:52 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/bae7b6de-1681-485c-be92-e2c230d3964f + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '390' + x-request-id: 1173bb14-23cb-463a-acd7-4bc4d2d2c908 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_change_point_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_change_point_feedback.yaml new file mode 100644 index 000000000000..fde5789981dc --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_change_point_feedback.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"feedbackType": "ChangePoint", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"changePointValue": "NotChangePoint"}}' + headers: + Accept: + - application/json + Content-Length: + - '271' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: f9ae3223-8857-4b48-b713-99a258cd10d3 + content-length: '0' + date: Tue, 22 Sep 2020 20:39:56 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c668c6eb-6f50-423a-880f-2eae15356867 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '339' + x-request-id: f9ae3223-8857-4b48-b713-99a258cd10d3 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_comment_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_comment_feedback.yaml new file mode 100644 index 000000000000..de65d4ec7071 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_comment_feedback.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"feedbackType": "Comment", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"commentValue": "comment"}}' + headers: + Accept: + - application/json + Content-Length: + - '256' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: 7c679eb2-2d9e-4cbd-a795-a44e59dc15f1 + content-length: '0' + date: Tue, 22 Sep 2020 20:33:11 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/1030dd4e-1e39-4d87-b0df-4d963835eaec + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5424' + x-request-id: 7c679eb2-2d9e-4cbd-a795-a44e59dc15f1 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_period_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_period_feedback.yaml new file mode 100644 index 000000000000..468a67b8476a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_add_period_feedback.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"feedbackType": "Comment", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "value": {"periodType": "AssignValue", + "periodValue": 2}}' + headers: + Accept: + - application/json + Content-Length: + - '196' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: 7d531e8b-8b50-47ec-b39d-242c550c8a82 + content-length: '0' + date: Tue, 22 Sep 2020 20:33:20 GMT + location: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/7ffb55c7-2a65-4fc2-a8a8-2ed05e125a65 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '296' + x-request-id: 7d531e8b-8b50-47ec-b39d-242c550c8a82 + status: + code: 201 + message: Created + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_feedback.yaml new file mode 100644 index 000000000000..8d3892aa1489 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_feedback.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/feedback_id + response: + body: + string: '{"feedbackId":"feedback_id","createdTime":"2020-09-22T00:24:18.629Z","userPrincipal":"xiangyan@microsoft.com","metricId":"metric_id","dimensionFilter":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"feedbackType":"Anomaly","startTime":"2020-08-30T00:00:00Z","endTime":"2020-08-30T00:00:00Z","value":{"anomalyValue":"NotAnomaly"},"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","anomalyDetectionConfigurationSnapshot":{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":5,"minAlertRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":4,"minAlertRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"seriesGroupConfigurationId":"51242ee0b8c72df4e537ffdfe0e8af69","tagSet":{"dimension_name":"Common + Lime"}},"conditionOperator":"AND","hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesConfigurationId":"54bdef99c03c71c764fd3ea671cd1260","tagSet":{"dimension_name":"Common + Beech","Dim2":"Ant"}},"conditionOperator":"OR","changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"favoriteSeries":[],"disabledSeries":[]}}' + headers: + apim-request-id: f481a880-965b-4f17-b9cd-7e3975997197 + content-length: '1765' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 00:42:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '154' + x-request-id: f481a880-965b-4f17-b9cd-7e3975997197 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/f8f3db61-bc18-49ac-80a3-5b64bf3878df +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_incident_root_cause.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_incident_root_cause.yaml new file mode 100644 index 000000000000..72e676d397d2 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_incident_root_cause.yaml @@ -0,0 +1,26 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-gualala.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78bc85db-234a-480b-b696-f38128ab31f7/incidents/de5eea69e85f086da050057e2926076f-173c1114000/rootCause + response: + body: + string: '{"value":[]}' + headers: + apim-request-id: f79f9c06-a937-4bc4-b7fd-4ecd27c11ef9 + content-length: '12' + content-type: application/json; charset=utf-8 + date: Thu, 27 Aug 2020 16:22:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '312' + status: + code: 200 + message: OK + url: https://anuchan-cg-gualala.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78bc85db-234a-480b-b696-f38128ab31f7/incidents/de5eea69e85f086da050057e2926076f-173c1114000/rootCause +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_metrics_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_metrics_series_data.yaml new file mode 100644 index 000000000000..1c5fec1317c9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_metrics_series_data.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"startTime": "2020-08-05T00:00:00.000Z", "endTime": "2020-08-07T00:00:00.000Z", + "series": [{"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"}]}' + headers: + Accept: + - application/json + Content-Length: + - '155' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-gualala.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/6412a857-8fa4-44e0-8cb4-a99e9b63d71f/data/query + response: + body: + string: '{"value":[{"id":{"metricId":"6412a857-8fa4-44e0-8cb4-a99e9b63d71f","dimension":{"city":"Mumbai","category":"Shoes + Handbags & Sunglasses"}},"timestampList":["2020-08-05T00:00:00Z","2020-08-06T00:00:00Z"],"valueList":[3700223.6,3602890.2]}]}' + headers: + apim-request-id: f0d06994-79a3-4b94-9b1e-369def7b4dd6 + content-length: '239' + content-type: application/json; charset=utf-8 + date: Wed, 09 Sep 2020 01:28:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '278' + x-request-id: f0d06994-79a3-4b94-9b1e-369def7b4dd6 + status: + code: 200 + message: OK + url: https://anuchan-cg-gualala.cognitiveservices.azure.com//metricsadvisor/v1.0/metrics/6412a857-8fa4-44e0-8cb4-a99e9b63d71f/data/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_series.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_series.yaml new file mode 100644 index 000000000000..06c4f1158719 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_get_series.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '{"startTime": "2020-08-05T00:00:00.000Z", "endTime": "2020-08-07T00:00:00.000Z", + "series": [{"dimension": {"city": "city"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '125' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-gualala.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78bc85db-234a-480b-b696-f38128ab31f7/series/query + response: + body: + string: '{"value":[{"series":{"dimension":{"city":"city"}},"timestampList":[],"valueList":[],"isAnomalyList":[],"periodList":[],"expectedValueList":[],"lowerBoundaryList":[],"upperBoundaryList":[]}]}' + headers: + apim-request-id: 976959c4-9c0a-440d-8e36-67062a4c3cf7 + content-length: '190' + content-type: application/json; charset=utf-8 + date: Thu, 27 Aug 2020 23:09:44 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5376' + status: + code: 200 + message: OK + url: https://anuchan-cg-gualala.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78bc85db-234a-480b-b696-f38128ab31f7/series/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_alerts_for_alert_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_alerts_for_alert_configuration.yaml new file mode 100644 index 000000000000..d9c2b65e0c8b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_alerts_for_alert_configuration.yaml @@ -0,0 +1,32 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "timeMode": "AnomalyTime"}' + headers: + Accept: + - application/json + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/query + response: + body: + string: '{"value":[{"alertId":"alert_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.406Z","modifiedTime":"2020-09-14T20:42:57.048Z"},{"alertId":"17465dcc000","timestamp":"2020-09-07T00:00:00Z","createdTime":"2020-09-12T01:14:17.184Z","modifiedTime":"2020-09-12T01:28:54.26Z"},{"alertId":"17460b66400","timestamp":"2020-09-06T00:00:00Z","createdTime":"2020-09-12T01:14:16.927Z","modifiedTime":"2020-09-12T01:24:16.887Z"}],"@nextLink":null}' + headers: + apim-request-id: a97a72a0-3499-481b-894d-499cb6dc5c1a + content-length: '459' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:48:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '139' + x-request-id: a97a72a0-3499-481b-894d-499cb6dc5c1a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff3014a0-bbbb-41ec-a637-677e77b81299/alerts/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_alert.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_alert.yaml new file mode 100644 index 000000000000..dd7ae3a718c1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_alert.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/alert_id/anomalies + response: + body: + string: '{"value":[{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low","anomalyStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low","anomalyStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Medium","anomalyStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: dde9263c-f05f-4bc5-b66d-a6a98653b744 + content-length: '1110' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:48:01 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5217' + x-request-id: dde9263c-f05f-4bc5-b66d-a6a98653b744 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff3014a0-bbbb-41ec-a637-677e77b81299/alerts/1746b031c00/anomalies +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_detection_configuration.yaml new file mode 100644 index 000000000000..9d3482b60350 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_anomalies_for_detection_configuration.yaml @@ -0,0 +1,1338 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query?$top=1000&$skip=1000"}' + headers: + apim-request-id: 41afadd3-cd03-48c5-8013-c83964891081 + content-length: '129955' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:00 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '259' + x-request-id: 41afadd3-cd03-48c5-8013-c83964891081 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/anomalies/query +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query?$top=1000&$skip=1000 + response: + body: + string: '{"value":[{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}}],"@nextLink":null}' + headers: + apim-request-id: 8d091fe3-9b56-4123-94aa-76394ca1be1e + content-length: '59539' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:02 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '243' + x-request-id: 8d091fe3-9b56-4123-94aa-76394ca1be1e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/anomalies/query?$top=1000&$skip=1000 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_dimension_values_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_dimension_values_for_detection_configuration.yaml new file mode 100644 index 000000000000..f6a69c0cc1b6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_dimension_values_for_detection_configuration.yaml @@ -0,0 +1,37 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/dimension/query + response: + body: + string: '{"value":["Common Lime","Cherry Laurel","Cabbage Palm","Blackthorn","Blue + Atlas Cedar","Cider gum","Common Walnut","Almond","Chinese red-barked birch","Bastard + Service Tree","Black Birch (River Birch)","Caucasian Fir","Common Beech","Cherry","Caucasian + Lime","Birch","Algerian Fir","Black Poplar","Cockspur Thorn","Common Alder","Common + Ash","Austrian Pine","Common Hazel","Box elder","Common Juniper","Aspen","Common + Yew"],"@nextLink":null}' + headers: + apim-request-id: 4e250a80-2b37-4615-b2ff-a07bc700d865 + content-length: '441' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '843' + x-request-id: 4e250a80-2b37-4615-b2ff-a07bc700d865 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/anomalies/dimension/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_feedbacks.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_feedbacks.yaml new file mode 100644 index 000000000000..637b1098d09c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_feedbacks.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: '{"metricId": "metric_id"}' + headers: + Accept: + - application/json + Content-Length: + - '52' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query + response: + body: + string: '{"value":[{"feedbackId":"feedback_id","createdTime":"2020-09-22T00:24:18.629Z","userPrincipal":"xiangyan@microsoft.com","metricId":"metric_id","dimensionFilter":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"feedbackType":"Anomaly","startTime":"2020-08-30T00:00:00Z","endTime":"2020-08-30T00:00:00Z","value":{"anomalyValue":"NotAnomaly"},"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","anomalyDetectionConfigurationSnapshot":{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":5,"minAlertRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":4,"minAlertRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"seriesGroupConfigurationId":"51242ee0b8c72df4e537ffdfe0e8af69","tagSet":{"dimension_name":"Common + Lime"}},"conditionOperator":"AND","hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesConfigurationId":"54bdef99c03c71c764fd3ea671cd1260","tagSet":{"dimension_name":"Common + Beech","Dim2":"Ant"}},"conditionOperator":"OR","changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"favoriteSeries":[],"disabledSeries":[]}}],"@nextLink":null}' + headers: + apim-request-id: f6b2da4c-5d3c-49ef-bf35-2d2000453335 + content-length: '1794' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 00:42:56 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '89' + x-request-id: f6b2da4c-5d3c-49ef-bf35-2d2000453335 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incident_root_cause.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incident_root_cause.yaml new file mode 100644 index 000000000000..6bdf32ed9fa5 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incident_root_cause.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/incident_id/rootCause + response: + body: + string: '{"value":[]}' + headers: + apim-request-id: 6ba159d5-8f7b-4376-9c7b-90c30c50a9d5 + content-length: '12' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:05 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '493' + x-request-id: 6ba159d5-8f7b-4376-9c7b-90c30c50a9d5 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/incidents/cc2ff8a836361371b8c6eaad71b194f4-1746b031c00/rootCause +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_alert.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_alert.yaml new file mode 100644 index 000000000000..842ef990ee29 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_alert.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/alert_id/incidents + response: + body: + string: '{"value":[{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"a6a239ae68312b70cf66f778a7477d41-alert_id","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"incident_id","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-alert_id","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: f4fface8-5d39-4e55-900c-ede5ba2286f0 + content-length: '1179' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:55:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '303' + x-request-id: f4fface8-5d39-4e55-900c-ede5ba2286f0 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff3014a0-bbbb-41ec-a637-677e77b81299/alerts/1746b031c00/incidents +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_detection_configuration.yaml new file mode 100644 index 000000000000..eaa729620569 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_incidents_for_detection_configuration.yaml @@ -0,0 +1,1065 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query + response: + body: + string: '{"value":[{"incidentId":"incident_id","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"007f2c0b9e584865226cebf5418e42b5-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"641584f1651248229c7ac1622054acef-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"13b8142e4f38d38c057f687c2a6c0ff7-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"89da81b38d4a9b8377b36533b396da8f-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45f835f6379c57465b54e25de5aba8b4-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e897e7d78fd3f576c33ebd838f1aa568-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c90131fb355ca64902ab7e34424faba-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3aa3b1be7110e514bd26d5be619eeb2a-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fca86f4a0771df91e8256f23db59b2f1-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5a89c6ddb79ee3ee2737766af7b622d8-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27b76e58a329c1467139380fd5ad23c-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c16561b2c7996954586cb6788ebe4ea-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ebaf278493cd8716b31d2f9a7f5a1d5-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67d4df1573fef9406202d449d022228e-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f08119c00663d14023694eccc7726b1f-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eae4a784a896ef62f896859e9c16fb88-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1a0626ddd907a314f4ad65c8cd2b09a0-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a587ba21ed0913f94f43b63fcfe0df7-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"97796fa71d33ea33129206a475cc5d5c-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e90fb27d0bd794c93385eabb8a4590c8-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ac4c95d5be44546d4e950980c4fb805-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5ec5f17f0b870227087a0607e0a62299-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c16dd563031ddb3b905cbb895e4e93e4-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cfb4cec675c68a24b32a93aeb8f83db-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e6ec9e42c5a174b6c66de5b3942e6df-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7fbc1fd179536e10c74db8fb4f2d7109-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c2056afdccbbb6c971a0e87e595fd8c6-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"2f3263eff7ebec71575d55701cf91f87-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"fa02a59a9da76f3681e37b9cf1ba3bc1-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"0e2f472c7dbd692fba8923c2f7f09c90-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"48b5553b21d63aaf2eda299da258e7a9-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"ed1945350561ce57fd45860c49e7605d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"2e14a130f967b3764d434f470ed90c79-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"f0ec54044b14f05722c1dd6e9e2ee770-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"5800a7718cdd105d3df4b169401db1f7-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cea2781e2ebb17c20b3614bc901e7234-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0d1d1d05595eaf8b1eb161f48dba32bc-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a37d0c3ae699587692341d47831cae5d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d5c4be357ab910ff92b0a810e36b3c1-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"49db17e1cc7e839a3fcd995b8ee992e5-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e693c0f522a11fb7938803e3386d43e-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b46a044b6d592a45e2508d584bf16a3-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8574a6fb0f5124381263704c82ab735f-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86e85ca32b3ff7270a89c46b5323c208-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a57a441ee18b1a781e2344706190b8d8-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9727ea3afb9cdbd7554b49377127f822-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1be634e8680f7f41f3070963a21a8ce2-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ea31010e92e5d097ace4053ff7a939-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eaf74390f3baf2f348e9d782d171c461-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f2e19710ef2d44fc1cd59ff9796c753-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e04f109adbf4ca9b12da1583d542b7b2-17465dcc000","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"799056242ef6d4822523bc6bfa62f682-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9664d1509d5c9c6cdab967a48ed43a7c-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e465d7ce2eab5e14ce38a39e6a5c0a78-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0ae1648cffdbac7ef5ff8a98a78e60c4-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"df208b3f67f60ba6d0f5b0f803f4bb1f-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9ec37ecb6f7529194c90763c40b7610-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"586a065eec07588b1c993701f1eb2c1f-17465dcc000","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"94b1070d82d2a24f68ee459fb4dd031f-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3c37b8155456ed55c9a06f2d4acfdcfd-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"da6bdb54a97d59967cdb86a188a80578-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8716aad622b2fd5754ed2a7c98a57731-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b8ec7c3522535439f6cb78e914bfa1ce-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d56df63ed4f3851ad3b285815e29fac-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6509b04581eaa307e69f9a01a4023998-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7573aca2c2b1514604372e386ea4d932-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b051b82f932c4273ed698738b2df6cac-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"008e03333f13ef526fab59984d8636ea-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0311e8637b16ec22f15ee700e3d35459-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed6b809d9445e7c1b8dafe76e85d536b-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ae0d08377b9ff3a7e48d64d4e2b83fea-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0557b07b8eb21c8a6e6742e5ff6d4808-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20286302ad28a0989b0c291090ce0508-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"860fa9152017d7b59ac8c1986fb5f481-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a3ca719eaee5f889f65bd7d25a8b151-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"08a28a4db963e7f4a878da52cd18dc17-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f08119c00663d14023694eccc7726b1f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a4fc06dccd0b0de8a577e357ceee2a3d-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa281ae71357208f14ccb83392ed5d4c-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ccde4825f1a3e82dd8dccc6e09cfaa4-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"17f3f388c234cfd7e535ab51ac4a1b4f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"175ff739f5f490ea24884b6d1e8a9d0a-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8126f81c5c24ca5dee3ec1fb69ac256a-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cb006f689378e1dfc4d73d81442bf5e0-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f167210571d3da66402f47547c9b8b1e-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6dcf69de6fcc8f83bfee4ff158d5699-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1bb9530e7d6e50a21229bbf8ec399b6d-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"7b3ff7d996e69abb8152398f72e2bde3-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"394981a084bb6236be3c93b5e169862a-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34e213f3dabd5b618de8864f5fc191b9-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d3d6770e7254b139e35040b66506b81-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"760b8242d0edf0c881453b714fa73b09-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d3a4b8e4810661e5ab1be9eb594b8539-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92208ec1a39431322e6cc6aa8563017f-1745669ac00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cecc0a8f12ab522e9b7b0c283df72b54-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45cfc3017d05be4b1c683e693ee55796-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81bc0798412f4dddab87bc1f842bdbbc-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"646106ca10935841887a3568a2add46d-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"db4f303bfead652ac2a0c00960503fda-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0dce8270a17c3c1c0d5abd349564e3a-1745669ac00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ef6144ffc4ac92548edb0da3e1439bc-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1741ac8bcc5a8f5b17b1086b4a439cb-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eca6322c2e167d6b68654e4485f2e0ed-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"403429859e947f42db3d660b1fe00182-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e8751dc0ea26c1d692bedc5ff99723cc-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3badd8a82076e4d3c4a4b52e1df933c4-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"445242c0752c481a737a22b37e42e875-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b1320237170cca2d4bfcea44cb9acd5-17451435000","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e897e7d78fd3f576c33ebd838f1aa568-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3aa3b1be7110e514bd26d5be619eeb2a-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d28097d28adb2cc7649bb3ba70a308da-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"afed89785c1c4e9eeed3f9569a7dabc0-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d8ca9275fac073d5f48d2789fae060-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-17451435000","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cd351bc43b4cbfad89ed491e7dbc5cd-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"abfd13865624e1caa3695f04cc0d6198-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cacb59ef9035f7aa241311a0aa735381-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cebbedb6fe1cf345d1120beeee9a133-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac2f16d58ce1784eac5256e29bf2f0d-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b56305921e5ffe357256bd11f7bc9b95-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b0905459e304831ab362b1d7829116e4-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"fe45dce953e20b9246436ad3c76a7c4e-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cf9524292757836c2eec2e14fdab244-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4fd4859265b5cc8c1c1b3d4a0e0a509c-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8f08377171fedd730430d81bea52ff6f-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c00f3386c4a85b4d7dad96982fd1313a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5ee5293ccf23456c55183069a4b9ccef-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e04f109adbf4ca9b12da1583d542b7b2-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1744c1cf400","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a412de72a9a5ac09d504b685a9a8616-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"83257ba37033f7616c05045cb569f028-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e382c2c1687bde8d7c4c86c78e23ee3-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fca86f4a0771df91e8256f23db59b2f1-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"adf8a463bc86330ac985ace7ef4eaace-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7419a983bb919bd95e884a8a7b595897-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8094385bf71423605b1366eec41ae3d6-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f906e2ea59ed69704700dd6f8e45b66a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"673951425995df633118682eaf281b96-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b752711616dce27e2fa5fedf0549047a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4738dd46b9347e9bef2dd6b58235a1d6-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c792d0c369cc488599f75372cf06867d-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d3a4b8e4810661e5ab1be9eb594b8539-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"770f054fc609c2f904dcf6fe7ce0427b-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"921fe6c8b8c7b72bab3e867694be3f10-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1744c1cf400","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa755a6b60dd4a3d0e8e2148ee0593df-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f3a5ab87d5809aa1faba46cb958e9db1-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb32e5d8b333a6943d6a4cec8c3101de-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc45360e8e7a7153d3e252b45a3d9044-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9fb08f3aebaa8523c0c2bcd81b876bc5-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-17446f69800","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cd3f08c10733898ace1decb53264ba2d-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a06906c239e3ce2c74f4fd7f3ed006e-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee651cd24328a73f7d02fa4bc4c8b60b-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b93f657e9633927a1155cbc6ed4bf5d5-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c11b4934111a0694c0fcf8718cd314ad-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"072bc0f89f39807f4afcdf324fcf4b37-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"757bac39288686f48f4653b544d05ea1-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"553f5e328d6f8fa013d367b456b4b458-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"11bd7d16bdd2ce64639a3c2296646fad-17446f69800","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"83dc1243970f2d02251890e686b35683-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"623f8a4e5db7f6dceddc5eee5e0580f5-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10b650ca149ca53aa787cd482718838e-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22959a995b07fffa7418fa717520b3f2-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"641584f1651248229c7ac1622054acef-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d7bf4b69239f8e166506d2567eb2f98b-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b0b597eb5866682bb2d241cbf5790f2f-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34e213f3dabd5b618de8864f5fc191b9-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c906a2a04e8fe6ee0f4028518927b725-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-17441d03c00","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a866958634752a389e2c252b7b41b01-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45cfc3017d05be4b1c683e693ee55796-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"647e0ce96cebdeb7234156bf4daa10a2-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d206065246c00ab74315b4298da76e1d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9ec37ecb6f7529194c90763c40b7610-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1c8d30b1d369afebf8c7ac8693bc3941-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74052e4eb1b830f7e9645f9550f263af-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"646106ca10935841887a3568a2add46d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"baf21d62280034d070c4b9fd596225c6-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"315b680fa4dc2372fa859d0dd1103162-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"921fe6c8b8c7b72bab3e867694be3f10-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3655be51dfe0bc729e81a6f4c8299635-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b7dcdcef99b523f2ae9eb58b44bc9d59-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f408c61757d397f1d354b8eb6df1558-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-17441d03c00","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac5de822c4163e11dbc5a10bf64011d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f265881f5532c5ab727abb669279de14-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1592e8cd9b52ed9e03cda73efd648f6b-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85936fe51247075a7e655820014c2896-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"834f6082b8e1bae6132721dc25da6e28-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eca6322c2e167d6b68654e4485f2e0ed-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3b8719deb009ebe30db20298c15ae6ba-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e3a6cf5aee279d4f4231c5f0928cbbc-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8ef54f6646f2928049e03eaa745a39cc-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"050933599751744f309c59d0c79f750e-1743ca9e000","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dc2e60edb58ccbe08a19ded257fdcf6-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1f6f3cc13f5225df938d2ab2074dcf5d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a833e14118e95e40cb4fc649aa5e4127-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f906e2ea59ed69704700dd6f8e45b66a-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0670f9cf1b5cfc0e43ab92d5172040ce-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"37bd829dd98c9659b2a80f5f94ce7395-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"abfd13865624e1caa3695f04cc0d6198-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cacb59ef9035f7aa241311a0aa735381-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"47f133eb98f85606cb31cef7cecfdbc8-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"79fea5b88292c559677ec40c8656ed01-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b56305921e5ffe357256bd11f7bc9b95-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74d84982464a96ff3eb95a4d5b1a0f39-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc2ff8a836361371b8c6eaad71b194f4-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"743e56b6e3ed836b78218e7a13a34717-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"760b8242d0edf0c881453b714fa73b09-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b045d59e68ef32d963f94bc2ff62c8a-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fc810580695e29c1998f3949e78d2b2-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dcacf66333561a036f6826116a5d009c-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"96062cadf43991e36b9e235ed44a98bb-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c11b4934111a0694c0fcf8718cd314ad-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f50d5b7d1c294a5efb380caf2dcc61be-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6ab218766d4a08224f812db22293ef3a-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-174325d2800","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8310ebe938dd2605f1b71235f0e38bfc-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e382c2c1687bde8d7c4c86c78e23ee3-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"233e057d416a813f51c9a0b39073831f-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1f6f3cc13f5225df938d2ab2074dcf5d-174325d2800","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d385e18843f853af2664557f89fd447-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"891ba16be7731f96dbe2ed07945e3ad6-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0dce8270a17c3c1c0d5abd349564e3a-174325d2800","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee651cd24328a73f7d02fa4bc4c8b60b-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"474d11128652ea37fb44ddf503ebba27-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c8aff6ba40bf32e3014935dee92125f-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ccde4825f1a3e82dd8dccc6e09cfaa4-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"801cbfd6d996cfd00949ffa345080ba0-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d39e2070abb949ca864f2dcbb4b5639-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a96bdaaa64823010e2b5d7ee79c65aca-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92208ec1a39431322e6cc6aa8563017f-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8f64cdc61e31c6d42cd9a9a6dfbeb66f-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cb006f689378e1dfc4d73d81442bf5e0-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27b76e58a329c1467139380fd5ad23c-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"84315bec8758e7b15e746485e380a861-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"29ddf85538e817259553cbe5a6bb41e6-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f5d01fdc7e8b80a553b92e0e3f3dd01b-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4701e0dbe7b34127694f891d13a986d5-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a38a9fdbe5f8326555e64ae57b93d59e-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f777368cdb6ab0d463884af960ec394-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e2856d696bc35f4c1fc02725ea05cab-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d54763d71a14332d2761819be6ed76c8-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"84407ce8d5790fa14e2b95a96a49a666-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f3a5ab87d5809aa1faba46cb958e9db1-17428107000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-17428107000","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"afed89785c1c4e9eeed3f9569a7dabc0-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c7fe6ab3690d4c937beca804e9d1f606-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cd59fe5193a104b489b27841b08858d3-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82ecc8943f6093e6bf82cc9627f41d76-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f034bf7918142d6f1f33a7ab6af799c1-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"371d97a97ca26938bd6e7c44e4b7e7e2-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c16561b2c7996954586cb6788ebe4ea-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"886217d74276387ab304e87813cebadd-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"673951425995df633118682eaf281b96-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"08a28a4db963e7f4a878da52cd18dc17-17428107000","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a1d4188f8f452f64e8bbd6b5a97fb01-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dffafa3229c42ceadfaceb982dce356-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"658146886f9eea1541904e20c652c836-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c00f3386c4a85b4d7dad96982fd1313a-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7e16b7a48054da43017865ad9dc3210-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e37cdacc29175a1b5689e9fa6ff83f7-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e88ad7e1936c819c411ebf14386ac9c5-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"050933599751744f309c59d0c79f750e-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"563b06ee98279cfc71de4ad035e7fcfd-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fc810580695e29c1998f3949e78d2b2-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99c0098e7258f71a589792798dff740a-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80acd5e0b81aedacfca89429e7ceee44-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34cb21b660d13bacaa3db87802db364d-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d27926af7aaa1dce10dd73cd5943ce4-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b02841db79eecb30f9c92376f3d6a9e4-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e708c701adddd5fcb0385cf6acaea57c-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e761ca5ea08cd86b6dcec5658114126-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c0d6c24a636d6849bd12871437de14f7-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ba2ff597c78d3a417fd9d6750caf884-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86c22e0983d57bce042ecfa085bfe1d8-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0a1de83d9142d3cdbe20b516baa3e82-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d567c6254bcc0c08123850e26079c3c4-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a866958634752a389e2c252b7b41b01-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"387eccccff53934168d89930e3f2ef7f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9f790c1c2dc76b4768e944e8a6becaa2-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a076d6d34994c478bcf5a71a0e81e7d-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6867d51ce45b8a136a1ce1bf720322de-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"30cd5834fdd569759064939a3995f8db-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dd1478bd9f815bba0c2c7730a6da5a1c-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e3a6cf5aee279d4f4231c5f0928cbbc-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"863353916661912880e8214df7a0237f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3655be51dfe0bc729e81a6f4c8299635-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"127c8ee94bac1880ef881d5d506b4982-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"175ff739f5f490ea24884b6d1e8a9d0a-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d385e18843f853af2664557f89fd447-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-1741dc3b800","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40b821388a636fb151e7d1e08a51177f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"843c3ff07438866b5ad48efca724bc9f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc76c9f76d3f13a47c9ae576507dd3de-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1c8d30b1d369afebf8c7ac8693bc3941-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e62c7497e49e422ddb625daea6f214d5-1741dc3b800","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82474748e69090743d5b0c4df8c1186a-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63ed7dbaabf9e95124ee8709a80ff2b1-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85d6b2dccc1d18213b3934c0c009550b-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"371d97a97ca26938bd6e7c44e4b7e7e2-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cebbedb6fe1cf345d1120beeee9a133-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34104bb5a81001d1f3057e2555e4134e-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"59671e17866bc003f281055d01d7f857-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6ab218766d4a08224f812db22293ef3a-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09951ce44a4ffa4c7a0be72ef7a3af19-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"788eab73eae508789c7be69f24106328-174189d5c00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a2d062cb9e1d03b83c18230120ed224d-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"05a43c9a57a9ccb32aa4ed865adf4471-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"893eb8d20af179e6209f21c92a970bd1-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b8eee6a985e6cfe252b6f55c8f8c693-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bf16edfb65f4cc59775876306dfde327-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"496f7401bd0f2e633390bad5b4cfe1a3-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4a6e5fe6be6b97af3a9b891bc9eebf2-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"788b86ea0242843d8e3554bfe14d1f36-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-174189d5c00","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74d84982464a96ff3eb95a4d5b1a0f39-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"12bed2fa85a98a01bac8dd0d79f7a378-17413770000","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3daeef64a07dabc23c84eb45cd9a5f90-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1964ee989d55fcba205d68d9214ddcd4-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e67be34ccd8a92caee9e341aaf39b41-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b792e26b431147faf610bb0f11509090-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d7bf4b69239f8e166506d2567eb2f98b-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-1740e50a400","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d567c6254bcc0c08123850e26079c3c4-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"478bfaf9cb37c8ffce71c0f7af317bd4-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80acd5e0b81aedacfca89429e7ceee44-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"801cbfd6d996cfd00949ffa345080ba0-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a833e14118e95e40cb4fc649aa5e4127-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d28097d28adb2cc7649bb3ba70a308da-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c51e02ff667c860d9afd5217d575949-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"527b1817f9aa3bfa9e54734ee2f2ea42-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8094385bf71423605b1366eec41ae3d6-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63ed7dbaabf9e95124ee8709a80ff2b1-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4738dd46b9347e9bef2dd6b58235a1d6-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dda410546adb8260b7a7e363773c8e42-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3dc1f92897a2b637fa8144fb1aefc2a-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9613108a6390f7987ce02a5eb5eeeaf-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"18618a675da9f98c370b02c228536120-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20a5e8ace6f8f6cdd30a05f3aec3eba6-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a1d4188f8f452f64e8bbd6b5a97fb01-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"276e84aaa2fb05b90ac9de7c7718d439-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc7be04d67b32fd3ceaa6190db817f82-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa8d10639f64317a08ca3858aaff4f33-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0da4f4ef4db7db9ba355c66e911e2b35-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10a2fd212719f21a164a01d266c02b9e-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a1064eadd45877ace521127a421a27e-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9158283c7c17512155c3529bcec41328-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02f6731132bc11fd8609d89e7eefd6ba-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"643e3a849425698b44c4c612a40dbb77-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6867d51ce45b8a136a1ce1bf720322de-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"207433989591c50e00dad9f3d4191cce-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"43b41958443f7feb303aab3ccce585dd-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"8f1141f1960920d22c2707879d014626-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"31c62f2f522db8dd0e1f4d654f16d6f4-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a310f9f4ca025fd13082e4af39cddd86-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fce08acbff5e1b83c3be5bd1524ac9cf-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5b79c442deadc226a779a962d8f6dbe8-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"834f6082b8e1bae6132721dc25da6e28-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5715372e5c54f3920ee9c59f75344dc2-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7e16b7a48054da43017865ad9dc3210-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dc2e60edb58ccbe08a19ded257fdcf6-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34cb21b660d13bacaa3db87802db364d-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f400363d008aca387740a3a39b8684c9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f7de3e82ef25e6001194d66b26d0bc9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4a6e5fe6be6b97af3a9b891bc9eebf2-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c0d6c24a636d6849bd12871437de14f7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e708c701adddd5fcb0385cf6acaea57c-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"072bc0f89f39807f4afcdf324fcf4b37-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dc406e1fa9a4900587230cbec61cfa43-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e62c7497e49e422ddb625daea6f214d5-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"755d52e21bcb49d0b5c854275f32ffe7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3c8d51b69a01d320deda8d3a5eb49ce9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80766fa0ccc066f2d18eec7b89d9ae98-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1741ac8bcc5a8f5b17b1086b4a439cb-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d4ddf1d1b1f189390b4c64943fae661-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"743e56b6e3ed836b78218e7a13a34717-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"52a3e4f2749a3b0538081f40b28eaa2a-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a29635c29dbb571b813c41dc8b7ba0bb-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7dff9aa562bf22c7c62fba6539d673d2-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d6fae84c36e604d8131aeb768bf1b87-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a849a17fbdf7139b89e5d928d7b1fce6-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"799056242ef6d4822523bc6bfa62f682-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92cc6478c0dbcf6a5289a80ae5958ece-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"beb18122021a083c75556891279e8f70-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c75d9f6f328c441d1de657653fd5181d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f6edbd851116753ad72e2b9a3993bf5a-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b29e39159e737743ee936b51d05e75ca-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5659505e508ae42bc0cc7cd8d142ad7b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c7467baf2d9f71720c5e2feffa91bfc-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92ffa91036a54c710b83dfd28086b318-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99fda5745c2e36dfd23fdc7de37d458c-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5b68b26c968cf1a10d4940a0194940d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ff90139099853ada62129768539a6d5d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82ecc8943f6093e6bf82cc9627f41d76-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d05e2c3e193e76d17ced6e407da10d2b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91e59c4592c443cf5d9f7a51e6bde8c9-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a587ba21ed0913f94f43b63fcfe0df7-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"428ba866eac42b1fe0aeedfe1077a877-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb32e5d8b333a6943d6a4cec8c3101de-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8607e13cc2a6125124d1c89c267bb38b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76bcf1b89f80bb629dacbd68ed42c5bd-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"29ddf85538e817259553cbe5a6bb41e6-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f3263eff7ebec71575d55701cf91f87-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"8d134e1371ab5e3c92ae66f54795a0f6-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e1006ac3851061bec92116289b0608c-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cecc0a8f12ab522e9b7b0c283df72b54-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4da5594bf24ea55abd22b0f7fd48f96-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c85874f88ce0d6636595ef2eef588f48-173f9b73400","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"21f94029b6b05f37c46e06592244a983-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5babfaddd5f24bde9e0cc83344d857c0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"647e0ce96cebdeb7234156bf4daa10a2-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3bb050b8e8d029c17fc3aa719846fc7-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ba2ff597c78d3a417fd9d6750caf884-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9686e3cc99ce6efbb9bb57556144dd25-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a38a9fdbe5f8326555e64ae57b93d59e-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0db70328693dee28cb73c660a563de0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7417b570f4b6b8c6bf0e76f07abff4c7-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e9a181d50e5fad2bc5a2cc93d5c5be1e-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e493f687b7113e26a585b0fb28afa7cb-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c9c8af5c0626bd032915765c47c3c6-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22dd737ffc91834762d2dc7efb3c09d9-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a5841ab4327457478ae32b8782821415-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c688a00870964f137dc18dfc6ac17421-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fabdce0aceb3785ebe22180c8f70bd62-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"932cde3967db70711ed9761d636e70fa-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa02a59a9da76f3681e37b9cf1ba3bc1-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"3f6d7915d639fb8d8a4bbdff0c5d286c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"affc84d4bba9a65e580a3cf6755d8ef3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"48b5553b21d63aaf2eda299da258e7a9-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"2e14a130f967b3764d434f470ed90c79-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d8ec38c82904fc0ffdc8221cea9b48f7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"b5b9ede5671b61b19574d08cde731de5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d39ba889ac01ecfb6074040a1556b09c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"62476afd9bf098101eef349ea6bf11b7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"a3dc1f92897a2b637fa8144fb1aefc2a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"8178e2274e83d047e2962cc9021740dd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"cea2781e2ebb17c20b3614bc901e7234-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5800a7718cdd105d3df4b169401db1f7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e9be554e1d5416a349427640baa9ea5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c438f048b30b98bdba8874dea91f8a75-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"473422654c9a13a80a5d3e4f3fce6225-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5d60b2652cde380df98c122774c3bfe8-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"87be661e174b9e13d0527649a74786aa-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f663bb47feec7311609484568b329a05-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b744b8f0c891cd73fefa8c209039a581-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a37d0c3ae699587692341d47831cae5d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a9c221fa13ed1a7b8ddd9457e1601f55-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"301bb7eea70421287f206c5ec9143606-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6e7f3460dc2329d609723f268971ea4f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7a2acec2d56f800b54e4bfb637979573-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7da4cf1671df0f941ec3ddda54561839-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c917f96e757797ea674ab6bcb245a6a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02425c6260bca870b822b1091e1b030a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e693c0f522a11fb7938803e3386d43e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e9a771c92b1b8a40d70cbfc89edd03f2-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27e25e90f10a2679a8dc87ca7bd6be0-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b46a044b6d592a45e2508d584bf16a3-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fbfe65cede0024601eec4a697ed957ab-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6afd6f5ee7a97a49220bfb014c64e417-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91dd29f914d9ec8f118ff45ae4a45288-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8574a6fb0f5124381263704c82ab735f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3de1bb2f38294107eea364fdf7e9c5ff-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8d26b9c774a930cb5dcaa13a1c0a3ea0-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e63da4b3b9f085dd48a72ed9a34a09aa-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86e85ca32b3ff7270a89c46b5323c208-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4b239d1ffefa67f23071fbc39dce63fa-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b258da33470143846c3906ca2a632b7-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3ffa3ce6f9e628d20cae4e3ad4c1b14-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e6f3b78509ee82efaa76412fc5e9fb4-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0c12694a318199d668bb60432b719700-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ab7b756894564b9e845cf9a91ec962d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e3789ef957f68182ecd6f42079affc9-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"407aaccc44d2dd79d227f1f47956eb0f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a1221b473717e2beda023ddcb3591027-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"25981c93bab7e74cb3b6af65075a18c3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed1945350561ce57fd45860c49e7605d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4236b68470d3b8c3d7fb9d4aa83e442a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a57a441ee18b1a781e2344706190b8d8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"983d100f8e319cfedfe16bfeaf0f150d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ecb659683973a2c76a8bf2a7aabeb0-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e46d7410825743014703be78cc525d6-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ad58803b70615cc0ea4d016c6540f10b-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac7f0f60305bde2826653406c7bc296d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7ee8cc5814bc8339f3049b2913f2794c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a0fdc0de122c7daef5c37dc1447d2c8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"825280c8d4608c90c4ea2e3c9ff5846d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0ec54044b14f05722c1dd6e9e2ee770-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ea31010e92e5d097ace4053ff7a939-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c1f9e9751660df89ce86577656ae12-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1574e9f113073062bc93476ee179a2d2-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e7eccc088918e7286e480de1c2b15b19-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78eaf876411af828c8a66e9147ad2af7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"862f06854cdcb11770692bfde132d4b0-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cf9524292757836c2eec2e14fdab244-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eaf74390f3baf2f348e9d782d171c461-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d10ac3ca65b163123b615cf49c7b69d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"01bce2b7bc20fa236c87a57421728075-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"65b5141d6bf9d7da267fc9b53439919e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06a240ec63ff8eb1f19b47a5168db921-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f604552873bb3e03f836e8c5da15c29-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"093093136ae4ee51248525a86c9162a8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f2e19710ef2d44fc1cd59ff9796c753-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b6c0e7d681c2d0feb3044d05ed7eb26-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c6621bfa41faa7d2b370752dbb4c3b3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81d072a81762c6085de6fa8178a8faf8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20a5e8ace6f8f6cdd30a05f3aec3eba6-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2515b0255f013bb2cf92016c43b1a9d8-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8b607981c1a42ad6fef70ac9e15d4cff-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"563b06ee98279cfc71de4ad035e7fcfd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ffbc33d6cabb0f1f0506580c147d0c47-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"84c4b83f374581f9ea685be4a063abd5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4157b275ca73cbd0226552eb73e2a963-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b8eee6a985e6cfe252b6f55c8f8c693-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d8ca9275fac073d5f48d2789fae060-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"127c8ee94bac1880ef881d5d506b4982-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bf16edfb65f4cc59775876306dfde327-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0858072e1e89be918ad8c1b38e5156d9-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e04f3cfaeff3247b8d216982f98c96f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"94b1070d82d2a24f68ee459fb4dd031f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10a2fd212719f21a164a01d266c02b9e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8ec165a0e9bf58e16ff062813d87df1d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81bc0798412f4dddab87bc1f842bdbbc-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fcb11c1b7a95a93165e51820ede686f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8fbefa2c60f8c1bff6452cb2d240d94e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72fef2ce451a9570e89fa0ee33a2ea5f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7634063ba3975e6c492fa8ed3c48b1ca-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"988cfe0b1258c43dcb3d2ed56aa0929e-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ad1029a1a921807138b4a9de87e0b29-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d05e2c3e193e76d17ced6e407da10d2b-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"53cf37cb06cd78db81810decfb9bcd07-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86a24d29f4b0bb3def4022d90c456f0e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4fb5824a952aca734162b76ad8d75e07-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"372fc72ff4b4148d138cc827aae8f172-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"da6bdb54a97d59967cdb86a188a80578-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"faa41dfc3e63a426b13809cb6ae05f5d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eeb9c14d94d7561a1757cafb5857786e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"315b680fa4dc2372fa859d0dd1103162-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e2a8e746d5bf3949a7e7c04f5db10a2-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9664d1509d5c9c6cdab967a48ed43a7c-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f471a0ebff9f1b4c3a71b03faced6ec4-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"97796fa71d33ea33129206a475cc5d5c-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac2f16d58ce1784eac5256e29bf2f0d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72efcbe8df4b3454f83a1229a1e12428-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74235ca567265b33c4888c252a829756-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ac4c95d5be44546d4e950980c4fb805-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"07b3f78d099b7d35b4d5d59e1a21d1e1-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"df208b3f67f60ba6d0f5b0f803f4bb1f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"52f41fd7eb1c79080f7e1ea88de20f0e-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ad65c892c9b628dbb524a2dbf1edc502-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c9fc8a6a683f95c87e4e5c56f6d63c1-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7409a9cf8e364d46c3e08a7f9eaff60-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28421b69c26bd4e004d2c9d26c7020ea-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"4e3334fb5401357d5c07008517224a8e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"35335fb05115324e42868c51bd29f060-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e2f472c7dbd692fba8923c2f7f09c90-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"623f8a4e5db7f6dceddc5eee5e0580f5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f7a6d9edce151ce2fc44a304917c1e4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32ebefd2c1b449dc029c80729b51e5e5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5a51fda385a078b13f873cf1215c87d5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10b650ca149ca53aa787cd482718838e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32dbb19962929a94db7a860d500d685e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"658146886f9eea1541904e20c652c836-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22959a995b07fffa7418fa717520b3f2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3bd3098f59ee7844fbca7b1f08d43f52-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e1eb185f5343ffdf708d8541785b37f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"49db17e1cc7e839a3fcd995b8ee992e5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac5de822c4163e11dbc5a10bf64011d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3eebf692817806b3f5540b2c244ac8a2-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"280ff58f97a81a6e025413c3ef54432f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09a1ad568b24b07a09a5aafb3b3b8eb5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"60a4bfeb9f18e9393640444cdfecb276-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"479cbdd49f9e5a1466b63bc62aad04f3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"58fc30bc6a168cfa0d486a6af77e0802-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09435cd640b7340a5a0843828c218e82-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f1cc676aadd0cc1b50a02b4dca56846-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"48358c737de3c7fa192e4468f42d4eb3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"60c7bd3490b72a501f96ffc3550ced3b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1220bb055cee1ae86c5b230bcdaafd27-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a21f7096fe2d575c3017b264f2acd60-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00fbb269f85059a69dd16a051510dd74-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"047a2c5a7bedaffb7cafd3b9fdb287c6-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4cbdd3c280c5e1c03a1b75d80a5c254f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"383e61380621f6a6288fb27ffc359df8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02fd8a6b5271910b2335f84e6c309bcb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"16504d092eec0dc756e9568e45536d5f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5988cf3bfe979264d391d184fdd04c04-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac8f18ce9fbbd758fc3b1acbc145dd4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5855dadac7d09ffb6ccec6f96dbfe621-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c895672c3c033c57d0f26f5273c7ea3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"130cf6af80e05faed85e0710e72adfa4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"614de91a9df5b704fb46b2f756678398-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2bd925c013407b08e4ac97e6a392a59f-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"19a8b22a0e708d7fac140174b5a76ba8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5659505e508ae42bc0cc7cd8d142ad7b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1964ee989d55fcba205d68d9214ddcd4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b7dac0b25b4b609de56f35beed9237d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5dab47a777cb20243f5c711c011bc625-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f91b848647fdad9fc89cf702c76f361-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e937f11d264be5c73119b80a27d42cf-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"599127444e3890439efb9990e31c287b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"30cd5834fdd569759064939a3995f8db-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ef422945d263e10bda68f7e4410c4b7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34104bb5a81001d1f3057e2555e4134e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3717bb14413ea653478556ec30adb409-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f4e45c429c9174f9acf08df4af5e317-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6509b04581eaa307e69f9a01a4023998-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"544960f53a0e9840a5ec268bb6ddd5c7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1bb9530e7d6e50a21229bbf8ec399b6d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22dd737ffc91834762d2dc7efb3c09d9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00021aab166f3cbdf0fa06c2698fb988-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"43b41958443f7feb303aab3ccce585dd-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cf6d7792cd7c9e90432cf3d7df1d55d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query?$top=1000&$token=eyJtZXRyaWNJZCI6IjNkNDhlZDNlLTZlNmUtNDM5MS1iNzhmLWIwMGRmZWUxZTZmNSIsImRldGVjdENvbmZpZ0lkIjoiYzBmMjUzOWYtYjgwNC00YWI5LWE3MGYtMGRhMGM4OWM3NmQ4Iiwic3RhcnRUaW1lIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJlbmRUaW1lIjoiMjAyMC0wOS0wOVQwMDowMDowMFoiLCJuZXh0IjoiTWpBeU1DMHdPQzB4TmxRd01Eb3dNRG93TUZvakl5TTJOVGd4TkRZNE9EWm1PV1ZsWVRFMU5ERTVNRFJsTWpCak5qVXlZemd6Tmc9PSIsImxpbWl0IjoxMDAwLCJmaWx0ZXIiOnt9fQ=="}' + headers: + apim-request-id: 57d1a939-6f64-43c4-96b6-ad356458342f + content-length: '259499' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '1088' + x-request-id: 57d1a939-6f64-43c4-96b6-ad356458342f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/incidents/query +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query?$top=1000&$token=eyJtZXRyaWNJZCI6IjNkNDhlZDNlLTZlNmUtNDM5MS1iNzhmLWIwMGRmZWUxZTZmNSIsImRldGVjdENvbmZpZ0lkIjoiYzBmMjUzOWYtYjgwNC00YWI5LWE3MGYtMGRhMGM4OWM3NmQ4Iiwic3RhcnRUaW1lIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJlbmRUaW1lIjoiMjAyMC0wOS0wOVQwMDowMDowMFoiLCJuZXh0IjoiTWpBeU1DMHdPQzB4TmxRd01Eb3dNRG93TUZvakl5TTJOVGd4TkRZNE9EWm1PV1ZsWVRFMU5ERTVNRFJsTWpCak5qVXlZemd6Tmc9PSIsImxpbWl0IjoxMDAwLCJmaWx0ZXIiOnt9fQ== + response: + body: + string: '{"value":[{"incidentId":"9d5c4be357ab910ff92b0a810e36b3c1-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"79fa6b2d43fcebaceeb9779633d98f1e-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"9579e9cba3b4f02a95bc66bf22bb0b17-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"6ca158bf56fce054e59769e02ce60ce5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"ec8664153851031cc428baa917138df7-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e023f8f2829676c9e08418b7d2c73552-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"674090886eb148a34d6c719e5ef3dd10-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"756442a2fc87d2079a5b3f0e57c66033-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3bd3098f59ee7844fbca7b1f08d43f52-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3eebf692817806b3f5540b2c244ac8a2-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28421b69c26bd4e004d2c9d26c7020ea-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"047a2c5a7bedaffb7cafd3b9fdb287c6-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02fd8a6b5271910b2335f84e6c309bcb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"614de91a9df5b704fb46b2f756678398-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2bd925c013407b08e4ac97e6a392a59f-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"aac0012066d2bde3b2467c6c3a4c2bda-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea7c3c0de32117582a2a53bc1afc7422-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"acf8246b316abc7f599cd60ec084bfce-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1b8ee9e3b639ef98342c1c2f6704542-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7a8e6dece2a0d506c80027a3438b03f8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb023bac599b4e83135e2256a71fb815-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ab46dccca644854614af014e7b2dccbe-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d11b57f73e4f4518817aacd4e7b7c395-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8be5c1fbfe2006d5c2286b31ca0b1df0-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a322d49d5d58ed2ac5437773c6236a24-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c8a4d47ab45d8adcbfaba85bc7825026-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6660c5420193a4240fa57e5b846d374d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8de44e7bddd81415d2b304312ac3ecd7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"970ce26ee86ee0cd5f213562c5a28272-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f265881f5532c5ab727abb669279de14-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"daacc3c319c8a76983cc600dea26a393-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99dc13312f1d65283e1067d91de2621e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2940f68e5ae134b7932c6d227dbbaa2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed31c4235f913b7b45987184c07379b2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6fecf64cf0df96931370c46e140aaf92-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"caabe3886eae90bf1d09549efdffc8f3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6930cee5d8efb94c8329f9b80ff43859-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85936fe51247075a7e655820014c2896-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"69df271d4cf73e88c816dd6e22a1f9c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee633dfcfcc9ac228b4e5ac1de8b1e12-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e701b444044c59de6d66dcf54fd28d22-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d7a12d51bf04841e0dd376f7408f5049-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"93c97c1fe02a4c2086bf96b80ab67e50-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b4dfe5a9883124fb273757d246542349-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d8675dc8718406081efbd5ec4cbcd855-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c75474e02e49a5d7d8d3bf940603dba-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b19ec4f1ef5e97d1fd2eac0994f1abe-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d416005134c8d5d5cc9295166c44be5c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b44d1721da29838169e8c09ba7bded1e-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9da4d51708e88047136b701d127538bb-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e239a8d84abf4bbda4f827f043d689e2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"750d3148d3ec276e09e160ca5f3bcb30-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7bab457d4d7ee6055b24313a41143193-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1771ac778019c150cb774344250fca3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cbecd859eebd4c1fd0284c63e70e0979-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"69ba26def626ca7d201928c3bb7ba9a5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9873d1af0ce8b6d687ee40cb84d52af4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fd11d8b8a7b0bf407fde126c79da7c3b-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"beb18122021a083c75556891279e8f70-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d56df63ed4f3851ad3b285815e29fac-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b83d89638052b6e1c2decbd750525ef9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8b5cae1cfda637d2a94b9a933f410b26-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7006b9e38424d58f89a05b919013424f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5b68b26c968cf1a10d4940a0194940d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5dab47a777cb20243f5c711c011bc625-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d0bd1cbd6cae2dcac548465f64921420-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b4cdf624930e65e6f94c2e0428cb0f8b-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86b0965be0f4391fead2c362e4600a2f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e12f39f56c01be31b42e1514c652b877-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91e59c4592c443cf5d9f7a51e6bde8c9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9686e3cc99ce6efbb9bb57556144dd25-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d60e1715357ea6ad59d851c0c80c3fc9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3cc2ceb63a8d692b97b3c9048a7b39f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8d59178c8752127ddacd4ab6f13564d6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"baf21d62280034d070c4b9fd596225c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72cc29476cc98841fcb05fe69e74d967-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a32aaee7e0bf17acb4afe1482209eb5b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"841f42bf736cfe648329150663edc81b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dd1478bd9f815bba0c2c7730a6da5a1c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa281ae71357208f14ccb83392ed5d4c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e88ad7e1936c819c411ebf14386ac9c5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b051b82f932c4273ed698738b2df6cac-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b59811d40e7801d440a442eabe0402e9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b7dcdcef99b523f2ae9eb58b44bc9d59-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0db70328693dee28cb73c660a563de0-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c98d4083edba5a3854a69a40f2179b9a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5e408bd19414b611022252cff4e5f8a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e2856d696bc35f4c1fc02725ea05cab-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91690e5d2342b154687d34b4320f9b0a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4e1c1bd0063ac97a4b993f8a888eed2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c9c8af5c0626bd032915765c47c3c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4df57248c9c1ee210cd2e7367b9a675-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1a3a1317fdc0c9a3954d775d4b7d5da1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2d20cd927b7a8a6ce82d3a4da4c10c28-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"618fade71fbd5fbea19488d3a4a62d18-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"59671e17866bc003f281055d01d7f857-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ae1927be5c685a76fd9784744c082bf-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"11dceb6e56c7639fb5da33e8aa2d34a6-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9613108a6390f7987ce02a5eb5eeeaf-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"306e4492ab8f87c0cbd03e1ede184e57-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7837af6071bd64fa9ace39b494937ca8-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f6edbd851116753ad72e2b9a3993bf5a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a4cb5f253e30bec6393052987af01168-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d206065246c00ab74315b4298da76e1d-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76bcf1b89f80bb629dacbd68ed42c5bd-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0da4f4ef4db7db9ba355c66e911e2b35-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"821d9ae36b6637a8c39793d0a5c17cf7-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b93f657e9633927a1155cbc6ed4bf5d5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b03e5ac6ea74eab1d2643a0f6d5838a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85d6b2dccc1d18213b3934c0c009550b-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"16b310c0cbde77dbf499341e070d6f20-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a027c67fe5bfe533336358bd3d85d94f-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7886c30eaa9c16151eb1e3927c9853a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"428ba866eac42b1fe0aeedfe1077a877-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6e2f812603af7d529884da490407381-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4e7b3b4aa13b0e3f70ce3b98b8a1644-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"736d99fc5d108003d75bba057875dbd1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c7467baf2d9f71720c5e2feffa91bfc-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5babfaddd5f24bde9e0cc83344d857c0-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ebaf278493cd8716b31d2f9a7f5a1d5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: 2e41c344-e676-4088-8fed-213bb405ca2f + content-length: '37890' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '1418' + x-request-id: 2e41c344-e676-4088-8fed-213bb405ca2f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/incidents/query?$top=1000&$token=eyJtZXRyaWNJZCI6IjNkNDhlZDNlLTZlNmUtNDM5MS1iNzhmLWIwMGRmZWUxZTZmNSIsImRldGVjdENvbmZpZ0lkIjoiYzBmMjUzOWYtYjgwNC00YWI5LWE3MGYtMGRhMGM4OWM3NmQ4Iiwic3RhcnRUaW1lIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJlbmRUaW1lIjoiMjAyMC0wOS0wOVQwMDowMDowMFoiLCJuZXh0IjoiTWpBeU1DMHdPQzB4TmxRd01Eb3dNRG93TUZvakl5TTJOVGd4TkRZNE9EWm1PV1ZsWVRFMU5ERTVNRFJsTWpCak5qVXlZemd6Tmc9PSIsImxpbWl0IjoxMDAwLCJmaWx0ZXIiOnt9fQ== +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_dimension_values.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_dimension_values.yaml new file mode 100644 index 000000000000..b38d5990d476 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_dimension_values.yaml @@ -0,0 +1,65 @@ +interactions: +- request: + body: '{"dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query + response: + body: + string: '{"value":["Algerian Fir","Almond","Aspen","Austrian Pine","Bastard + Service Tree","Birch","Black Birch (River Birch)","Black Mulberry","Black + Poplar","Blackthorn","Blue Atlas Cedar","Box elder","Cabbage Palm","Caucasian + Fir","Caucasian Lime","Cherry","Cherry Laurel","Chinese red-barked birch","Cider + gum","Cockspur Thorn"],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query?$top=20&$skip=20"}' + headers: + apim-request-id: 51ac5ec6-87b5-4460-a98e-8545f367890c + content-length: '497' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:11 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '180' + x-request-id: 51ac5ec6-87b5-4460-a98e-8545f367890c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/dimension/query +- request: + body: '{"dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query?$top=20&$skip=20 + response: + body: + string: '{"value":["Common Alder","Common Ash","Common Beech","Common Hazel","Common + Juniper","Common Lime","Common Walnut","Common Yew","Copper Beech","Cotoneaster"],"@nextLink":null}' + headers: + apim-request-id: 36b40492-9374-4411-ab28-6f2024278fae + content-length: '175' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '255' + x-request-id: 36b40492-9374-4411-ab28-6f2024278fae + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/dimension/query?$top=20&$skip=20 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enriched_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enriched_series_data.yaml new file mode 100644 index 000000000000..65ca8471064e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enriched_series_data.yaml @@ -0,0 +1,32 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"dimension": {"city": "city"}}]}' + headers: + Accept: + - application/json + Content-Length: + - '125' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/series/query + response: + body: + string: '{"value":[{"series":{"dimension":{"city":"city"}},"timestampList":[],"valueList":[],"isAnomalyList":[],"periodList":[],"expectedValueList":[],"lowerBoundaryList":[],"upperBoundaryList":[]}]}' + headers: + apim-request-id: e38d671d-e46f-45cd-a755-02054d4bab34 + content-length: '190' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '379' + x-request-id: e38d671d-e46f-45cd-a755-02054d4bab34 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/series/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enrichment_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enrichment_status.yaml new file mode 100644 index 000000000000..77f57c250f5b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_enrichment_status.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/status/enrichment/anomalyDetection/query + response: + body: + string: '{"nextLink":null,"value":[{"timestamp":"2020-09-06T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-12T01:29:10.153Z\"}"},{"timestamp":"2020-09-07T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-12T01:33:40.164Z\"}"},{"timestamp":"2020-09-08T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-14T20:53:05.120Z\"}"}]}' + headers: + apim-request-id: 6455d05e-cc67-4437-bd25-56a629a456d8 + content-length: '375' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:59:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '217' + x-request-id: 6455d05e-cc67-4437-bd25-56a629a456d8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/status/enrichment/anomalyDetection/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_series_definitions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_series_definitions.yaml new file mode 100644 index 000000000000..dac5c8c5d658 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metric_series_definitions.yaml @@ -0,0 +1,3027 @@ +interactions: +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Antelope"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=20"}' + headers: + apim-request-id: 5a2cd9d8-4a39-43ff-ba49-a5507c4dc029 + content-length: '2320' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '132' + x-request-id: 5a2cd9d8-4a39-43ff-ba49-a5507c4dc029 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=20 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=40"}' + headers: + apim-request-id: 6045dd0d-f055-40e7-84e8-85c58049b5a2 + content-length: '2308' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:19 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '149' + x-request-id: 6045dd0d-f055-40e7-84e8-85c58049b5a2 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=20 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=40 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=60"}' + headers: + apim-request-id: 6c10fb67-71c5-43d2-9b71-7ed6b87094bb + content-length: '2314' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '5166' + x-request-id: 6c10fb67-71c5-43d2-9b71-7ed6b87094bb + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=40 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=60 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=80"}' + headers: + apim-request-id: c8b7c49b-bd78-474f-aac1-42432d626d3c + content-length: '2312' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: c8b7c49b-bd78-474f-aac1-42432d626d3c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=60 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=80 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue Atlas + Cedar","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aardwolf"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=100"}' + headers: + apim-request-id: 89ecfd57-732f-42c5-ac30-51b33bf5a430 + content-length: '2342' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: 89ecfd57-732f-42c5-ac30-51b33bf5a430 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=80 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=100 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African leopard"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=120"}' + headers: + apim-request-id: 7ba6d9e4-8230-4c82-ab6d-0e550f48c2d7 + content-length: '2400' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:25 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 7ba6d9e4-8230-4c82-ab6d-0e550f48c2d7 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=100 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=120 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by number of neurons"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=140"}' + headers: + apim-request-id: 1d1f83c0-66d6-451b-9612-41636a087b16 + content-length: '2342' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: 1d1f83c0-66d6-451b-9612-41636a087b16 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=120 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=140 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=160"}' + headers: + apim-request-id: efcec037-1b09-41a4-a3bd-94fed370b0a7 + content-length: '2339' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '89' + x-request-id: efcec037-1b09-41a4-a3bd-94fed370b0a7 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=140 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=160 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue Atlas + Cedar","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=180"}' + headers: + apim-request-id: 3b0eff0e-e7b0-4050-9b1f-710721bab24c + content-length: '2356' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: 3b0eff0e-e7b0-4050-9b1f-710721bab24c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=160 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=180 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard Service + Tree","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=200"}' + headers: + apim-request-id: 4ba652dd-f708-4555-bd35-19b111a1e601 + content-length: '2360' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: 4ba652dd-f708-4555-bd35-19b111a1e601 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=180 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=200 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bison"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=220"}' + headers: + apim-request-id: 5bde8e4c-d4e3-47fa-8ca6-82468f7558ea + content-length: '2330' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 5bde8e4c-d4e3-47fa-8ca6-82468f7558ea + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=200 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=220 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Albatross"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=240"}' + headers: + apim-request-id: de3154be-4813-4b42-b6a3-ea66694e94ab + content-length: '2305' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: de3154be-4813-4b42-b6a3-ea66694e94ab + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=220 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=240 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=260"}' + headers: + apim-request-id: 2fd6fd9e-4ab1-4464-8e64-787a0e76e27a + content-length: '2409' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 2fd6fd9e-4ab1-4464-8e64-787a0e76e27a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=240 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=260 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Beech","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=280"}' + headers: + apim-request-id: aa548970-2082-46c9-937c-e7712c1eae2f + content-length: '2332' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: aa548970-2082-46c9-937c-e7712c1eae2f + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=260 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=280 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard Service + Tree","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=300"}' + headers: + apim-request-id: 98e61d1f-9cd3-4c80-b256-15146908b3d4 + content-length: '2410' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 98e61d1f-9cd3-4c80-b256-15146908b3d4 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=280 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=300 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Basilisk"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=320"}' + headers: + apim-request-id: cafbe1e7-95e7-406a-adbd-f5a488517552 + content-length: '2391' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: cafbe1e7-95e7-406a-adbd-f5a488517552 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=300 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=320 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=340"}' + headers: + apim-request-id: 21b12e6f-54b3-43b8-b24e-aa96104879fe + content-length: '2371' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: 21b12e6f-54b3-43b8-b24e-aa96104879fe + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=320 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=340 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese red-barked + birch","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barnacle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=360"}' + headers: + apim-request-id: 7e05d204-012e-46e0-8c02-fb269eae2b6d + content-length: '2398' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 7e05d204-012e-46e0-8c02-fb269eae2b6d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=340 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=360 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aardwolf"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=380"}' + headers: + apim-request-id: 08798543-3845-4834-999b-0df5863f6e6e + content-length: '2366' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 08798543-3845-4834-999b-0df5863f6e6e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=360 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=380 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Angelfish"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=400"}' + headers: + apim-request-id: 4a4cf647-e6bf-409d-b7d6-54b7ba4e57cc + content-length: '2387' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: 4a4cf647-e6bf-409d-b7d6-54b7ba4e57cc + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=380 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=400 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American robin"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=420"}' + headers: + apim-request-id: e6895142-aa83-4025-8f89-fcebc7ac5bb2 + content-length: '2403' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:29 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '89' + x-request-id: e6895142-aa83-4025-8f89-fcebc7ac5bb2 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=400 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=420 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardvark"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=440"}' + headers: + apim-request-id: 2326213a-01da-4d4f-ac11-8f152c3df3c2 + content-length: '2361' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 2326213a-01da-4d4f-ac11-8f152c3df3c2 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=420 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=440 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=460"}' + headers: + apim-request-id: bfa69a4c-cc48-45de-9405-c77fad4ada7d + content-length: '2422' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: bfa69a4c-cc48-45de-9405-c77fad4ada7d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=440 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=460 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bear"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=480"}' + headers: + apim-request-id: cd908ff6-69dc-4840-ad39-1795fbb1ad00 + content-length: '2403' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '75' + x-request-id: cd908ff6-69dc-4840-ad39-1795fbb1ad00 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=460 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=480 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider gum","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Black panther"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=500"}' + headers: + apim-request-id: 67e1502f-e0a4-4883-9f5c-dc9a2a63cda4 + content-length: '2385' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 67e1502f-e0a4-4883-9f5c-dc9a2a63cda4 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=480 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=500 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=520"}' + headers: + apim-request-id: effc0340-8266-4b5e-9fc5-3a4986e85548 + content-length: '2380' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: effc0340-8266-4b5e-9fc5-3a4986e85548 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=500 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=520 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bedbug"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=540"}' + headers: + apim-request-id: 88ebed3d-f2b1-417e-aead-80b6d93e8cc2 + content-length: '2273' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '75' + x-request-id: 88ebed3d-f2b1-417e-aead-80b6d93e8cc2 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=520 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=540 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=560"}' + headers: + apim-request-id: 54dd074d-da25-468f-b632-72804301473b + content-length: '2269' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '74' + x-request-id: 54dd074d-da25-468f-b632-72804301473b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=540 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=560 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anglerfish"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=580"}' + headers: + apim-request-id: f609bb00-fa62-4473-97ed-28a44d473db8 + content-length: '2335' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: f609bb00-fa62-4473-97ed-28a44d473db8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=560 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=580 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Walnut","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + leopard"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=600"}' + headers: + apim-request-id: 037201e7-7678-4397-b542-637f1c1c1a92 + content-length: '2334' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: 037201e7-7678-4397-b542-637f1c1c1a92 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=580 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=600 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=620"}' + headers: + apim-request-id: d9d2f343-acb5-4e94-a5c6-7b2df7f5df9c + content-length: '2360' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '76' + x-request-id: d9d2f343-acb5-4e94-a5c6-7b2df7f5df9c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=600 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=620 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Alder","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Alder","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Albatross"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=640"}' + headers: + apim-request-id: e69a93f2-345d-495b-9fe8-ca1718c6a0d5 + content-length: '2310' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: e69a93f2-345d-495b-9fe8-ca1718c6a0d5 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=620 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=640 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bandicoot"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=660"}' + headers: + apim-request-id: cd06ae33-1a79-4fd7-8bd3-64108dce02eb + content-length: '2325' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '91' + x-request-id: cd06ae33-1a79-4fd7-8bd3-64108dce02eb + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=640 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=660 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"American + buffalo (bison)"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=680"}' + headers: + apim-request-id: f496cf4b-64ed-4415-a26d-442db7f9f0e9 + content-length: '2338' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: f496cf4b-64ed-4415-a26d-442db7f9f0e9 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=660 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=680 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=700"}' + headers: + apim-request-id: bd30f432-fc32-40ba-b5a6-ab9ee0676271 + content-length: '2271' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:33 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: bd30f432-fc32-40ba-b5a6-ab9ee0676271 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=680 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=700 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Hazel","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Alpaca"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=720"}' + headers: + apim-request-id: fe318aab-d830-48b7-b3aa-4670776f6eb8 + content-length: '2353' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: fe318aab-d830-48b7-b3aa-4670776f6eb8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=700 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=720 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Ash","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Black + panther"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=740"}' + headers: + apim-request-id: cb9efd76-d56e-44af-9a72-ab5a04bbbf67 + content-length: '2369' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '84' + x-request-id: cb9efd76-d56e-44af-9a72-ab5a04bbbf67 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=720 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=740 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Hazel","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=760"}' + headers: + apim-request-id: 2b43aa7e-5194-4338-91bb-44ae069e1d74 + content-length: '2271' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '85' + x-request-id: 2b43aa7e-5194-4338-91bb-44ae069e1d74 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=740 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=760 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=780"}' + headers: + apim-request-id: cb2bef62-82c8-4c8a-a700-af56b3b7aad0 + content-length: '2343' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:34 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: cb2bef62-82c8-4c8a-a700-af56b3b7aad0 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=760 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=780 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Ash","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian Lime","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese red-barked + birch","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=800"}' + headers: + apim-request-id: 38504d7e-2104-4c20-b806-f7d93ba28d25 + content-length: '2280' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 38504d7e-2104-4c20-b806-f7d93ba28d25 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=780 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=800 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=820"}' + headers: + apim-request-id: bd4e9bf1-4722-4499-b296-97d4f9878b9b + content-length: '2329' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: bd4e9bf1-4722-4499-b296-97d4f9878b9b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=800 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=820 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bison"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=840"}' + headers: + apim-request-id: 944db0e2-a257-46b0-8f34-93126e5e57ae + content-length: '2347' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 944db0e2-a257-46b0-8f34-93126e5e57ae + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=820 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=840 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaver"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=860"}' + headers: + apim-request-id: 655dc930-1521-46ff-861a-7d7d8eaaba5b + content-length: '2334' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: 655dc930-1521-46ff-861a-7d7d8eaaba5b + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=840 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=860 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=880"}' + headers: + apim-request-id: 52cec5e1-8697-429d-8c9e-79b6c4074b3d + content-length: '2289' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 52cec5e1-8697-429d-8c9e-79b6c4074b3d + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=860 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=880 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arrow + crab"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=900"}' + headers: + apim-request-id: 144b74b2-8d31-45e4-a6e4-aa3f76f70f20 + content-length: '2285' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: 144b74b2-8d31-45e4-a6e4-aa3f76f70f20 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=880 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=900 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=920"}' + headers: + apim-request-id: 4407b0c4-b593-45a9-ab31-627e5fb0a1da + content-length: '2310' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 4407b0c4-b593-45a9-ab31-627e5fb0a1da + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=900 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=920 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Carp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cape buffalo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=940"}' + headers: + apim-request-id: 7a39a06b-d097-4236-99a1-5fb5ca81c64e + content-length: '2299' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '83' + x-request-id: 7a39a06b-d097-4236-99a1-5fb5ca81c64e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=920 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=940 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=960"}' + headers: + apim-request-id: 72878233-9c06-4262-b352-7fcecf10577e + content-length: '2303' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: 72878233-9c06-4262-b352-7fcecf10577e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=940 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=960 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=980"}' + headers: + apim-request-id: bc0dcc76-e2b6-4432-ba57-52749ad152cd + content-length: '2308' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: bc0dcc76-e2b6-4432-ba57-52749ad152cd + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=960 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=980 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1000"}' + headers: + apim-request-id: 7d85d2d2-6f38-4d68-a94d-f5d01ec4cb18 + content-length: '2309' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '78' + x-request-id: 7d85d2d2-6f38-4d68-a94d-f5d01ec4cb18 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=980 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1000 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Juniper","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1020"}' + headers: + apim-request-id: a099eafc-1dd6-4581-9516-40f741bb956e + content-length: '2372' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: a099eafc-1dd6-4581-9516-40f741bb956e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1000 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1020 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian Lime","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bonobo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Arctic Fox"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1040"}' + headers: + apim-request-id: df1b1ff3-addf-4737-a06c-378b0de41c89 + content-length: '2321' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + x-request-id: df1b1ff3-addf-4737-a06c-378b0de41c89 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1020 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1040 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Buffalo, African"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Canidae"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Capybara"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Catfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bali cattle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1060"}' + headers: + apim-request-id: 36b59718-faa6-4317-a1a9-5ff2f28bcc49 + content-length: '2331' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 36b59718-faa6-4317-a1a9-5ff2f28bcc49 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1040 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1060 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Caribou"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Cardinal"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cotoneaster","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1080"}' + headers: + apim-request-id: ce28c0e9-577c-4841-9956-5ac71bf02f2a + content-length: '2311' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '85' + x-request-id: ce28c0e9-577c-4841-9956-5ac71bf02f2a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1060 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1080 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Centipede"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Buzzard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Box jellyfish"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1100"}' + headers: + apim-request-id: b5dc410f-8a72-4400-b5a8-214f293ead9e + content-length: '2336' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: b5dc410f-8a72-4400-b5a8-214f293ead9e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1080 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1100 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Boar"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Catfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bobcat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arctic Wolf"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1120"}' + headers: + apim-request-id: 6f8d83ee-afd9-4ece-bc8f-c45d701ac98e + content-length: '2324' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:39 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '85' + x-request-id: 6f8d83ee-afd9-4ece-bc8f-c45d701ac98e + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1100 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1120 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Booby"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African elephant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1140"}' + headers: + apim-request-id: 183b5912-58e2-4b33-8b91-3650e3fa9094 + content-length: '2320' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 183b5912-58e2-4b33-8b91-3650e3fa9094 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1120 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1140 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Caribou"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cheetah"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arrow crab"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1160"}' + headers: + apim-request-id: b8fceef7-7b74-46c2-b901-35b29ebeb266 + content-length: '2315' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: b8fceef7-7b74-46c2-b901-35b29ebeb266 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1140 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1160 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Centipede"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Boa"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Catshark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bobolink"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"American robin"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1180"}' + headers: + apim-request-id: 49da87ce-3754-4509-aa65-9072d60cf9a8 + content-length: '2335' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + x-request-id: 49da87ce-3754-4509-aa65-9072d60cf9a8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1160 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1180 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobcat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Butterfly"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue whale"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1200"}' + headers: + apim-request-id: e404ca76-8d2c-4458-86c1-f9909a0d6364 + content-length: '2366' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '92' + x-request-id: e404ca76-8d2c-4458-86c1-f9909a0d6364 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1180 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1200 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Mulberry","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Lime","Dim2":"Bonobo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"African elephant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1220"}' + headers: + apim-request-id: 55a7c58a-4ee7-4d98-b12e-05d11324bd8a + content-length: '2349' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 55a7c58a-4ee7-4d98-b12e-05d11324bd8a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1200 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1220 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, African"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Ass (donkey)"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1240"}' + headers: + apim-request-id: b8036c6f-8044-4aec-90fe-f7f8a1f79f6c + content-length: '2339' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: b8036c6f-8044-4aec-90fe-f7f8a1f79f6c + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1220 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1240 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian Fir","Dim2":"Bear"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1260"}' + headers: + apim-request-id: 6d95127f-8ad7-4fae-8172-a2b7f648b8f0 + content-length: '2358' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '82' + x-request-id: 6d95127f-8ad7-4fae-8172-a2b7f648b8f0 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1240 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1260 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black widow spider"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Chameleon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cephalopod"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Arabian + leopard"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1280"}' + headers: + apim-request-id: daa91278-9748-4214-8251-ce62230c862a + content-length: '2317' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '80' + x-request-id: daa91278-9748-4214-8251-ce62230c862a + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1260 +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1280 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boar"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arrow crab"}}],"@nextLink":null}' + headers: + apim-request-id: 48393a3f-d0cc-474f-b1d7-a8fc35746cba + content-length: '990' + content-type: application/json; charset=utf-8 + date: Tue, 22 Sep 2020 21:57:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + x-request-id: 48393a3f-d0cc-474f-b1d7-a8fc35746cba + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/series/query?$top=20&$skip=1280 +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metrics_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metrics_series_data.yaml new file mode 100644 index 000000000000..f17109c6513a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metrics_advisor_client_live_async.test_list_metrics_series_data.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"}]}' + headers: + Accept: + - application/json + Content-Length: + - '155' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/data/query + response: + body: + string: '{"value":[{"id":{"metricId":"metric_id","dimension":{"city":"Mumbai","category":"Shoes + Handbags & Sunglasses"}},"timestampList":[],"valueList":[]}]}' + headers: + apim-request-id: 6f6023a8-9b7d-4c1c-8bab-490028dc0bb8 + content-length: '175' + content-type: application/json; charset=utf-8 + date: Mon, 21 Sep 2020 16:55:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '434' + x-request-id: 6f6023a8-9b7d-4c1c-8bab-490028dc0bb8 + status: + code: 200 + message: OK + url: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/3d48ed3e-6e6e-4391-b78f-b00dfee1e6f5/data/query +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py new file mode 100644 index 000000000000..8c09db7c9b21 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py @@ -0,0 +1,1099 @@ +# ------------------------------------------------------------------------- +# 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.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition, + TopNGroupScope, + SeverityCondition, + MetricAnomalyAlertSnoozeCondition +) +from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync + + +class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_top_n_alert_direction_both(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_top_n_alert_direction_down(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_top_n_alert_direction_up(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_top_n_severity_condition(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_snooze_condition(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=5, + snooze_scope="Metric", + only_for_successive=True + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_snooze_condition.auto_snooze, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_snooze_condition.snooze_scope, "Metric") + self.assertTrue( + alert_config.metric_alert_configurations[0].alert_snooze_condition.only_for_successive) + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_whole_series_alert_direction_both(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries", + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_whole_series_alert_direction_down(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_whole_series_alert_direction_up(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_whole_series_severity_condition(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_series_group_alert_direction_both(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_series_group_alert_direction_down(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_series_group_alert_direction_up(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_series_group_severity_condition(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("seriesgroupsev") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_anomaly_alert_config_multiple_configurations(self): + + detection_config, data_feed = await self._create_data_feed_and_anomaly_detection_config("multiple") + alert_config_name = self.create_random_name("testalert") + async with self.admin_client: + try: + alert_config = await self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertEqual(alert_config.cross_metrics_operator, "AND") + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 3) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + self.assertEqual(alert_config.metric_alert_configurations[1].alert_scope.scope_type, "SeriesGroup") + self.assertEqual( + alert_config.metric_alert_configurations[1].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[1].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(alert_config.metric_alert_configurations[2].alert_scope.scope_type, "WholeSeries") + self.assertEqual( + alert_config.metric_alert_configurations[2].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[2].alert_conditions.severity_condition.max_alert_severity, "High") + + await self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + await self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_anomaly_alert_configs(self): + async with self.admin_client: + configs = self.admin_client.list_anomaly_alert_configurations( + detection_configuration_id=self.anomaly_detection_configuration_id + ) + config_list = [] + async for config in configs: + config_list.append(config) + assert len(list(config_list)) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_anomaly_alert_config_with_model(self): + async with self.admin_client: + try: + alert_config, data_feed, _ = await self._create_anomaly_alert_config_for_update("alertupdate") + + alert_config.name = "update" + alert_config.description = "update description" + alert_config.cross_metrics_operator = "OR" + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition = \ + SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + alert_config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition = \ + MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + alert_config.metric_alert_configurations[2].alert_conditions.metric_boundary_condition = \ + MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + + updated = await self.admin_client.update_anomaly_alert_configuration(alert_config) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update description") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_anomaly_alert_config_with_kwargs(self): + async with self.admin_client: + try: + alert_config, data_feed, detection_config = await self._create_anomaly_alert_config_for_update("alertupdate") + updated = await self.admin_client.update_anomaly_alert_configuration( + alert_config.id, + name="update", + description="update description", + cross_metrics_operator="OR", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ), + severity_condition=SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ) + ] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update description") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_anomaly_alert_config_with_model_and_kwargs(self): + async with self.admin_client: + try: + alert_config, data_feed, detection_config = await self._create_anomaly_alert_config_for_update("alertupdate") + + alert_config.name = "updateMe" + alert_config.description = "updateMe" + alert_config.cross_metrics_operator = "don't update me" + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition = None + alert_config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition = None + alert_config.metric_alert_configurations[2].alert_conditions.metric_boundary_condition = None + + updated = await self.admin_client.update_anomaly_alert_configuration( + alert_config, + cross_metrics_operator="OR", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ), + severity_condition=SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ) + ] + ) + + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_anomaly_alert_by_resetting_properties(self): + async with self.admin_client: + try: + alert_config, data_feed, detection_config = await self._create_anomaly_alert_config_for_update("alertupdate") + updated = await self.admin_client.update_anomaly_alert_configuration( + alert_config.id, + name="reset", + description="", # can't pass None currently, bug says description is required + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=None + ) + ] + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.description, "") + self.assertEqual(updated.cross_metrics_operator, None) + self.assertEqual(len(updated.metric_alert_configurations), 1) + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition, None) + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.metric_boundary_condition, None) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feed_ingestion_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feed_ingestion_async.py new file mode 100644 index 000000000000..7e386ffe49f1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feed_ingestion_async.py @@ -0,0 +1,70 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +import datetime +from dateutil.tz import tzutc +import pytest + +from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync + + +class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_get_data_feed_ingestion_progress(self): + async with self.admin_client: + ingestion = await self.admin_client.get_data_feed_ingestion_progress( + data_feed_id=self.data_feed_id + ) + self.assertIsNotNone(ingestion.latest_success_timestamp) + self.assertIsNotNone(ingestion.latest_active_timestamp) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feed_ingestion_status(self): + async with self.admin_client: + ingestions = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + ) + ingestions_list = [] + async for status in ingestions: + ingestions_list.append(status) + assert len(list(ingestions_list)) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feed_ingestion_status_with_skip(self): + async with self.admin_client: + ingestions = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + ) + + ingestions_with_skips = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + skip=5 + ) + ingestions_list = [] + async for status in ingestions: + ingestions_list.append(status) + + ingestions_with_skips_list = [] + async for status in ingestions_with_skips: + ingestions_with_skips_list.append(status) + + assert len(ingestions_list) == len(ingestions_with_skips_list) + 5 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_refresh_data_feed_ingestion(self): + async with self.admin_client: + await self.admin_client.refresh_data_feed_ingestion( + self.data_feed_id, + start_time=datetime.datetime(2019, 10, 1, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 10, 3, tzinfo=tzutc()), + ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py new file mode 100644 index 000000000000..e76d7e1cba96 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py @@ -0,0 +1,1095 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +import datetime +from dateutil.tz import tzutc +import pytest +from azure.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + AzureTableDataFeed, + AzureBlobDataFeed, + AzureCosmosDBDataFeed, + HttpRequestDataFeed, + Metric, + Dimension, + DataFeedSchema, + DataFeedIngestionSettings, + DataFeedGranularity, + DataFeedOptions, + DataFeedMissingDataPointFillSettings, + DataFeedRollupSettings, + AzureApplicationInsightsDataFeed, + AzureDataExplorerDataFeed, + InfluxDBDataFeed, + AzureDataLakeStorageGen2DataFeed, + MongoDBDataFeed, + MySqlDataFeed, + PostgreSqlDataFeed, + ElasticsearchDataFeed +) +from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync + + +class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_simple_data_feed(self): + data_feed_name = self.create_random_name("testfeed") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query="select * from adsample2 where Timestamp = @StartTime" + ), + granularity="Daily", + schema=["cost", "revenue"], + ingestion_settings=datetime.datetime(2019, 10, 1) + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Daily") + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_from_sql_server(self): + + data_feed_name = self.create_random_name("testfeedasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="NoRollup", + rollup_method="None", + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Daily") + self.assertEqual(data_feed.granularity.custom_granularity_value, None) + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.schema.metrics[0].display_name, "display cost") + self.assertEqual(data_feed.schema.metrics[1].display_name, "display revenue") + self.assertEqual(data_feed.schema.metrics[0].description, "the cost") + self.assertEqual(data_feed.schema.metrics[1].description, "the revenue") + self.assertEqual(data_feed.schema.dimensions[0].name, "category") + self.assertEqual(data_feed.schema.dimensions[1].name, "city") + self.assertEqual(data_feed.schema.dimensions[0].display_name, "display category") + self.assertEqual(data_feed.schema.dimensions[1].display_name, "display city") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(data_feed.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(data_feed.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(data_feed.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(data_feed.ingestion_settings.stop_retry_after, -1) + self.assertIn("yournamehere@microsoft.com", data_feed.options.admins) + self.assertEqual(data_feed.options.data_feed_description, "my first data feed") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.fill_type, "SmartFilling") + self.assertEqual(data_feed.options.rollup_settings.rollup_type, "NoRollup") + self.assertEqual(data_feed.options.rollup_settings.rollup_method, "None") + self.assertEqual(data_feed.options.viewers, ["viewers"]) + self.assertEqual(data_feed.options.access_mode, "Private") + self.assertEqual(data_feed.options.action_link_template, "action link template") + self.assertEqual(data_feed.status, "Active") + self.assertTrue(data_feed.is_admin) + self.assertIsNotNone(data_feed.metric_ids) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_from_sql_server_with_custom_values(self): + + data_feed_name = self.create_random_name("testfeedasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Custom", + custom_granularity_value=20 + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="CustomValue", + custom_fill_value=10 + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup" + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Custom") + self.assertEqual(data_feed.granularity.custom_granularity_value, 20) + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.schema.metrics[0].display_name, "display cost") + self.assertEqual(data_feed.schema.metrics[1].display_name, "display revenue") + self.assertEqual(data_feed.schema.metrics[0].description, "the cost") + self.assertEqual(data_feed.schema.metrics[1].description, "the revenue") + self.assertEqual(data_feed.schema.dimensions[0].name, "category") + self.assertEqual(data_feed.schema.dimensions[1].name, "city") + self.assertEqual(data_feed.schema.dimensions[0].display_name, "display category") + self.assertEqual(data_feed.schema.dimensions[1].display_name, "display city") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(data_feed.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(data_feed.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(data_feed.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(data_feed.ingestion_settings.stop_retry_after, -1) + self.assertIn("yournamehere@microsoft.com", data_feed.options.admins) + self.assertEqual(data_feed.options.data_feed_description, "my first data feed") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.custom_fill_value, 10) + self.assertEqual(data_feed.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(data_feed.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(data_feed.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(data_feed.options.viewers, ["viewers"]) + self.assertEqual(data_feed.options.access_mode, "Private") + self.assertEqual(data_feed.options.action_link_template, "action link template") + self.assertEqual(data_feed.status, "Active") + self.assertTrue(data_feed.is_admin) + self.assertIsNotNone(data_feed.metric_ids) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_azure_table(self): + name = self.create_random_name("tablefeedasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureTableDataFeed( + connection_string=self.azure_table_connection_string, + query="PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'", + table="adsample" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureTable") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.table, "adsample") + self.assertEqual(data_feed.source.query, "PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_azure_blob(self): + name = self.create_random_name("blobfeedasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureBlobDataFeed( + connection_string=self.azure_blob_connection_string, + container="adsample", + blob_template="%Y/%m/%d/%h/JsonFormatV2.json" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureBlob") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.container, "adsample") + self.assertEqual(data_feed.source.blob_template, "%Y/%m/%d/%h/JsonFormatV2.json") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_azure_cosmos_db(self): + name = self.create_random_name("cosmosfeedasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureCosmosDBDataFeed( + connection_string=self.azure_cosmosdb_connection_string, + sql_query="'SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime'", + database="adsample", + collection_id="adsample" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureCosmosDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.collection_id, "adsample") + self.assertEqual(data_feed.source.sql_query, "'SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime'") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_http_request_get(self): + name = self.create_random_name("httprequestfeedgetasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=HttpRequestDataFeed( + url=self.http_request_get_url, + http_method="GET" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "HttpRequest") + self.assertIsNotNone(data_feed.source.url) + self.assertEqual(data_feed.source.http_method, "GET") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_http_request_post(self): + name = self.create_random_name("httprequestfeedpostasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=HttpRequestDataFeed( + url=self.http_request_post_url, + http_method="POST", + payload="{'startTime': '@StartTime'}" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "HttpRequest") + self.assertIsNotNone(data_feed.source.url) + self.assertEqual(data_feed.source.http_method, "POST") + self.assertEqual(data_feed.source.payload, "{'startTime': '@StartTime'}") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_application_insights(self): + name = self.create_random_name("applicationinsightsasync") + async with self.admin_client: + try: + query = "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | " \ + "where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), " \ + "duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), " \ + "duration_max_ms = max(duration) by resultCode" + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureApplicationInsightsDataFeed( + azure_cloud="Azure", + application_id="3706fe8b-98f1-47c7-bf69-b73b6e53274d", + api_key=self.application_insights_api_key, + query=query + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2020, 7, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureApplicationInsights") + self.assertIsNotNone(data_feed.source.api_key) + self.assertEqual(data_feed.source.application_id, "3706fe8b-98f1-47c7-bf69-b73b6e53274d") + self.assertEqual(data_feed.source.query, query) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_data_explorer(self): + name = self.create_random_name("azuredataexplorerasync") + async with self.admin_client: + try: + query = "let StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + 1d; " \ + "adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime" + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureDataExplorerDataFeed( + connection_string=self.azure_data_explorer_connection_string, + query=query + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureDataExplorer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, query) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_influxdb(self): + name = self.create_random_name("influxdbasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=InfluxDBDataFeed( + connection_string=self.influxdb_connection_string, + database="adsample", + user_name="adreadonly", + password=self.influxdb_password, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "InfluxDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertIsNotNone(data_feed.source.password) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.user_name, "adreadonly") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_datalake(self): + name = self.create_random_name("datalakeasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=AzureDataLakeStorageGen2DataFeed( + account_name="adsampledatalakegen2", + account_key=self.azure_datalake_account_key, + file_system_name="adsample", + directory_template="%Y/%m/%d", + file_template="adsample.json" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureDataLakeStorageGen2") + self.assertIsNotNone(data_feed.source.account_key) + self.assertEqual(data_feed.source.account_name, "adsampledatalakegen2") + self.assertEqual(data_feed.source.file_system_name, "adsample") + self.assertEqual(data_feed.source.directory_template, "%Y/%m/%d") + self.assertEqual(data_feed.source.file_template, "adsample.json") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_mongodb(self): + name = self.create_random_name("mongodbasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=MongoDBDataFeed( + connection_string=self.mongodb_connection_string, + database="adsample", + command='{"find": "adsample", "filter": { Timestamp: { $eq: @StartTime }} "batchSize": 2000,}' + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "MongoDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.command, '{"find": "adsample", "filter": { Timestamp: { $eq: @StartTime }} "batchSize": 2000,}') + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_mysql(self): + name = self.create_random_name("mysqlasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=MySqlDataFeed( + connection_string=self.mysql_connection_string, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "MySql") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, "'select * from adsample2 where Timestamp = @StartTime'") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_postgresql(self): + name = self.create_random_name("postgresqlasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=PostgreSqlDataFeed( + connection_string=self.postgresql_connection_string, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "PostgreSql") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, "'select * from adsample2 where Timestamp = @StartTime'") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_data_feed_with_elasticsearch(self): + name = self.create_random_name("elasticasync") + async with self.admin_client: + try: + data_feed = await self.admin_client.create_data_feed( + name=name, + source=ElasticsearchDataFeed( + host="ad-sample-es.westus2.cloudapp.azure.com", + port="9200", + auth_header=self.elasticsearch_auth_header, + query="'select * from adsample where timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "Elasticsearch") + self.assertIsNotNone(data_feed.source.auth_header) + self.assertEqual(data_feed.source.port, "9200") + self.assertEqual(data_feed.source.host, "ad-sample-es.westus2.cloudapp.azure.com") + self.assertEqual(data_feed.source.query, "'select * from adsample where timestamp = @StartTime'") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds(self): + async with self.admin_client: + feeds = self.admin_client.list_data_feeds() + feeds_list = [] + async for item in feeds: + feeds_list.append(item) + assert len(feeds_list) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds_with_data_feed_name(self): + async with self.admin_client: + feeds = self.admin_client.list_data_feeds(data_feed_name="testDataFeed1") + feeds_list = [] + async for item in feeds: + feeds_list.append(item) + assert len(feeds_list) == 1 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds_with_status(self): + async with self.admin_client: + feeds = self.admin_client.list_data_feeds(status="Paused") + feeds_list = [] + async for item in feeds: + feeds_list.append(item) + assert len(feeds_list) == 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds_with_source_type(self): + async with self.admin_client: + feeds = self.admin_client.list_data_feeds(data_source_type="AzureBlob") + feeds_list = [] + async for item in feeds: + feeds_list.append(item) + assert len(feeds_list) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds_with_granularity_type(self): + async with self.admin_client: + feeds = self.admin_client.list_data_feeds(granularity_type="Daily") + feeds_list = [] + async for item in feeds: + feeds_list.append(item) + assert len(feeds_list) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_data_feeds_with_skip(self): + async with self.admin_client: + all_feeds = self.admin_client.list_data_feeds() + skipped_feeds = self.admin_client.list_data_feeds(skip=1) + all_feeds_list = [] + skipped_feeds_list = [] + async for feed in all_feeds: + all_feeds_list.append(feed) + async for feed in skipped_feeds: + skipped_feeds_list.append(feed) + assert len(all_feeds_list) == len(skipped_feeds_list) + 1 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_data_feed_with_model(self): + async with self.admin_client: + data_feed = await self._create_data_feed_for_update("update") + try: + data_feed.name = "update" + data_feed.options.data_feed_description = "updated" + data_feed.schema.timestamp_column = "time" + data_feed.ingestion_settings.ingestion_begin_time = datetime.datetime(2020, 12, 10) + data_feed.ingestion_settings.ingestion_start_offset = 1 + data_feed.ingestion_settings.data_source_request_concurrency = 1 + data_feed.ingestion_settings.ingestion_retry_delay = 1 + data_feed.ingestion_settings.stop_retry_after = 1 + data_feed.options.rollup_settings.rollup_type = "AlreadyRollup" + data_feed.options.rollup_settings.rollup_method = "Sum" + data_feed.options.rollup_settings.rollup_identification_value = "sumrollup" + data_feed.options.rollup_settings.auto_rollup_group_by_column_names = [] + data_feed.options.missing_data_point_fill_settings.fill_type = "CustomValue" + data_feed.options.missing_data_point_fill_settings.custom_fill_value = 2 + data_feed.options.access_mode = "Public" + data_feed.options.viewers = ["updated"] + data_feed.status = "Paused" + data_feed.options.action_link_template = "updated" + data_feed.source.connection_string = "updated" + data_feed.source.query = "get data" + + updated = await self.admin_client.update_data_feed(data_feed) + self.assertEqual(updated.name, "update") + self.assertEqual(updated.options.data_feed_description, "updated") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_data_feed_with_kwargs(self): + async with self.admin_client: + data_feed = await self._create_data_feed_for_update("update") + try: + updated = await self.admin_client.update_data_feed( + data_feed.id, + name="update", + data_feed_description="updated", + timestamp_column="time", + ingestion_begin_time=datetime.datetime(2020, 12, 10), + ingestion_start_offset=1, + data_source_request_concurrency=1, + ingestion_retry_delay=1, + stop_retry_after=1, + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup", + auto_rollup_group_by_column_names=[], + fill_type="CustomValue", + custom_fill_value=2, + access_mode="Public", + viewers=["updated"], + status="Paused", + action_link_template="updated", + source=SQLServerDataFeed( + connection_string="updated", + query="get data" + ) + ) + self.assertEqual(updated.name, "update") + self.assertEqual(updated.options.data_feed_description, "updated") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_data_feed_with_model_and_kwargs(self): + async with self.admin_client: + data_feed = await self._create_data_feed_for_update("update") + try: + data_feed.name = "updateMe" + data_feed.options.data_feed_description = "updateMe" + data_feed.schema.timestamp_column = "don't update me" + data_feed.ingestion_settings.ingestion_begin_time = datetime.datetime(2020, 12, 22) + data_feed.ingestion_settings.ingestion_start_offset = 2 + data_feed.ingestion_settings.data_source_request_concurrency = 2 + data_feed.ingestion_settings.ingestion_retry_delay = 2 + data_feed.ingestion_settings.stop_retry_after = 2 + data_feed.options.rollup_settings.rollup_type = "don't update me" + data_feed.options.rollup_settings.rollup_method = "don't update me" + data_feed.options.rollup_settings.rollup_identification_value = "don't update me" + data_feed.options.rollup_settings.auto_rollup_group_by_column_names = [] + data_feed.options.missing_data_point_fill_settings.fill_type = "don't update me" + data_feed.options.missing_data_point_fill_settings.custom_fill_value = 4 + data_feed.options.access_mode = "don't update me" + data_feed.options.viewers = ["don't update me"] + data_feed.status = "don't update me" + data_feed.options.action_link_template = "don't update me" + data_feed.source.connection_string = "don't update me" + data_feed.source.query = "don't update me" + + updated = await self.admin_client.update_data_feed( + data_feed, + timestamp_column="time", + ingestion_begin_time=datetime.datetime(2020, 12, 10), + ingestion_start_offset=1, + data_source_request_concurrency=1, + ingestion_retry_delay=1, + stop_retry_after=1, + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup", + auto_rollup_group_by_column_names=[], + fill_type="CustomValue", + custom_fill_value=2, + access_mode="Public", + viewers=["updated"], + status="Paused", + action_link_template="updated", + source=SQLServerDataFeed( + connection_string="updated", + query="get data" + ) + ) + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.options.data_feed_description, "updateMe") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_data_feed_by_reseting_properties(self): + async with self.admin_client: + data_feed = await self._create_data_feed_for_update("update") + try: + updated = await self.admin_client.update_data_feed( + data_feed.id, + name="update", + data_feed_description=None, + timestamp_column=None, + ingestion_start_offset=None, + data_source_request_concurrency=None, + ingestion_retry_delay=None, + stop_retry_after=None, + rollup_type=None, + rollup_method=None, + rollup_identification_value=None, + auto_rollup_group_by_column_names=None, + fill_type=None, + custom_fill_value=None, + access_mode=None, + viewers=None, + status=None, + action_link_template=None, + ) + self.assertEqual(updated.name, "update") + # self.assertEqual(updated.options.data_feed_description, "") # doesn't currently clear + # self.assertEqual(updated.schema.timestamp_column, "") # doesn't currently clear + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, -1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "NoRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "None") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, None) + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "SmartFilling") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 0) + self.assertEqual(updated.options.access_mode, "Private") + # self.assertEqual(updated.options.viewers, ["viewers"]) # doesn't currently clear + self.assertEqual(updated.status, "Active") + # self.assertEqual(updated.options.action_link_template, "updated") # doesn't currently clear + + finally: + await self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_hooks_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_hooks_async.py new file mode 100644 index 000000000000..7e44f294f6b3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_hooks_async.py @@ -0,0 +1,279 @@ +# ------------------------------------------------------------------------- +# 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.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + EmailHook, + WebHook, +) +from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync + + +class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_email_hook(self): + email_hook_name = self.create_random_name("testemailhookasync") + async with self.admin_client: + try: + email_hook = await self.admin_client.create_hook( + name=email_hook_name, + hook=EmailHook( + emails_to_alert=["yournamehere@microsoft.com"], + description="my email hook", + external_link="external link" + ) + ) + self.assertIsNotNone(email_hook.id) + self.assertIsNotNone(email_hook.name) + self.assertIsNotNone(email_hook.admins) + self.assertEqual(email_hook.emails_to_alert, ["yournamehere@microsoft.com"]) + self.assertEqual(email_hook.description, "my email hook") + self.assertEqual(email_hook.external_link, "external link") + self.assertEqual(email_hook.hook_type, "Email") + finally: + await self.admin_client.delete_hook(email_hook.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_hook(email_hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_web_hook(self): + web_hook_name = self.create_random_name("testwebhookasync") + async with self.admin_client: + try: + web_hook = await self.admin_client.create_hook( + name=web_hook_name, + hook=WebHook( + endpoint="https://httpbin.org/post", + description="my web hook", + external_link="external link" + ) + ) + self.assertIsNotNone(web_hook.id) + self.assertIsNotNone(web_hook.name) + self.assertIsNotNone(web_hook.admins) + self.assertEqual(web_hook.endpoint, "https://httpbin.org/post") + self.assertEqual(web_hook.description, "my web hook") + self.assertEqual(web_hook.external_link, "external link") + self.assertEqual(web_hook.hook_type, "Webhook") + finally: + await self.admin_client.delete_hook(web_hook.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_hook(web_hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_hooks(self): + async with self.admin_client: + hooks = self.admin_client.list_hooks() + hooks_list = [] + async for hook in hooks: + hooks_list.append(hook) + assert len(hooks_list) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_email_hook_with_model(self): + name = self.create_random_name("testwebhook") + async with self.admin_client: + try: + hook = await self._create_email_hook_for_update(name) + hook.name = "update" + hook.description = "update" + hook.external_link = "update" + hook.emails_to_alert = ["myemail@m.com"] + + updated = await self.admin_client.update_hook(hook) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_email_hook_with_kwargs(self): + name = self.create_random_name("testhook") + async with self.admin_client: + try: + hook = await self._create_email_hook_for_update(name) + updated = await self.admin_client.update_hook( + hook.id, + hook_type="Email", + name="update", + description="update", + external_link="update", + emails_to_alert=["myemail@m.com"] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_email_hook_with_model_and_kwargs(self): + name = self.create_random_name("testhook") + async with self.admin_client: + try: + hook = await self._create_email_hook_for_update(name) + + hook.name = "don't update me" + hook.description = "don't update me" + hook.emails_to_alert = [] + updated = await self.admin_client.update_hook( + hook, + hook_type="Email", + name="update", + description="update", + external_link="update", + emails_to_alert=["myemail@m.com"] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_email_hook_by_resetting_properties(self): + name = self.create_random_name("testhook") + async with self.admin_client: + try: + hook = await self._create_email_hook_for_update(name) + updated = await self.admin_client.update_hook( + hook.id, + hook_type="Email", + name="reset", + description=None, + external_link=None, + ) + + self.assertEqual(updated.name, "reset") + + # sending null, but not clearing properties + # self.assertEqual(updated.description, "") + # self.assertEqual(updated.external_link, "") + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_web_hook_with_model(self): + name = self.create_random_name("testwebhook") + async with self.admin_client: + try: + hook = await self._create_web_hook_for_update(name) + hook.name = "update" + hook.description = "update" + hook.external_link = "update" + hook.username = "myusername" + hook.password = "password" + + updated = await self.admin_client.update_hook(hook) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_web_hook_with_kwargs(self): + name = self.create_random_name("testwebhook") + async with self.admin_client: + try: + hook = await self._create_web_hook_for_update(name) + updated = await self.admin_client.update_hook( + hook.id, + hook_type="Web", + endpoint="https://httpbin.org/post", + name="update", + description="update", + external_link="update", + username="myusername", + password="password" + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_web_hook_with_model_and_kwargs(self): + name = self.create_random_name("testwebhook") + async with self.admin_client: + try: + hook = await self._create_web_hook_for_update(name) + + hook.name = "don't update me" + hook.description = "updateMe" + hook.username = "don't update me" + hook.password = "don't update me" + hook.endpoint = "don't update me" + updated = await self.admin_client.update_hook( + hook, + hook_type="Web", + endpoint="https://httpbin.org/post", + name="update", + external_link="update", + username="myusername", + password="password" + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + await self.admin_client.delete_hook(hook.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_web_hook_by_resetting_properties(self): + name = self.create_random_name("testhook") + async with self.admin_client: + try: + hook = await self._create_web_hook_for_update(name) + updated = await self.admin_client.update_hook( + hook.id, + hook_type="Web", + name="reset", + description=None, + endpoint="https://httpbin.org/post", + external_link=None, + username="myusername", + password=None + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.password, "") + + # sending null, but not clearing properties + # self.assertEqual(updated.description, "") + # self.assertEqual(updated.external_link, "") + + finally: + await self.admin_client.delete_hook(hook.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py new file mode 100644 index 000000000000..a9cf1a0eb22a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py @@ -0,0 +1,824 @@ +# ------------------------------------------------------------------------- +# 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.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + MetricDetectionCondition, + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition, + ChangeThresholdCondition, + HardThresholdCondition, +) +from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync + + +class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_metric_anomaly_detection_configuration_whole_series_detection(self): + + data_feed = await self._create_data_feed("adconfigasync") + async with self.admin_client: + try: + detection_config_name = self.create_random_name("testdetectionconfigasync") + config = await self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ) + ) + self.assertIsNotNone(config.id) + self.assertEqual(config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(config.name) + self.assertIsNone(config.series_detection_conditions) + self.assertIsNone(config.series_group_detection_conditions) + self.assertEqual(config.whole_series_detection_condition.cross_conditions_operator, "OR") + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + + await self.admin_client.delete_metric_anomaly_detection_configuration(config.id) + + with self.assertRaises(ResourceNotFoundError): + await self.admin_client.get_metric_anomaly_detection_configuration(config.id) + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_metric_anomaly_detection_config_with_series_and_group_conditions(self): + data_feed = await self._create_data_feed("adconfiggetasync") + async with self.admin_client: + try: + detection_config_name = self.create_random_name("testdetectionconfigetasync") + detection_config = await self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )] + ) + + self.assertIsNotNone(detection_config.id) + self.assertEqual(detection_config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(detection_config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(detection_config.name) + self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND") + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'}) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_group_detection_conditions[0].series_group_key, {'city': 'Sao Paulo'}) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_create_detection_config_with_multiple_series_and_group_conditions(self): + data_feed = await self._create_data_feed("datafeedforconfigasync") + async with self.admin_client: + try: + detection_config_name = self.create_random_name("multipledetectionconfigsasync") + detection_config = await self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[ + MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + MetricSingleSeriesDetectionCondition( + series_key={"city": "Osaka", "category": "Cell Phones"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + ) + ], + series_group_detection_conditions=[ + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Seoul"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + ) + ] + ) + + self.assertIsNotNone(detection_config.id) + self.assertEqual(detection_config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(detection_config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(detection_config.name) + + # whole series detection condition + self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND") + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + + # series detection conditions + self.assertEqual( + detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'}) + self.assertEqual(detection_config.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.series_detection_conditions[1].series_key, {"city": "Osaka", "category": "Cell Phones"}) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both") + + # series group detection conditions + self.assertEqual( + detection_config.series_group_detection_conditions[0].series_group_key, {"city": "Sao Paulo"}) + self.assertEqual(detection_config.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.series_group_detection_conditions[1].series_group_key, {"city": "Seoul"}) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both") + + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_list_metric_anomaly_detection_configs(self): + async with self.admin_client: + configs = self.admin_client.list_metric_anomaly_detection_configurations(metric_id=self.metric_id) + configs_list = [] + async for config in configs: + configs_list.append(config) + assert len(configs_list) > 0 + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_detection_config_with_model(self): + async with self.admin_client: + try: + detection_config, data_feed = await self._create_detection_config_for_update("updatedetection") + + detection_config.name = "updated" + detection_config.description = "updated" + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + detection_config.series_detection_conditions[0].change_threshold_condition = change_threshold_condition + detection_config.series_detection_conditions[0].hard_threshold_condition = hard_threshold_condition + detection_config.series_detection_conditions[0].smart_detection_condition = smart_detection_condition + detection_config.series_detection_conditions[0].cross_conditions_operator = "AND" + detection_config.series_group_detection_conditions[0].change_threshold_condition = change_threshold_condition + detection_config.series_group_detection_conditions[0].hard_threshold_condition = hard_threshold_condition + detection_config.series_group_detection_conditions[0].smart_detection_condition = smart_detection_condition + detection_config.series_group_detection_conditions[0].cross_conditions_operator = "AND" + detection_config.whole_series_detection_condition.hard_threshold_condition = hard_threshold_condition + detection_config.whole_series_detection_condition.smart_detection_condition = smart_detection_condition + detection_config.whole_series_detection_condition.change_threshold_condition = change_threshold_condition + detection_config.whole_series_detection_condition.cross_conditions_operator = "OR" + + updated = await self.admin_client.update_metric_anomaly_detection_configuration(detection_config) + + self.assertEqual(updated.name, "updated") + self.assertEqual(updated.description, "updated") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_detection_config_with_kwargs(self): + async with self.admin_client: + try: + detection_config, data_feed = await self._create_detection_config_for_update("updatedetection") + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + updated = await self.admin_client.update_metric_anomaly_detection_configuration( + detection_config.id, + name="updated", + description="updated", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "San Paulo", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Shenzen"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )] + ) + + self.assertEqual(updated.name, "updated") + self.assertEqual(updated.description, "updated") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"}) + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"}) + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_detection_config_with_model_and_kwargs(self): + async with self.admin_client: + try: + detection_config, data_feed = await self._create_detection_config_for_update("updatedetection") + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + + detection_config.name = "updateMe" + detection_config.description = "updateMe" + updated = await self.admin_client.update_metric_anomaly_detection_configuration( + detection_config, + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "San Paulo", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Shenzen"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )] + ) + + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"}) + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"}) + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + await self.admin_client.delete_data_feed(data_feed.id) + + @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test + async def test_update_detection_config_by_resetting_properties(self): + async with self.admin_client: + try: + detection_config, data_feed = await self._create_detection_config_for_update("updatedetection") + + updated = await self.admin_client.update_metric_anomaly_detection_configuration( + detection_config.id, + name="reset", + description="", + # series_detection_conditions=None, + # series_group_detection_conditions=None + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.description, "") # currently won't update with None + + # service bug says these are required + # self.assertEqual(updated.series_detection_conditions, None) + # self.assertEqual(updated.series_group_detection_conditions, None) + + finally: + await self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py new file mode 100644 index 000000000000..f0e079d2f650 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py @@ -0,0 +1,236 @@ +# ------------------------------------------------------------------------- +# 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 functools +from azure.core import MatchConditions +from devtools_testutils import AzureMgmtTestCase, ResourceGroupPreparer +import pytest +import datetime +from azure.ai.metricsadvisor.models import ( + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback, +) +import os +from azure_devtools.scenario_tests.utilities import trim_kwargs_from_test_function +from base_testcase_async import TestMetricsAdvisorClientBaseAsync + +class TestMetricsAdvisorClientAsync(TestMetricsAdvisorClientBaseAsync): + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_anomalies_for_detection_configuration(self): + async with self.client: + results = self.client.list_anomalies_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_dimension_values_for_detection_configuration(self): + async with self.client: + results = self.client.list_dimension_values_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + dimension_name=self.dimension_name, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_incidents_for_detection_configuration(self): + async with self.client: + results = self.client.list_incidents_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_metric_dimension_values(self): + async with self.client: + results = self.client.list_metric_dimension_values( + metric_id=self.metric_id, + dimension_name=self.dimension_name, + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_incident_root_cause(self): + async with self.client: + results = self.client.list_incident_root_causes( + detection_configuration_id=self.anomaly_detection_configuration_id, + incident_id=self.incident_id, + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) == 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_metric_enriched_series_data(self): + async with self.client: + series_identity = {"city":"city"} + results = self.client.list_metric_enriched_series_data( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + series=[series_identity] + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_metric_enrichment_status(self): + async with self.client: + results = self.client.list_metric_enrichment_status( + metric_id=self.metric_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_alerts_for_alert_configuration(self): + async with self.client: + results = self.client.list_alerts_for_alert_configuration( + alert_configuration_id=self.anomaly_alert_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + time_mode="AnomalyTime", + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_metrics_series_data(self): + async with self.client: + results = self.client.list_metrics_series_data( + metric_id=self.metric_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + filter=[ + {"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"} + ] + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_metric_series_definitions(self): + async with self.client: + results = self.client.list_metric_series_definitions( + metric_id=self.metric_id, + active_since=datetime.datetime(2020, 1, 1), + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_add_anomaly_feedback(self): + anomaly_feedback = AnomalyFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotAnomaly") + async with self.client: + await self.client.add_feedback(anomaly_feedback) + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_add_change_point_feedback(self): + change_point_feedback = ChangePointFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotChangePoint") + async with self.client: + await self.client.add_feedback(change_point_feedback) + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_add_comment_feedback(self): + comment_feedback = CommentFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="comment") + async with self.client: + await self.client.add_feedback(comment_feedback) + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_add_period_feedback(self): + period_feedback = PeriodFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + period_type="AssignValue", + value=2) + async with self.client: + await self.client.add_feedback(period_feedback) + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_feedbacks(self): + async with self.client: + results = self.client.list_feedbacks(metric_id=self.metric_id) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_get_feedback(self): + async with self.client: + result = await self.client.get_feedback(feedback_id=self.feedback_id) + assert result + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_anomalies_for_alert(self): + async with self.client: + results = self.client.list_anomalies_for_alert( + alert_configuration_id=self.anomaly_alert_configuration_id, + alert_id=self.alert_id, + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 + + @TestMetricsAdvisorClientBaseAsync.await_prepared_test + async def test_list_incidents_for_alert(self): + async with self.client: + results = self.client.list_incidents_for_alert( + alert_configuration_id=self.anomaly_alert_configuration_id, + alert_id=self.alert_id, + ) + tolist = [] + async for result in results: + tolist.append(result) + assert len(tolist) > 0 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py new file mode 100644 index 000000000000..b2f98b3f88c0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py @@ -0,0 +1,461 @@ +# 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. +# -------------------------------------------------------------------------- + +import datetime +from devtools_testutils import AzureTestCase +from azure_devtools.scenario_tests import ( + ReplayableTest +) + +from azure.ai.metricsadvisor import ( + MetricsAdvisorKeyCredential, + MetricsAdvisorAdministrationClient, + MetricsAdvisorClient, +) +from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + DataFeedSchema, + Metric, + Dimension, + DataFeedGranularity, + DataFeedIngestionSettings, + DataFeedMissingDataPointFillSettings, + DataFeedRollupSettings, + DataFeedOptions, + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition, + TopNGroupScope, + SeverityCondition, + MetricDetectionCondition, + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition, + ChangeThresholdCondition, + HardThresholdCondition, + EmailHook, + WebHook +) + + +class TestMetricsAdvisorAdministrationClientBase(AzureTestCase): + FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['Ocp-Apim-Subscription-Key', 'x-api-key'] + + def __init__(self, method_name): + super(TestMetricsAdvisorAdministrationClientBase, self).__init__(method_name) + self.vcr.match_on = ["path", "method", "query"] + if self.is_live: + service_endpoint = self.get_settings_value("METRICS_ADVISOR_ENDPOINT") + subscription_key = self.get_settings_value("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = self.get_settings_value("METRICS_ADVISOR_API_KEY") + self.sql_server_connection_string = self.get_settings_value("METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING") + self.azure_table_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_TABLE_CONNECTION_STRING") + self.azure_blob_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_BLOB_CONNECTION_STRING") + self.azure_cosmosdb_connection_string = self.get_settings_value("METRICS_ADVISOR_COSMOS_DB_CONNECTION_STRING") + self.http_request_get_url = self.get_settings_value("METRICS_ADVISOR_HTTP_GET_URL") + self.http_request_post_url = self.get_settings_value("METRICS_ADVISOR_HTTP_POST_URL") + self.application_insights_api_key = self.get_settings_value("METRICS_ADVISOR_APPLICATION_INSIGHTS_API_KEY") + self.azure_data_explorer_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_DATA_EXPLORER_CONNECTION_STRING") + self.influxdb_connection_string = self.get_settings_value("METRICS_ADVISOR_INFLUXDB_CONNECTION_STRING") + self.influxdb_password = self.get_settings_value("METRICS_ADVISOR_INFLUXDB_PASSWORD") + self.azure_datalake_account_key = self.get_settings_value("METRICS_ADVISOR_AZURE_DATALAKE_ACCOUNT_KEY") + self.mongodb_connection_string = self.get_settings_value("METRICS_ADVISOR_AZURE_MONGODB_CONNECTION_STRING") + self.mysql_connection_string = self.get_settings_value("METRICS_ADVISOR_MYSQL_CONNECTION_STRING") + self.postgresql_connection_string = self.get_settings_value("METRICS_ADVISOR_POSTGRESQL_CONNECTION_STRING") + self.elasticsearch_auth_header = self.get_settings_value("METRICS_ADVISOR_ELASTICSEARCH_AUTH") + self.anomaly_detection_configuration_id = self.get_settings_value("ANOMALY_DETECTION_CONFIGURATION_ID") + self.data_feed_id = self.get_settings_value("METRICS_ADVISOR_DATA_FEED_ID") + self.metric_id = self.get_settings_value("METRICS_ADVISOR_METRIC_ID") + self.scrubber.register_name_pair( + self.sql_server_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_table_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_blob_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_cosmosdb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.http_request_get_url, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.http_request_post_url, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.application_insights_api_key, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_data_explorer_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.influxdb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.influxdb_password, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.azure_datalake_account_key, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.mongodb_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.mysql_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.postgresql_connection_string, + "connectionstring" + ) + self.scrubber.register_name_pair( + self.elasticsearch_auth_header, + "connectionstring" + ) + + self.scrubber.register_name_pair( + self.metric_id, + "metric_id" + ) + self.scrubber.register_name_pair( + self.data_feed_id, + "data_feed_id" + ) + self.scrubber.register_name_pair( + self.anomaly_detection_configuration_id, + "anomaly_detection_configuration_id" + ) + else: + service_endpoint = "https://endpointname.cognitiveservices.azure.com" + subscription_key = "METRICS_ADVISOR_SUBSCRIPTION_KEY" + api_key = "METRICS_ADVISOR_API_KEY" + self.sql_server_connection_string = "SQL_SERVER_CONNECTION_STRING" + self.azure_table_connection_string = "AZURE_TABLE_CONNECTION_STRING" + self.azure_blob_connection_string = "AZURE_BLOB_CONNECTION_STRING" + self.azure_cosmosdb_connection_string = "COSMOS_DB_CONNECTION_STRING" + self.http_request_get_url = "METRICS_ADVISOR_HTTP_GET_URL" + self.http_request_post_url = "METRICS_ADVISOR_HTTP_POST_URL" + self.application_insights_api_key = "METRICS_ADVISOR_APPLICATION_INSIGHTS_API_KEY" + self.azure_data_explorer_connection_string = "METRICS_ADVISOR_AZURE_DATA_EXPLORER_CONNECTION_STRING" + self.influxdb_connection_string = "METRICS_ADVISOR_INFLUXDB_CONNECTION_STRING" + self.influxdb_password = "METRICS_ADVISOR_INFLUXDB_PASSWORD" + self.azure_datalake_account_key = "METRICS_ADVISOR_AZURE_DATALAKE_ACCOUNT_KEY" + self.mongodb_connection_string = "METRICS_ADVISOR_AZURE_MONGODB_CONNECTION_STRING" + self.mysql_connection_string = "METRICS_ADVISOR_MYSQL_CONNECTION_STRING" + self.postgresql_connection_string = "METRICS_ADVISOR_POSTGRESQL_CONNECTION_STRING" + self.elasticsearch_auth_header = "METRICS_ADVISOR_ELASTICSEARCH_AUTH" + self.anomaly_detection_configuration_id = "anomaly_detection_configuration_id" + self.metric_id = "metric_id" + self.data_feed_id = "data_feed_id" + self.admin_client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + + def _create_data_feed(self, name): + name = self.create_random_name(name) + return self.admin_client.create_data_feed( + name=name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query="select * from adsample2 where Timestamp = @StartTime" + ), + granularity="Daily", + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings="2019-10-01T00:00:00Z", + ) + + def _create_data_feed_and_anomaly_detection_config(self, name): + data_feed = self._create_data_feed(name) + detection_config_name = self.create_random_name(name) + detection_config = self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ) + ) + ) + return detection_config, data_feed + + def _create_data_feed_for_update(self, name): + data_feed_name = self.create_random_name(name) + return self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="NoRollup", + rollup_method="None", + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + + def _create_anomaly_alert_config_for_update(self, name): + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config(name) + alert_config_name = self.create_random_name(name) + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + + def _create_detection_config_for_update(self, name): + data_feed = self._create_data_feed(name) + detection_config_name = self.create_random_name("testupdated") + detection_config = self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )] + ) + return detection_config, data_feed + + def _create_email_hook_for_update(self, name): + return self.admin_client.create_hook( + name=name, + hook=EmailHook( + emails_to_alert=["yournamehere@microsoft.com"], + description="my email hook", + external_link="external link" + ) + ) + + def _create_web_hook_for_update(self, name): + return self.admin_client.create_hook( + name=name, + hook=WebHook( + endpoint="https://httpbin.org/post", + description="my web hook", + external_link="external link", + username="krista", + password="123" + ) + ) + + +class TestMetricsAdvisorClientBase(AzureTestCase): + FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['Ocp-Apim-Subscription-Key', 'x-api-key'] + + def __init__(self, method_name): + super(TestMetricsAdvisorClientBase, self).__init__(method_name) + self.vcr.match_on = ["path", "method", "query"] + if self.is_live: + service_endpoint = self.get_settings_value("METRICS_ADVISOR_ENDPOINT") + subscription_key = self.get_settings_value("METRICS_ADVISOR_SUBSCRIPTION_KEY") + api_key = self.get_settings_value("METRICS_ADVISOR_API_KEY") + self.anomaly_detection_configuration_id = self.get_settings_value("ANOMALY_DETECTION_CONFIGURATION_ID") + self.anomaly_alert_configuration_id = self.get_settings_value("ANOMALY_ALERT_CONFIGURATION_ID") + self.metric_id = self.get_settings_value("METRIC_ID") + self.incident_id = self.get_settings_value("INCIDENT_ID") + self.dimension_name = self.get_settings_value("DIMENSION_NAME") + self.feedback_id = self.get_settings_value("FEEDBACK_ID") + self.alert_id = self.get_settings_value("ALERT_ID") + self.scrubber.register_name_pair( + self.anomaly_detection_configuration_id, + "anomaly_detection_configuration_id" + ) + self.scrubber.register_name_pair( + self.anomaly_alert_configuration_id, + "anomaly_alert_configuration_id" + ) + self.scrubber.register_name_pair( + self.metric_id, + "metric_id" + ) + self.scrubber.register_name_pair( + self.incident_id, + "incident_id" + ) + self.scrubber.register_name_pair( + self.dimension_name, + "dimension_name" + ) + self.scrubber.register_name_pair( + self.feedback_id, + "feedback_id" + ) + self.scrubber.register_name_pair( + self.alert_id, + "alert_id" + ) + else: + service_endpoint = "https://endpointname.cognitiveservices.azure.com" + subscription_key = "METRICS_ADVISOR_SUBSCRIPTION_KEY" + api_key = "METRICS_ADVISOR_API_KEY" + self.anomaly_detection_configuration_id = "anomaly_detection_configuration_id" + self.anomaly_alert_configuration_id = "anomaly_alert_configuration_id" + self.metric_id = "metric_id" + self.incident_id = "incident_id" + self.dimension_name = "dimension_name" + self.feedback_id = "feedback_id" + self.alert_id = "alert_id" + + self.client = MetricsAdvisorClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/conftest.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/conftest.py new file mode 100644 index 000000000000..d129d1baf24a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/conftest.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------- + +import sys + +import pytest + +# Ignore async tests for Python < 3.5 +collect_ignore = [] +if sys.version_info < (3, 5): + collect_ignore.append("async_tests") diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_multiple_configurations.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_multiple_configurations.yaml new file mode 100644 index 000000000000..387d291913bb --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_multiple_configurations.yaml @@ -0,0 +1,393 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "multiple74ba21cf", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '771' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - b05def99-c3c0-457e-840a-b144ec0cbc4d + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:44 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/06e90d2b-9470-48a7-a80b-264a50cce8f4 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '615' + x-request-id: + - b05def99-c3c0-457e-840a-b144ec0cbc4d + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/06e90d2b-9470-48a7-a80b-264a50cce8f4 + response: + body: + string: "{\"dataFeedId\":\"06e90d2b-9470-48a7-a80b-264a50cce8f4\",\"dataFeedName\":\"multiple74ba21cf\",\"metrics\":[{\"metricId\":\"3432d4cc-0b75-471d-bfba-4d91beecf611\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da966e84-b48b-4594-bbbf-d777d257ad85\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-12T00:52:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 6b38b256-97bb-461b-88c6-54e9243eb55e + content-length: + - '1489' + content-type: + - application/json; charset=utf-8 + date: + - Sat, 12 Sep 2020 00:52:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '1275' + x-request-id: + - 6b38b256-97bb-461b-88c6-54e9243eb55e + status: + code: 200 + message: OK +- request: + body: '{"name": "multiple74ba21cf", "description": "testing", "metricId": "3432d4cc-0b75-471d-bfba-4d91beecf611", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '280' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - f1027552-bbad-4c4b-be3c-33e1d59d02e6 + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:46 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7ab2de04-9b9d-4e3d-b732-64d9577af04d + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '83' + x-request-id: + - f1027552-bbad-4c4b-be3c-33e1d59d02e6 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7ab2de04-9b9d-4e3d-b732-64d9577af04d + response: + body: + string: '{"anomalyDetectionConfigurationId":"7ab2de04-9b9d-4e3d-b732-64d9577af04d","name":"multiple74ba21cf","description":"testing","metricId":"3432d4cc-0b75-471d-bfba-4d91beecf611","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 653021f7-17c2-44d1-895a-a9ea638c27d4 + content-length: + - '413' + content-type: + - application/json; charset=utf-8 + date: + - Sat, 12 Sep 2020 00:52:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '69' + x-request-id: + - 653021f7-17c2-44d1-895a-a9ea638c27d4 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert74ba21cf", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "7ab2de04-9b9d-4e3d-b732-64d9577af04d", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "3432d4cc-0b75-471d-bfba-4d91beecf611"}}, {"anomalyDetectionConfigurationId": + "7ab2de04-9b9d-4e3d-b732-64d9577af04d", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "7ab2de04-9b9d-4e3d-b732-64d9577af04d", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '822' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 315513c9-7b2a-47f9-8e29-d2b0eb4eae0b + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e1cad0a-f698-4d70-8de2-096df170a849 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '173' + x-request-id: + - 315513c9-7b2a-47f9-8e29-d2b0eb4eae0b + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e1cad0a-f698-4d70-8de2-096df170a849 + response: + body: + string: '{"anomalyAlertingConfigurationId":"4e1cad0a-f698-4d70-8de2-096df170a849","name":"testalert74ba21cf","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"7ab2de04-9b9d-4e3d-b732-64d9577af04d","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"3432d4cc-0b75-471d-bfba-4d91beecf611","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"7ab2de04-9b9d-4e3d-b732-64d9577af04d","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"7ab2de04-9b9d-4e3d-b732-64d9577af04d","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - 68cb2309-001b-4f6b-8c6a-20b8b1aa2af4 + content-length: + - '967' + content-type: + - application/json; charset=utf-8 + date: + - Sat, 12 Sep 2020 00:52:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - 68cb2309-001b-4f6b-8c6a-20b8b1aa2af4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e1cad0a-f698-4d70-8de2-096df170a849 + response: + body: + string: '' + headers: + apim-request-id: + - 9806f7f0-e662-4338-a5e2-cba5cb891915 + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '145' + x-request-id: + - 9806f7f0-e662-4338-a5e2-cba5cb891915 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e1cad0a-f698-4d70-8de2-096df170a849 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: e67cf4c2-d579-4686-8a7e-50ead637c593"}' + headers: + apim-request-id: + - fbe457a1-3898-4af7-a16d-4ceb49975321 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Sat, 12 Sep 2020 00:52:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '50' + x-request-id: + - fbe457a1-3898-4af7-a16d-4ceb49975321 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7ab2de04-9b9d-4e3d-b732-64d9577af04d + response: + body: + string: '' + headers: + apim-request-id: + - 431b5283-f207-47da-a5ae-49c0aa7aa452 + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '74' + x-request-id: + - 431b5283-f207-47da-a5ae-49c0aa7aa452 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/06e90d2b-9470-48a7-a80b-264a50cce8f4 + response: + body: + string: '' + headers: + apim-request-id: + - 38c2a488-0e3b-401f-9590-f7fad298fd72 + content-length: + - '0' + date: + - Sat, 12 Sep 2020 00:52:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '270' + x-request-id: + - 38c2a488-0e3b-401f-9590-f7fad298fd72 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml new file mode 100644 index 000000000000..6770b5c728e0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_both.yaml @@ -0,0 +1,388 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupdb5525d3", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - cb85acbd-fadf-48e2-b8a4-b5e637e9ffa2 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:31 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a51a0232-28fa-44f9-9e1c-5ba4cb5e4195 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '609' + x-request-id: + - cb85acbd-fadf-48e2-b8a4-b5e637e9ffa2 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a51a0232-28fa-44f9-9e1c-5ba4cb5e4195 + response: + body: + string: "{\"dataFeedId\":\"a51a0232-28fa-44f9-9e1c-5ba4cb5e4195\",\"dataFeedName\":\"seriesgroupdb5525d3\",\"metrics\":[{\"metricId\":\"9ce1f7d4-910e-409c-af53-c04046077523\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e206ba05-6cab-4707-98b8-361420259873\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:42:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - da22530b-2807-4607-81b2-42ce26da3c20 + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '233' + x-request-id: + - da22530b-2807-4607-81b2-42ce26da3c20 + status: + code: 200 + message: OK +- request: + body: '{"name": "seriesgroupdb5525d3", "description": "testing", "metricId": "9ce1f7d4-910e-409c-af53-c04046077523", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 9129f23a-7f50-4951-a2b9-be1161317dda + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:37 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5191' + x-request-id: + - 9129f23a-7f50-4951-a2b9-be1161317dda + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e + response: + body: + string: '{"anomalyDetectionConfigurationId":"cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e","name":"seriesgroupdb5525d3","description":"testing","metricId":"9ce1f7d4-910e-409c-af53-c04046077523","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - b2cebb49-cede-48a7-8a68-dd96f468c021 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '200' + x-request-id: + - b2cebb49-cede-48a7-8a68-dd96f468c021 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertdb5525d3", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", + "metricId": "9ce1f7d4-910e-409c-af53-c04046077523"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '368' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 3fd1bf1b-cd77-49a7-9758-438aa0a3f9f2 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:38 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/97cede49-ee7a-4ac0-817a-3f9621b12a83 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '232' + x-request-id: + - 3fd1bf1b-cd77-49a7-9758-438aa0a3f9f2 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/97cede49-ee7a-4ac0-817a-3f9621b12a83 + response: + body: + string: '{"anomalyAlertingConfigurationId":"97cede49-ee7a-4ac0-817a-3f9621b12a83","name":"testalertdb5525d3","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"9ce1f7d4-910e-409c-af53-c04046077523","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 8198b59b-3bc9-4d55-9ba2-dddf930a1d6b + content-length: + - '488' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '137' + x-request-id: + - 8198b59b-3bc9-4d55-9ba2-dddf930a1d6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/97cede49-ee7a-4ac0-817a-3f9621b12a83 + response: + body: + string: '' + headers: + apim-request-id: + - e5300ac1-f812-44f9-847b-452d99abdbf9 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '157' + x-request-id: + - e5300ac1-f812-44f9-847b-452d99abdbf9 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/97cede49-ee7a-4ac0-817a-3f9621b12a83 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 06e2f511-2860-4bd9-8280-6f979b00e5ec"}' + headers: + apim-request-id: + - 16a5afc5-75d0-42bf-9245-e3e1e5ff9483 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '68' + x-request-id: + - 16a5afc5-75d0-42bf-9245-e3e1e5ff9483 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cb6eae00-6f9b-4af6-a9dd-6d8a7a31ed9e + response: + body: + string: '' + headers: + apim-request-id: + - db473b71-3a40-4675-b568-f5ea60e59fe2 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '112' + x-request-id: + - db473b71-3a40-4675-b568-f5ea60e59fe2 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a51a0232-28fa-44f9-9e1c-5ba4cb5e4195 + response: + body: + string: '' + headers: + apim-request-id: + - 499a6731-38ab-4191-b57a-51410b93a1fe + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '401' + x-request-id: + - 499a6731-38ab-4191-b57a-51410b93a1fe + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml new file mode 100644 index 000000000000..c533b8327b37 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_down.yaml @@ -0,0 +1,388 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupdb6925de", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 00cecf28-5907-4d17-a49c-97bd18b6abb9 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:46 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/f779fa3e-7981-43d3-9963-f3b4379cecf3 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5448' + x-request-id: + - 00cecf28-5907-4d17-a49c-97bd18b6abb9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/f779fa3e-7981-43d3-9963-f3b4379cecf3 + response: + body: + string: "{\"dataFeedId\":\"f779fa3e-7981-43d3-9963-f3b4379cecf3\",\"dataFeedName\":\"seriesgroupdb6925de\",\"metrics\":[{\"metricId\":\"ac379d67-94d3-4e8a-b9fe-0ef9636a4f4a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"45ea825d-050d-42b4-83fd-bcfdbb7d7a53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:42:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 002ec5c3-783c-4ac6-a81b-f16724283ae8 + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '156' + x-request-id: + - 002ec5c3-783c-4ac6-a81b-f16724283ae8 + status: + code: 200 + message: OK +- request: + body: '{"name": "seriesgroupdb6925de", "description": "testing", "metricId": "ac379d67-94d3-4e8a-b9fe-0ef9636a4f4a", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - a105e206-f579-4fac-859a-9ccb83ea96f1 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c77024e-fdb3-4145-a3c5-8c5ce12738d4 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '102' + x-request-id: + - a105e206-f579-4fac-859a-9ccb83ea96f1 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c77024e-fdb3-4145-a3c5-8c5ce12738d4 + response: + body: + string: '{"anomalyDetectionConfigurationId":"9c77024e-fdb3-4145-a3c5-8c5ce12738d4","name":"seriesgroupdb6925de","description":"testing","metricId":"ac379d67-94d3-4e8a-b9fe-0ef9636a4f4a","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 6b912cb6-72f6-44ab-a524-df2dbc4944bd + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '72' + x-request-id: + - 6b912cb6-72f6-44ab-a524-df2dbc4944bd + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertdb6925de", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "9c77024e-fdb3-4145-a3c5-8c5ce12738d4", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"lower": 1.0, "direction": "Down", "metricId": + "ac379d67-94d3-4e8a-b9fe-0ef9636a4f4a"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '354' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 4971abe6-5019-4828-a6e6-8761fbf6f0c5 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b3935d77-9752-479f-b084-8f94bf860d1e + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '156' + x-request-id: + - 4971abe6-5019-4828-a6e6-8761fbf6f0c5 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b3935d77-9752-479f-b084-8f94bf860d1e + response: + body: + string: '{"anomalyAlertingConfigurationId":"b3935d77-9752-479f-b084-8f94bf860d1e","name":"testalertdb6925de","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"9c77024e-fdb3-4145-a3c5-8c5ce12738d4","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"lower":1.0,"direction":"Down","metricId":"ac379d67-94d3-4e8a-b9fe-0ef9636a4f4a","triggerForMissing":false}}]}' + headers: + apim-request-id: + - a4d66221-73b0-40a2-a58f-9ebb327298e0 + content-length: + - '476' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '115' + x-request-id: + - a4d66221-73b0-40a2-a58f-9ebb327298e0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b3935d77-9752-479f-b084-8f94bf860d1e + response: + body: + string: '' + headers: + apim-request-id: + - fa90633e-388e-42a0-b3aa-9a281d965128 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '83' + x-request-id: + - fa90633e-388e-42a0-b3aa-9a281d965128 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b3935d77-9752-479f-b084-8f94bf860d1e + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 01f74466-9daf-40bb-bd27-cf1c92281bd4"}' + headers: + apim-request-id: + - e42f9134-73a7-411c-856d-b88da6c3ad4b + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '44' + x-request-id: + - e42f9134-73a7-411c-856d-b88da6c3ad4b + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/9c77024e-fdb3-4145-a3c5-8c5ce12738d4 + response: + body: + string: '' + headers: + apim-request-id: + - b8fc53e0-bcc7-4317-a2cc-d93cbd8e6773 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '79' + x-request-id: + - b8fc53e0-bcc7-4317-a2cc-d93cbd8e6773 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/f779fa3e-7981-43d3-9963-f3b4379cecf3 + response: + body: + string: '' + headers: + apim-request-id: + - c7ef0225-6f76-4362-ab35-16062b5e8fa9 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '285' + x-request-id: + - c7ef0225-6f76-4362-ab35-16062b5e8fa9 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml new file mode 100644 index 000000000000..28ff095f54c3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_alert_direction_up.yaml @@ -0,0 +1,387 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroup903e250b", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - f90d5243-4355-4b53-b4e8-ac929aae0885 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:51 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9b1b1e12-83a3-4e21-ad13-066dcb7eeabc + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '379' + x-request-id: + - f90d5243-4355-4b53-b4e8-ac929aae0885 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9b1b1e12-83a3-4e21-ad13-066dcb7eeabc + response: + body: + string: "{\"dataFeedId\":\"9b1b1e12-83a3-4e21-ad13-066dcb7eeabc\",\"dataFeedName\":\"seriesgroup903e250b\",\"metrics\":[{\"metricId\":\"d4d3c244-25a7-4d65-9f75-0abfb4a5f371\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9dc991b-2d57-461b-ab5f-853b7a471968\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:42:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 8ba8c00d-5ad0-44c6-86c8-e825ba83979b + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:51 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '123' + x-request-id: + - 8ba8c00d-5ad0-44c6-86c8-e825ba83979b + status: + code: 200 + message: OK +- request: + body: '{"name": "seriesgroup903e250b", "description": "testing", "metricId": "d4d3c244-25a7-4d65-9f75-0abfb4a5f371", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - d3908fd5-302b-4bdb-bdc0-af9b95d44034 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:51 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4b8c3fab-a92c-44a7-9e3d-978d768bacd9 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '77' + x-request-id: + - d3908fd5-302b-4bdb-bdc0-af9b95d44034 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4b8c3fab-a92c-44a7-9e3d-978d768bacd9 + response: + body: + string: '{"anomalyDetectionConfigurationId":"4b8c3fab-a92c-44a7-9e3d-978d768bacd9","name":"seriesgroup903e250b","description":"testing","metricId":"d4d3c244-25a7-4d65-9f75-0abfb4a5f371","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 7d8e70c1-6fd5-4640-8bfc-c2f4724072ee + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '81' + x-request-id: + - 7d8e70c1-6fd5-4640-8bfc-c2f4724072ee + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert903e250b", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "4b8c3fab-a92c-44a7-9e3d-978d768bacd9", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "valueFilter": {"upper": 5.0, "direction": "Up", "metricId": "d4d3c244-25a7-4d65-9f75-0abfb4a5f371"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '352' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - e176d314-7343-46e4-ba22-a010a5970596 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:52 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4102c664-33f9-4128-8da9-bd28071ede3e + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '274' + x-request-id: + - e176d314-7343-46e4-ba22-a010a5970596 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4102c664-33f9-4128-8da9-bd28071ede3e + response: + body: + string: '{"anomalyAlertingConfigurationId":"4102c664-33f9-4128-8da9-bd28071ede3e","name":"testalert903e250b","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"4b8c3fab-a92c-44a7-9e3d-978d768bacd9","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"valueFilter":{"upper":5.0,"direction":"Up","metricId":"d4d3c244-25a7-4d65-9f75-0abfb4a5f371","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 20eb9db7-5ae0-43fa-8413-bcd2b619a440 + content-length: + - '474' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '78' + x-request-id: + - 20eb9db7-5ae0-43fa-8413-bcd2b619a440 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4102c664-33f9-4128-8da9-bd28071ede3e + response: + body: + string: '' + headers: + apim-request-id: + - eb7b10e9-675c-47f7-b0c3-0f8880b06129 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '111' + x-request-id: + - eb7b10e9-675c-47f7-b0c3-0f8880b06129 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4102c664-33f9-4128-8da9-bd28071ede3e + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: d3ee4381-6f31-4ccb-bd30-227d7dbcc12c"}' + headers: + apim-request-id: + - f355491c-bd2f-4c88-b2ea-6755cb7c2aff + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:42:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '63' + x-request-id: + - f355491c-bd2f-4c88-b2ea-6755cb7c2aff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4b8c3fab-a92c-44a7-9e3d-978d768bacd9 + response: + body: + string: '' + headers: + apim-request-id: + - 1129fbee-d40a-4781-9dcb-4113f8ab0c85 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '93' + x-request-id: + - 1129fbee-d40a-4781-9dcb-4113f8ab0c85 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9b1b1e12-83a3-4e21-ad13-066dcb7eeabc + response: + body: + string: '' + headers: + apim-request-id: + - 0447c11e-ec91-4a3f-a40d-5991fc7d89eb + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:42:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '317' + x-request-id: + - 0447c11e-ec91-4a3f-a40d-5991fc7d89eb + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_severity_condition.yaml new file mode 100644 index 000000000000..beff09720cb5 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_series_group_severity_condition.yaml @@ -0,0 +1,388 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "seriesgroupsev92802530", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '777' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - e5ecd29b-873e-45ab-83c3-edcc83c8afd7 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:12 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/09b7e987-da23-4bc2-9d30-33abfaf6bdb3 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '868' + x-request-id: + - e5ecd29b-873e-45ab-83c3-edcc83c8afd7 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/09b7e987-da23-4bc2-9d30-33abfaf6bdb3 + response: + body: + string: "{\"dataFeedId\":\"09b7e987-da23-4bc2-9d30-33abfaf6bdb3\",\"dataFeedName\":\"seriesgroupsev92802530\",\"metrics\":[{\"metricId\":\"1898a635-32b6-47bb-b2dc-03527fcd81fc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e388b576-a8d2-49fa-81c7-6783921a541e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:55:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 98ea6be7-13de-447f-9caa-e5da191fc379 + content-length: + - '1495' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:55:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '182' + x-request-id: + - 98ea6be7-13de-447f-9caa-e5da191fc379 + status: + code: 200 + message: OK +- request: + body: '{"name": "seriesgroupsev92802530", "description": "testing", "metricId": + "1898a635-32b6-47bb-b2dc-03527fcd81fc", "wholeMetricConfiguration": {"smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 0126e03e-e01c-45f5-9006-4c515b1436c9 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:12 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4ac1d1f3-70e2-4374-a0e9-34adcfe66e49 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '114' + x-request-id: + - 0126e03e-e01c-45f5-9006-4c515b1436c9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4ac1d1f3-70e2-4374-a0e9-34adcfe66e49 + response: + body: + string: '{"anomalyDetectionConfigurationId":"4ac1d1f3-70e2-4374-a0e9-34adcfe66e49","name":"seriesgroupsev92802530","description":"testing","metricId":"1898a635-32b6-47bb-b2dc-03527fcd81fc","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 3369a8bf-6740-430c-951c-e7e4c8298923 + content-length: + - '419' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:55:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '133' + x-request-id: + - 3369a8bf-6740-430c-951c-e7e4c8298923 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert92802530", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "4ac1d1f3-70e2-4374-a0e9-34adcfe66e49", + "anomalyScopeType": "Dimension", "dimensionAnomalyScope": {"dimension": {"city": + "Shenzhen"}}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '325' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 36c1180b-a464-47e5-a79a-c34497e3c726 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:13 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4831075f-862d-4052-aa77-d223e08a24f5 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '156' + x-request-id: + - 36c1180b-a464-47e5-a79a-c34497e3c726 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4831075f-862d-4052-aa77-d223e08a24f5 + response: + body: + string: '{"anomalyAlertingConfigurationId":"4831075f-862d-4052-aa77-d223e08a24f5","name":"testalert92802530","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"4ac1d1f3-70e2-4374-a0e9-34adcfe66e49","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - dadb2116-af4e-43d4-b789-af0501a4b253 + content-length: + - '423' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:55:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '76' + x-request-id: + - dadb2116-af4e-43d4-b789-af0501a4b253 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4831075f-862d-4052-aa77-d223e08a24f5 + response: + body: + string: '' + headers: + apim-request-id: + - dc157977-fe1c-4ec9-81a7-82998c70c483 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '79' + x-request-id: + - dc157977-fe1c-4ec9-81a7-82998c70c483 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4831075f-862d-4052-aa77-d223e08a24f5 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: bd5591c4-de04-430b-a705-d5c2e56d972c"}' + headers: + apim-request-id: + - e681197b-aa39-467b-b3f3-9b4f1b83cafd + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:55:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '47' + x-request-id: + - e681197b-aa39-467b-b3f3-9b4f1b83cafd + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4ac1d1f3-70e2-4374-a0e9-34adcfe66e49 + response: + body: + string: '' + headers: + apim-request-id: + - b3c68663-e5de-4044-9c7e-3890554b629a + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '79' + x-request-id: + - b3c68663-e5de-4044-9c7e-3890554b629a + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/09b7e987-da23-4bc2-9d30-33abfaf6bdb3 + response: + body: + string: '' + headers: + apim-request-id: + - f4c3efa0-963b-4e77-a63e-f397bd7099a9 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:55:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '309' + x-request-id: + - f4c3efa0-963b-4e77-a63e-f397bd7099a9 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_snooze_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_snooze_condition.yaml new file mode 100644 index 000000000000..175af3ca310a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_snooze_condition.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup916c1edd", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - b3d80846-4116-4252-8f6c-bcf8352d7c42 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:21 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e25b6429-b4b0-446b-a5b9-89f9b3386e53 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '579' + x-request-id: + - b3d80846-4116-4252-8f6c-bcf8352d7c42 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e25b6429-b4b0-446b-a5b9-89f9b3386e53 + response: + body: + string: "{\"dataFeedId\":\"e25b6429-b4b0-446b-a5b9-89f9b3386e53\",\"dataFeedName\":\"topnup916c1edd\",\"metrics\":[{\"metricId\":\"0b0a371e-cdd9-4193-92c0-77e10b5b4f6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a66c2b8-c893-48c5-a9e7-938e21af2b7c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T22:11:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 54bddd2e-9b58-44ba-b8d8-08cb265b53e0 + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:11:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '125' + x-request-id: + - 54bddd2e-9b58-44ba-b8d8-08cb265b53e0 + status: + code: 200 + message: OK +- request: + body: '{"name": "topnup916c1edd", "description": "testing", "metricId": "0b0a371e-cdd9-4193-92c0-77e10b5b4f6f", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 21495e58-cef2-41c1-88ef-948e8607ef4c + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:21 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccada1b-0e51-4475-bba6-c24a0c07af60 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '95' + x-request-id: + - 21495e58-cef2-41c1-88ef-948e8607ef4c + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccada1b-0e51-4475-bba6-c24a0c07af60 + response: + body: + string: '{"anomalyDetectionConfigurationId":"bccada1b-0e51-4475-bba6-c24a0c07af60","name":"topnup916c1edd","description":"testing","metricId":"0b0a371e-cdd9-4193-92c0-77e10b5b4f6f","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - a5307dc2-442f-4ea3-9c82-26131f9c9061 + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:11:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '68' + x-request-id: + - a5307dc2-442f-4ea3-9c82-26131f9c9061 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert916c1edd", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "bccada1b-0e51-4475-bba6-c24a0c07af60", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "snoozeFilter": {"autoSnooze": 5, "snoozeScope": "Metric", "onlyForSuccessive": + true}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '334' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - fad22bcd-38cf-4a06-a2e9-906c11bc38eb + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:22 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/14082336-ed9b-4b9a-9206-c8352e50c907 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '91' + x-request-id: + - fad22bcd-38cf-4a06-a2e9-906c11bc38eb + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/14082336-ed9b-4b9a-9206-c8352e50c907 + response: + body: + string: '{"anomalyAlertingConfigurationId":"14082336-ed9b-4b9a-9206-c8352e50c907","name":"testalert916c1edd","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"bccada1b-0e51-4475-bba6-c24a0c07af60","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"snoozeFilter":{"autoSnooze":5,"snoozeScope":"Metric","onlyForSuccessive":true}}]}' + headers: + apim-request-id: + - 88d4a000-e756-481a-aed0-c4aa15a3c956 + content-length: + - '427' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:11:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '67' + x-request-id: + - 88d4a000-e756-481a-aed0-c4aa15a3c956 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/14082336-ed9b-4b9a-9206-c8352e50c907 + response: + body: + string: '' + headers: + apim-request-id: + - 938175d2-496b-4d66-8f28-52eb05cb25bf + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '84' + x-request-id: + - 938175d2-496b-4d66-8f28-52eb05cb25bf + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/14082336-ed9b-4b9a-9206-c8352e50c907 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 2066651b-5c39-4c9f-b2d2-888e570ee0f2"}' + headers: + apim-request-id: + - 7d3fd7f7-7acc-4885-9e84-1f539a5f0511 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:11:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '50' + x-request-id: + - 7d3fd7f7-7acc-4885-9e84-1f539a5f0511 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bccada1b-0e51-4475-bba6-c24a0c07af60 + response: + body: + string: '' + headers: + apim-request-id: + - 3278a933-b4ae-4aa3-a5dd-5115c895f1c7 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - 3278a933-b4ae-4aa3-a5dd-5115c895f1c7 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e25b6429-b4b0-446b-a5b9-89f9b3386e53 + response: + body: + string: '' + headers: + apim-request-id: + - 57997ab9-8739-46fb-b9c7-f939b86a20d3 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:11:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '263' + x-request-id: + - 57997ab9-8739-46fb-b9c7-f939b86a20d3 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml new file mode 100644 index 000000000000..126664c8326e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_both.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnupd9f722dc", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 90794bb0-09d8-4d2f-9487-484fac316dd6 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:46 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6bfed16d-c71c-4370-944c-30e703ad90a7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '754' + x-request-id: + - 90794bb0-09d8-4d2f-9487-484fac316dd6 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6bfed16d-c71c-4370-944c-30e703ad90a7 + response: + body: + string: "{\"dataFeedId\":\"6bfed16d-c71c-4370-944c-30e703ad90a7\",\"dataFeedName\":\"topnupd9f722dc\",\"metrics\":[{\"metricId\":\"9946dd6f-313f-4bff-ac1d-a3fdcbc3876c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1b7d5d33-df3a-4387-821c-e4df9afac665\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T20:47:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 77d64d71-0e46-4bf3-a498-3e2abffc06cf + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '272' + x-request-id: + - 77d64d71-0e46-4bf3-a498-3e2abffc06cf + status: + code: 200 + message: OK +- request: + body: '{"name": "topnupd9f722dc", "description": "testing", "metricId": "9946dd6f-313f-4bff-ac1d-a3fdcbc3876c", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 4653cfc9-fbe8-459f-9561-77710bcbd0eb + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e49d56f-8db8-44b1-b36c-83630ddf19b2 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '203' + x-request-id: + - 4653cfc9-fbe8-459f-9561-77710bcbd0eb + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e49d56f-8db8-44b1-b36c-83630ddf19b2 + response: + body: + string: '{"anomalyDetectionConfigurationId":"4e49d56f-8db8-44b1-b36c-83630ddf19b2","name":"topnupd9f722dc","description":"testing","metricId":"9946dd6f-313f-4bff-ac1d-a3fdcbc3876c","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 9a4a9960-8bde-45de-b25b-bbab677d50b0 + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '67' + x-request-id: + - 9a4a9960-8bde-45de-b25b-bbab677d50b0 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertd9f722dc", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "4e49d56f-8db8-44b1-b36c-83630ddf19b2", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "9946dd6f-313f-4bff-ac1d-a3fdcbc3876c"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '365' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 30caff79-4674-492a-b0bf-c0ec755294cb + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:48 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/12e828ba-d28b-4ee4-b9d3-41f16f5301c8 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '101' + x-request-id: + - 30caff79-4674-492a-b0bf-c0ec755294cb + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/12e828ba-d28b-4ee4-b9d3-41f16f5301c8 + response: + body: + string: '{"anomalyAlertingConfigurationId":"12e828ba-d28b-4ee4-b9d3-41f16f5301c8","name":"testalertd9f722dc","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"4e49d56f-8db8-44b1-b36c-83630ddf19b2","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"9946dd6f-313f-4bff-ac1d-a3fdcbc3876c","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 24e49d60-3246-4257-8faa-980ab5e58373 + content-length: + - '482' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - 24e49d60-3246-4257-8faa-980ab5e58373 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/12e828ba-d28b-4ee4-b9d3-41f16f5301c8 + response: + body: + string: '' + headers: + apim-request-id: + - 8f4ecf3f-81ac-4eb4-b2e2-061151e18c5f + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '92' + x-request-id: + - 8f4ecf3f-81ac-4eb4-b2e2-061151e18c5f + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/12e828ba-d28b-4ee4-b9d3-41f16f5301c8 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: d46a6288-2091-40d5-aa19-5990e9afcd3f"}' + headers: + apim-request-id: + - fe542391-693a-4527-80d2-37750e92122b + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '47' + x-request-id: + - fe542391-693a-4527-80d2-37750e92122b + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/4e49d56f-8db8-44b1-b36c-83630ddf19b2 + response: + body: + string: '' + headers: + apim-request-id: + - dec1cef5-38bd-4148-8820-476e4f74c40b + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '83' + x-request-id: + - dec1cef5-38bd-4148-8820-476e4f74c40b + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6bfed16d-c71c-4370-944c-30e703ad90a7 + response: + body: + string: '' + headers: + apim-request-id: + - 828e46ef-b204-4933-91d5-675d31c20987 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '271' + x-request-id: + - 828e46ef-b204-4933-91d5-675d31c20987 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml new file mode 100644 index 000000000000..d45b39492d27 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_down.yaml @@ -0,0 +1,385 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnupda0b22e7", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 9797700e-a90b-4c75-9d12-1516aeb55f30 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:50 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/627e5840-d10d-40ed-b09d-48e51502c696 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '346' + x-request-id: + - 9797700e-a90b-4c75-9d12-1516aeb55f30 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/627e5840-d10d-40ed-b09d-48e51502c696 + response: + body: + string: "{\"dataFeedId\":\"627e5840-d10d-40ed-b09d-48e51502c696\",\"dataFeedName\":\"topnupda0b22e7\",\"metrics\":[{\"metricId\":\"95839785-d3e0-469c-aa77-a0cf7852d931\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fc0b9e92-0f14-42d7-a646-acfee04eba2b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T20:47:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - c7a36a3f-2db5-42ac-a746-0b16e61be752 + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '126' + x-request-id: + - c7a36a3f-2db5-42ac-a746-0b16e61be752 + status: + code: 200 + message: OK +- request: + body: '{"name": "topnupda0b22e7", "description": "testing", "metricId": "95839785-d3e0-469c-aa77-a0cf7852d931", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 32199446-4755-4951-96b3-a2af46f36844 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:51 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cc77b363-526c-4423-8d57-25d5aaf669d6 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '77' + x-request-id: + - 32199446-4755-4951-96b3-a2af46f36844 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cc77b363-526c-4423-8d57-25d5aaf669d6 + response: + body: + string: '{"anomalyDetectionConfigurationId":"cc77b363-526c-4423-8d57-25d5aaf669d6","name":"topnupda0b22e7","description":"testing","metricId":"95839785-d3e0-469c-aa77-a0cf7852d931","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 5858cc60-194c-4bab-92c1-7385fcafa0ff + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:51 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '73' + x-request-id: + - 5858cc60-194c-4bab-92c1-7385fcafa0ff + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertda0b22e7", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "cc77b363-526c-4423-8d57-25d5aaf669d6", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "direction": "Down", "metricId": "95839785-d3e0-469c-aa77-a0cf7852d931"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '351' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 7ef92083-ef8f-4875-9184-0a155ffafc34 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:51 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/26150361-3915-4c87-a4af-082cf546d1b7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '85' + x-request-id: + - 7ef92083-ef8f-4875-9184-0a155ffafc34 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/26150361-3915-4c87-a4af-082cf546d1b7 + response: + body: + string: '{"anomalyAlertingConfigurationId":"26150361-3915-4c87-a4af-082cf546d1b7","name":"testalertda0b22e7","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"cc77b363-526c-4423-8d57-25d5aaf669d6","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"direction":"Down","metricId":"95839785-d3e0-469c-aa77-a0cf7852d931","triggerForMissing":false}}]}' + headers: + apim-request-id: + - f407b8a7-882b-4e02-af29-0b57ec2ba90d + content-length: + - '470' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:51 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '66' + x-request-id: + - f407b8a7-882b-4e02-af29-0b57ec2ba90d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/26150361-3915-4c87-a4af-082cf546d1b7 + response: + body: + string: '' + headers: + apim-request-id: + - 63790122-9c74-401b-a4da-ef12128759eb + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '86' + x-request-id: + - 63790122-9c74-401b-a4da-ef12128759eb + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/26150361-3915-4c87-a4af-082cf546d1b7 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 2ff78249-4242-47a3-9765-100ba0a373ac"}' + headers: + apim-request-id: + - 9ad5e98b-a8c3-4702-88dc-c69ed2729388 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '48' + x-request-id: + - 9ad5e98b-a8c3-4702-88dc-c69ed2729388 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/cc77b363-526c-4423-8d57-25d5aaf669d6 + response: + body: + string: '' + headers: + apim-request-id: + - 87bb3b21-f22c-43a3-b944-99fca32ceb3e + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '76' + x-request-id: + - 87bb3b21-f22c-43a3-b944-99fca32ceb3e + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/627e5840-d10d-40ed-b09d-48e51502c696 + response: + body: + string: '' + headers: + apim-request-id: + - dc431d69-1038-4366-8a60-943cc159e349 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '286' + x-request-id: + - dc431d69-1038-4366-8a60-943cc159e349 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml new file mode 100644 index 000000000000..b57b9fab650d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_alert_direction_up.yaml @@ -0,0 +1,385 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup94ce2214", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - dce3a701-1a0c-4c90-a7b6-d48f840791ec + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:55 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5723db36-e8ca-46ed-902e-d1788645d835 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '336' + x-request-id: + - dce3a701-1a0c-4c90-a7b6-d48f840791ec + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5723db36-e8ca-46ed-902e-d1788645d835 + response: + body: + string: "{\"dataFeedId\":\"5723db36-e8ca-46ed-902e-d1788645d835\",\"dataFeedName\":\"topnup94ce2214\",\"metrics\":[{\"metricId\":\"39c32370-3c57-4fe0-a1a8-b9215874ac24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffe32fae-9822-4aba-b0e6-002c1b6a0cc4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T20:47:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 73cbb01e-d0ec-4862-9e2d-535254b2997b + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '132' + x-request-id: + - 73cbb01e-d0ec-4862-9e2d-535254b2997b + status: + code: 200 + message: OK +- request: + body: '{"name": "topnup94ce2214", "description": "testing", "metricId": "39c32370-3c57-4fe0-a1a8-b9215874ac24", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 9a4dd816-ac6b-486f-bdee-f1288255488d + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:56 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/28e0ebf7-52f5-4b5f-8962-78d3655efa93 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '74' + x-request-id: + - 9a4dd816-ac6b-486f-bdee-f1288255488d + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/28e0ebf7-52f5-4b5f-8962-78d3655efa93 + response: + body: + string: '{"anomalyDetectionConfigurationId":"28e0ebf7-52f5-4b5f-8962-78d3655efa93","name":"topnup94ce2214","description":"testing","metricId":"39c32370-3c57-4fe0-a1a8-b9215874ac24","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - e622d0d0-7aec-4769-85bf-be6dfbab8f19 + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '66' + x-request-id: + - e622d0d0-7aec-4769-85bf-be6dfbab8f19 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert94ce2214", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "28e0ebf7-52f5-4b5f-8962-78d3655efa93", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"upper": 5.0, "direction": "Up", "metricId": "39c32370-3c57-4fe0-a1a8-b9215874ac24"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '349' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - c4f911f1-2045-4735-95cb-43deb05c47af + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:56 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e011bb29-5b90-43c1-9589-0cbec28d4731 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '98' + x-request-id: + - c4f911f1-2045-4735-95cb-43deb05c47af + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e011bb29-5b90-43c1-9589-0cbec28d4731 + response: + body: + string: '{"anomalyAlertingConfigurationId":"e011bb29-5b90-43c1-9589-0cbec28d4731","name":"testalert94ce2214","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"28e0ebf7-52f5-4b5f-8962-78d3655efa93","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"upper":5.0,"direction":"Up","metricId":"39c32370-3c57-4fe0-a1a8-b9215874ac24","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 9d2a23a4-a6a1-47f0-91f3-b8632d16a93a + content-length: + - '468' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '72' + x-request-id: + - 9d2a23a4-a6a1-47f0-91f3-b8632d16a93a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e011bb29-5b90-43c1-9589-0cbec28d4731 + response: + body: + string: '' + headers: + apim-request-id: + - 9316af87-2655-46e6-827f-fdaa487a2b5a + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - 9316af87-2655-46e6-827f-fdaa487a2b5a + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e011bb29-5b90-43c1-9589-0cbec28d4731 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 217516c5-9294-45d9-bc39-783cf97ac805"}' + headers: + apim-request-id: + - b2b6cad2-9fd1-42cd-bf52-56de7c53ff1f + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 20:47:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '46' + x-request-id: + - b2b6cad2-9fd1-42cd-bf52-56de7c53ff1f + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/28e0ebf7-52f5-4b5f-8962-78d3655efa93 + response: + body: + string: '' + headers: + apim-request-id: + - db4567e2-c0bb-47c5-b1ce-c92773197035 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '70' + x-request-id: + - db4567e2-c0bb-47c5-b1ce-c92773197035 + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/5723db36-e8ca-46ed-902e-d1788645d835 + response: + body: + string: '' + headers: + apim-request-id: + - 7a4d6241-0582-4198-8470-d1c0e6ba1b4a + content-length: + - '0' + date: + - Fri, 11 Sep 2020 20:47:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '265' + x-request-id: + - 7a4d6241-0582-4198-8470-d1c0e6ba1b4a + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_severity_condition.yaml new file mode 100644 index 000000000000..67f617224d8f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_top_n_severity_condition.yaml @@ -0,0 +1,385 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup97102239", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 914f426f-ab1d-42a7-8552-a4f3faae80df + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:43 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0efea865-433c-4ad3-a296-5c351b138b18 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '639' + x-request-id: + - 914f426f-ab1d-42a7-8552-a4f3faae80df + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0efea865-433c-4ad3-a296-5c351b138b18 + response: + body: + string: "{\"dataFeedId\":\"0efea865-433c-4ad3-a296-5c351b138b18\",\"dataFeedName\":\"topnup97102239\",\"metrics\":[{\"metricId\":\"f4a631ef-9f61-4af2-8297-f64b4b5a4763\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e39e1fe4-a03b-4c49-937f-c7224b7deeb3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T22:06:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 3cedecc1-b959-4ab1-8825-6027074f2275 + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:06:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '129' + x-request-id: + - 3cedecc1-b959-4ab1-8825-6027074f2275 + status: + code: 200 + message: OK +- request: + body: '{"name": "topnup97102239", "description": "testing", "metricId": "f4a631ef-9f61-4af2-8297-f64b4b5a4763", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 948960ed-b7d4-4a99-b549-884f737e7df3 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:43 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '78' + x-request-id: + - 948960ed-b7d4-4a99-b549-884f737e7df3 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98 + response: + body: + string: '{"anomalyDetectionConfigurationId":"3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98","name":"topnup97102239","description":"testing","metricId":"f4a631ef-9f61-4af2-8297-f64b4b5a4763","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 7acdbef1-5d7c-457e-b481-522723d19d60 + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:06:44 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '66' + x-request-id: + - 7acdbef1-5d7c-457e-b481-522723d19d60 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert97102239", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '322' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 0c69bf36-bb36-453c-a4cc-89a8a7272d4e + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:44 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c4c0eaa1-4725-452a-83d8-75210b7de8bf + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '99' + x-request-id: + - 0c69bf36-bb36-453c-a4cc-89a8a7272d4e + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c4c0eaa1-4725-452a-83d8-75210b7de8bf + response: + body: + string: '{"anomalyAlertingConfigurationId":"c4c0eaa1-4725-452a-83d8-75210b7de8bf","name":"testalert97102239","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - 9ad03ea1-b8a0-475d-a45d-9223605ffbe5 + content-length: + - '417' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:06:44 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - 9ad03ea1-b8a0-475d-a45d-9223605ffbe5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c4c0eaa1-4725-452a-83d8-75210b7de8bf + response: + body: + string: '' + headers: + apim-request-id: + - 67eaaa91-c43b-4bf4-ba4b-7599c39ca26d + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '89' + x-request-id: + - 67eaaa91-c43b-4bf4-ba4b-7599c39ca26d + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/c4c0eaa1-4725-452a-83d8-75210b7de8bf + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: e907a207-9391-49a7-997d-4fc599646586"}' + headers: + apim-request-id: + - e4a59b0a-abdf-45c9-8493-57eb9116bdb3 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:06:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '51' + x-request-id: + - e4a59b0a-abdf-45c9-8493-57eb9116bdb3 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/3b20a76f-d4ab-4b8e-9f4c-71b528f8ed98 + response: + body: + string: '' + headers: + apim-request-id: + - dac3bbf8-ea09-4585-807f-13d7a23f1a5b + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '77' + x-request-id: + - dac3bbf8-ea09-4585-807f-13d7a23f1a5b + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0efea865-433c-4ad3-a296-5c351b138b18 + response: + body: + string: '' + headers: + apim-request-id: + - 538b5cbd-3546-438c-acd1-eac89b9e3631 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:06:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '281' + x-request-id: + - 538b5cbd-3546-438c-acd1-eac89b9e3631 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml new file mode 100644 index 000000000000..98d28ddd9427 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_both.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseriesda3025c5", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '702' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - c6d85c3a-f257-441c-b27e-d7a75419e036 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:43 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9a408175-5264-4b36-a569-da1f98fd0ae3 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '540' + x-request-id: + - c6d85c3a-f257-441c-b27e-d7a75419e036 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9a408175-5264-4b36-a569-da1f98fd0ae3 + response: + body: + string: "{\"dataFeedId\":\"9a408175-5264-4b36-a569-da1f98fd0ae3\",\"dataFeedName\":\"wholeseriesda3025c5\",\"metrics\":[{\"metricId\":\"2791d4af-176a-4c59-9d9d-52a482b3bc6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c4a0e6f-0a70-4f2b-89ce-fafaea94a155\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:29:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - fe9bf31f-8a48-402f-8c8e-a6600bc813af + content-length: + - '1376' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '204' + x-request-id: + - fe9bf31f-8a48-402f-8c8e-a6600bc813af + status: + code: 200 + message: OK +- request: + body: '{"name": "wholeseriesda3025c5", "description": "testing", "metricId": "2791d4af-176a-4c59-9d9d-52a482b3bc6f", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - d6712a9d-1809-4069-a763-6d7f6236d86e + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:44 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/6d4a38c1-cda0-433a-9341-c41f9e535379 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '110' + x-request-id: + - d6712a9d-1809-4069-a763-6d7f6236d86e + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/6d4a38c1-cda0-433a-9341-c41f9e535379 + response: + body: + string: '{"anomalyDetectionConfigurationId":"6d4a38c1-cda0-433a-9341-c41f9e535379","name":"wholeseriesda3025c5","description":"testing","metricId":"2791d4af-176a-4c59-9d9d-52a482b3bc6f","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - e792ef10-d51e-40b9-bd24-dc19d4606512 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:44 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '160' + x-request-id: + - e792ef10-d51e-40b9-bd24-dc19d4606512 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertda3025c5", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "6d4a38c1-cda0-433a-9341-c41f9e535379", + "anomalyScopeType": "All", "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": + "Both", "metricId": "2791d4af-176a-4c59-9d9d-52a482b3bc6f"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '300' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 721f9c6f-bb31-44cf-9296-70d86b991d74 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:45 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/fc83e261-9f00-4400-a9b9-078d65e9c653 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '229' + x-request-id: + - 721f9c6f-bb31-44cf-9296-70d86b991d74 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/fc83e261-9f00-4400-a9b9-078d65e9c653 + response: + body: + string: '{"anomalyAlertingConfigurationId":"fc83e261-9f00-4400-a9b9-078d65e9c653","name":"testalertda3025c5","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"6d4a38c1-cda0-433a-9341-c41f9e535379","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"2791d4af-176a-4c59-9d9d-52a482b3bc6f","triggerForMissing":false}}]}' + headers: + apim-request-id: + - e317f8ab-12d9-4378-a059-b1050d264f43 + content-length: + - '424' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '131' + x-request-id: + - e317f8ab-12d9-4378-a059-b1050d264f43 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/fc83e261-9f00-4400-a9b9-078d65e9c653 + response: + body: + string: '' + headers: + apim-request-id: + - 987489ee-4960-4c81-8024-b10764e1352c + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:45 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '164' + x-request-id: + - 987489ee-4960-4c81-8024-b10764e1352c + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/fc83e261-9f00-4400-a9b9-078d65e9c653 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: ac5d338e-0e4c-4f57-b5f1-ace946d4ff76"}' + headers: + apim-request-id: + - b10778d7-3830-45aa-b548-19f847187431 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '95' + x-request-id: + - b10778d7-3830-45aa-b548-19f847187431 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/6d4a38c1-cda0-433a-9341-c41f9e535379 + response: + body: + string: '' + headers: + apim-request-id: + - 93258678-4f3e-4fa2-8c73-3769c543475a + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '112' + x-request-id: + - 93258678-4f3e-4fa2-8c73-3769c543475a + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9a408175-5264-4b36-a569-da1f98fd0ae3 + response: + body: + string: '' + headers: + apim-request-id: + - d51111f1-0df7-4052-a299-32612640c65d + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '324' + x-request-id: + - d51111f1-0df7-4052-a299-32612640c65d + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml new file mode 100644 index 000000000000..643dff45828c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_down.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseriesda4425d0", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '702' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - b70df322-8bcf-44ad-948a-22dc394b5424 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4bfd3bf3-0c53-4503-9fbd-8bdee44f4c7f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '455' + x-request-id: + - b70df322-8bcf-44ad-948a-22dc394b5424 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4bfd3bf3-0c53-4503-9fbd-8bdee44f4c7f + response: + body: + string: "{\"dataFeedId\":\"4bfd3bf3-0c53-4503-9fbd-8bdee44f4c7f\",\"dataFeedName\":\"wholeseriesda4425d0\",\"metrics\":[{\"metricId\":\"80e14b71-492e-4d96-977c-9c13f0e68b0f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e629640-d608-4140-9a15-f7cd252b1690\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:29:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - b25b8133-6f32-4601-85e8-5e01739386c1 + content-length: + - '1376' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '128' + x-request-id: + - b25b8133-6f32-4601-85e8-5e01739386c1 + status: + code: 200 + message: OK +- request: + body: '{"name": "wholeseriesda4425d0", "description": "testing", "metricId": "80e14b71-492e-4d96-977c-9c13f0e68b0f", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 01486278-05f8-4a7f-be99-d9a968822688 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:48 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bb3da8fb-929c-450f-b018-d22c59280d90 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '77' + x-request-id: + - 01486278-05f8-4a7f-be99-d9a968822688 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bb3da8fb-929c-450f-b018-d22c59280d90 + response: + body: + string: '{"anomalyDetectionConfigurationId":"bb3da8fb-929c-450f-b018-d22c59280d90","name":"wholeseriesda4425d0","description":"testing","metricId":"80e14b71-492e-4d96-977c-9c13f0e68b0f","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - c1272677-0da0-406a-acf9-ab1f530180a2 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '67' + x-request-id: + - c1272677-0da0-406a-acf9-ab1f530180a2 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalertda4425d0", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "bb3da8fb-929c-450f-b018-d22c59280d90", + "anomalyScopeType": "All", "valueFilter": {"lower": 1.0, "direction": "Down", + "metricId": "80e14b71-492e-4d96-977c-9c13f0e68b0f"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 53ff0aa1-32e7-4d10-9692-6b4ac36c61d3 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:48 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b08d3bd0-2667-45ce-a7f8-0c0c3a83092b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '102' + x-request-id: + - 53ff0aa1-32e7-4d10-9692-6b4ac36c61d3 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b08d3bd0-2667-45ce-a7f8-0c0c3a83092b + response: + body: + string: '{"anomalyAlertingConfigurationId":"b08d3bd0-2667-45ce-a7f8-0c0c3a83092b","name":"testalertda4425d0","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"bb3da8fb-929c-450f-b018-d22c59280d90","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"lower":1.0,"direction":"Down","metricId":"80e14b71-492e-4d96-977c-9c13f0e68b0f","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 0bb3f86a-ff84-49ab-9732-41603cb270f3 + content-length: + - '412' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '117' + x-request-id: + - 0bb3f86a-ff84-49ab-9732-41603cb270f3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b08d3bd0-2667-45ce-a7f8-0c0c3a83092b + response: + body: + string: '' + headers: + apim-request-id: + - beca541c-f449-4d13-9b51-73d6e2fced97 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '117' + x-request-id: + - beca541c-f449-4d13-9b51-73d6e2fced97 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b08d3bd0-2667-45ce-a7f8-0c0c3a83092b + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: b7e1f8dd-c762-4814-8460-6422c383a2c7"}' + headers: + apim-request-id: + - 3c2ce207-e693-45f7-8896-7708c8c68655 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '59' + x-request-id: + - 3c2ce207-e693-45f7-8896-7708c8c68655 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/bb3da8fb-929c-450f-b018-d22c59280d90 + response: + body: + string: '' + headers: + apim-request-id: + - 5cbffcef-920c-4c24-9f2e-bfeac456939e + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '94' + x-request-id: + - 5cbffcef-920c-4c24-9f2e-bfeac456939e + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4bfd3bf3-0c53-4503-9fbd-8bdee44f4c7f + response: + body: + string: '' + headers: + apim-request-id: + - a14532a9-0694-4a3e-bcd1-f07c2bc7b9e6 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '310' + x-request-id: + - a14532a9-0694-4a3e-bcd1-f07c2bc7b9e6 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml new file mode 100644 index 000000000000..55d2051d0d54 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_alert_direction_up.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "wholeseries8f3524fd", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '702' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 415ad344-f2af-4c55-87e5-a2bec32a5f68 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:52 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9eb6c9c5-9af4-4e9f-8520-e8b4bbf08f85 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '361' + x-request-id: + - 415ad344-f2af-4c55-87e5-a2bec32a5f68 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9eb6c9c5-9af4-4e9f-8520-e8b4bbf08f85 + response: + body: + string: "{\"dataFeedId\":\"9eb6c9c5-9af4-4e9f-8520-e8b4bbf08f85\",\"dataFeedName\":\"wholeseries8f3524fd\",\"metrics\":[{\"metricId\":\"89c8ed61-086b-46ae-9661-5ff8c8487dd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bf321f4e-b45a-48ed-937f-0892e0088cf4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:29:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - b6db32a6-e5bf-4c7a-a4ad-49e8f5f10b81 + content-length: + - '1376' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '138' + x-request-id: + - b6db32a6-e5bf-4c7a-a4ad-49e8f5f10b81 + status: + code: 200 + message: OK +- request: + body: '{"name": "wholeseries8f3524fd", "description": "testing", "metricId": "89c8ed61-086b-46ae-9661-5ff8c8487dd5", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - a330f8fd-0bcf-4a8d-ab39-ad0a5b842d1f + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:52 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8017d03d-3d1a-47a3-bf7d-48bf3accbd9a + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '81' + x-request-id: + - a330f8fd-0bcf-4a8d-ab39-ad0a5b842d1f + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8017d03d-3d1a-47a3-bf7d-48bf3accbd9a + response: + body: + string: '{"anomalyDetectionConfigurationId":"8017d03d-3d1a-47a3-bf7d-48bf3accbd9a","name":"wholeseries8f3524fd","description":"testing","metricId":"89c8ed61-086b-46ae-9661-5ff8c8487dd5","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - c0d37f1c-2598-4c08-bda7-d1e9b772f1de + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '69' + x-request-id: + - c0d37f1c-2598-4c08-bda7-d1e9b772f1de + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert8f3524fd", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "8017d03d-3d1a-47a3-bf7d-48bf3accbd9a", + "anomalyScopeType": "All", "valueFilter": {"upper": 5.0, "direction": "Up", + "metricId": "89c8ed61-086b-46ae-9661-5ff8c8487dd5"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '284' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 2232dc1d-c3f3-4c4d-a633-a2f2d90a8f2d + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:53 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/80e426d6-2c4f-4bad-a8de-919ee00b429b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '116' + x-request-id: + - 2232dc1d-c3f3-4c4d-a633-a2f2d90a8f2d + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/80e426d6-2c4f-4bad-a8de-919ee00b429b + response: + body: + string: '{"anomalyAlertingConfigurationId":"80e426d6-2c4f-4bad-a8de-919ee00b429b","name":"testalert8f3524fd","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"8017d03d-3d1a-47a3-bf7d-48bf3accbd9a","anomalyScopeType":"All","negationOperation":false,"valueFilter":{"upper":5.0,"direction":"Up","metricId":"89c8ed61-086b-46ae-9661-5ff8c8487dd5","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 38605574-2505-4e6f-aae7-953438a3a7b2 + content-length: + - '410' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '64' + x-request-id: + - 38605574-2505-4e6f-aae7-953438a3a7b2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/80e426d6-2c4f-4bad-a8de-919ee00b429b + response: + body: + string: '' + headers: + apim-request-id: + - 9e064243-ba2b-4b79-b806-55566afb77d2 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '112' + x-request-id: + - 9e064243-ba2b-4b79-b806-55566afb77d2 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/80e426d6-2c4f-4bad-a8de-919ee00b429b + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: 89297214-d8e3-41a9-a274-9857488e9f95"}' + headers: + apim-request-id: + - e8e7e56c-1171-4254-b5d4-65f2987e8afe + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '54' + x-request-id: + - e8e7e56c-1171-4254-b5d4-65f2987e8afe + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/8017d03d-3d1a-47a3-bf7d-48bf3accbd9a + response: + body: + string: '' + headers: + apim-request-id: + - 50f67908-54bd-4ce3-a2da-9db9ebce853f + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '91' + x-request-id: + - 50f67908-54bd-4ce3-a2da-9db9ebce853f + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/9eb6c9c5-9af4-4e9f-8520-e8b4bbf08f85 + response: + body: + string: '' + headers: + apim-request-id: + - b0379a85-aa19-467f-a2c8-74ee72f05bae + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '262' + x-request-id: + - b0379a85-aa19-467f-a2c8-74ee72f05bae + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_severity_condition.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_severity_condition.yaml new file mode 100644 index 000000000000..ad7c0b0e4c22 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_create_anomaly_alert_config_whole_series_severity_condition.yaml @@ -0,0 +1,385 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "topnup91772522", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 92a70a11-f112-4e49-8988-14b2ccc50874 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:56 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/88c0a1b0-630f-447b-8402-fb7cc2170417 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '610' + x-request-id: + - 92a70a11-f112-4e49-8988-14b2ccc50874 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/88c0a1b0-630f-447b-8402-fb7cc2170417 + response: + body: + string: "{\"dataFeedId\":\"88c0a1b0-630f-447b-8402-fb7cc2170417\",\"dataFeedName\":\"topnup91772522\",\"metrics\":[{\"metricId\":\"5fc3e3c9-629f-4fc3-aaa7-4f13043377b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d7f430eb-8dac-477d-b6f0-634fb57036f6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-11T23:29:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - f9093155-fe1e-41ef-ba86-6edc093e608d + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '120' + x-request-id: + - f9093155-fe1e-41ef-ba86-6edc093e608d + status: + code: 200 + message: OK +- request: + body: '{"name": "topnup91772522", "description": "testing", "metricId": "5fc3e3c9-629f-4fc3-aaa7-4f13043377b7", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 08764f13-497a-43a5-9a1d-4b47e3c58278 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:57 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ada5d6ab-bb0b-40a2-bb75-030872540716 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '76' + x-request-id: + - 08764f13-497a-43a5-9a1d-4b47e3c58278 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ada5d6ab-bb0b-40a2-bb75-030872540716 + response: + body: + string: '{"anomalyDetectionConfigurationId":"ada5d6ab-bb0b-40a2-bb75-030872540716","name":"topnup91772522","description":"testing","metricId":"5fc3e3c9-629f-4fc3-aaa7-4f13043377b7","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - ad221d68-ed48-41b3-b104-4f2495a8fc42 + content-length: + - '411' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - ad221d68-ed48-41b3-b104-4f2495a8fc42 + status: + code: 200 + message: OK +- request: + body: '{"name": "testalert91772522", "hookIds": [], "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "ada5d6ab-bb0b-40a2-bb75-030872540716", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '257' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 8eb2e32a-7b9c-4903-8c6d-5567e817a410 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:57 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e637c5a-4e91-476b-9cab-ce7796a07b68 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '96' + x-request-id: + - 8eb2e32a-7b9c-4903-8c6d-5567e817a410 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e637c5a-4e91-476b-9cab-ce7796a07b68 + response: + body: + string: '{"anomalyAlertingConfigurationId":"4e637c5a-4e91-476b-9cab-ce7796a07b68","name":"testalert91772522","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"ada5d6ab-bb0b-40a2-bb75-030872540716","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - c2d6b413-2779-4125-b8b4-14cbbb1558dc + content-length: + - '359' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '74' + x-request-id: + - c2d6b413-2779-4125-b8b4-14cbbb1558dc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e637c5a-4e91-476b-9cab-ce7796a07b68 + response: + body: + string: '' + headers: + apim-request-id: + - dda16618-4fe3-4ebb-8978-d51c788e6f61 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - dda16618-4fe3-4ebb-8978-d51c788e6f61 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4e637c5a-4e91-476b-9cab-ce7796a07b68 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyAlertingConfiguration. + TraceId: f0330599-0b93-49cc-a973-e96995f3ce83"}' + headers: + apim-request-id: + - 9b051ff1-3d40-488b-94c9-4de9a2cfc624 + content-length: + - '123' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 23:29:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '47' + x-request-id: + - 9b051ff1-3d40-488b-94c9-4de9a2cfc624 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ada5d6ab-bb0b-40a2-bb75-030872540716 + response: + body: + string: '' + headers: + apim-request-id: + - 6dccab5b-2bb7-45e0-b98a-97944e7a66be + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:59 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '77' + x-request-id: + - 6dccab5b-2bb7-45e0-b98a-97944e7a66be + 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: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/88c0a1b0-630f-447b-8402-fb7cc2170417 + response: + body: + string: '' + headers: + apim-request-id: + - 22334e0f-54d2-434e-9ab7-81c9824e1b5c + content-length: + - '0' + date: + - Fri, 11 Sep 2020 23:29:59 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '260' + x-request-id: + - 22334e0f-54d2-434e-9ab7-81c9824e1b5c + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_list_anomaly_alert_configs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_list_anomaly_alert_configs.yaml new file mode 100644 index 000000000000..4e28030f8803 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_list_anomaly_alert_configs.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/alert/anomaly/configurations + response: + body: + string: '{"value":[{"anomalyAlertingConfigurationId":"08318302-6006-4019-9afc-975bc63ee566","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"ce734b14-bf83-4871-97ee-60c273938ec3","name":"test_alert_configuration","description":"testing_alert_configuration_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7b75aa62-b97d-42d4-904b-afc131714c6b","name":"test_alert_configuration","description":"testing_alert_configuration_description","crossMetricsOperator":"XOR","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7f825107-f40c-44f7-af53-56192aa059b3","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"7546afba-01e5-49dc-952e-af32b08e75ac","name":"test_alert_configuration","description":"testing_alert_configuration_description","crossMetricsOperator":"XOR","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"0d1dfaf4-6012-4cfd-83e3-dd020f4692be","name":"test_alert_configuration","description":"updated_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false}]},{"anomalyAlertingConfigurationId":"ff3014a0-bbbb-41ec-a637-677e77b81299","name":"test_alert_setting","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Medium","maxAlertSeverity":"High"},"snoozeFilter":{"autoSnooze":0,"snoozeScope":"Series","onlyForSuccessive":true}}]},{"anomalyAlertingConfigurationId":"00674295-7529-42f2-b91c-942a36e69370","name":"test_alert_configuration","description":"testing_alert_configuration_description","hookIds":["e880ea6b-517e-43b7-a9ea-633583096be7"],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"snoozeFilter":{"autoSnooze":0,"snoozeScope":"Series","onlyForSuccessive":true}}]}]}' + headers: + apim-request-id: + - 0ac90e17-c8d7-4b85-96d0-f050e22c8c57 + content-length: + - '3473' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:44:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '214' + x-request-id: + - 0ac90e17-c8d7-4b85-96d0-f050e22c8c57 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_by_resetting_properties.yaml new file mode 100644 index 000000000000..e0e6ee203388 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_by_resetting_properties.yaml @@ -0,0 +1,360 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdate95b61f0e", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - f2452a11-6749-433d-8019-868439af6eff + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:30:26 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5289f85-ca65-4f2f-a7bb-1aef50f3679f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '474' + x-request-id: + - f2452a11-6749-433d-8019-868439af6eff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5289f85-ca65-4f2f-a7bb-1aef50f3679f + response: + body: + string: "{\"dataFeedId\":\"d5289f85-ca65-4f2f-a7bb-1aef50f3679f\",\"dataFeedName\":\"alertupdate95b61f0e\",\"metrics\":[{\"metricId\":\"5305e42f-79fe-4eeb-860f-0b67c308dd60\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dce8ca69-300e-4dca-8019-b838a3aa53ca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T19:30:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - d6fc3b78-336a-4d90-bcb1-3486760b91bd + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:30:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5256' + x-request-id: + - d6fc3b78-336a-4d90-bcb1-3486760b91bd + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdate95b61f0e", "description": "testing", "metricId": "5305e42f-79fe-4eeb-860f-0b67c308dd60", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 21274abc-b5da-43c2-9d28-d60e4ca3fcbd + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:30:32 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7ebc5555-56aa-4db5-9181-312357bb43cd + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - 21274abc-b5da-43c2-9d28-d60e4ca3fcbd + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/7ebc5555-56aa-4db5-9181-312357bb43cd + response: + body: + string: '{"anomalyDetectionConfigurationId":"7ebc5555-56aa-4db5-9181-312357bb43cd","name":"alertupdate95b61f0e","description":"testing","metricId":"5305e42f-79fe-4eeb-860f-0b67c308dd60","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 44b34ec4-17bf-473e-9534-8f4065fbfdd9 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:30:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '212' + x-request-id: + - 44b34ec4-17bf-473e-9534-8f4065fbfdd9 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdate95b61f0e", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "7ebc5555-56aa-4db5-9181-312357bb43cd", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "5305e42f-79fe-4eeb-860f-0b67c308dd60"}}, {"anomalyDetectionConfigurationId": + "7ebc5555-56aa-4db5-9181-312357bb43cd", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "7ebc5555-56aa-4db5-9181-312357bb43cd", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - f52b6895-247e-4d40-9db5-ab1f9bac7215 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:30:33 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/da8f7a99-435a-4ccd-a340-41b07e383fdd + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '164' + x-request-id: + - f52b6895-247e-4d40-9db5-ab1f9bac7215 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/da8f7a99-435a-4ccd-a340-41b07e383fdd + response: + body: + string: '{"anomalyAlertingConfigurationId":"da8f7a99-435a-4ccd-a340-41b07e383fdd","name":"alertupdate95b61f0e","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"7ebc5555-56aa-4db5-9181-312357bb43cd","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"5305e42f-79fe-4eeb-860f-0b67c308dd60","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"7ebc5555-56aa-4db5-9181-312357bb43cd","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"7ebc5555-56aa-4db5-9181-312357bb43cd","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - f0f0403a-7a37-4fad-ad98-819b7800931d + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:30:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '69' + x-request-id: + - f0f0403a-7a37-4fad-ad98-819b7800931d + status: + code: 200 + message: OK +- request: + body: '{"name": "reset", "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "7ebc5555-56aa-4db5-9181-312357bb43cd", "anomalyScopeType": "TopN", "topNAnomalyScope": + {"top": 5, "period": 10, "minTopCount": 9}}], "description": ""}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/da8f7a99-435a-4ccd-a340-41b07e383fdd + response: + body: + string: '' + headers: + apim-request-id: + - 55546e6e-9117-4e89-b32d-12f80abdf96c + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:30:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '117' + x-request-id: + - 55546e6e-9117-4e89-b32d-12f80abdf96c + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/da8f7a99-435a-4ccd-a340-41b07e383fdd + response: + body: + string: '{"anomalyAlertingConfigurationId":"da8f7a99-435a-4ccd-a340-41b07e383fdd","name":"reset","description":"","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"7ebc5555-56aa-4db5-9181-312357bb43cd","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9}}]}' + headers: + apim-request-id: + - bcd18642-4040-498e-aef5-4c1b7a5c4f7e + content-length: + - '335' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:30:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '81' + x-request-id: + - bcd18642-4040-498e-aef5-4c1b7a5c4f7e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5289f85-ca65-4f2f-a7bb-1aef50f3679f + response: + body: + string: '' + headers: + apim-request-id: + - dbd8b030-b3b0-492a-be7b-ea1b2004f4ec + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:32:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '671' + x-request-id: + - dbd8b030-b3b0-492a-be7b-ea1b2004f4ec + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_kwargs.yaml new file mode 100644 index 000000000000..c028c2b0f9fb --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_kwargs.yaml @@ -0,0 +1,371 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdatefd741cd2", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - f11c412c-0b07-40bc-8bb1-d3d9ed5ba041 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:20:43 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3accdb16-d0ca-4036-ac0b-21f171fe2c59 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '1947' + x-request-id: + - f11c412c-0b07-40bc-8bb1-d3d9ed5ba041 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3accdb16-d0ca-4036-ac0b-21f171fe2c59 + response: + body: + string: "{\"dataFeedId\":\"3accdb16-d0ca-4036-ac0b-21f171fe2c59\",\"dataFeedName\":\"alertupdatefd741cd2\",\"metrics\":[{\"metricId\":\"c5550c58-3e42-4569-9ace-a897ce4d5b54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce495405-074e-43f6-b6d5-3be37b7f5aff\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T19:20:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 46ce9795-aaed-4288-a35d-8caf2d038241 + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:20:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '214' + x-request-id: + - 46ce9795-aaed-4288-a35d-8caf2d038241 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdatefd741cd2", "description": "testing", "metricId": "c5550c58-3e42-4569-9ace-a897ce4d5b54", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 492ff9ec-7f54-4fcf-95c3-9ac21c42bfa6 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:20:48 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d79884a1-eb9d-4bb7-be55-02c89a89f45c + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5154' + x-request-id: + - 492ff9ec-7f54-4fcf-95c3-9ac21c42bfa6 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d79884a1-eb9d-4bb7-be55-02c89a89f45c + response: + body: + string: '{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","name":"alertupdatefd741cd2","description":"testing","metricId":"c5550c58-3e42-4569-9ace-a897ce4d5b54","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 9c9807b6-c1ce-40e0-aac6-1cacd5052451 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:20:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - 9c9807b6-c1ce-40e0-aac6-1cacd5052451 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdatefd741cd2", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "d79884a1-eb9d-4bb7-be55-02c89a89f45c", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "c5550c58-3e42-4569-9ace-a897ce4d5b54"}}, {"anomalyDetectionConfigurationId": + "d79884a1-eb9d-4bb7-be55-02c89a89f45c", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "d79884a1-eb9d-4bb7-be55-02c89a89f45c", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 5e70505b-fbbc-4cae-9a9d-6fe3edddddf8 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:20:49 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a298cffb-82bb-41ba-a09b-b4456e05a602 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '182' + x-request-id: + - 5e70505b-fbbc-4cae-9a9d-6fe3edddddf8 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a298cffb-82bb-41ba-a09b-b4456e05a602 + response: + body: + string: '{"anomalyAlertingConfigurationId":"a298cffb-82bb-41ba-a09b-b4456e05a602","name":"alertupdatefd741cd2","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"c5550c58-3e42-4569-9ace-a897ce4d5b54","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - d81bb344-d7d6-4757-a3d5-18392513a5c9 + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:20:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - d81bb344-d7d6-4757-a3d5-18392513a5c9 + status: + code: 200 + message: OK +- request: + body: '{"name": "update", "crossMetricsOperator": "OR", "metricAlertingConfigurations": + [{"anomalyDetectionConfigurationId": "d79884a1-eb9d-4bb7-be55-02c89a89f45c", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}, + "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "c5550c58-3e42-4569-9ace-a897ce4d5b54"}}, {"anomalyDetectionConfigurationId": + "d79884a1-eb9d-4bb7-be55-02c89a89f45c", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "d79884a1-eb9d-4bb7-be55-02c89a89f45c", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both"}}], + "description": "update description"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1039' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a298cffb-82bb-41ba-a09b-b4456e05a602 + response: + body: + string: '' + headers: + apim-request-id: + - ea034fa7-2da9-40c3-a93f-5c5bbc343e78 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:20:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '189' + x-request-id: + - ea034fa7-2da9-40c3-a93f-5c5bbc343e78 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a298cffb-82bb-41ba-a09b-b4456e05a602 + response: + body: + string: '{"anomalyAlertingConfigurationId":"a298cffb-82bb-41ba-a09b-b4456e05a602","name":"update","description":"update + description","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"c5550c58-3e42-4569-9ace-a897ce4d5b54","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"d79884a1-eb9d-4bb7-be55-02c89a89f45c","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 9297f87a-2829-4886-8f82-801e0f99b6ad + content-length: + - '1213' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:20:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '78' + x-request-id: + - 9297f87a-2829-4886-8f82-801e0f99b6ad + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3accdb16-d0ca-4036-ac0b-21f171fe2c59 + response: + body: + string: '' + headers: + apim-request-id: + - 5a7fd539-a936-431f-8d35-bda589a18140 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:20:50 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '291' + x-request-id: + - 5a7fd539-a936-431f-8d35-bda589a18140 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model.yaml new file mode 100644 index 000000000000..bf80633eefbe --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model.yaml @@ -0,0 +1,372 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdatee0801c54", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5518b5fd-15be-4f1e-a769-3db0640a6b09 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:06:39 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7f3c485f-bcc3-4533-a584-c8f8a7984f0a + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '565' + x-request-id: + - 5518b5fd-15be-4f1e-a769-3db0640a6b09 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7f3c485f-bcc3-4533-a584-c8f8a7984f0a + response: + body: + string: "{\"dataFeedId\":\"7f3c485f-bcc3-4533-a584-c8f8a7984f0a\",\"dataFeedName\":\"alertupdatee0801c54\",\"metrics\":[{\"metricId\":\"ac329059-491f-448b-aeb8-57c1cc9cd2be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"318e852b-99fc-4f8e-ae89-c086b4c2b542\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T19:06:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - a22cba08-4950-4846-a915-e07585ef51c8 + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:06:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '309' + x-request-id: + - a22cba08-4950-4846-a915-e07585ef51c8 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdatee0801c54", "description": "testing", "metricId": "ac329059-491f-448b-aeb8-57c1cc9cd2be", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - e32b8dbc-bef2-4a5f-81c9-13f19b08a8db + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:06:47 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/04e6402c-87b2-47b4-bdef-e3ff6aed3030 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7213' + x-request-id: + - e32b8dbc-bef2-4a5f-81c9-13f19b08a8db + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/04e6402c-87b2-47b4-bdef-e3ff6aed3030 + response: + body: + string: '{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","name":"alertupdatee0801c54","description":"testing","metricId":"ac329059-491f-448b-aeb8-57c1cc9cd2be","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 2a028231-dc71-4804-81cf-654ca7bf5afc + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:06:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '72' + x-request-id: + - 2a028231-dc71-4804-81cf-654ca7bf5afc + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdatee0801c54", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "04e6402c-87b2-47b4-bdef-e3ff6aed3030", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "ac329059-491f-448b-aeb8-57c1cc9cd2be"}}, {"anomalyDetectionConfigurationId": + "04e6402c-87b2-47b4-bdef-e3ff6aed3030", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "04e6402c-87b2-47b4-bdef-e3ff6aed3030", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 3c9a2654-7bd9-4259-9709-c72f7daec183 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:06:48 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4fd12908-2cc9-4969-928b-08fa5051ad34 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '243' + x-request-id: + - 3c9a2654-7bd9-4259-9709-c72f7daec183 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4fd12908-2cc9-4969-928b-08fa5051ad34 + response: + body: + string: '{"anomalyAlertingConfigurationId":"4fd12908-2cc9-4969-928b-08fa5051ad34","name":"alertupdatee0801c54","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"ac329059-491f-448b-aeb8-57c1cc9cd2be","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - e39c4a79-8996-474e-9ea9-1dad4462528d + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:06:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '75' + x-request-id: + - e39c4a79-8996-474e-9ea9-1dad4462528d + status: + code: 200 + message: OK +- request: + body: '{"name": "update", "description": "update description", "crossMetricsOperator": + "OR", "hookIds": [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "04e6402c-87b2-47b4-bdef-e3ff6aed3030", "anomalyScopeType": "TopN", "negationOperation": + false, "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": 9}, "severityFilter": + {"minAlertSeverity": "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": + 1.0, "upper": 5.0, "direction": "Both", "metricId": "ac329059-491f-448b-aeb8-57c1cc9cd2be", + "triggerForMissing": false}}, {"anomalyDetectionConfigurationId": "04e6402c-87b2-47b4-bdef-e3ff6aed3030", + "anomalyScopeType": "Dimension", "negationOperation": false, "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "04e6402c-87b2-47b4-bdef-e3ff6aed3030", + "anomalyScopeType": "All", "negationOperation": false, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1166' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4fd12908-2cc9-4969-928b-08fa5051ad34 + response: + body: + string: '' + headers: + apim-request-id: + - 7a2a6e70-e496-48cd-bfbf-db7a69db12b7 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:07:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '212' + x-request-id: + - 7a2a6e70-e496-48cd-bfbf-db7a69db12b7 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/4fd12908-2cc9-4969-928b-08fa5051ad34 + response: + body: + string: '{"anomalyAlertingConfigurationId":"4fd12908-2cc9-4969-928b-08fa5051ad34","name":"update","description":"update + description","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"ac329059-491f-448b-aeb8-57c1cc9cd2be","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"04e6402c-87b2-47b4-bdef-e3ff6aed3030","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: + - 523c0884-be3e-4f83-926c-8ebf7a8b72a2 + content-length: + - '1213' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:07:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '79' + x-request-id: + - 523c0884-be3e-4f83-926c-8ebf7a8b72a2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7f3c485f-bcc3-4533-a584-c8f8a7984f0a + response: + body: + string: '' + headers: + apim-request-id: + - e37b6940-1e94-4668-afef-416bab5d1ef6 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:10:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '743' + x-request-id: + - e37b6940-1e94-4668-afef-416bab5d1ef6 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..b17044864ee9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_anomaly_alert_config.test_update_anomaly_alert_config_with_model_and_kwargs.yaml @@ -0,0 +1,369 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "alertupdate32a020d4", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '774' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5b32fa46-b9ed-47e1-944c-a57c172e1178 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:22:24 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/440aafd6-1841-4705-a786-73b7c7834b71 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '1290' + x-request-id: + - 5b32fa46-b9ed-47e1-944c-a57c172e1178 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/440aafd6-1841-4705-a786-73b7c7834b71 + response: + body: + string: "{\"dataFeedId\":\"440aafd6-1841-4705-a786-73b7c7834b71\",\"dataFeedName\":\"alertupdate32a020d4\",\"metrics\":[{\"metricId\":\"9a558ae1-b035-4469-8a95-bdc71e123dae\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d06019ae-c529-4c94-9357-d73e709a9f5d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T19:22:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 88cce88a-49e1-4e08-a005-e9e86cfc2ba5 + content-length: + - '1492' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:22:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '136' + x-request-id: + - 88cce88a-49e1-4e08-a005-e9e86cfc2ba5 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdate32a020d4", "description": "testing", "metricId": "9a558ae1-b035-4469-8a95-bdc71e123dae", + "wholeMetricConfiguration": {"smartDetectionCondition": {"sensitivity": 50.0, + "anomalyDetectorDirection": "Both", "suppressCondition": {"minNumber": 50, "minRatio": + 50.0}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '283' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - e6570499-0018-498c-b63c-918a88fbcfa2 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:22:25 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e73c31b3-b8ea-405e-8313-848e692698d7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '100' + x-request-id: + - e6570499-0018-498c-b63c-918a88fbcfa2 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e73c31b3-b8ea-405e-8313-848e692698d7 + response: + body: + string: '{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","name":"alertupdate32a020d4","description":"testing","metricId":"9a558ae1-b035-4469-8a95-bdc71e123dae","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - c08bc78a-8e91-4144-bca0-9f0d1428cce4 + content-length: + - '416' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:22:25 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '72' + x-request-id: + - c08bc78a-8e91-4144-bca0-9f0d1428cce4 + status: + code: 200 + message: OK +- request: + body: '{"name": "alertupdate32a020d4", "crossMetricsOperator": "AND", "hookIds": + [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": "e73c31b3-b8ea-405e-8313-848e692698d7", + "anomalyScopeType": "TopN", "topNAnomalyScope": {"top": 5, "period": 10, "minTopCount": + 9}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both", "metricId": + "9a558ae1-b035-4469-8a95-bdc71e123dae"}}, {"anomalyDetectionConfigurationId": + "e73c31b3-b8ea-405e-8313-848e692698d7", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}}, {"anomalyDetectionConfigurationId": "e73c31b3-b8ea-405e-8313-848e692698d7", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '824' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 16f75f86-fa69-4435-8fd5-d3bb5633c95a + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:22:25 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff88739f-9653-42a1-adb7-e8e495454ce5 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '173' + x-request-id: + - 16f75f86-fa69-4435-8fd5-d3bb5633c95a + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff88739f-9653-42a1-adb7-e8e495454ce5 + response: + body: + string: '{"anomalyAlertingConfigurationId":"ff88739f-9653-42a1-adb7-e8e495454ce5","name":"alertupdate32a020d4","description":"","crossMetricsOperator":"AND","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"9a558ae1-b035-4469-8a95-bdc71e123dae","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}},{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"}}]}' + headers: + apim-request-id: + - 9f4d4b42-92df-4812-a7fe-e760322fe541 + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:22:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '74' + x-request-id: + - 9f4d4b42-92df-4812-a7fe-e760322fe541 + status: + code: 200 + message: OK +- request: + body: '{"name": "updateMe", "description": "updateMe", "crossMetricsOperator": + "OR", "hookIds": [], "metricAlertingConfigurations": [{"anomalyDetectionConfigurationId": + "e73c31b3-b8ea-405e-8313-848e692698d7", "anomalyScopeType": "TopN", "topNAnomalyScope": + {"top": 5, "period": 10, "minTopCount": 9}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both", "metricId": "9a558ae1-b035-4469-8a95-bdc71e123dae"}}, {"anomalyDetectionConfigurationId": + "e73c31b3-b8ea-405e-8313-848e692698d7", "anomalyScopeType": "Dimension", "dimensionAnomalyScope": + {"dimension": {"city": "Shenzhen"}}, "severityFilter": {"minAlertSeverity": + "Low", "maxAlertSeverity": "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, + "direction": "Both"}}, {"anomalyDetectionConfigurationId": "e73c31b3-b8ea-405e-8313-848e692698d7", + "anomalyScopeType": "All", "severityFilter": {"minAlertSeverity": "Low", "maxAlertSeverity": + "High"}, "valueFilter": {"lower": 1.0, "upper": 5.0, "direction": "Both"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1046' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff88739f-9653-42a1-adb7-e8e495454ce5 + response: + body: + string: '' + headers: + apim-request-id: + - 634e4774-b3e0-43d0-87b4-6bea18f04f9a + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:22:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '200' + x-request-id: + - 634e4774-b3e0-43d0-87b4-6bea18f04f9a + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/ff88739f-9653-42a1-adb7-e8e495454ce5 + response: + body: + string: '{"anomalyAlertingConfigurationId":"ff88739f-9653-42a1-adb7-e8e495454ce5","name":"updateMe","description":"updateMe","crossMetricsOperator":"OR","hookIds":[],"metricAlertingConfigurations":[{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"TopN","negationOperation":false,"topNAnomalyScope":{"top":5,"period":10,"minTopCount":9},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","metricId":"9a558ae1-b035-4469-8a95-bdc71e123dae","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"Dimension","negationOperation":false,"dimensionAnomalyScope":{"dimension":{"city":"Shenzhen"}},"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}},{"anomalyDetectionConfigurationId":"e73c31b3-b8ea-405e-8313-848e692698d7","anomalyScopeType":"All","negationOperation":false,"severityFilter":{"minAlertSeverity":"Low","maxAlertSeverity":"High"},"valueFilter":{"lower":1.0,"upper":5.0,"direction":"Both","triggerForMissing":false}}]}' + headers: + apim-request-id: + - d4c5aa90-108b-449b-8cf5-76c26608e5b0 + content-length: + - '1205' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 19:22:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '78' + x-request-id: + - d4c5aa90-108b-449b-8cf5-76c26608e5b0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/440aafd6-1841-4705-a786-73b7c7834b71 + response: + body: + string: '' + headers: + apim-request-id: + - 58246b15-1b79-47ab-bf48-c6f36b043681 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 19:22:27 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '288' + x-request-id: + - 58246b15-1b79-47ab-bf48-c6f36b043681 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_get_data_feed_ingestion_progress.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_get_data_feed_ingestion_progress.yaml new file mode 100644 index 000000000000..8164e489460c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_get_data_feed_ingestion_progress.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionProgress + response: + body: + string: '{"latestSuccessTimestamp":"2020-09-19T00:00:00Z","latestActiveTimestamp":"2020-09-21T00:00:00Z"}' + headers: + apim-request-id: + - b23f1d1a-ba0e-435a-8b47-5fa1676f99ff + content-length: + - '96' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '392' + x-request-id: + - b23f1d1a-ba0e-435a-8b47-5fa1676f99ff + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status.yaml new file mode 100644 index 000000000000..f7879456090e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status.yaml @@ -0,0 +1,42 @@ +interactions: +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-15T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-14T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-13T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-12T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-11T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"Succeeded","message":""}],"@nextLink":null}' + headers: + apim-request-id: + - 5a263d7f-db65-4910-9211-c9fc565dade8 + content-length: + - '2726' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '186' + x-request-id: + - 5a263d7f-db65-4910-9211-c9fc565dade8 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status_with_skip.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status_with_skip.yaml new file mode 100644 index 000000000000..46cefab42f73 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_list_data_feed_ingestion_status_with_skip.yaml @@ -0,0 +1,82 @@ +interactions: +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-15T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-14T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-13T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-12T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-11T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"Succeeded","message":""}],"@nextLink":null}' + headers: + apim-request-id: + - 84eff031-0f05-410b-813d-c8cdcccef3c2 + content-length: + - '2726' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '178' + x-request-id: + - 84eff031-0f05-410b-813d-c8cdcccef3c2 + status: + code: 200 + message: OK +- request: + body: '{"startTime": "2020-08-09T00:00:00.000Z", "endTime": "2020-09-16T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionStatus/query?$skip=5 + response: + body: + string: '{"value":[{"timestamp":"2020-09-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-09T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-08T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-07T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-06T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-05T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-04T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-03T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-02T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-09-01T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-31T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-30T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-29T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-28T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-27T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-26T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-25T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-24T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-23T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-22T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-21T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-20T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-19T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-18T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-17T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-16T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-15T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-14T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-13T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-12T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-11T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-10T00:00:00Z","status":"Succeeded","message":""},{"timestamp":"2020-08-09T00:00:00Z","status":"Succeeded","message":""}],"@nextLink":null}' + headers: + apim-request-id: + - 8242c427-b4c1-44da-9ada-63f25a4052d5 + content-length: + - '2371' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '178' + x-request-id: + - 8242c427-b4c1-44da-9ada-63f25a4052d5 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_refresh_data_feed_ingestion.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_refresh_data_feed_ingestion.yaml new file mode 100644 index 000000000000..727f594620ef --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feed_ingestion.test_refresh_data_feed_ingestion.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"startTime": "2019-10-01T00:00:00.000Z", "endTime": "2020-10-03T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/data_feed_id/ingestionProgress/reset + response: + body: + string: '' + headers: + apim-request-id: + - 10de6362-b67b-4124-b401-93276f1d491d + content-length: + - '0' + date: + - Tue, 22 Sep 2020 01:43:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '225' + x-request-id: + - 10de6362-b67b-4124-b401-93276f1d491d + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server.yaml new file mode 100644 index 000000000000..214373ccb5db --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server.yaml @@ -0,0 +1,168 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeed3c5020f6", + "dataFeedDescription": "my first data feed", "granularityName": "Daily", "metrics": + [{"metricName": "cost", "metricDisplayName": "display cost", "metricDescription": + "the cost"}, {"metricName": "revenue", "metricDisplayName": "display revenue", + "metricDescription": "the revenue"}], "dimension": [{"dimensionName": "category", + "dimensionDisplayName": "display category"}, {"dimensionName": "city", "dimensionDisplayName": + "display city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1304' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5dae569e-a40a-4b48-88b7-6849a25606f6 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:32:59 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1cc74792-f256-4ebf-aa76-5be8053de62a + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '991' + x-request-id: + - 5dae569e-a40a-4b48-88b7-6849a25606f6 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1cc74792-f256-4ebf-aa76-5be8053de62a + response: + body: + string: "{\"dataFeedId\":\"1cc74792-f256-4ebf-aa76-5be8053de62a\",\"dataFeedName\":\"testfeed3c5020f6\",\"metrics\":[{\"metricId\":\"f82c66ec-f96f-422f-88e3-ea76c3283f79\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"7779c555-89e7-402f-af8c-8b86b679068e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 7e2c6956-6b68-4bf9-943e-43d68c641fb2 + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '127' + x-request-id: + - 7e2c6956-6b68-4bf9-943e-43d68c641fb2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1cc74792-f256-4ebf-aa76-5be8053de62a + response: + body: + string: '' + headers: + apim-request-id: + - ff82fa3e-5454-4847-9ef0-cc7b7a72c7c2 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '270' + x-request-id: + - ff82fa3e-5454-4847-9ef0-cc7b7a72c7c2 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1cc74792-f256-4ebf-aa76-5be8053de62a + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"datafeedId is invalid."}' + headers: + apim-request-id: + - f6f64962-98f2-40af-915a-b65cf9204b3d + content-length: + - '69' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '36' + x-request-id: + - f6f64962-98f2-40af-915a-b65cf9204b3d + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server_with_custom_values.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server_with_custom_values.yaml new file mode 100644 index 000000000000..83ea35c2f395 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_from_sql_server_with_custom_values.yaml @@ -0,0 +1,169 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeedfe7728fa", + "dataFeedDescription": "my first data feed", "granularityName": "Custom", "granularityAmount": + 20, "metrics": [{"metricName": "cost", "metricDisplayName": "display cost", + "metricDescription": "the cost"}, {"metricName": "revenue", "metricDisplayName": + "display revenue", "metricDescription": "the revenue"}], "dimension": [{"dimensionName": + "category", "dimensionDisplayName": "display category"}, {"dimensionName": "city", + "dimensionDisplayName": "display city"}], "timestampColumn": "Timestamp", "dataStartFrom": + "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": -1, "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "needRollup": + "AlreadyRollup", "rollUpMethod": "Sum", "allUpIdentification": "sumrollup", + "fillMissingPointType": "CustomValue", "fillMissingPointValue": 10.0, "viewMode": + "Private", "admins": ["yournamehere@microsoft.com"], "viewers": ["viewers"], + "actionLinkTemplate": "action link template", "dataSourceParameter": {"connectionString": + "connectionstring", "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1400' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - c1df1932-df45-49ef-99ea-38f4a8d97a30 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:02 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7fb88b3f-3f2d-43f8-bf92-7e48bf87a624 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '369' + x-request-id: + - c1df1932-df45-49ef-99ea-38f4a8d97a30 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7fb88b3f-3f2d-43f8-bf92-7e48bf87a624 + response: + body: + string: "{\"dataFeedId\":\"7fb88b3f-3f2d-43f8-bf92-7e48bf87a624\",\"dataFeedName\":\"testfeedfe7728fa\",\"metrics\":[{\"metricId\":\"f5f63159-b63d-4a34-9b16-833091e69af1\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"784438e5-ed0b-4477-bd15-12d011eccc35\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Custom\",\"granularityAmount\":20,\"allUpIdentification\":\"sumrollup\",\"needRollup\":\"AlreadyRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":10.0,\"rollUpMethod\":\"Sum\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - aafbda54-2b6e-4d70-93a0-4bc4d0c2c623 + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '124' + x-request-id: + - aafbda54-2b6e-4d70-93a0-4bc4d0c2c623 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7fb88b3f-3f2d-43f8-bf92-7e48bf87a624 + response: + body: + string: '' + headers: + apim-request-id: + - cbdc696e-0804-4390-a7e5-0069d70208d3 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '260' + x-request-id: + - cbdc696e-0804-4390-a7e5-0069d70208d3 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7fb88b3f-3f2d-43f8-bf92-7e48bf87a624 + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"datafeedId is invalid."}' + headers: + apim-request-id: + - f2fed4e4-eb24-4379-b78f-e6268aa30226 + content-length: + - '69' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '40' + x-request-id: + - f2fed4e4-eb24-4379-b78f-e6268aa30226 + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_application_insights.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_application_insights.yaml new file mode 100644 index 000000000000..73ec6bb4b3c8 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_application_insights.yaml @@ -0,0 +1,125 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureApplicationInsights", "dataFeedName": "applicationinsights2d9119a3", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2020-07-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"azureCloud": "Azure", "applicationId": "3706fe8b-98f1-47c7-bf69-b73b6e53274d", + "apiKey": "connectionstring", "query": "let gran=60m; let starttime=datetime(@StartTime); + let endtime=starttime + gran; requests |\\u202fwhere\\u202ftimestamp\\u202f>=\\u202fstarttime\\u202fand\\u202ftimestamp\\u202f<\\u202fendtime + |\\u202fsummarize\\u202frequest_count\\u202f=\\u202fcount(),\\u202fduration_avg_ms\\u202f=\\u202favg(duration),\\u202fduration_95th_ms\\u202f=\\u202fpercentile(duration,\\u202f95),\\u202fduration_max_ms\\u202f=\\u202fmax(duration)\\u202fby\\u202fresultCode"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1012' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 66588659-d8af-42a4-aea5-70a7bfec0c23 + content-length: + - '0' + date: + - Tue, 15 Sep 2020 16:05:35 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6172f626-946d-4457-b425-fbcfdcda9f79 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5752' + x-request-id: + - 66588659-d8af-42a4-aea5-70a7bfec0c23 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6172f626-946d-4457-b425-fbcfdcda9f79 + response: + body: + string: "{\"dataFeedId\":\"6172f626-946d-4457-b425-fbcfdcda9f79\",\"dataFeedName\":\"applicationinsights2d9119a3\",\"metrics\":[{\"metricId\":\"e4a9137a-d1b4-4588-bee6-fa5e63433547\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a30f71ac-e17c-4f0b-ae3d-b36c989e51bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-07-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-15T16:05:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"apiKey\":\"connectionstring\",\"query\":\"let + gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; + requests |\u202Fwhere\u202Ftimestamp\u202F>=\u202Fstarttime\u202Fand\u202Ftimestamp\u202F<\u202Fendtime + |\u202Fsummarize\u202Frequest_count\u202F=\u202Fcount(),\u202Fduration_avg_ms\u202F=\u202Favg(duration),\u202Fduration_95th_ms\u202F=\u202Fpercentile(duration,\u202F95),\u202Fduration_max_ms\u202F=\u202Fmax(duration)\u202Fby\u202FresultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"3706fe8b-98f1-47c7-bf69-b73b6e53274d\"}}" + headers: + apim-request-id: + - c46b4522-8e76-444e-a412-8156710e1929 + content-length: + - '1675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 15 Sep 2020 16:05:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '298' + x-request-id: + - c46b4522-8e76-444e-a412-8156710e1929 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6172f626-946d-4457-b425-fbcfdcda9f79 + response: + body: + string: '' + headers: + apim-request-id: + - cc02cfe4-271b-44f7-9143-97d6ea2b5a96 + content-length: + - '0' + date: + - Tue, 15 Sep 2020 16:05:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5494' + x-request-id: + - cc02cfe4-271b-44f7-9143-97d6ea2b5a96 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_blob.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_blob.yaml new file mode 100644 index 000000000000..b4312459dce3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_blob.yaml @@ -0,0 +1,120 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureBlob", "dataFeedName": "blobfeed3c7420dd", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "container": + "adsample", "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '899' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 73e5632c-6eec-4c86-8851-7bdaa54e6f3c + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:06 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ca07eb60-3f35-4bb6-a9c2-3f4f0451c0bd + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '357' + x-request-id: + - 73e5632c-6eec-4c86-8851-7bdaa54e6f3c + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ca07eb60-3f35-4bb6-a9c2-3f4f0451c0bd + response: + body: + string: '{"dataFeedId":"ca07eb60-3f35-4bb6-a9c2-3f4f0451c0bd","dataFeedName":"blobfeed3c7420dd","metrics":[{"metricId":"e827d1d0-9c3f-4e11-80d0-45c00c81aa12","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"601da17c-218b-40d9-9bdb-f411f6cc3875","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:07Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}}' + headers: + apim-request-id: + - aa9f302d-d686-4f0c-af07-155159d54f90 + content-length: + - '1636' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '126' + x-request-id: + - aa9f302d-d686-4f0c-af07-155159d54f90 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ca07eb60-3f35-4bb6-a9c2-3f4f0451c0bd + response: + body: + string: '' + headers: + apim-request-id: + - 635de48b-f847-4b9e-b986-11f02aa70161 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '268' + x-request-id: + - 635de48b-f847-4b9e-b986-11f02aa70161 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_cosmos_db.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_cosmos_db.yaml new file mode 100644 index 000000000000..52332e1c1a48 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_cosmos_db.yaml @@ -0,0 +1,122 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureCosmosDB", "dataFeedName": "cosmosfeede78222f7", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "sqlQuery": + "\''SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < + @EndTime\''", "database": "adsample", "collectionId": "adsample"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '754' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 937edb67-65ef-4427-96ed-abc7608ee60b + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:09 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91febd65-866d-4d2f-923a-a6a283c70fe1 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '316' + x-request-id: + - 937edb67-65ef-4427-96ed-abc7608ee60b + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91febd65-866d-4d2f-923a-a6a283c70fe1 + response: + body: + string: '{"dataFeedId":"91febd65-866d-4d2f-923a-a6a283c70fe1","dataFeedName":"cosmosfeede78222f7","metrics":[{"metricId":"8dabeb4c-8fc8-4a03-9016-d9390faff408","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"c538a7cb-9495-4c87-9265-0757100527fb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureCosmosDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:09Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","database":"adsample","sqlQuery":"''SELECT + * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime''","collectionId":"adsample"}}' + headers: + apim-request-id: + - 2fb7655d-2dea-4dd6-9127-64f46b63d6bd + content-length: + - '1489' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '121' + x-request-id: + - 2fb7655d-2dea-4dd6-9127-64f46b63d6bd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91febd65-866d-4d2f-923a-a6a283c70fe1 + response: + body: + string: '' + headers: + apim-request-id: + - 540953cc-94ed-4cad-9e28-e07111d1fd4c + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '266' + x-request-id: + - 540953cc-94ed-4cad-9e28-e07111d1fd4c + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_table.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_table.yaml new file mode 100644 index 000000000000..96cb23495531 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_azure_table.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureTable", "dataFeedName": "tablefeed5dd12146", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "table": + "adsample", "query": "PartitionKey ge \''@StartTime\'' and PartitionKey lt \''@EndTime\''"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '716' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 63c4b880-0ed8-4d3c-b26b-48dd9aa81e59 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:11 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3b635a8-e283-4bdf-b065-391e89d0eaba + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '359' + x-request-id: + - 63c4b880-0ed8-4d3c-b26b-48dd9aa81e59 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3b635a8-e283-4bdf-b065-391e89d0eaba + response: + body: + string: '{"dataFeedId":"d3b635a8-e283-4bdf-b065-391e89d0eaba","dataFeedName":"tablefeed5dd12146","metrics":[{"metricId":"79b63694-6424-48a6-a422-c27f8503cc6f","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"5cd221e8-9778-4495-a88e-b3a6bcbe945c","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"AzureTable","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:11Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","query":"PartitionKey + ge ''@StartTime'' and PartitionKey lt ''@EndTime''","table":"adsample"}}' + headers: + apim-request-id: + - 03cf8915-2627-4ffa-9dd6-638072b3e06d + content-length: + - '1453' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '127' + x-request-id: + - 03cf8915-2627-4ffa-9dd6-638072b3e06d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d3b635a8-e283-4bdf-b065-391e89d0eaba + response: + body: + string: '' + headers: + apim-request-id: + - e4c123e0-0ba9-4c59-bd4e-5c9d8479126f + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '254' + x-request-id: + - e4c123e0-0ba9-4c59-bd4e-5c9d8479126f + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_data_explorer.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_data_explorer.yaml new file mode 100644 index 000000000000..0f92867aa6dd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_data_explorer.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "AzureDataExplorer", "dataFeedName": "azuredataexplorera0b42222", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "let StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + + 1d; adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '893' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - c9d37b50-d6fa-4b6d-bfcf-49b5b4d8b38d + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:13 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a18336dd-8394-4fad-836f-7eea8e8075ad + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '484' + x-request-id: + - c9d37b50-d6fa-4b6d-bfcf-49b5b4d8b38d + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a18336dd-8394-4fad-836f-7eea8e8075ad + response: + body: + string: '{"dataFeedId":"a18336dd-8394-4fad-836f-7eea8e8075ad","dataFeedName":"azuredataexplorera0b42222","metrics":[{"metricId":"462e75ab-1bd9-4d0f-8462-9756b897476c","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"884a23e9-95c2-4cc9-a795-84a00d6a4051","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"AzureDataExplorer","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:13Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","query":"let + StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + 1d; + adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime"}}' + headers: + apim-request-id: + - 1036be51-a46b-45cc-ad14-b9c320465287 + content-length: + - '1632' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '129' + x-request-id: + - 1036be51-a46b-45cc-ad14-b9c320465287 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a18336dd-8394-4fad-836f-7eea8e8075ad + response: + body: + string: '' + headers: + apim-request-id: + - 3ee46462-9d55-415a-ae05-474f111448aa + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '274' + x-request-id: + - 3ee46462-9d55-415a-ae05-474f111448aa + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_datalake.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_datalake.yaml new file mode 100644 index 000000000000..548981f8a5d1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_datalake.yaml @@ -0,0 +1,122 @@ +interactions: +- request: + body: '{"dataSourceType": "AzureDataLakeStorageGen2", "dataFeedName": "datalake1595147e", + "granularityName": "Daily", "metrics": [{"metricName": "cost", "metricDisplayName": + "Cost"}, {"metricName": "revenue", "metricDisplayName": "Revenue"}], "dimension": + [{"dimensionName": "category", "dimensionDisplayName": "Category"}, {"dimensionName": + "city", "dimensionDisplayName": "City"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", + "startOffsetInSeconds": 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": {"accountName": "adsampledatalakegen2", + "accountKey": "connectionstring", "fileSystemName": "adsample", "directoryTemplate": + "%Y/%m/%d", "fileTemplate": "adsample.json"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '800' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - b17cd23f-1987-464f-b2fe-034f5936af62 + content-length: + - '0' + date: + - Fri, 25 Sep 2020 17:44:11 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/af6786b1-726f-48e4-b841-75aae6bc6f4f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '402' + x-request-id: + - b17cd23f-1987-464f-b2fe-034f5936af62 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/af6786b1-726f-48e4-b841-75aae6bc6f4f + response: + body: + string: '{"dataFeedId":"af6786b1-726f-48e4-b841-75aae6bc6f4f","dataFeedName":"datalake1595147e","metrics":[{"metricId":"294a3324-62ce-4c13-8c83-fa99932c3a86","metricName":"cost","metricDisplayName":"Cost","metricDescription":""},{"metricId":"a941518c-c225-4d8d-a217-345034aad4d6","metricName":"revenue","metricDisplayName":"Revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"Category"},{"dimensionName":"city","dimensionDisplayName":"City"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"AzureDataLakeStorageGen2","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-25T17:44:12Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"fileTemplate":"adsample.json","accountName":"adsampledatalakegen2","directoryTemplate":"%Y/%m/%d","fileSystemName":"adsample","accountKey":"connectionstring"}}' + headers: + apim-request-id: + - e4899221-12af-4b28-b5b0-cb67f3fa436d + content-length: + - '1404' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Sep 2020 17:44:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '143' + x-request-id: + - e4899221-12af-4b28-b5b0-cb67f3fa436d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/af6786b1-726f-48e4-b841-75aae6bc6f4f + response: + body: + string: '' + headers: + apim-request-id: + - 57af76ab-4a5c-48e0-ba75-43b876dee357 + content-length: + - '0' + date: + - Fri, 25 Sep 2020 17:44:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '270' + x-request-id: + - 57af76ab-4a5c-48e0-ba75-43b876dee357 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_elasticsearch.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_elasticsearch.yaml new file mode 100644 index 000000000000..a63e51ea3f9a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_elasticsearch.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: '{"dataSourceType": "Elasticsearch", "dataFeedName": "elastic832416a2", + "granularityName": "Daily", "metrics": [{"metricName": "cost", "metricDisplayName": + "Cost"}, {"metricName": "revenue", "metricDisplayName": "Revenue"}], "dimension": + [{"dimensionName": "category", "dimensionDisplayName": "Category"}, {"dimensionName": + "city", "dimensionDisplayName": "City"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", + "startOffsetInSeconds": 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": {"host": "ad-sample-es.westus2.cloudapp.azure.com", + "port": "9200", "authHeader": "connectionstring", "query": "''select * from + adsample where timestamp = @StartTime''"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '732' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 7829cbb2-75c3-4bb9-a7a5-3c22b5d77618 + content-length: + - '0' + date: + - Fri, 25 Sep 2020 17:43:31 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/48912c2c-6695-4f07-a96b-080486da0802 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '656' + x-request-id: + - 7829cbb2-75c3-4bb9-a7a5-3c22b5d77618 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/48912c2c-6695-4f07-a96b-080486da0802 + response: + body: + string: '{"dataFeedId":"48912c2c-6695-4f07-a96b-080486da0802","dataFeedName":"elastic832416a2","metrics":[{"metricId":"ff3959b6-e2f3-4d8a-94c4-a029d314e5a3","metricName":"cost","metricDisplayName":"Cost","metricDescription":""},{"metricId":"063d9bf0-913e-4874-8a42-cb40b3cf2155","metricName":"revenue","metricDisplayName":"Revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"Category"},{"dimensionName":"city","dimensionDisplayName":"City"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"Elasticsearch","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-25T17:43:31Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"authHeader":"connectionstring","port":"9200","query":"''select + * from adsample where timestamp = @StartTime''","host":"ad-sample-es.westus2.cloudapp.azure.com"}}' + headers: + apim-request-id: + - 8caaaa2f-b623-4b8f-ad72-07bc6e80623b + content-length: + - '1338' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 25 Sep 2020 17:43:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '223' + x-request-id: + - 8caaaa2f-b623-4b8f-ad72-07bc6e80623b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/48912c2c-6695-4f07-a96b-080486da0802 + response: + body: + string: '' + headers: + apim-request-id: + - de968b73-f87e-4835-91e3-694a59ce08c5 + content-length: + - '0' + date: + - Fri, 25 Sep 2020 17:43:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '349' + x-request-id: + - de968b73-f87e-4835-91e3-694a59ce08c5 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_get.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_get.yaml new file mode 100644 index 000000000000..a8c15eeabcde --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_get.yaml @@ -0,0 +1,119 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "HttpRequest", "dataFeedName": "httprequestfeedgetcb44180e", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"url": "connectionstring", "httpMethod": "GET"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '554' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5d12f2c8-ff98-4220-b2ff-860eb98af011 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:35:57 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6ca0a962-3fa5-4dc3-8c0c-8f7e14c2d3f8 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '872' + x-request-id: + - 5d12f2c8-ff98-4220-b2ff-860eb98af011 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6ca0a962-3fa5-4dc3-8c0c-8f7e14c2d3f8 + response: + body: + string: '{"dataFeedId":"6ca0a962-3fa5-4dc3-8c0c-8f7e14c2d3f8","dataFeedName":"httprequestfeedgetcb44180e","metrics":[{"metricId":"f7aefd4c-7664-4c91-90cd-76e1bd3dbd55","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"4c043a1e-6162-4103-9d67-a026f19e78fb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"HttpRequest","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-11T22:35:58Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"httpMethod":"GET","url":"connectionstring"}}' + headers: + apim-request-id: + - 6666bf72-7d71-4824-a716-d6fd09bce356 + content-length: + - '1293' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Sep 2020 22:35:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '121' + x-request-id: + - 6666bf72-7d71-4824-a716-d6fd09bce356 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6ca0a962-3fa5-4dc3-8c0c-8f7e14c2d3f8 + response: + body: + string: '' + headers: + apim-request-id: + - 7e6935aa-4722-42d1-8cea-f8a3caec7bb6 + content-length: + - '0' + date: + - Fri, 11 Sep 2020 22:35:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '265' + x-request-id: + - 7e6935aa-4722-42d1-8cea-f8a3caec7bb6 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_post.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_post.yaml new file mode 100644 index 000000000000..0cdae2fdf3fd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_http_request_post.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "HttpRequest", "dataFeedName": "httprequestfeedpost2fd02405", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"url": "connectionstring", "httpHeader": "", "httpMethod": + "POST", "payload": "{\''startTime\'': \''@StartTime\''}"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '588' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 0a3348c7-8192-4e99-a14f-1babb056b6e5 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:17 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24e5aaf0-3302-4474-9e01-19ed37bb8ab3 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '346' + x-request-id: + - 0a3348c7-8192-4e99-a14f-1babb056b6e5 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24e5aaf0-3302-4474-9e01-19ed37bb8ab3 + response: + body: + string: '{"dataFeedId":"24e5aaf0-3302-4474-9e01-19ed37bb8ab3","dataFeedName":"httprequestfeedpost2fd02405","metrics":[{"metricId":"2ec3518f-3d4c-475e-a36f-055255d9b964","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"4d9e9df6-9036-4c50-8fa6-15ca770a853d","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-10-01T00:00:00Z","dataSourceType":"HttpRequest","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:17Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"httpHeader":"","payload":"{''startTime'': + ''@StartTime''}","httpMethod":"POST","url":"connectionstring"}}' + headers: + apim-request-id: + - 646f3442-5075-4784-bb92-badefa7c32d2 + content-length: + - '1323' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '131' + x-request-id: + - 646f3442-5075-4784-bb92-badefa7c32d2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24e5aaf0-3302-4474-9e01-19ed37bb8ab3 + response: + body: + string: '' + headers: + apim-request-id: + - 72fa8370-f75c-4f77-8c9e-686652c02225 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:18 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '293' + x-request-id: + - 72fa8370-f75c-4f77-8c9e-686652c02225 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_influxdb.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_influxdb.yaml new file mode 100644 index 000000000000..cb4072e5f83b --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_influxdb.yaml @@ -0,0 +1,122 @@ +interactions: +- request: + body: 'b''b\''{"dataSourceType": "InfluxDB", "dataFeedName": "influxdbfb062014", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "database": + "adsample", "userName": "adreadonly", "password": "connectionstring", "query": + "\\\''select * from adsample2 where Timestamp = @StartTime\\\''"}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '638' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 68da9bb3-a8ec-4946-a55b-ebfc4fce06cd + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:19 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1dc384af-eb93-4dda-a74b-88ba0eba1b28 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '365' + x-request-id: + - 68da9bb3-a8ec-4946-a55b-ebfc4fce06cd + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1dc384af-eb93-4dda-a74b-88ba0eba1b28 + response: + body: + string: '{"dataFeedId":"1dc384af-eb93-4dda-a74b-88ba0eba1b28","dataFeedName":"influxdbfb062014","metrics":[{"metricId":"f9b08e14-efc9-4be8-b953-b2bb3b932024","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"4bbddfd6-df14-4ce9-b123-d572b0760a6e","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"InfluxDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:33:19Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","password":"connectionstring","database":"adsample","query":"''select + * from adsample2 where Timestamp = @StartTime''","userName":"adreadonly"}}' + headers: + apim-request-id: + - 8f554150-c847-48ce-88d7-502f6a1e8391 + content-length: + - '1371' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '123' + x-request-id: + - 8f554150-c847-48ce-88d7-502f6a1e8391 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1dc384af-eb93-4dda-a74b-88ba0eba1b28 + response: + body: + string: '' + headers: + apim-request-id: + - bcd09f83-c22c-4cf3-a53a-4834affd5136 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '261' + x-request-id: + - bcd09f83-c22c-4cf3-a53a-4834affd5136 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mongodb.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mongodb.yaml new file mode 100644 index 000000000000..7fda0713538d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mongodb.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "MongoDB", "dataFeedName": "mongodbdaec1f9e", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "connectionstring", "database": "adsample", "command": + "{\\"find\\": \\"adsample\\", \\"filter\\": { Timestamp: { $eq: @StartTime }} + \\"batchSize\\": 2000,}"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '625' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - d65a8b39-9ba4-4664-a70b-3cdb35f40df9 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:52:10 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e0d0096-718c-43b7-b230-b068b077497e + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '579' + x-request-id: + - d65a8b39-9ba4-4664-a70b-3cdb35f40df9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e0d0096-718c-43b7-b230-b068b077497e + response: + body: + string: '{"dataFeedId":"6e0d0096-718c-43b7-b230-b068b077497e","dataFeedName":"mongodbdaec1f9e","metrics":[{"metricId":"b300a8bb-3cd7-4efe-93b8-1622d7824ade","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"943e9517-a21c-48ee-ba7d-ca988de81acb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"MongoDB","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T22:52:11Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring","database":"adsample","command":"{\"find\": + \"adsample\", \"filter\": { Timestamp: { $eq: @StartTime }} \"batchSize\": + 2000,}"}}' + headers: + apim-request-id: + - 35a10888-61c0-4954-8138-3b0de3903ff4 + content-length: + - '1362' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:52:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '128' + x-request-id: + - 35a10888-61c0-4954-8138-3b0de3903ff4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e0d0096-718c-43b7-b230-b068b077497e + response: + body: + string: '' + headers: + apim-request-id: + - ed0a3d50-2f13-45f2-a2f8-eeb3afdb3039 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:52:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '273' + x-request-id: + - ed0a3d50-2f13-45f2-a2f8-eeb3afdb3039 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mysql.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mysql.yaml new file mode 100644 index 000000000000..ab82d882f464 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_mysql.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "MySql", "dataFeedName": "mysql9c5a1eee", "granularityName": + "Daily", "metrics": [{"metricName": "cost"}, {"metricName": "revenue"}], "dimension": + [{"dimensionName": "category"}, {"dimensionName": "city"}], "dataStartFrom": + "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": 0, "maxConcurrency": -1, + "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": -1, "dataSourceParameter": + {"connectionString": "Server=ad-sample.westcentralus.cloudapp.azure.com; Port=3306; + Database=adsample; Uid=adreadonly; Pwd=connectionstring", "query": "\''select + * from adsample2 where Timestamp = @StartTime\''"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '613' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - c5c1fb85-3363-4748-b56c-687943f9cb4f + content-length: + - '0' + date: + - Wed, 09 Sep 2020 23:05:29 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e54530cc-1321-451a-885d-b54856410e4f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '401' + x-request-id: + - c5c1fb85-3363-4748-b56c-687943f9cb4f + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e54530cc-1321-451a-885d-b54856410e4f + response: + body: + string: '{"dataFeedId":"e54530cc-1321-451a-885d-b54856410e4f","dataFeedName":"mysql9c5a1eee","metrics":[{"metricId":"ef1a1d80-d408-4876-a665-4b473e6d3261","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4b5d534-373e-4587-8317-66e0cf322d5c","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"MySql","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T23:05:29Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"Server=ad-sample.westcentralus.cloudapp.azure.com; + Port=3306; Database=adsample; Uid=adreadonly; Pwd=connectionstring","query":"''select + * from adsample2 where Timestamp = @StartTime''"}}' + headers: + apim-request-id: + - 5711ed53-e8f1-49e7-b3c2-808fcee48dc4 + content-length: + - '1352' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 23:05:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6742' + x-request-id: + - 5711ed53-e8f1-49e7-b3c2-808fcee48dc4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e54530cc-1321-451a-885d-b54856410e4f + response: + body: + string: '' + headers: + apim-request-id: + - 579edef3-dd57-4bc8-bbc5-82bcbed1b6c1 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 23:05:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '293' + x-request-id: + - 579edef3-dd57-4bc8-bbc5-82bcbed1b6c1 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_postgresql.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_postgresql.yaml new file mode 100644 index 000000000000..07dc1e1a9c39 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_data_feed_with_postgresql.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "PostgreSql", "dataFeedName": "postgresql3d3f210c", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-01-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "Host=adsamplepostgresql.eastus.cloudapp.azure.com;Username=adreadonly;Password=connectionstring;Database=adsample;Timeout=30;", + "query": "\''select * from adsample2 where Timestamp = @StartTime\''"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '631' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 8ea4bbc2-7dfe-4dc3-84e2-e20d2d397cd7 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 23:08:16 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0a4e2842-6047-4f1e-8fa4-e3a32fb9b195 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '615' + x-request-id: + - 8ea4bbc2-7dfe-4dc3-84e2-e20d2d397cd7 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0a4e2842-6047-4f1e-8fa4-e3a32fb9b195 + response: + body: + string: '{"dataFeedId":"0a4e2842-6047-4f1e-8fa4-e3a32fb9b195","dataFeedName":"postgresql3d3f210c","metrics":[{"metricId":"ca19f5a4-8d17-4473-a946-2ed59c7e8ba0","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b6b17a48-887a-48f3-9d5e-69533d5215c0","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-01T00:00:00Z","dataSourceType":"PostgreSql","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"PreviousValue","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":[],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-09T23:08:17Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"Host=adsamplepostgresql.eastus.cloudapp.azure.com;Username=adreadonly;Password=connectionstring;Database=adsample;Timeout=30;","query":"''select + * from adsample2 where Timestamp = @StartTime''"}}' + headers: + apim-request-id: + - bffaca25-e4b3-47b9-b5bb-456be686d9f3 + content-length: + - '1370' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 23:08:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5205' + x-request-id: + - bffaca25-e4b3-47b9-b5bb-456be686d9f3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/0a4e2842-6047-4f1e-8fa4-e3a32fb9b195 + response: + body: + string: '' + headers: + apim-request-id: + - 3046ec57-e85c-4e75-b8b3-2766d7fd0b5d + content-length: + - '0' + date: + - Wed, 09 Sep 2020 23:08:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '514' + x-request-id: + - 3046ec57-e85c-4e75-b8b3-2766d7fd0b5d + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_simple_data_feed.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_simple_data_feed.yaml new file mode 100644 index 000000000000..bfc10c199c59 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_create_simple_data_feed.yaml @@ -0,0 +1,119 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "testfeed24d71d27", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '699' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5d886ca0-d31c-453a-b056-e512c9e78775 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:37 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/38134745-c762-4706-a36f-4f7533706a1a + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '422' + x-request-id: + - 5d886ca0-d31c-453a-b056-e512c9e78775 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/38134745-c762-4706-a36f-4f7533706a1a + response: + body: + string: "{\"dataFeedId\":\"38134745-c762-4706-a36f-4f7533706a1a\",\"dataFeedName\":\"testfeed24d71d27\",\"metrics\":[{\"metricId\":\"119d8967-5a68-4888-826c-ee2df9341334\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e6625f2f-e54b-4a08-a697-cc6ee9bad7f0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - da1c2951-0f53-4213-98e1-908f7580218e + content-length: + - '1373' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '127' + x-request-id: + - da1c2951-0f53-4213-98e1-908f7580218e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/38134745-c762-4706-a36f-4f7533706a1a + response: + body: + string: '' + headers: + apim-request-id: + - 09383a6a-4974-4a72-bb49-05aec5f3cd98 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '247' + x-request-id: + - 09383a6a-4974-4a72-bb49-05aec5f3cd98 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds.yaml new file mode 100644 index 000000000000..ee41880b15cc --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: + - 63e5efa1-384f-44ce-b882-9c8964546a52 + content-length: + - '4961' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '241' + x-request-id: + - 63e5efa1-384f-44ce-b882-9c8964546a52 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_data_feed_name.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_data_feed_name.yaml new file mode 100644 index 000000000000..adf66f8fb93d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_data_feed_name.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=testDataFeed1 + response: + body: + string: '{"value":[{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["anuchan@microsoft.com","xiangyan@microsoft.com","krpratic@microsoft.com","mayurid@microsoft.com","savaity@microsoft.com","yumeng@microsoft.com","camaiaor@microsoft.com","kaghiya@microsoft.com","johanste@microsoft.com","kaolsze@microsoft.com","chriss@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}}],"@nextLink":null}' + headers: + apim-request-id: + - bbf5e272-5515-4bfb-ad39-c0abad6155ff + content-length: + - '1933' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:57 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '693' + x-request-id: + - bbf5e272-5515-4bfb-ad39-c0abad6155ff + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_granularity_type.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_granularity_type.yaml new file mode 100644 index 000000000000..68ff413be34f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_granularity_type.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: + - 25d7dbad-d7bc-4bc7-b1fd-89c2de88593c + content-length: + - '4961' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '328' + x-request-id: + - 25d7dbad-d7bc-4bc7-b1fd-89c2de88593c + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_skip.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_skip.yaml new file mode 100644 index 000000000000..f7ad9532d7f3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_skip.yaml @@ -0,0 +1,78 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: + - 993fde3d-bf33-4450-b2aa-237588819669 + content-length: + - '4961' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:43:59 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '232' + x-request-id: + - 993fde3d-bf33-4450-b2aa-237588819669 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$skip=1 + response: + body: + string: '{"value":[{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["savaity@microsoft.com","krpratic@microsoft.com","yumeng@microsoft.com","xiangyan@microsoft.com","anuchan@microsoft.com","chriss@microsoft.com","mayurid@microsoft.com","johanste@microsoft.com","camaiaor@microsoft.com","kaolsze@microsoft.com","kaghiya@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}},{"dataFeedId":"b9dae651-63bc-4a98-a7c5-d8322b20c962","dataFeedName":"azsqlDatafeed","metrics":[{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"f05c2f81-1e96-47ed-baa1-ab1a2d35562a","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-11T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"__SUM__","needRollup":"NeedRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaolsze@microsoft.com","camaiaor@microsoft.com","mayurid@microsoft.com","krpratic@microsoft.com","kaghiya@microsoft.com","xiangyan@microsoft.com","chriss@microsoft.com","yumeng@microsoft.com","johanste@microsoft.com","anuchan@microsoft.com","savaity@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:41:00Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"connectionString":"connectionstring;","query":"select + * from adsample2 where Timestamp = @StartTime"}}],"@nextLink":null}' + headers: + apim-request-id: + - b3175b1e-6bc1-4239-9452-d4cb7ee05f3c + content-length: + - '3661' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:44:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '319' + x-request-id: + - b3175b1e-6bc1-4239-9452-d4cb7ee05f3c + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_source_type.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_source_type.yaml new file mode 100644 index 000000000000..b4c78c9e3a1c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_source_type.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob + response: + body: + string: '{"value":[{"dataFeedId":"cf291ce6-ea8e-409b-b17d-bed01cc57dc0","dataFeedName":"updated + name","metrics":[{"metricId":"af6224d9-cbd2-43ac-914b-0d9cc5a6132e","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b4a6347b-0696-4541-954d-4fb0a307acfb","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2019-01-02T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"updated + description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["krpratic@microsoft.com"],"viewers":["krpratic@microsoft.com"],"creator":"krpratic@microsoft.com","status":"Active","createdTime":"2020-09-16T19:36:50Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"no","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json"}},{"dataFeedId":"data_feed_id","dataFeedName":"testDataFeed1","metrics":[{"metricId":"metric_id","metricName":"Metric1","metricDisplayName":"Metric1","metricDescription":""},{"metricId":"6b593f73-345c-40eb-a15c-7ec1fc73b028","metricName":"Metric2","metricDisplayName":"Metric2","metricDescription":""}],"dimension":[{"dimensionName":"Dim1","dimensionDisplayName":"Dim1"},{"dimensionName":"Dim2","dimensionDisplayName":"Dim2"}],"dataStartFrom":"2020-08-09T00:00:00Z","dataSourceType":"AzureBlob","timestampColumn":"Timestamp","startOffsetInSeconds":0,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":null,"needRollup":"NoRollup","fillMissingPointType":"SmartFilling","fillMissingPointValue":0.0,"rollUpMethod":"None","rollUpColumns":[],"dataFeedDescription":"","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["anuchan@microsoft.com","xiangyan@microsoft.com","krpratic@microsoft.com","mayurid@microsoft.com","savaity@microsoft.com","yumeng@microsoft.com","camaiaor@microsoft.com","kaghiya@microsoft.com","johanste@microsoft.com","kaolsze@microsoft.com","chriss@microsoft.com"],"viewers":[],"creator":"savaity@microsoft.com","status":"Active","createdTime":"2020-09-12T00:43:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"container":"adsample","connectionString":"connectionstring","blobTemplate":"%Y/%m/%d/%h/JsonFormatV2.json","jsonFormatVersion":"V2"}}],"@nextLink":null}' + headers: + apim-request-id: + - 197bf079-7b3e-4410-b270-ffa87012f7fe + content-length: + - '3233' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:44:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '1166' + x-request-id: + - 197bf079-7b3e-4410-b270-ffa87012f7fe + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_status.yaml new file mode 100644 index 000000000000..ff1180a0fc04 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_list_data_feeds_with_status.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Paused + response: + body: + string: '{"value":[],"@nextLink":null}' + headers: + apim-request-id: + - 9d6c992f-6701-4a07-96df-15e72b6a8262 + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:44:04 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '185' + x-request-id: + - 9d6c992f-6701-4a07-96df-15e72b6a8262 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_by_reseting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_by_reseting_properties.yaml new file mode 100644 index 000000000000..bd780a1b1fac --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_by_reseting_properties.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatee4bd1882", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - ecf2ce10-f099-4b56-91e8-b6d1181c9778 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:52:52 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/28ac7dc4-5f90-4f9b-bbee-6dd52d77253b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '468' + x-request-id: + - ecf2ce10-f099-4b56-91e8-b6d1181c9778 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/28ac7dc4-5f90-4f9b-bbee-6dd52d77253b + response: + body: + string: "{\"dataFeedId\":\"28ac7dc4-5f90-4f9b-bbee-6dd52d77253b\",\"dataFeedName\":\"updatee4bd1882\",\"metrics\":[{\"metricId\":\"06a07263-f6f4-48c4-8c26-d65987a9c6bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"80ec44d6-f7ff-45ea-9bdd-12ce7c07cc08\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T17:52:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 0f377ed8-2e5d-4f63-a16f-452364a6e0b5 + content-length: + - '1622' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 17:52:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '133' + x-request-id: + - 0f377ed8-2e5d-4f63-a16f-452364a6e0b5 + status: + code: 200 + message: OK +- request: + body: '{"dataFeedName": "update", "dataFeedDescription": null, "timestampColumn": + null, "startOffsetInSeconds": null, "maxConcurrency": null, "minRetryIntervalInSeconds": + null, "stopRetryAfterInSeconds": null, "needRollup": null, "rollUpMethod": null, + "rollUpColumns": null, "allUpIdentification": null, "fillMissingPointType": + null, "fillMissingPointValue": null, "viewMode": null, "viewers": null, "status": + null, "actionLinkTemplate": null}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '436' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/28ac7dc4-5f90-4f9b-bbee-6dd52d77253b + response: + body: + string: '' + headers: + apim-request-id: + - c3c4b4a8-45fc-447e-a2ab-560344d6c14e + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:52:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '142' + x-request-id: + - c3c4b4a8-45fc-447e-a2ab-560344d6c14e + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/28ac7dc4-5f90-4f9b-bbee-6dd52d77253b + response: + body: + string: "{\"dataFeedId\":\"28ac7dc4-5f90-4f9b-bbee-6dd52d77253b\",\"dataFeedName\":\"update\",\"metrics\":[{\"metricId\":\"06a07263-f6f4-48c4-8c26-d65987a9c6bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"80ec44d6-f7ff-45ea-9bdd-12ce7c07cc08\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T17:52:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 9bc72481-533b-43e1-8312-5faad0c5064d + content-length: + - '1614' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 17:52:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '126' + x-request-id: + - 9bc72481-533b-43e1-8312-5faad0c5064d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/28ac7dc4-5f90-4f9b-bbee-6dd52d77253b + response: + body: + string: '' + headers: + apim-request-id: + - 62308605-6243-443e-b916-e0663fc6e15a + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:52:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '261' + x-request-id: + - 62308605-6243-443e-b916-e0663fc6e15a + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_kwargs.yaml new file mode 100644 index 000000000000..ddb086375ea4 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_kwargs.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updateef1e13e5", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 8015192b-b1f8-42e1-b96f-a47a5469b903 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:58:53 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ae2d8543-288c-4afa-954e-47d260be2dd0 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '505' + x-request-id: + - 8015192b-b1f8-42e1-b96f-a47a5469b903 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ae2d8543-288c-4afa-954e-47d260be2dd0 + response: + body: + string: "{\"dataFeedId\":\"ae2d8543-288c-4afa-954e-47d260be2dd0\",\"dataFeedName\":\"updateef1e13e5\",\"metrics\":[{\"metricId\":\"e9e70e75-58d6-4c9c-8532-a21358070340\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"8537fc40-4632-43b1-9540-ea95b06b2906\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T17:58:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 69ce5bed-bf0b-4b69-9192-d03ec5963569 + content-length: + - '1622' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 17:58:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '153' + x-request-id: + - 69ce5bed-bf0b-4b69-9192-d03ec5963569 + status: + code: 200 + message: OK +- request: + body: '{"dataFeedName": "update", "dataFeedDescription": "updated", "timestampColumn": + "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", "startOffsetInSeconds": + 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": 1, "stopRetryAfterInSeconds": + 1, "needRollup": "AlreadyRollup", "rollUpMethod": "Sum", "rollUpColumns": [], + "allUpIdentification": "sumrollup", "fillMissingPointType": "CustomValue", "fillMissingPointValue": + 2, "viewMode": "Public", "viewers": ["updated"], "status": "Paused", "actionLinkTemplate": + "updated", "dataSourceParameter": {"connectionString": "updated", "query": "get + data"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '596' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ae2d8543-288c-4afa-954e-47d260be2dd0 + response: + body: + string: '' + headers: + apim-request-id: + - 3e428348-1d8b-45dd-8363-fa3978e2e042 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:58:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '669' + x-request-id: + - 3e428348-1d8b-45dd-8363-fa3978e2e042 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ae2d8543-288c-4afa-954e-47d260be2dd0 + response: + body: + string: '{"dataFeedId":"ae2d8543-288c-4afa-954e-47d260be2dd0","dataFeedName":"update","metrics":[{"metricId":"e9e70e75-58d6-4c9c-8532-a21358070340","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"8537fc40-4632-43b1-9540-ea95b06b2906","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updated","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T17:58:54Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: + - 892b89a4-3830-4085-b8e8-691326c7675b + content-length: + - '1308' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 17:58:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '141' + x-request-id: + - 892b89a4-3830-4085-b8e8-691326c7675b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/ae2d8543-288c-4afa-954e-47d260be2dd0 + response: + body: + string: '' + headers: + apim-request-id: + - c6bc6cf3-a916-4be8-baf9-ba0c6495e220 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 17:58:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '314' + x-request-id: + - c6bc6cf3-a916-4be8-baf9-ba0c6495e220 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model.yaml new file mode 100644 index 000000000000..a353e737f081 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model.yaml @@ -0,0 +1,218 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedb171367", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 9e95ae5b-ecda-4f57-a8c9-3a544910b743 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 15:47:36 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efc3027e-057d-403b-b304-b6a554e1d82b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '750' + x-request-id: + - 9e95ae5b-ecda-4f57-a8c9-3a544910b743 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efc3027e-057d-403b-b304-b6a554e1d82b + response: + body: + string: "{\"dataFeedId\":\"efc3027e-057d-403b-b304-b6a554e1d82b\",\"dataFeedName\":\"updatedb171367\",\"metrics\":[{\"metricId\":\"a2f42191-a166-43d4-a260-99c247f12d94\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"56a56801-0c56-47b9-b436-e1598efc0c96\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T15:47:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 9d31b0e4-395d-46de-9369-5a7b9c53b13f + content-length: + - '1622' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 15:47:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5233' + x-request-id: + - 9d31b0e4-395d-46de-9369-5a7b9c53b13f + status: + code: 200 + message: OK +- request: + body: '{"dataSourceType": "SqlServer", "dataFeedName": "update", "dataFeedDescription": + "updated", "timestampColumn": "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", + "startOffsetInSeconds": 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": + 1, "stopRetryAfterInSeconds": 1, "needRollup": "AlreadyRollup", "rollUpMethod": + "Sum", "rollUpColumns": [], "allUpIdentification": "sumrollup", "fillMissingPointType": + "CustomValue", "fillMissingPointValue": 2.0, "viewMode": "Public", "admins": + ["krpratic@microsoft.com", "yournamehere@microsoft.com"], "viewers": ["updated"], + "status": "Paused", "actionLinkTemplate": "updated", "dataSourceParameter": + {"connectionString": "updated", "query": "get data"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '697' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efc3027e-057d-403b-b304-b6a554e1d82b + response: + body: + string: '' + headers: + apim-request-id: + - 8a11422b-9496-45b0-99c3-79c9a9cffa28 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 15:48:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '583' + x-request-id: + - 8a11422b-9496-45b0-99c3-79c9a9cffa28 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efc3027e-057d-403b-b304-b6a554e1d82b + response: + body: + string: '{"dataFeedId":"efc3027e-057d-403b-b304-b6a554e1d82b","dataFeedName":"update","metrics":[{"metricId":"a2f42191-a166-43d4-a260-99c247f12d94","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"56a56801-0c56-47b9-b436-e1598efc0c96","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updated","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T15:47:37Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: + - e1cc35a4-aa04-4e45-8187-35938e7cc14c + content-length: + - '1308' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 15:48:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '129' + x-request-id: + - e1cc35a4-aa04-4e45-8187-35938e7cc14c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/efc3027e-057d-403b-b304-b6a554e1d82b + response: + body: + string: '' + headers: + apim-request-id: + - efef3d84-7e11-47ab-b523-cdb1c4e8df78 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 15:51:25 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '681' + x-request-id: + - efef3d84-7e11-47ab-b523-cdb1c4e8df78 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..fb8ab2e80022 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_data_feeds.test_update_data_feed_with_model_and_kwargs.yaml @@ -0,0 +1,218 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatecaf917e7", "dataFeedDescription": + "my first data feed", "granularityName": "Daily", "metrics": [{"metricName": + "cost", "metricDisplayName": "display cost", "metricDescription": "the cost"}, + {"metricName": "revenue", "metricDisplayName": "display revenue", "metricDescription": + "the revenue"}], "dimension": [{"dimensionName": "category", "dimensionDisplayName": + "display category"}, {"dimensionName": "city", "dimensionDisplayName": "display + city"}], "timestampColumn": "Timestamp", "dataStartFrom": "2019-10-01T00:00:00.000Z", + "startOffsetInSeconds": -1, "maxConcurrency": 0, "minRetryIntervalInSeconds": + -1, "stopRetryAfterInSeconds": -1, "needRollup": "NoRollup", "rollUpMethod": + "None", "fillMissingPointType": "SmartFilling", "viewMode": "Private", "admins": + ["yournamehere@microsoft.com"], "viewers": ["viewers"], "actionLinkTemplate": + "action link template", "dataSourceParameter": {"connectionString": "connectionstring", + "query": "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1301' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - af6c6eb4-4a2d-4c49-ba57-842838edba4e + content-length: + - '0' + date: + - Mon, 21 Sep 2020 16:41:13 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '450' + x-request-id: + - af6c6eb4-4a2d-4c49-ba57-842838edba4e + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6 + response: + body: + string: "{\"dataFeedId\":\"cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6\",\"dataFeedName\":\"updatecaf917e7\",\"metrics\":[{\"metricId\":\"f50cedc3-9054-4d74-ab98-4aa8b1cb7a38\",\"metricName\":\"cost\",\"metricDisplayName\":\"display + cost\",\"metricDescription\":\"the cost\"},{\"metricId\":\"cfe61b60-daa4-4bce-945c-670fd0bafad5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"display + revenue\",\"metricDescription\":\"the revenue\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"display + category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"display + city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":-1,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"my + first data feed\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\",\"yournamehere@microsoft.com\"],\"viewers\":[\"viewers\"],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T16:41:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"action + link template\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - ef027329-8466-42f2-9829-d794fe3272a0 + content-length: + - '1622' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:41:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '148' + x-request-id: + - ef027329-8466-42f2-9829-d794fe3272a0 + status: + code: 200 + message: OK +- request: + body: '{"dataSourceType": "SqlServer", "dataFeedName": "updateMe", "dataFeedDescription": + "updateMe", "timestampColumn": "time", "dataStartFrom": "2020-12-10T00:00:00.000Z", + "startOffsetInSeconds": 1, "maxConcurrency": 1, "minRetryIntervalInSeconds": + 1, "stopRetryAfterInSeconds": 1, "needRollup": "AlreadyRollup", "rollUpMethod": + "Sum", "rollUpColumns": [], "allUpIdentification": "sumrollup", "fillMissingPointType": + "CustomValue", "fillMissingPointValue": 2.0, "viewMode": "Public", "admins": + ["krpratic@microsoft.com", "yournamehere@microsoft.com"], "viewers": ["updated"], + "status": "Paused", "actionLinkTemplate": "updated", "dataSourceParameter": + {"connectionString": "updated", "query": "get data"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '700' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6 + response: + body: + string: '' + headers: + apim-request-id: + - 047c7fa0-dd87-4bcc-a730-d8740426295c + content-length: + - '0' + date: + - Mon, 21 Sep 2020 16:41:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '781' + x-request-id: + - 047c7fa0-dd87-4bcc-a730-d8740426295c + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6 + response: + body: + string: '{"dataFeedId":"cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6","dataFeedName":"updateMe","metrics":[{"metricId":"f50cedc3-9054-4d74-ab98-4aa8b1cb7a38","metricName":"cost","metricDisplayName":"display + cost","metricDescription":"the cost"},{"metricId":"cfe61b60-daa4-4bce-945c-670fd0bafad5","metricName":"revenue","metricDisplayName":"display + revenue","metricDescription":"the revenue"}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"display + category"},{"dimensionName":"city","dimensionDisplayName":"display city"}],"dataStartFrom":"2020-12-10T00:00:00Z","dataSourceType":"SqlServer","timestampColumn":"time","startOffsetInSeconds":1,"maxQueryPerMinute":30.0,"granularityName":"Daily","granularityAmount":null,"allUpIdentification":"sumrollup","needRollup":"AlreadyRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":2.0,"rollUpMethod":"Sum","rollUpColumns":[],"dataFeedDescription":"updateMe","stopRetryAfterInSeconds":1,"minRetryIntervalInSeconds":1,"maxConcurrency":1,"viewMode":"Public","admins":["krpratic@microsoft.com","yournamehere@microsoft.com"],"viewers":["updated"],"creator":"krpratic@microsoft.com","status":"Paused","createdTime":"2020-09-21T16:41:13Z","isAdmin":true,"actionLinkTemplate":"updated","dataSourceParameter":{"connectionString":"updated","query":"get + data"}}' + headers: + apim-request-id: + - 40e83914-5536-4499-ae3a-883e2e9c064a + content-length: + - '1311' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:41:51 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '137' + x-request-id: + - 40e83914-5536-4499-ae3a-883e2e9c064a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/cbf593ca-a21f-4c1f-8cf8-cc216ebfd2b6 + response: + body: + string: '' + headers: + apim-request-id: + - e4214788-a5cb-4fe9-aa74-b5ffb7f7288f + content-length: + - '0' + date: + - Mon, 21 Sep 2020 16:42:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '717' + x-request-id: + - e4214788-a5cb-4fe9-aa74-b5ffb7f7288f + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_email_hook.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_email_hook.yaml new file mode 100644 index 000000000000..1225984e3bf6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_email_hook.yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testemailhook7b011ac9", "description": + "my email hook", "externalLink": "external link", "hookParameter": {"toList": + ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '184' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 5b8c9ac5-273f-414c-9024-d48a25f5a766 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:29 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c2ad01d4-e78b-4770-b7cf-96808a9957ba + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5393' + x-request-id: + - 5b8c9ac5-273f-414c-9024-d48a25f5a766 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c2ad01d4-e78b-4770-b7cf-96808a9957ba + response: + body: + string: '{"hookId":"c2ad01d4-e78b-4770-b7cf-96808a9957ba","hookName":"testemailhook7b011ac9","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 22a4ec1f-2bcf-434a-a4f8-2d453e9a8c24 + content-length: + - '287' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '127' + x-request-id: + - 22a4ec1f-2bcf-434a-a4f8-2d453e9a8c24 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c2ad01d4-e78b-4770-b7cf-96808a9957ba + response: + body: + string: '' + headers: + apim-request-id: + - bb418a5a-ff5a-41d8-a6f4-581ac31fbfc0 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '166' + x-request-id: + - bb418a5a-ff5a-41d8-a6f4-581ac31fbfc0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c2ad01d4-e78b-4770-b7cf-96808a9957ba + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"hookId is invalid."}' + headers: + apim-request-id: + - 6e49b776-b62b-4b09-bed6-b1f1e449bd91 + content-length: + - '65' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '68' + x-request-id: + - 6e49b776-b62b-4b09-bed6-b1f1e449bd91 + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_web_hook.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_web_hook.yaml new file mode 100644 index 000000000000..0e7b93d83488 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_create_web_hook.yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhook463019ff", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 6b117aaf-6526-4d99-b573-28b8822e6e8a + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:39 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/98aa2056-1e94-43ed-b24b-8f4ec462c77d + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '671' + x-request-id: + - 6b117aaf-6526-4d99-b573-28b8822e6e8a + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/98aa2056-1e94-43ed-b24b-8f4ec462c77d + response: + body: + string: '{"hookId":"98aa2056-1e94-43ed-b24b-8f4ec462c77d","hookName":"testwebhook463019ff","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"","password":"","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 00da0f35-4b0b-41df-add3-d62588e6b6e5 + content-length: + - '340' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '136' + x-request-id: + - 00da0f35-4b0b-41df-add3-d62588e6b6e5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/98aa2056-1e94-43ed-b24b-8f4ec462c77d + response: + body: + string: '' + headers: + apim-request-id: + - 5b5e3717-1e63-44df-9d69-cb48861ae0cf + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '155' + x-request-id: + - 5b5e3717-1e63-44df-9d69-cb48861ae0cf + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/98aa2056-1e94-43ed-b24b-8f4ec462c77d + response: + body: + string: '{"code":"ERROR_INVALID_PARAMETER","message":"hookId is invalid."}' + headers: + apim-request-id: + - 8ebe92ba-fa8e-4c41-9fc2-180d72f6d267 + content-length: + - '65' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '38' + x-request-id: + - 8ebe92ba-fa8e-4c41-9fc2-180d72f6d267 + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_list_hooks.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_list_hooks.yaml new file mode 100644 index 000000000000..a1fc0c102e9c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_list_hooks.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '{"value":[{"hookId":"d25286fb-98b6-48b8-9a05-712871c0d4e1","hookName":"emailhook","hookType":"Email","externalLink":"","description":"","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["krpratic@microsoft.com"],"ccList":null,"bccList":null}},{"hookId":"3af3e00f-adf4-40eb-b01f-4cc12f58db45","hookName":"updatedWebHook1","hookType":"Webhook","externalLink":"my + external link","description":"","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"sdfsd","password":"","headers":{},"certificateKey":"","certificatePassword":""}},{"hookId":"b1befa30-37a6-4f4e-b195-c91788d2af9d","hookName":"web_hook","hookType":"Webhook","externalLink":"my + external link","description":"jadg","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"fsdgsd","password":"","headers":{},"certificateKey":"","certificatePassword":""}}],"@nextLink":null}' + headers: + apim-request-id: + - 4d72120a-d7f1-47e9-970f-b2c5ec98dcca + content-length: + - '940' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:42:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '251' + x-request-id: + - 4d72120a-d7f1-47e9-970f-b2c5ec98dcca + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_by_resetting_properties.yaml new file mode 100644 index 000000000000..5d09586b4f8f --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_by_resetting_properties.yaml @@ -0,0 +1,191 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhooka97917a5", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '179' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 71f1d113-e446-4b2d-9486-694559e9f617 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:30:38 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/94f41c44-defe-434c-943d-16b1136fcefd + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '393' + x-request-id: + - 71f1d113-e446-4b2d-9486-694559e9f617 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/94f41c44-defe-434c-943d-16b1136fcefd + response: + body: + string: '{"hookId":"94f41c44-defe-434c-943d-16b1136fcefd","hookName":"testhooka97917a5","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 5167a4e1-8ab6-4285-aee9-55de425752fd + content-length: + - '282' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:30:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '130' + x-request-id: + - 5167a4e1-8ab6-4285-aee9-55de425752fd + status: + code: 200 + message: OK +- request: + body: '{"hookName": "reset", "description": null, "externalLink": null}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '64' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/94f41c44-defe-434c-943d-16b1136fcefd + response: + body: + string: '' + headers: + apim-request-id: + - 643d94dc-d4c6-4abb-a735-d397d3fd584d + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:31:01 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5204' + x-request-id: + - 643d94dc-d4c6-4abb-a735-d397d3fd584d + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/94f41c44-defe-434c-943d-16b1136fcefd + response: + body: + string: '{"hookId":"94f41c44-defe-434c-943d-16b1136fcefd","hookName":"reset","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 701d62ae-a037-4cf6-9f58-6934e07742d3 + content-length: + - '271' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:31:04 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '181' + x-request-id: + - 701d62ae-a037-4cf6-9f58-6934e07742d3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/94f41c44-defe-434c-943d-16b1136fcefd + response: + body: + string: '' + headers: + apim-request-id: + - f9c7a91d-f87a-4fcb-b973-59cd7d52729e + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:32:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10228' + x-request-id: + - f9c7a91d-f87a-4fcb-b973-59cd7d52729e + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_kwargs.yaml new file mode 100644 index 000000000000..69beae389ac0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_kwargs.yaml @@ -0,0 +1,191 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhookaa421294", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '179' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 74cc45e8-9b00-4ede-9a39-fdd2f11c6086 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:21:33 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9458781c-2759-4ead-9bb9-331c8c1ab155 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7741' + x-request-id: + - 74cc45e8-9b00-4ede-9a39-fdd2f11c6086 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9458781c-2759-4ead-9bb9-331c8c1ab155 + response: + body: + string: '{"hookId":"9458781c-2759-4ead-9bb9-331c8c1ab155","hookName":"testhookaa421294","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - a7142f52-a799-47c1-9bd8-989ec6d66ae4 + content-length: + - '282' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:21:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5245' + x-request-id: + - a7142f52-a799-47c1-9bd8-989ec6d66ae4 + status: + code: 200 + message: OK +- request: + body: '{"hookName": "update", "description": "update", "externalLink": "update", + "hookType": "Email", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9458781c-2759-4ead-9bb9-331c8c1ab155 + response: + body: + string: '' + headers: + apim-request-id: + - 7b06e344-3e07-4f55-aa5b-3ebd1cf05adb + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:21:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '347' + x-request-id: + - 7b06e344-3e07-4f55-aa5b-3ebd1cf05adb + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9458781c-2759-4ead-9bb9-331c8c1ab155 + response: + body: + string: '{"hookId":"9458781c-2759-4ead-9bb9-331c8c1ab155","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 0303474c-980d-4b0f-9267-e58641d2676b + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:21:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '197' + x-request-id: + - 0303474c-980d-4b0f-9267-e58641d2676b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/9458781c-2759-4ead-9bb9-331c8c1ab155 + response: + body: + string: '' + headers: + apim-request-id: + - 2b7f5c96-dba7-4b4f-8b60-8278d622ca9d + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:21:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '185' + x-request-id: + - 2b7f5c96-dba7-4b4f-8b60-8278d622ca9d + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model.yaml new file mode 100644 index 000000000000..f865db358f49 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model.yaml @@ -0,0 +1,192 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testwebhook978c1216", "description": + "my email hook", "externalLink": "external link", "hookParameter": {"toList": + ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 0ec5b292-e211-47bc-830d-09120443613b + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:18:29 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c30eb188-05d5-496e-88d4-b25b9ba34787 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '427' + x-request-id: + - 0ec5b292-e211-47bc-830d-09120443613b + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c30eb188-05d5-496e-88d4-b25b9ba34787 + response: + body: + string: '{"hookId":"c30eb188-05d5-496e-88d4-b25b9ba34787","hookName":"testwebhook978c1216","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 127c66ed-7af7-4668-861d-5213e557528c + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:18:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '159' + x-request-id: + - 127c66ed-7af7-4668-861d-5213e557528c + status: + code: 200 + message: OK +- request: + body: '{"hookType": "Email", "hookName": "update", "description": "update", "externalLink": + "update", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c30eb188-05d5-496e-88d4-b25b9ba34787 + response: + body: + string: '' + headers: + apim-request-id: + - 7a23fbc7-75db-48b5-bb93-474d6abef638 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:18:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '416' + x-request-id: + - 7a23fbc7-75db-48b5-bb93-474d6abef638 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c30eb188-05d5-496e-88d4-b25b9ba34787 + response: + body: + string: '{"hookId":"c30eb188-05d5-496e-88d4-b25b9ba34787","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - 294669c2-96db-41be-a482-c3ca0161e57f + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:18:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '130' + x-request-id: + - 294669c2-96db-41be-a482-c3ca0161e57f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/c30eb188-05d5-496e-88d4-b25b9ba34787 + response: + body: + string: '' + headers: + apim-request-id: + - 39c7c615-9b19-4712-854b-ca4a0494f827 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:18:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '154' + x-request-id: + - 39c7c615-9b19-4712-854b-ca4a0494f827 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..9aa691ce7eb3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_email_hook_with_model_and_kwargs.yaml @@ -0,0 +1,191 @@ +interactions: +- request: + body: '{"hookType": "Email", "hookName": "testhook78f31696", "description": "my + email hook", "externalLink": "external link", "hookParameter": {"toList": ["yournamehere@microsoft.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '179' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 2ddc69f9-c8bd-4773-9546-aa347fe99183 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:23:22 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '440' + x-request-id: + - 2ddc69f9-c8bd-4773-9546-aa347fe99183 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce + response: + body: + string: '{"hookId":"6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce","hookName":"testhook78f31696","hookType":"Email","externalLink":"external + link","description":"my email hook","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["yournamehere@microsoft.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - f9d687ac-05a8-4702-b8b6-59094959e5ba + content-length: + - '282' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:23:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '152' + x-request-id: + - f9d687ac-05a8-4702-b8b6-59094959e5ba + status: + code: 200 + message: OK +- request: + body: '{"hookType": "Email", "hookName": "update", "description": "update", "externalLink": + "update", "hookParameter": {"toList": ["myemail@m.com"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '142' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce + response: + body: + string: '' + headers: + apim-request-id: + - 7f0c31b8-c77f-47e8-9a89-d81b76781e48 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:23:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '257' + x-request-id: + - 7f0c31b8-c77f-47e8-9a89-d81b76781e48 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce + response: + body: + string: '{"hookId":"6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce","hookName":"update","hookType":"Email","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"toList":["myemail@m.com"],"ccList":null,"bccList":null}}' + headers: + apim-request-id: + - a30d9589-9615-45af-9b9b-62a97f7d1251 + content-length: + - '245' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:23:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '127' + x-request-id: + - a30d9589-9615-45af-9b9b-62a97f7d1251 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/6a9fe0d0-183a-4fc8-aa66-5dcba15f33ce + response: + body: + string: '' + headers: + apim-request-id: + - 68471971-0574-4148-a7d1-b996421c1e26 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:23:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '177' + x-request-id: + - 68471971-0574-4148-a7d1-b996421c1e26 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_by_resetting_properties.yaml new file mode 100644 index 000000000000..e60ce058c4ca --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_by_resetting_properties.yaml @@ -0,0 +1,194 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testhook7c3416db", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '218' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - b15342a2-c31a-4d71-b12c-7d97a60706c9 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:33:20 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b5118a02-19bc-4a53-9456-7f2c4766b3ac + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '707' + x-request-id: + - b15342a2-c31a-4d71-b12c-7d97a60706c9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b5118a02-19bc-4a53-9456-7f2c4766b3ac + response: + body: + string: '{"hookId":"b5118a02-19bc-4a53-9456-7f2c4766b3ac","hookName":"testhook7c3416db","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - e9ded7b7-d19d-4127-8f3e-8c6e2622dfd4 + content-length: + - '346' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:33:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '134' + x-request-id: + - e9ded7b7-d19d-4127-8f3e-8c6e2622dfd4 + status: + code: 200 + message: OK +- request: + body: '{"hookName": "reset", "description": null, "externalLink": null, "hookType": + "Webhook", "hookParameter": {"endpoint": "https://httpbin.org/post", "username": + "myusername", "password": null}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '190' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b5118a02-19bc-4a53-9456-7f2c4766b3ac + response: + body: + string: '' + headers: + apim-request-id: + - d1fbdd59-3d6d-4e3c-9e98-93a9dad05508 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:33:44 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '664' + x-request-id: + - d1fbdd59-3d6d-4e3c-9e98-93a9dad05508 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b5118a02-19bc-4a53-9456-7f2c4766b3ac + response: + body: + string: '{"hookId":"b5118a02-19bc-4a53-9456-7f2c4766b3ac","hookName":"reset","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 4fb0797d-1b9a-40f4-8547-fc99c730b65e + content-length: + - '336' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:33:48 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '143' + x-request-id: + - 4fb0797d-1b9a-40f4-8547-fc99c730b65e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/b5118a02-19bc-4a53-9456-7f2c4766b3ac + response: + body: + string: '' + headers: + apim-request-id: + - b75541d1-c168-4988-b216-8d36b90d8649 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:34:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '223' + x-request-id: + - b75541d1-c168-4988-b216-8d36b90d8649 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_kwargs.yaml new file mode 100644 index 000000000000..14ea22e8fafa --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_kwargs.yaml @@ -0,0 +1,193 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhook867511ca", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - 0db746ec-f6d2-406f-b8f0-d90b6365675a + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:17:24 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '923' + x-request-id: + - 0db746ec-f6d2-406f-b8f0-d90b6365675a + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260 + response: + body: + string: '{"hookId":"cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260","hookName":"testwebhook867511ca","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - a9dba69d-46a0-407a-b254-a277578a525f + content-length: + - '349' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:17:25 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '218' + x-request-id: + - a9dba69d-46a0-407a-b254-a277578a525f + status: + code: 200 + message: OK +- request: + body: '{"hookName": "update", "description": "update", "externalLink": "update", + "hookType": "Webhook", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260 + response: + body: + string: '' + headers: + apim-request-id: + - b8d60a19-48d6-445e-a505-6d4e3cdf802b + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:17:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '736' + x-request-id: + - b8d60a19-48d6-445e-a505-6d4e3cdf802b + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260 + response: + body: + string: '{"hookId":"cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260","hookName":"update","hookType":"Webhook","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 2ac9eed5-1143-40b6-bb02-d24adcf8bb5e + content-length: + - '333' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:17:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5194' + x-request-id: + - 2ac9eed5-1143-40b6-bb02-d24adcf8bb5e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/cb9abc6e-cebf-44e7-8ea8-daf7cf4f0260 + response: + body: + string: '' + headers: + apim-request-id: + - 9586da5d-aa71-4c49-9738-076be17e8ec5 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:17:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '160' + x-request-id: + - 9586da5d-aa71-4c49-9738-076be17e8ec5 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model.yaml new file mode 100644 index 000000000000..3cbcdb340dfd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model.yaml @@ -0,0 +1,194 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhook7489114c", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - a2b17ffc-8b96-4158-b1bd-0c24579c8e37 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:42:05 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/02047f3c-ab28-48a2-a86e-3dedebf0dd29 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '648' + x-request-id: + - a2b17ffc-8b96-4158-b1bd-0c24579c8e37 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/02047f3c-ab28-48a2-a86e-3dedebf0dd29 + response: + body: + string: '{"hookId":"02047f3c-ab28-48a2-a86e-3dedebf0dd29","hookName":"testwebhook7489114c","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - ecc41116-97dd-4614-8214-068ec6874724 + content-length: + - '349' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:42:05 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '123' + x-request-id: + - ecc41116-97dd-4614-8214-068ec6874724 + status: + code: 200 + message: OK +- request: + body: '{"hookType": "Webhook", "hookName": "update", "description": "update", + "externalLink": "update", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password", "certificateKey": "", "certificatePassword": + ""}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '254' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/02047f3c-ab28-48a2-a86e-3dedebf0dd29 + response: + body: + string: '' + headers: + apim-request-id: + - 17bdfbbf-ec6a-4817-bd1c-0e9cc27a28c5 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:42:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '644' + x-request-id: + - 17bdfbbf-ec6a-4817-bd1c-0e9cc27a28c5 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/02047f3c-ab28-48a2-a86e-3dedebf0dd29 + response: + body: + string: '{"hookId":"02047f3c-ab28-48a2-a86e-3dedebf0dd29","hookName":"update","hookType":"Webhook","externalLink":"update","description":"update","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 5fcae961-7a48-451f-826b-23050d3ef003 + content-length: + - '333' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:42:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '140' + x-request-id: + - 5fcae961-7a48-451f-826b-23050d3ef003 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/02047f3c-ab28-48a2-a86e-3dedebf0dd29 + response: + body: + string: '' + headers: + apim-request-id: + - 84051f7f-98ab-4f06-a97b-cec1b30a2143 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:45:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '157' + x-request-id: + - 84051f7f-98ab-4f06-a97b-cec1b30a2143 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..160a85dbdca1 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_hooks.test_update_web_hook_with_model_and_kwargs.yaml @@ -0,0 +1,194 @@ +interactions: +- request: + body: '{"hookType": "Webhook", "hookName": "testwebhook4d4215cc", "description": + "my web hook", "externalLink": "external link", "hookParameter": {"endpoint": + "https://httpbin.org/post", "username": "krista", "password": "123"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks + response: + body: + string: '' + headers: + apim-request-id: + - fea8db59-357c-4c6a-a8e3-800eae03da65 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:19:21 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '653' + x-request-id: + - fea8db59-357c-4c6a-a8e3-800eae03da65 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289 + response: + body: + string: '{"hookId":"e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289","hookName":"testwebhook4d4215cc","hookType":"Webhook","externalLink":"external + link","description":"my web hook","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"krista","password":"123","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 26c9362d-f364-4b09-9437-743ce5b9bdbe + content-length: + - '349' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:19:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '156' + x-request-id: + - 26c9362d-f364-4b09-9437-743ce5b9bdbe + status: + code: 200 + message: OK +- request: + body: '{"hookType": "Webhook", "hookName": "update", "description": "updateMe", + "externalLink": "update", "hookParameter": {"endpoint": "https://httpbin.org/post", + "username": "myusername", "password": "password", "certificateKey": "", "certificatePassword": + ""}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '256' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289 + response: + body: + string: '' + headers: + apim-request-id: + - e89e5fda-83dc-44d2-8677-5898bcf0382f + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:19:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '582' + x-request-id: + - e89e5fda-83dc-44d2-8677-5898bcf0382f + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289 + response: + body: + string: '{"hookId":"e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289","hookName":"update","hookType":"Webhook","externalLink":"update","description":"updateMe","admins":["krpratic@microsoft.com"],"hookParameter":{"endpoint":"https://httpbin.org/post","username":"myusername","password":"password","headers":{},"certificateKey":"","certificatePassword":""}}' + headers: + apim-request-id: + - 650262d8-ce25-4710-bb9e-0fefb010544c + content-length: + - '335' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 22:19:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '174' + x-request-id: + - 650262d8-ce25-4710-bb9e-0fefb010544c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e6eca5e4-5e0a-4b92-a4d5-f774cb5b1289 + response: + body: + string: '' + headers: + apim-request-id: + - 14491d9e-3b77-4c43-8ba5-c98fd8239e80 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 22:19:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '150' + x-request-id: + - 14491d9e-3b77-4c43-8ba5-c98fd8239e80 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml new file mode 100644 index 000000000000..ce03b067bd58 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml @@ -0,0 +1,227 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "datafeedforconfig6acc2ecc", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '781' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 215ebfe6-d08c-4895-9cb7-b348fba6391f + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:21 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd021393-1f4a-40b5-a0af-fc8708a555d1 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '407' + x-request-id: + - 215ebfe6-d08c-4895-9cb7-b348fba6391f + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd021393-1f4a-40b5-a0af-fc8708a555d1 + response: + body: + string: "{\"dataFeedId\":\"bd021393-1f4a-40b5-a0af-fc8708a555d1\",\"dataFeedName\":\"datafeedforconfig6acc2ecc\",\"metrics\":[{\"metricId\":\"054c4324-e01a-4877-adb9-f38a9961af21\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f29cb87c-25e0-444d-b7d0-38df587ec9d5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - f951eb76-c978-4ae2-8f91-554d89abfc7f + content-length: + - '1499' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '144' + x-request-id: + - f951eb76-c978-4ae2-8f91-554d89abfc7f + status: + code: 200 + message: OK +- request: + body: '{"name": "multipledetectionconfigs6acc2ecc", "description": "My test metric + anomaly detection configuration", "metricId": "054c4324-e01a-4877-adb9-f38a9961af21", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "conditionOperator": "AND", + "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}, "hardThresholdCondition": + {"lowerBound": 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": + {"changePercentage": 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, {"group": + {"dimension": {"city": "Seoul"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}, "hardThresholdCondition": + {"lowerBound": 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": + {"changePercentage": 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, {"series": + {"dimension": {"city": "Osaka", "category": "Cell Phones"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 63.0, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2407' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 8e1a8372-37a8-417f-877e-248de8691dd0 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:21 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e81e7d6d-ec70-4204-abc4-721f1cc9ab13 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '167' + x-request-id: + - 8e1a8372-37a8-417f-877e-248de8691dd0 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e81e7d6d-ec70-4204-abc4-721f1cc9ab13 + response: + body: + string: '{"anomalyDetectionConfigurationId":"e81e7d6d-ec70-4204-abc4-721f1cc9ab13","name":"multipledetectionconfigs6acc2ecc","description":"My + test metric anomaly detection configuration","metricId":"054c4324-e01a-4877-adb9-f38a9961af21","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},{"group":{"dimension":{"city":"Seoul"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"c33f6e48b2a0fd3cda2b7d31e8fbc93f","dimension":{"city":"Shenzhen","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},{"series":{"seriesId":"f0a20207926eb412b26a283f54aaca19","dimension":{"city":"Osaka","category":"Cell + Phones"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - 8e086071-6b66-404a-abfc-255dd1d6bb36 + content-length: + - '2354' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '102' + x-request-id: + - 8e086071-6b66-404a-abfc-255dd1d6bb36 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd021393-1f4a-40b5-a0af-fc8708a555d1 + response: + body: + string: '' + headers: + apim-request-id: + - 3f41abed-274c-4abb-a8f1-49c67c85fdf5 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '256' + x-request-id: + - 3f41abed-274c-4abb-a8f1-49c67c85fdf5 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml new file mode 100644 index 000000000000..5cc51b5a7414 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml @@ -0,0 +1,212 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "adconfigget89353134", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '775' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 9c65926b-b429-431b-b88b-0ae9bb219076 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:31 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61949be9-1469-447a-8263-9213d6fe0d8f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '426' + x-request-id: + - 9c65926b-b429-431b-b88b-0ae9bb219076 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61949be9-1469-447a-8263-9213d6fe0d8f + response: + body: + string: "{\"dataFeedId\":\"61949be9-1469-447a-8263-9213d6fe0d8f\",\"dataFeedName\":\"adconfigget89353134\",\"metrics\":[{\"metricId\":\"e25eea3d-9171-4593-9468-3df18d61afe6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c593d5a4-4dbe-440d-8c6d-836150a5febe\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 4d3c1d9f-2a03-4754-9bca-e26e08d1a979 + content-length: + - '1493' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '125' + x-request-id: + - 4d3c1d9f-2a03-4754-9bca-e26e08d1a979 + status: + code: 200 + message: OK +- request: + body: '{"name": "testdetectionconfiget89353134", "description": "My test metric + anomaly detection configuration", "metricId": "e25eea3d-9171-4593-9468-3df18d61afe6", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1192' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 6abca6a2-b86b-4d02-b19a-0e16aa862614 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:32 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/757e3d3a-a43d-4980-b9f0-08660ab389d0 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '146' + x-request-id: + - 6abca6a2-b86b-4d02-b19a-0e16aa862614 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/757e3d3a-a43d-4980-b9f0-08660ab389d0 + response: + body: + string: '{"anomalyDetectionConfigurationId":"757e3d3a-a43d-4980-b9f0-08660ab389d0","name":"testdetectionconfiget89353134","description":"My + test metric anomaly detection configuration","metricId":"e25eea3d-9171-4593-9468-3df18d61afe6","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"58a0c9987cd578c4fe4e24fc5c346a8d","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - 4d2ca108-11c5-4dfd-aad8-ca1351b9e328 + content-length: + - '1235' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '68' + x-request-id: + - 4d2ca108-11c5-4dfd-aad8-ca1351b9e328 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61949be9-1469-447a-8263-9213d6fe0d8f + response: + body: + string: '' + headers: + apim-request-id: + - ccd7ef01-3dac-4703-af02-781b0644654e + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '272' + x-request-id: + - ccd7ef01-3dac-4703-af02-781b0644654e + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml new file mode 100644 index 000000000000..ddb586455c51 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml @@ -0,0 +1,279 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "adconfigf9c93000", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '772' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - fe7c0893-445e-4725-b266-786aaf918842 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:34 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/87977091-f4ca-428f-b4ac-2a7e687a9148 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '314' + x-request-id: + - fe7c0893-445e-4725-b266-786aaf918842 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/87977091-f4ca-428f-b4ac-2a7e687a9148 + response: + body: + string: "{\"dataFeedId\":\"87977091-f4ca-428f-b4ac-2a7e687a9148\",\"dataFeedName\":\"adconfigf9c93000\",\"metrics\":[{\"metricId\":\"bdc1ce40-0067-4a20-9ff9-0dbe5b3214a6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a371dbfc-d925-476f-b900-f632647b0b27\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-09T22:33:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 08f92986-63f9-4069-8d81-9fe9dcb6cf34 + content-length: + - '1490' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:34 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '135' + x-request-id: + - 08f92986-63f9-4069-8d81-9fe9dcb6cf34 + status: + code: 200 + message: OK +- request: + body: '{"name": "testdetectionconfigf9c93000", "description": "My test metric + anomaly detection configuration", "metricId": "bdc1ce40-0067-4a20-9ff9-0dbe5b3214a6", + "wholeMetricConfiguration": {"conditionOperator": "OR", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [], "seriesOverrideConfigurations": []}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '784' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - a38d86a3-2398-4704-a8fa-677129672272 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:35 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d6f39367-293f-4691-9a34-9026494ee641 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '82' + x-request-id: + - a38d86a3-2398-4704-a8fa-677129672272 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d6f39367-293f-4691-9a34-9026494ee641 + response: + body: + string: '{"anomalyDetectionConfigurationId":"d6f39367-293f-4691-9a34-9026494ee641","name":"testdetectionconfigf9c93000","description":"My + test metric anomaly detection configuration","metricId":"bdc1ce40-0067-4a20-9ff9-0dbe5b3214a6","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}' + headers: + apim-request-id: + - 68a484a9-6d08-4511-95bf-9bc09128ea71 + content-length: + - '809' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '66' + x-request-id: + - 68a484a9-6d08-4511-95bf-9bc09128ea71 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d6f39367-293f-4691-9a34-9026494ee641 + response: + body: + string: '' + headers: + apim-request-id: + - 05b36297-78db-4ff8-b160-38c8cfb7f492 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '82' + x-request-id: + - 05b36297-78db-4ff8-b160-38c8cfb7f492 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/d6f39367-293f-4691-9a34-9026494ee641 + response: + body: + string: '{"code":"Not Found","message":"Not found this AnomalyDetectionConfiguration. + TraceId: 4a2c9360-7312-4d2e-931e-c66d0b94c0fb"}' + headers: + apim-request-id: + - b6deee92-3c72-47a1-a1de-f2f45796dacd + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Sep 2020 22:33:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '42' + x-request-id: + - b6deee92-3c72-47a1-a1de-f2f45796dacd + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/87977091-f4ca-428f-b4ac-2a7e687a9148 + response: + body: + string: '' + headers: + apim-request-id: + - a4b55c64-a769-4dd8-b9d7-f6b5160f69e1 + content-length: + - '0' + date: + - Wed, 09 Sep 2020 22:33:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '272' + x-request-id: + - a4b55c64-a769-4dd8-b9d7-f6b5160f69e1 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_list_metric_anomaly_detection_configs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_list_metric_anomaly_detection_configs.yaml new file mode 100644 index 000000000000..698c13e9e924 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_list_metric_anomaly_detection_configs.yaml @@ -0,0 +1,43 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/enrichment/anomalyDetection/configurations + response: + body: + string: '{"value":[{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":4,"minRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"Dim1":"Common + Lime"}},"hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":2,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"54bdef99c03c71c764fd3ea671cd1260","dimension":{"Dim1":"Common + Beech","Dim2":"Ant"}},"changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}}]},{"anomalyDetectionConfigurationId":"bd309211-64b5-4a7a-bb81-a2789599c526","name":"js-all-as-anomaly","description":"","metricId":"metric_id","wholeMetricConfiguration":{"hardThresholdCondition":{"upperBound":0.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]},{"anomalyDetectionConfigurationId":"a420626b-b09b-4938-9bd3-91f263f50612","name":"test_detection_configuration_java","description":"","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":68.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":1,"minRatio":100.0}},"changeThresholdCondition":{"changePercentage":5.0,"shiftPoint":1,"anomalyDetectorDirection":"Up","withinRange":false,"suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"Dim1":"Common + Alder"}},"smartDetectionCondition":{"sensitivity":80.0,"anomalyDetectorDirection":"Down","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"8f0847fcd60e1002241f4da0f02b6d57","dimension":{"Dim1":"Common + Alder","Dim2":"American robin"}},"smartDetectionCondition":{"sensitivity":68.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]},{"anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","name":"Default","description":"","metricId":"metric_id","wholeMetricConfiguration":{"smartDetectionCondition":{"sensitivity":60.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}},"dimensionGroupOverrideConfigurations":[],"seriesOverrideConfigurations":[]}]}' + headers: + apim-request-id: + - f5acd01c-fe04-4b0c-aaa6-a7819edff166 + content-length: + - '2925' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 01:42:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5214' + x-request-id: + - f5acd01c-fe04-4b0c-aaa6-a7819edff166 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_by_resetting_properties.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_by_resetting_properties.yaml new file mode 100644 index 000000000000..41b337404693 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_by_resetting_properties.yaml @@ -0,0 +1,351 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection712c24c4", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 8a626586-0862-42f7-8038-20453739f441 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:00:59 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd535e24-d23f-46c3-9a7d-aa29f1efe94f + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '380' + x-request-id: + - 8a626586-0862-42f7-8038-20453739f441 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd535e24-d23f-46c3-9a7d-aa29f1efe94f + response: + body: + string: '' + headers: + apim-request-id: + - 168be889-2dc3-4beb-8eae-7dc643a1c865 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:02:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '60117' + status: + code: 500 + message: Internal Server Error +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd535e24-d23f-46c3-9a7d-aa29f1efe94f + response: + body: + string: '' + headers: + apim-request-id: + - 0d3d8fc5-46bf-4e7b-93a1-9ec76a77dca6 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:02:59 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '60014' + status: + code: 500 + message: Internal Server Error +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd535e24-d23f-46c3-9a7d-aa29f1efe94f + response: + body: + string: "{\"dataFeedId\":\"bd535e24-d23f-46c3-9a7d-aa29f1efe94f\",\"dataFeedName\":\"updatedetection712c24c4\",\"metrics\":[{\"metricId\":\"f98e0a07-1943-4e40-9ca3-ecace6ac1373\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0cb56820-b81e-4858-94f8-bda5f1a77663\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T21:00:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 247632ab-d44b-4dc8-afd8-f803745a718a + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:03:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5365' + x-request-id: + - 247632ab-d44b-4dc8-afd8-f803745a718a + status: + code: 200 + message: OK +- request: + body: '{"name": "testupdated712c24c4", "description": "My test metric anomaly + detection configuration", "metricId": "f98e0a07-1943-4e40-9ca3-ecace6ac1373", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 8380fc50-1594-4d58-97cf-73f3b266eec4 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:03:07 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/498931bf-e33f-4e1b-a143-5c25591cfe34 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '437' + x-request-id: + - 8380fc50-1594-4d58-97cf-73f3b266eec4 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/498931bf-e33f-4e1b-a143-5c25591cfe34 + response: + body: + string: '{"anomalyDetectionConfigurationId":"498931bf-e33f-4e1b-a143-5c25591cfe34","name":"testupdated712c24c4","description":"My + test metric anomaly detection configuration","metricId":"f98e0a07-1943-4e40-9ca3-ecace6ac1373","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"209eb27d42476b9726283fd38fa2296a","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - 9933343d-73a8-4cdd-982c-8ed2ac2136f8 + content-length: + - '1225' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:03:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5232' + x-request-id: + - 9933343d-73a8-4cdd-982c-8ed2ac2136f8 + status: + code: 200 + message: OK +- request: + body: '{"name": "reset", "description": ""}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/498931bf-e33f-4e1b-a143-5c25591cfe34 + response: + body: + string: '' + headers: + apim-request-id: + - bb05de64-0456-44de-8952-a2a9d70526fb + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:03:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '208' + x-request-id: + - bb05de64-0456-44de-8952-a2a9d70526fb + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/498931bf-e33f-4e1b-a143-5c25591cfe34 + response: + body: + string: '{"anomalyDetectionConfigurationId":"498931bf-e33f-4e1b-a143-5c25591cfe34","name":"reset","description":"","metricId":"f98e0a07-1943-4e40-9ca3-ecace6ac1373","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"209eb27d42476b9726283fd38fa2296a","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - cad5fed9-104f-42f8-81f0-dd33ccded8e7 + content-length: + - '1165' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 21:03:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '148' + x-request-id: + - cad5fed9-104f-42f8-81f0-dd33ccded8e7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/bd535e24-d23f-46c3-9a7d-aa29f1efe94f + response: + body: + string: '' + headers: + apim-request-id: + - 8341133c-1e03-4fe6-ab25-4a75432756fc + content-length: + - '0' + date: + - Mon, 21 Sep 2020 21:03:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '961' + x-request-id: + - 8341133c-1e03-4fe6-ab25-4a75432756fc + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_kwargs.yaml new file mode 100644 index 000000000000..b06e582c58c0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_kwargs.yaml @@ -0,0 +1,307 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetectiond4721fb3", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 5edec7d2-0205-4731-81d3-808978a40fd3 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:06 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/55989e51-d804-4518-8e02-52b98451d23c + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '933' + x-request-id: + - 5edec7d2-0205-4731-81d3-808978a40fd3 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/55989e51-d804-4518-8e02-52b98451d23c + response: + body: + string: "{\"dataFeedId\":\"55989e51-d804-4518-8e02-52b98451d23c\",\"dataFeedName\":\"updatedetectiond4721fb3\",\"metrics\":[{\"metricId\":\"d5c7fc8c-8400-4e97-9912-f867094c37a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0606bfe8-79d0-4954-a52d-0693329a0dae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T20:36:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 6cc15997-5814-4fe2-9058-84497dcea006 + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '269' + x-request-id: + - 6cc15997-5814-4fe2-9058-84497dcea006 + status: + code: 200 + message: OK +- request: + body: '{"name": "testupdatedd4721fb3", "description": "My test metric anomaly + detection configuration", "metricId": "d5c7fc8c-8400-4e97-9912-f867094c37a3", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 5bc3e25a-1ce2-4b9a-9cbf-f3239e6b442a + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:07 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a6a624e2-c89b-48d7-b7b0-8e7ae3949812 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '413' + x-request-id: + - 5bc3e25a-1ce2-4b9a-9cbf-f3239e6b442a + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a6a624e2-c89b-48d7-b7b0-8e7ae3949812 + response: + body: + string: '{"anomalyDetectionConfigurationId":"a6a624e2-c89b-48d7-b7b0-8e7ae3949812","name":"testupdatedd4721fb3","description":"My + test metric anomaly detection configuration","metricId":"d5c7fc8c-8400-4e97-9912-f867094c37a3","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"e7249d8df02fe9cc820762c7d0fa9ef2","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - 867e801e-8299-48e3-b038-6e07ea17dc74 + content-length: + - '1225' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '207' + x-request-id: + - 867e801e-8299-48e3-b038-6e07ea17dc74 + status: + code: 200 + message: OK +- request: + body: '{"name": "updated", "wholeMetricConfiguration": {"conditionOperator": "OR", + "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Shenzen"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 10.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": {"upperBound": + 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": + 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": 20.0, + "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "San Paulo", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}], "description": "updated"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1752' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a6a624e2-c89b-48d7-b7b0-8e7ae3949812 + response: + body: + string: '' + headers: + apim-request-id: + - 4f89235c-2787-49a6-b06c-8df85ad32ae4 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '269' + x-request-id: + - 4f89235c-2787-49a6-b06c-8df85ad32ae4 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a6a624e2-c89b-48d7-b7b0-8e7ae3949812 + response: + body: + string: '{"anomalyDetectionConfigurationId":"a6a624e2-c89b-48d7-b7b0-8e7ae3949812","name":"updated","description":"updated","metricId":"d5c7fc8c-8400-4e97-9912-f867094c37a3","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Shenzen"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"b92e7cb13aa3022c4b44a2d4dc7305e1","dimension":{"city":"San + Paulo","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: + - 0a32f92e-1067-4559-961d-1284ce47a522 + content-length: + - '1797' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '176' + x-request-id: + - 0a32f92e-1067-4559-961d-1284ce47a522 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/55989e51-d804-4518-8e02-52b98451d23c + response: + body: + string: '' + headers: + apim-request-id: + - c15e2218-abca-45b1-87ce-a177b6758f99 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '469' + x-request-id: + - c15e2218-abca-45b1-87ce-a177b6758f99 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model.yaml new file mode 100644 index 000000000000..a0f9530e546e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model.yaml @@ -0,0 +1,307 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetectionb49d1f35", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - 9caf6d26-c9f7-4a5b-a7f2-4e06ff24b873 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:20:59 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91c965d1-8cf2-477a-bbd3-25c554d279de + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '630' + x-request-id: + - 9caf6d26-c9f7-4a5b-a7f2-4e06ff24b873 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91c965d1-8cf2-477a-bbd3-25c554d279de + response: + body: + string: "{\"dataFeedId\":\"91c965d1-8cf2-477a-bbd3-25c554d279de\",\"dataFeedName\":\"updatedetectionb49d1f35\",\"metrics\":[{\"metricId\":\"b27773e2-6156-42fe-bc45-1436cc90c4eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dc6641e5-7449-4667-8ca7-b222f56edaf6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T20:20:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - 9ebacbc8-88f7-4d13-a4dc-21ec07a7c470 + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:20:59 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '236' + x-request-id: + - 9ebacbc8-88f7-4d13-a4dc-21ec07a7c470 + status: + code: 200 + message: OK +- request: + body: '{"name": "testupdatedb49d1f35", "description": "My test metric anomaly + detection configuration", "metricId": "b27773e2-6156-42fe-bc45-1436cc90c4eb", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - 5af6b5c4-13e7-4355-84d1-9dddce330fff + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:21:05 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0556e80a-efcd-4a22-9cf8-ef990b123fe7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5289' + x-request-id: + - 5af6b5c4-13e7-4355-84d1-9dddce330fff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0556e80a-efcd-4a22-9cf8-ef990b123fe7 + response: + body: + string: '{"anomalyDetectionConfigurationId":"0556e80a-efcd-4a22-9cf8-ef990b123fe7","name":"testupdatedb49d1f35","description":"My + test metric anomaly detection configuration","metricId":"b27773e2-6156-42fe-bc45-1436cc90c4eb","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"bfac2674c70862f2fd32bbe0fff33a0d","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - c2d1779c-c2f4-4645-8a2f-3a70fab7df71 + content-length: + - '1225' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:21:05 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '71' + x-request-id: + - c2d1779c-c2f4-4645-8a2f-3a70fab7df71 + status: + code: 200 + message: OK +- request: + body: '{"name": "updated", "description": "updated", "wholeMetricConfiguration": + {"conditionOperator": "OR", "smartDetectionCondition": {"sensitivity": 10.0, + "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": 5, "minRatio": + 2.0}}, "hardThresholdCondition": {"upperBound": 100.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": + {"changePercentage": 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "conditionOperator": "AND", + "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": + [{"series": {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1753' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0556e80a-efcd-4a22-9cf8-ef990b123fe7 + response: + body: + string: '' + headers: + apim-request-id: + - 09bcc7f5-c081-45a0-8176-391a3e333f28 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:21:05 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '174' + x-request-id: + - 09bcc7f5-c081-45a0-8176-391a3e333f28 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0556e80a-efcd-4a22-9cf8-ef990b123fe7 + response: + body: + string: '{"anomalyDetectionConfigurationId":"0556e80a-efcd-4a22-9cf8-ef990b123fe7","name":"updated","description":"updated","metricId":"b27773e2-6156-42fe-bc45-1436cc90c4eb","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"bfac2674c70862f2fd32bbe0fff33a0d","dimension":{"city":"Shenzhen","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: + - 978fc5c6-0440-4574-966b-58afa64d9b81 + content-length: + - '1798' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:21:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '85' + x-request-id: + - 978fc5c6-0440-4574-966b-58afa64d9b81 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/91c965d1-8cf2-477a-bbd3-25c554d279de + response: + body: + string: '' + headers: + apim-request-id: + - e04dea87-cf32-42a0-8bb2-6434991da512 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:21:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '278' + x-request-id: + - e04dea87-cf32-42a0-8bb2-6434991da512 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model_and_kwargs.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model_and_kwargs.yaml new file mode 100644 index 000000000000..c798accaae42 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_update_detection_config_with_model_and_kwargs.yaml @@ -0,0 +1,307 @@ +interactions: +- request: + body: 'b''{"dataSourceType": "SqlServer", "dataFeedName": "updatedetection266823b5", + "granularityName": "Daily", "metrics": [{"metricName": "cost"}, {"metricName": + "revenue"}], "dimension": [{"dimensionName": "category"}, {"dimensionName": + "city"}], "dataStartFrom": "2019-10-01T00:00:00.000Z", "startOffsetInSeconds": + 0, "maxConcurrency": -1, "minRetryIntervalInSeconds": -1, "stopRetryAfterInSeconds": + -1, "dataSourceParameter": {"connectionString": "connectionstring", "query": + "select\\u202f*\\u202ffrom\\u202fadsample2\\u202fwhere\\u202fTimestamp\\u202f=\\u202f@StartTime"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '778' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds + response: + body: + string: '' + headers: + apim-request-id: + - a3fd0118-7da3-49b3-87a1-5500594d76a9 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:30 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24d983fe-66b0-47d2-bdf0-0240b24eb87b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '532' + x-request-id: + - a3fd0118-7da3-49b3-87a1-5500594d76a9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24d983fe-66b0-47d2-bdf0-0240b24eb87b + response: + body: + string: "{\"dataFeedId\":\"24d983fe-66b0-47d2-bdf0-0240b24eb87b\",\"dataFeedName\":\"updatedetection266823b5\",\"metrics\":[{\"metricId\":\"81a4fd73-6404-41e3-822e-98e96a8e6ecf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"35311945-eb2e-4f77-a201-d6e81b9a3ded\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"granularityAmount\":null,\"allUpIdentification\":null,\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"rollUpColumns\":[],\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"krpratic@microsoft.com\"],\"viewers\":[],\"creator\":\"krpratic@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2020-09-21T20:36:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"connectionstring\",\"query\":\"select\u202F*\u202Ffrom\u202Fadsample2\u202Fwhere\u202FTimestamp\u202F=\u202F@StartTime\"}}" + headers: + apim-request-id: + - ee151393-97e6-40c5-8c07-42fe1b513aa8 + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '193' + x-request-id: + - ee151393-97e6-40c5-8c07-42fe1b513aa8 + status: + code: 200 + message: OK +- request: + body: '{"name": "testupdated266823b5", "description": "My test metric anomaly + detection configuration", "metricId": "81a4fd73-6404-41e3-822e-98e96a8e6ecf", + "wholeMetricConfiguration": {"conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 50.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 50, "minRatio": 50.0}}, "hardThresholdCondition": {"lowerBound": + 0.0, "upperBound": 100.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 5.0}}, "changeThresholdCondition": {"changePercentage": + 50.0, "shiftPoint": 30, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 2, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Sao Paulo"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "Shenzhen", "category": "Jewelry"}}, "smartDetectionCondition": + {"sensitivity": 63.0, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 1, "minRatio": 100.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1182' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations + response: + body: + string: '' + headers: + apim-request-id: + - c40e8af6-571d-451f-9953-7777499d3959 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:31 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/17fad699-847d-4904-8b7a-1188b98116f7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '287' + x-request-id: + - c40e8af6-571d-451f-9953-7777499d3959 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/17fad699-847d-4904-8b7a-1188b98116f7 + response: + body: + string: '{"anomalyDetectionConfigurationId":"17fad699-847d-4904-8b7a-1188b98116f7","name":"testupdated266823b5","description":"My + test metric anomaly detection configuration","metricId":"81a4fd73-6404-41e3-822e-98e96a8e6ecf","wholeMetricConfiguration":{"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":50.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":50,"minRatio":50.0}},"hardThresholdCondition":{"lowerBound":0.0,"upperBound":100.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":5,"minRatio":5.0}},"changeThresholdCondition":{"changePercentage":50.0,"shiftPoint":30,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":2,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Sao + Paulo"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"c4da1002e92a00f9957f41170b864747","dimension":{"city":"Shenzhen","category":"Jewelry"}},"smartDetectionCondition":{"sensitivity":63.0,"anomalyDetectorDirection":"Both","suppressCondition":{"minNumber":1,"minRatio":100.0}}}]}' + headers: + apim-request-id: + - 1e12187d-419a-42ca-8c3e-197bc9d06079 + content-length: + - '1225' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '177' + x-request-id: + - 1e12187d-419a-42ca-8c3e-197bc9d06079 + status: + code: 200 + message: OK +- request: + body: '{"name": "updateMe", "description": "updateMe", "wholeMetricConfiguration": + {"conditionOperator": "OR", "smartDetectionCondition": {"sensitivity": 10.0, + "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": 5, "minRatio": + 2.0}}, "hardThresholdCondition": {"upperBound": 100.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": + {"changePercentage": 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": + "Both", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}, "dimensionGroupOverrideConfigurations": + [{"group": {"dimension": {"city": "Shenzen"}}, "conditionOperator": "AND", "smartDetectionCondition": + {"sensitivity": 10.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": {"upperBound": + 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": {"minNumber": + 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": 20.0, + "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}}], "seriesOverrideConfigurations": [{"series": + {"dimension": {"city": "San Paulo", "category": "Jewelry"}}, "conditionOperator": + "AND", "smartDetectionCondition": {"sensitivity": 10.0, "anomalyDetectorDirection": + "Up", "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}, "hardThresholdCondition": + {"upperBound": 100.0, "anomalyDetectorDirection": "Up", "suppressCondition": + {"minNumber": 5, "minRatio": 2.0}}, "changeThresholdCondition": {"changePercentage": + 20.0, "shiftPoint": 10, "withinRange": true, "anomalyDetectorDirection": "Both", + "suppressCondition": {"minNumber": 5, "minRatio": 2.0}}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1754' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/17fad699-847d-4904-8b7a-1188b98116f7 + response: + body: + string: '' + headers: + apim-request-id: + - 7fc2ebc7-2360-4d15-982f-551d3b5b4e96 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '210' + x-request-id: + - 7fc2ebc7-2360-4d15-982f-551d3b5b4e96 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/17fad699-847d-4904-8b7a-1188b98116f7 + response: + body: + string: '{"anomalyDetectionConfigurationId":"17fad699-847d-4904-8b7a-1188b98116f7","name":"updateMe","description":"updateMe","metricId":"81a4fd73-6404-41e3-822e-98e96a8e6ecf","wholeMetricConfiguration":{"conditionOperator":"OR","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"dimension":{"city":"Shenzen"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesId":"b2a22354fe4ca2b7b1b7db3254563f17","dimension":{"city":"San + Paulo","category":"Jewelry"}},"conditionOperator":"AND","smartDetectionCondition":{"sensitivity":10.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"hardThresholdCondition":{"upperBound":100.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minNumber":5,"minRatio":2.0}},"changeThresholdCondition":{"changePercentage":20.0,"shiftPoint":10,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minNumber":5,"minRatio":2.0}}}]}' + headers: + apim-request-id: + - f362a499-02dd-4f32-ab63-1acf910aaf9f + content-length: + - '1799' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 20:36:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '81' + x-request-id: + - f362a499-02dd-4f32-ab63-1acf910aaf9f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/24d983fe-66b0-47d2-bdf0-0240b24eb87b + response: + body: + string: '' + headers: + apim-request-id: + - 5439104a-2590-451e-a888-0a1769418f83 + content-length: + - '0' + date: + - Mon, 21 Sep 2020 20:36:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '459' + x-request-id: + - 5439104a-2590-451e-a888-0a1769418f83 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_anomaly_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_anomaly_feedback.yaml new file mode 100644 index 000000000000..5080c5273f24 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_anomaly_feedback.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"feedbackType": "Anomaly", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"anomalyValue": "NotAnomaly"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '259' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: + - f9af4b73-266e-4a66-953e-649942dae2de + content-length: + - '0' + date: + - Tue, 22 Sep 2020 20:37:33 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/82c6ee69-0d99-45a5-9674-67833b126da7 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '291' + x-request-id: + - f9af4b73-266e-4a66-953e-649942dae2de + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_change_point_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_change_point_feedback.yaml new file mode 100644 index 000000000000..0317ffbf4d2c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_change_point_feedback.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"feedbackType": "ChangePoint", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"changePointValue": "NotChangePoint"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '271' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: + - d0b0eb17-27f2-4bc1-8a3b-246470454703 + content-length: + - '0' + date: + - Tue, 22 Sep 2020 20:29:34 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/1c995c7b-9d30-4544-bccb-fcd906742c1b + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '427' + x-request-id: + - d0b0eb17-27f2-4bc1-8a3b-246470454703 + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_comment_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_comment_feedback.yaml new file mode 100644 index 000000000000..9e3ef93ed20a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_comment_feedback.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"feedbackType": "Comment", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "startTime": "2020-08-05T00:00:00.000Z", + "endTime": "2020-08-07T00:00:00.000Z", "value": {"commentValue": "comment"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '256' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: + - 0c29a86f-68f3-40ac-92dc-5e276164a3d8 + content-length: + - '0' + date: + - Tue, 22 Sep 2020 20:30:15 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/ea551f0b-5f36-4a52-b8f4-d2059c91fd59 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '239' + x-request-id: + - 0c29a86f-68f3-40ac-92dc-5e276164a3d8 + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_period_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_period_feedback.yaml new file mode 100644 index 000000000000..14549ccca14c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_add_period_feedback.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"feedbackType": "Comment", "metricId": "metric_id", "dimensionFilter": + {"dimension": {"dimension_name": "Common Lime"}}, "value": {"periodType": "AssignValue", + "periodValue": 2}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '196' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric + response: + body: + string: '' + headers: + apim-request-id: + - 741abfc4-0329-4b18-8d8e-86f115ab09d5 + content-length: + - '0' + date: + - Tue, 22 Sep 2020 20:31:30 GMT + location: + - https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/a5bc8268-cc9f-4cdb-82b4-a75acc465774 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '356' + x-request-id: + - 741abfc4-0329-4b18-8d8e-86f115ab09d5 + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_feedback.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_feedback.yaml new file mode 100644 index 000000000000..9a5b149fc34c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_feedback.yaml @@ -0,0 +1,42 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/feedback_id + response: + body: + string: '{"feedbackId":"feedback_id","createdTime":"2020-09-22T00:24:18.629Z","userPrincipal":"xiangyan@microsoft.com","metricId":"metric_id","dimensionFilter":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"feedbackType":"Anomaly","startTime":"2020-08-30T00:00:00Z","endTime":"2020-08-30T00:00:00Z","value":{"anomalyValue":"NotAnomaly"},"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","anomalyDetectionConfigurationSnapshot":{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":5,"minAlertRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":4,"minAlertRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"seriesGroupConfigurationId":"51242ee0b8c72df4e537ffdfe0e8af69","tagSet":{"dimension_name":"Common + Lime"}},"conditionOperator":"AND","hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesConfigurationId":"54bdef99c03c71c764fd3ea671cd1260","tagSet":{"dimension_name":"Common + Beech","Dim2":"Ant"}},"conditionOperator":"OR","changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"favoriteSeries":[],"disabledSeries":[]}}' + headers: + apim-request-id: + - f35069de-3c42-4fa0-90fa-c2fe0ca13a20 + content-length: + - '1765' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 17:28:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '48' + x-request-id: + - f35069de-3c42-4fa0-90fa-c2fe0ca13a20 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_incident_root_cause.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_incident_root_cause.yaml new file mode 100644 index 000000000000..5664f46141ea --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_incident_root_cause.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/c0f2539f-b804-4ab9-a70f-0da0c89c76d8/incidents/test/rootCause + response: + body: + string: '{"code":"Not Found","message":"Not found this Incident. TraceId: a9ebff49-93be-4cfb-b662-8df700e11cdd"}' + headers: + apim-request-id: + - 07e4927a-ec60-4b7a-afba-710c9e53558f + content-length: + - '103' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 17 Sep 2020 20:23:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '214' + x-request-id: + - 07e4927a-ec60-4b7a-afba-710c9e53558f + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_metrics_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_metrics_series_data.yaml new file mode 100644 index 000000000000..ee272435a0c2 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_metrics_series_data.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '155' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/802153a9-1671-4a6f-901e-66bbf09384d9/data/query + response: + body: + string: '{"value":[{"id":{"metricId":"802153a9-1671-4a6f-901e-66bbf09384d9","dimension":{"city":"Mumbai","category":"Shoes + Handbags & Sunglasses"}},"timestampList":["2020-08-12T00:00:00Z","2020-08-13T00:00:00Z","2020-08-14T00:00:00Z","2020-08-15T00:00:00Z","2020-08-16T00:00:00Z","2020-08-17T00:00:00Z","2020-08-18T00:00:00Z","2020-08-19T00:00:00Z","2020-08-20T00:00:00Z","2020-08-21T00:00:00Z","2020-08-22T00:00:00Z","2020-08-23T00:00:00Z","2020-08-24T00:00:00Z","2020-08-25T00:00:00Z","2020-08-26T00:00:00Z","2020-08-27T00:00:00Z","2020-08-28T00:00:00Z","2020-08-29T00:00:00Z","2020-08-30T00:00:00Z","2020-08-31T00:00:00Z","2020-09-01T00:00:00Z","2020-09-02T00:00:00Z","2020-09-03T00:00:00Z","2020-09-04T00:00:00Z","2020-09-05T00:00:00Z","2020-09-06T00:00:00Z","2020-09-07T00:00:00Z","2020-09-08T00:00:00Z"],"valueList":[3791980.2,3800583.2,3220767.2,2275339.2,2717852.2,4093258.4000000004,4040975.8000000003,3813171.8000000003,3727122.8000000003,3090036.6,2332647.4,2943037.6,4178019.2,4061467.6,4136178.8000000003,3859673.6,3299744.0,2345039.0,3134822.4000000004,4306395.4,4212766.600000001,4049135.0,4094219.6,3283001.0,2407888.2,3041747.0,4255081.600000001,4189254.0]}]}' + headers: + apim-request-id: + - b7756e0c-aa28-45c4-869e-c6b26a024528 + content-length: + - '1167' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 15 Sep 2020 16:55:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '289' + x-request-id: + - b7756e0c-aa28-45c4-869e-c6b26a024528 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_series.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_series.yaml new file mode 100644 index 000000000000..5a0f709765d9 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_get_series.yaml @@ -0,0 +1,43 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"dimension": {"city": "city"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '125' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/342346a5-4e6d-4cb7-9a0a-41901bdedb52/series/query + response: + body: + string: '{"value":[{"series":{"dimension":{"city":"city"}},"timestampList":[],"valueList":[],"isAnomalyList":[],"periodList":[],"expectedValueList":[],"lowerBoundaryList":[],"upperBoundaryList":[]}]}' + headers: + apim-request-id: + - 49346823-9143-46e1-80c8-a464e79b0fcc + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 15 Sep 2020 16:55:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '247' + x-request-id: + - 49346823-9143-46e1-80c8-a464e79b0fcc + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_alerts_for_alert_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_alerts_for_alert_configuration.yaml new file mode 100644 index 000000000000..ad5f8e6f9a69 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_alerts_for_alert_configuration.yaml @@ -0,0 +1,43 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "timeMode": "AnomalyTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/query + response: + body: + string: '{"value":[{"alertId":"alert_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.406Z","modifiedTime":"2020-09-14T20:42:57.048Z"},{"alertId":"17465dcc000","timestamp":"2020-09-07T00:00:00Z","createdTime":"2020-09-12T01:14:17.184Z","modifiedTime":"2020-09-12T01:28:54.26Z"},{"alertId":"17460b66400","timestamp":"2020-09-06T00:00:00Z","createdTime":"2020-09-12T01:14:16.927Z","modifiedTime":"2020-09-12T01:24:16.887Z"}],"@nextLink":null}' + headers: + apim-request-id: + - 20612c77-1020-4b0d-865e-1d93796ae9a3 + content-length: + - '459' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 21:48:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '98' + x-request-id: + - 20612c77-1020-4b0d-865e-1d93796ae9a3 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_alert.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_alert.yaml new file mode 100644 index 000000000000..073229326247 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_alert.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/alert_id/anomalies + response: + body: + string: '{"value":[{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low","anomalyStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low","anomalyStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","timestamp":"2020-09-08T00:00:00Z","createdTime":"2020-09-12T01:15:16.46Z","modifiedTime":"2020-09-12T01:15:16.46Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Medium","anomalyStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: + - 32fa0446-d368-4c52-ad2d-a1cd9c90b185 + content-length: + - '1110' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 21:48:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '67' + x-request-id: + - 32fa0446-d368-4c52-ad2d-a1cd9c90b185 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_detection_configuration.yaml new file mode 100644 index 000000000000..1b973d77992a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_anomalies_for_detection_configuration.yaml @@ -0,0 +1,1360 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query + response: + body: + string: '{"value":[{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-08T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-07T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-06T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-05T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-04T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-03T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-02T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-09-01T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-31T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-30T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-29T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-28T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-27T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-26T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-25T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-24T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-23T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-22T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-21T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-20T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-19T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-18T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-17T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query?$top=1000&$skip=1000"}' + headers: + apim-request-id: + - 65a814a8-a592-43ea-8359-043628c5211f + content-length: + - '129955' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:53:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '246' + x-request-id: + - 65a814a8-a592-43ea-8359-043628c5211f + status: + code: 200 + message: OK +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/query?$top=1000&$skip=1000 + response: + body: + string: '{"value":[{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Amphibian"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Aardvark"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-16T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"},"property":{"anomalySeverity":"High"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-15T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"},"property":{"anomalySeverity":"Medium"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"},"property":{"anomalySeverity":"Low"}},{"timestamp":"2020-08-14T00:00:00Z","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"},"property":{"anomalySeverity":"Low"}}],"@nextLink":null}' + headers: + apim-request-id: + - 6a68338e-9438-4c78-9188-8acbab67eae6 + content-length: + - '59539' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:01 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '5259' + x-request-id: + - 6a68338e-9438-4c78-9188-8acbab67eae6 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_dimension_values_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_dimension_values_for_detection_configuration.yaml new file mode 100644 index 000000000000..1800ff2f16b0 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_dimension_values_for_detection_configuration.yaml @@ -0,0 +1,48 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/anomalies/dimension/query + response: + body: + string: '{"value":["Common Lime","Cherry Laurel","Cabbage Palm","Blackthorn","Blue + Atlas Cedar","Cider gum","Common Walnut","Almond","Chinese red-barked birch","Bastard + Service Tree","Black Birch (River Birch)","Caucasian Fir","Common Beech","Cherry","Caucasian + Lime","Birch","Algerian Fir","Black Poplar","Cockspur Thorn","Common Alder","Common + Ash","Austrian Pine","Common Hazel","Box elder","Common Juniper","Aspen","Common + Yew"],"@nextLink":null}' + headers: + apim-request-id: + - b37f48a5-4bf7-48e3-9647-4d7f903e4062 + content-length: + - '441' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '204' + x-request-id: + - b37f48a5-4bf7-48e3-9647-4d7f903e4062 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_feedbacks.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_feedbacks.yaml new file mode 100644 index 000000000000..1cc02270c7a3 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_feedbacks.yaml @@ -0,0 +1,46 @@ +interactions: +- request: + body: '{"metricId": "metric_id"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '52' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query + response: + body: + string: '{"value":[{"feedbackId":"feedback_id","createdTime":"2020-09-22T00:24:18.629Z","userPrincipal":"xiangyan@microsoft.com","metricId":"metric_id","dimensionFilter":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"feedbackType":"Anomaly","startTime":"2020-08-30T00:00:00Z","endTime":"2020-08-30T00:00:00Z","value":{"anomalyValue":"NotAnomaly"},"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","anomalyDetectionConfigurationSnapshot":{"anomalyDetectionConfigurationId":"2fe9e687-4c9e-4e1b-8ec8-6541553db969","name":"new + Name","description":"new description","metricId":"metric_id","wholeMetricConfiguration":{"conditionOperator":"OR","hardThresholdCondition":{"upperBound":500.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":5,"minAlertRatio":5.0}},"changeThresholdCondition":{"changePercentage":44.0,"shiftPoint":2,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":4,"minAlertRatio":4.0}}},"dimensionGroupOverrideConfigurations":[{"group":{"seriesGroupConfigurationId":"51242ee0b8c72df4e537ffdfe0e8af69","tagSet":{"dimension_name":"Common + Lime"}},"conditionOperator":"AND","hardThresholdCondition":{"upperBound":400.0,"anomalyDetectorDirection":"Up","suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"seriesOverrideConfigurations":[{"series":{"seriesConfigurationId":"54bdef99c03c71c764fd3ea671cd1260","tagSet":{"dimension_name":"Common + Beech","Dim2":"Ant"}},"conditionOperator":"OR","changeThresholdCondition":{"changePercentage":33.0,"shiftPoint":1,"anomalyDetectorDirection":"Both","withinRange":true,"suppressCondition":{"minAlertNumber":2,"minAlertRatio":2.0}}}],"favoriteSeries":[],"disabledSeries":[]}}],"@nextLink":null}' + headers: + apim-request-id: + - fe27fe9b-33ba-40c1-992f-055d1d41008c + content-length: + - '1794' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 00:35:51 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '224' + x-request-id: + - fe27fe9b-33ba-40c1-992f-055d1d41008c + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incident_root_cause.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incident_root_cause.yaml new file mode 100644 index 000000000000..f9f7b809746e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incident_root_cause.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/incident_id/rootCause + response: + body: + string: '{"value":[]}' + headers: + apim-request-id: + - 88646f24-89dc-41fb-a333-401aa0134040 + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:04 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '208' + x-request-id: + - 88646f24-89dc-41fb-a333-401aa0134040 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_alert.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_alert.yaml new file mode 100644 index 000000000000..d30c3cf8f51d --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_alert.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/anomaly_alert_configuration_id/alerts/alert_id/incidents + response: + body: + string: '{"value":[{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"a6a239ae68312b70cf66f778a7477d41-alert_id","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"incident_id","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"metricId":"metric_id","anomalyDetectionConfigurationId":"anomaly_detection_configuration_id","incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-alert_id","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: + - adc57129-32b5-4b80-a67a-b8374fcf1d18 + content-length: + - '1179' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 21:54:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '408' + x-request-id: + - adc57129-32b5-4b80-a67a-b8374fcf1d18 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_detection_configuration.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_detection_configuration.yaml new file mode 100644 index 000000000000..8d3c4f4638ce --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_incidents_for_detection_configuration.yaml @@ -0,0 +1,1087 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query + response: + body: + string: '{"value":[{"incidentId":"incident_id","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"007f2c0b9e584865226cebf5418e42b5-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"641584f1651248229c7ac1622054acef-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"13b8142e4f38d38c057f687c2a6c0ff7-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"89da81b38d4a9b8377b36533b396da8f-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45f835f6379c57465b54e25de5aba8b4-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e897e7d78fd3f576c33ebd838f1aa568-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c90131fb355ca64902ab7e34424faba-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3aa3b1be7110e514bd26d5be619eeb2a-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fca86f4a0771df91e8256f23db59b2f1-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5a89c6ddb79ee3ee2737766af7b622d8-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27b76e58a329c1467139380fd5ad23c-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c16561b2c7996954586cb6788ebe4ea-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ebaf278493cd8716b31d2f9a7f5a1d5-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67d4df1573fef9406202d449d022228e-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f08119c00663d14023694eccc7726b1f-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eae4a784a896ef62f896859e9c16fb88-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1a0626ddd907a314f4ad65c8cd2b09a0-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a587ba21ed0913f94f43b63fcfe0df7-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"97796fa71d33ea33129206a475cc5d5c-1746b031c00","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e90fb27d0bd794c93385eabb8a4590c8-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ac4c95d5be44546d4e950980c4fb805-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5ec5f17f0b870227087a0607e0a62299-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c16dd563031ddb3b905cbb895e4e93e4-1746b031c00","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cfb4cec675c68a24b32a93aeb8f83db-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e6ec9e42c5a174b6c66de5b3942e6df-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7fbc1fd179536e10c74db8fb4f2d7109-1746b031c00","startTime":"2020-09-08T00:00:00Z","lastTime":"2020-09-08T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c2056afdccbbb6c971a0e87e595fd8c6-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"2f3263eff7ebec71575d55701cf91f87-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"fa02a59a9da76f3681e37b9cf1ba3bc1-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"0e2f472c7dbd692fba8923c2f7f09c90-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"48b5553b21d63aaf2eda299da258e7a9-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"ed1945350561ce57fd45860c49e7605d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"2e14a130f967b3764d434f470ed90c79-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"f0ec54044b14f05722c1dd6e9e2ee770-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"5800a7718cdd105d3df4b169401db1f7-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cea2781e2ebb17c20b3614bc901e7234-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0d1d1d05595eaf8b1eb161f48dba32bc-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a37d0c3ae699587692341d47831cae5d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d5c4be357ab910ff92b0a810e36b3c1-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"49db17e1cc7e839a3fcd995b8ee992e5-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e693c0f522a11fb7938803e3386d43e-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b46a044b6d592a45e2508d584bf16a3-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8574a6fb0f5124381263704c82ab735f-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86e85ca32b3ff7270a89c46b5323c208-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a57a441ee18b1a781e2344706190b8d8-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9727ea3afb9cdbd7554b49377127f822-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1be634e8680f7f41f3070963a21a8ce2-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ea31010e92e5d097ace4053ff7a939-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eaf74390f3baf2f348e9d782d171c461-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f2e19710ef2d44fc1cd59ff9796c753-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e04f109adbf4ca9b12da1583d542b7b2-17465dcc000","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"799056242ef6d4822523bc6bfa62f682-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9664d1509d5c9c6cdab967a48ed43a7c-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e465d7ce2eab5e14ce38a39e6a5c0a78-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0ae1648cffdbac7ef5ff8a98a78e60c4-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"df208b3f67f60ba6d0f5b0f803f4bb1f-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9ec37ecb6f7529194c90763c40b7610-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"586a065eec07588b1c993701f1eb2c1f-17465dcc000","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"94b1070d82d2a24f68ee459fb4dd031f-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3c37b8155456ed55c9a06f2d4acfdcfd-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"da6bdb54a97d59967cdb86a188a80578-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8716aad622b2fd5754ed2a7c98a57731-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b8ec7c3522535439f6cb78e914bfa1ce-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d56df63ed4f3851ad3b285815e29fac-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6509b04581eaa307e69f9a01a4023998-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7573aca2c2b1514604372e386ea4d932-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b051b82f932c4273ed698738b2df6cac-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-17465dcc000","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-17465dcc000","startTime":"2020-09-07T00:00:00Z","lastTime":"2020-09-07T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"008e03333f13ef526fab59984d8636ea-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0311e8637b16ec22f15ee700e3d35459-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed6b809d9445e7c1b8dafe76e85d536b-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ae0d08377b9ff3a7e48d64d4e2b83fea-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0557b07b8eb21c8a6e6742e5ff6d4808-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20286302ad28a0989b0c291090ce0508-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"860fa9152017d7b59ac8c1986fb5f481-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a3ca719eaee5f889f65bd7d25a8b151-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"08a28a4db963e7f4a878da52cd18dc17-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f08119c00663d14023694eccc7726b1f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a4fc06dccd0b0de8a577e357ceee2a3d-17460b66400","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa281ae71357208f14ccb83392ed5d4c-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ccde4825f1a3e82dd8dccc6e09cfaa4-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"17f3f388c234cfd7e535ab51ac4a1b4f-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"175ff739f5f490ea24884b6d1e8a9d0a-17460b66400","startTime":"2020-09-06T00:00:00Z","lastTime":"2020-09-06T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8126f81c5c24ca5dee3ec1fb69ac256a-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cb006f689378e1dfc4d73d81442bf5e0-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f167210571d3da66402f47547c9b8b1e-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6dcf69de6fcc8f83bfee4ff158d5699-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1bb9530e7d6e50a21229bbf8ec399b6d-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-1745b900800","startTime":"2020-09-05T00:00:00Z","lastTime":"2020-09-05T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"7b3ff7d996e69abb8152398f72e2bde3-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"394981a084bb6236be3c93b5e169862a-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34e213f3dabd5b618de8864f5fc191b9-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d3d6770e7254b139e35040b66506b81-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"760b8242d0edf0c881453b714fa73b09-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d3a4b8e4810661e5ab1be9eb594b8539-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92208ec1a39431322e6cc6aa8563017f-1745669ac00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cecc0a8f12ab522e9b7b0c283df72b54-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45cfc3017d05be4b1c683e693ee55796-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81bc0798412f4dddab87bc1f842bdbbc-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"646106ca10935841887a3568a2add46d-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"db4f303bfead652ac2a0c00960503fda-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0dce8270a17c3c1c0d5abd349564e3a-1745669ac00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ef6144ffc4ac92548edb0da3e1439bc-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1741ac8bcc5a8f5b17b1086b4a439cb-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eca6322c2e167d6b68654e4485f2e0ed-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-1745669ac00","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"403429859e947f42db3d660b1fe00182-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-1745669ac00","startTime":"2020-09-04T00:00:00Z","lastTime":"2020-09-04T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e8751dc0ea26c1d692bedc5ff99723cc-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3badd8a82076e4d3c4a4b52e1df933c4-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"445242c0752c481a737a22b37e42e875-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b1320237170cca2d4bfcea44cb9acd5-17451435000","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e897e7d78fd3f576c33ebd838f1aa568-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3aa3b1be7110e514bd26d5be619eeb2a-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d28097d28adb2cc7649bb3ba70a308da-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"afed89785c1c4e9eeed3f9569a7dabc0-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d8ca9275fac073d5f48d2789fae060-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-17451435000","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cd351bc43b4cbfad89ed491e7dbc5cd-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"abfd13865624e1caa3695f04cc0d6198-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cacb59ef9035f7aa241311a0aa735381-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-17451435000","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cebbedb6fe1cf345d1120beeee9a133-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac2f16d58ce1784eac5256e29bf2f0d-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b56305921e5ffe357256bd11f7bc9b95-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-17451435000","startTime":"2020-09-03T00:00:00Z","lastTime":"2020-09-03T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b0905459e304831ab362b1d7829116e4-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"fe45dce953e20b9246436ad3c76a7c4e-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cf9524292757836c2eec2e14fdab244-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4fd4859265b5cc8c1c1b3d4a0e0a509c-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8f08377171fedd730430d81bea52ff6f-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c00f3386c4a85b4d7dad96982fd1313a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5ee5293ccf23456c55183069a4b9ccef-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e04f109adbf4ca9b12da1583d542b7b2-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1744c1cf400","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a412de72a9a5ac09d504b685a9a8616-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"83257ba37033f7616c05045cb569f028-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e382c2c1687bde8d7c4c86c78e23ee3-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fca86f4a0771df91e8256f23db59b2f1-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"adf8a463bc86330ac985ace7ef4eaace-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7419a983bb919bd95e884a8a7b595897-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8094385bf71423605b1366eec41ae3d6-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f906e2ea59ed69704700dd6f8e45b66a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"673951425995df633118682eaf281b96-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b752711616dce27e2fa5fedf0549047a-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4738dd46b9347e9bef2dd6b58235a1d6-1744c1cf400","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c792d0c369cc488599f75372cf06867d-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d3a4b8e4810661e5ab1be9eb594b8539-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"770f054fc609c2f904dcf6fe7ce0427b-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"921fe6c8b8c7b72bab3e867694be3f10-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1744c1cf400","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-1744c1cf400","startTime":"2020-09-02T00:00:00Z","lastTime":"2020-09-02T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa755a6b60dd4a3d0e8e2148ee0593df-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f3a5ab87d5809aa1faba46cb958e9db1-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb32e5d8b333a6943d6a4cec8c3101de-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc45360e8e7a7153d3e252b45a3d9044-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9fb08f3aebaa8523c0c2bcd81b876bc5-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-17446f69800","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cd3f08c10733898ace1decb53264ba2d-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a06906c239e3ce2c74f4fd7f3ed006e-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee651cd24328a73f7d02fa4bc4c8b60b-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b93f657e9633927a1155cbc6ed4bf5d5-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c11b4934111a0694c0fcf8718cd314ad-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"072bc0f89f39807f4afcdf324fcf4b37-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"757bac39288686f48f4653b544d05ea1-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"553f5e328d6f8fa013d367b456b4b458-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"11bd7d16bdd2ce64639a3c2296646fad-17446f69800","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17446f69800","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-17446f69800","startTime":"2020-09-01T00:00:00Z","lastTime":"2020-09-01T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"83dc1243970f2d02251890e686b35683-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"623f8a4e5db7f6dceddc5eee5e0580f5-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10b650ca149ca53aa787cd482718838e-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22959a995b07fffa7418fa717520b3f2-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"641584f1651248229c7ac1622054acef-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d7bf4b69239f8e166506d2567eb2f98b-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b0b597eb5866682bb2d241cbf5790f2f-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34e213f3dabd5b618de8864f5fc191b9-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c906a2a04e8fe6ee0f4028518927b725-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4282006808e1493c639fb39e33b3381d-17441d03c00","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1444d57b7012704883e92369490109c4-17441d03c00","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a866958634752a389e2c252b7b41b01-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"45cfc3017d05be4b1c683e693ee55796-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"647e0ce96cebdeb7234156bf4daa10a2-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d206065246c00ab74315b4298da76e1d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9ec37ecb6f7529194c90763c40b7610-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1c8d30b1d369afebf8c7ac8693bc3941-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74052e4eb1b830f7e9645f9550f263af-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"646106ca10935841887a3568a2add46d-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d08a5c225d011bba0a3a42e8f16c60-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"baf21d62280034d070c4b9fd596225c6-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"315b680fa4dc2372fa859d0dd1103162-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"921fe6c8b8c7b72bab3e867694be3f10-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3655be51dfe0bc729e81a6f4c8299635-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b7dcdcef99b523f2ae9eb58b44bc9d59-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f408c61757d397f1d354b8eb6df1558-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-17441d03c00","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-17441d03c00","startTime":"2020-08-31T00:00:00Z","lastTime":"2020-08-31T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac5de822c4163e11dbc5a10bf64011d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f265881f5532c5ab727abb669279de14-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1592e8cd9b52ed9e03cda73efd648f6b-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85936fe51247075a7e655820014c2896-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"834f6082b8e1bae6132721dc25da6e28-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eca6322c2e167d6b68654e4485f2e0ed-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3b8719deb009ebe30db20298c15ae6ba-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e3a6cf5aee279d4f4231c5f0928cbbc-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8ef54f6646f2928049e03eaa745a39cc-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"050933599751744f309c59d0c79f750e-1743ca9e000","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dc2e60edb58ccbe08a19ded257fdcf6-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1f6f3cc13f5225df938d2ab2074dcf5d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a833e14118e95e40cb4fc649aa5e4127-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-1743ca9e000","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f906e2ea59ed69704700dd6f8e45b66a-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0670f9cf1b5cfc0e43ab92d5172040ce-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"37bd829dd98c9659b2a80f5f94ce7395-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"abfd13865624e1caa3695f04cc0d6198-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cacb59ef9035f7aa241311a0aa735381-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"47f133eb98f85606cb31cef7cecfdbc8-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"79fea5b88292c559677ec40c8656ed01-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b56305921e5ffe357256bd11f7bc9b95-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74d84982464a96ff3eb95a4d5b1a0f39-1743ca9e000","startTime":"2020-08-30T00:00:00Z","lastTime":"2020-08-30T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc2ff8a836361371b8c6eaad71b194f4-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"743e56b6e3ed836b78218e7a13a34717-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ca092b76397d0951a189ca60a61b16b9-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"760b8242d0edf0c881453b714fa73b09-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"218e7f9931905479cd478a9aa1410890-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b045d59e68ef32d963f94bc2ff62c8a-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fc810580695e29c1998f3949e78d2b2-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dcacf66333561a036f6826116a5d009c-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"96062cadf43991e36b9e235ed44a98bb-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c11b4934111a0694c0fcf8718cd314ad-17437838400","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f50d5b7d1c294a5efb380caf2dcc61be-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"718a117259a74f5fde964b9d6d9b8e83-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6ab218766d4a08224f812db22293ef3a-17437838400","startTime":"2020-08-29T00:00:00Z","lastTime":"2020-08-29T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-174325d2800","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8310ebe938dd2605f1b71235f0e38bfc-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0899b6d37863f294ffaab15dc887f720-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e382c2c1687bde8d7c4c86c78e23ee3-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"233e057d416a813f51c9a0b39073831f-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1f6f3cc13f5225df938d2ab2074dcf5d-174325d2800","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d385e18843f853af2664557f89fd447-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"891ba16be7731f96dbe2ed07945e3ad6-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0dce8270a17c3c1c0d5abd349564e3a-174325d2800","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee651cd24328a73f7d02fa4bc4c8b60b-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"474d11128652ea37fb44ddf503ebba27-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c8aff6ba40bf32e3014935dee92125f-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ccde4825f1a3e82dd8dccc6e09cfaa4-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-174325d2800","startTime":"2020-08-28T00:00:00Z","lastTime":"2020-08-28T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"801cbfd6d996cfd00949ffa345080ba0-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d39e2070abb949ca864f2dcbb4b5639-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a96bdaaa64823010e2b5d7ee79c65aca-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92208ec1a39431322e6cc6aa8563017f-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85ba18587dd0cf7fa6b685cfc00731f3-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8f64cdc61e31c6d42cd9a9a6dfbeb66f-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1290959144c3ded4ff2a284ba94c41c9-1742d36cc00","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cb006f689378e1dfc4d73d81442bf5e0-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-1742d36cc00","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c60bb8d0b5d45bba89ecf2745fd1787d-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27b76e58a329c1467139380fd5ad23c-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Caterpillar"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"84315bec8758e7b15e746485e380a861-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"29ddf85538e817259553cbe5a6bb41e6-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f5d01fdc7e8b80a553b92e0e3f3dd01b-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4701e0dbe7b34127694f891d13a986d5-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a38a9fdbe5f8326555e64ae57b93d59e-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f777368cdb6ab0d463884af960ec394-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e2856d696bc35f4c1fc02725ea05cab-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d54763d71a14332d2761819be6ed76c8-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1742d36cc00","startTime":"2020-08-27T00:00:00Z","lastTime":"2020-08-27T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"84407ce8d5790fa14e2b95a96a49a666-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f3a5ab87d5809aa1faba46cb958e9db1-17428107000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-17428107000","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"afed89785c1c4e9eeed3f9569a7dabc0-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c7fe6ab3690d4c937beca804e9d1f606-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cd59fe5193a104b489b27841b08858d3-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82ecc8943f6093e6bf82cc9627f41d76-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f034bf7918142d6f1f33a7ab6af799c1-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"371d97a97ca26938bd6e7c44e4b7e7e2-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c16561b2c7996954586cb6788ebe4ea-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"886217d74276387ab304e87813cebadd-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"673951425995df633118682eaf281b96-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"08a28a4db963e7f4a878da52cd18dc17-17428107000","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a1d4188f8f452f64e8bbd6b5a97fb01-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-17428107000","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-17428107000","startTime":"2020-08-26T00:00:00Z","lastTime":"2020-08-26T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dffafa3229c42ceadfaceb982dce356-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"658146886f9eea1541904e20c652c836-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c00f3386c4a85b4d7dad96982fd1313a-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7e16b7a48054da43017865ad9dc3210-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e37cdacc29175a1b5689e9fa6ff83f7-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e88ad7e1936c819c411ebf14386ac9c5-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"050933599751744f309c59d0c79f750e-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"563b06ee98279cfc71de4ad035e7fcfd-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40f981ba9ac24ef15a8d5e54b4c95432-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fc810580695e29c1998f3949e78d2b2-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99c0098e7258f71a589792798dff740a-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80acd5e0b81aedacfca89429e7ceee44-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34cb21b660d13bacaa3db87802db364d-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed9d725f6ef9e4510728130d0fb66505-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d27926af7aaa1dce10dd73cd5943ce4-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b02841db79eecb30f9c92376f3d6a9e4-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e708c701adddd5fcb0385cf6acaea57c-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e761ca5ea08cd86b6dcec5658114126-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c0d6c24a636d6849bd12871437de14f7-17422ea1400","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ba2ff597c78d3a417fd9d6750caf884-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86c22e0983d57bce042ecfa085bfe1d8-17422ea1400","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0a1de83d9142d3cdbe20b516baa3e82-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d567c6254bcc0c08123850e26079c3c4-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a866958634752a389e2c252b7b41b01-17422ea1400","startTime":"2020-08-25T00:00:00Z","lastTime":"2020-08-25T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"387eccccff53934168d89930e3f2ef7f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9f790c1c2dc76b4768e944e8a6becaa2-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a076d6d34994c478bcf5a71a0e81e7d-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6867d51ce45b8a136a1ce1bf720322de-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"30cd5834fdd569759064939a3995f8db-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dd1478bd9f815bba0c2c7730a6da5a1c-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e3a6cf5aee279d4f4231c5f0928cbbc-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"863353916661912880e8214df7a0237f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3655be51dfe0bc729e81a6f4c8299635-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"67aab648e26fdf49bc77a78e764922ec-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b5227389258ac73b5f07a4425ca1da43-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac42cf930d0d72fe3bda863d8f68ade-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"127c8ee94bac1880ef881d5d506b4982-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"175ff739f5f490ea24884b6d1e8a9d0a-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d385e18843f853af2664557f89fd447-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4e7c2e8e78265269da5ad8ba515caa3b-1741dc3b800","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"40b821388a636fb151e7d1e08a51177f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c1a59aab5541bebb7282cb108d29f125-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"843c3ff07438866b5ad48efca724bc9f-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e4ab22586b41c4c80081129424417089-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc76c9f76d3f13a47c9ae576507dd3de-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1c8d30b1d369afebf8c7ac8693bc3941-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e62c7497e49e422ddb625daea6f214d5-1741dc3b800","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82474748e69090743d5b0c4df8c1186a-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63ed7dbaabf9e95124ee8709a80ff2b1-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85d6b2dccc1d18213b3934c0c009550b-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"371d97a97ca26938bd6e7c44e4b7e7e2-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cebbedb6fe1cf345d1120beeee9a133-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34104bb5a81001d1f3057e2555e4134e-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"384e438bd8d5b1f60ff22d4e729cd9b8-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e510c539547f7010234097bf5695be08-1741dc3b800","startTime":"2020-08-24T00:00:00Z","lastTime":"2020-08-24T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"59671e17866bc003f281055d01d7f857-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6ab218766d4a08224f812db22293ef3a-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09951ce44a4ffa4c7a0be72ef7a3af19-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3191767e8f21ed6e40e6678cae544533-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"788eab73eae508789c7be69f24106328-174189d5c00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a2d062cb9e1d03b83c18230120ed224d-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"05a43c9a57a9ccb32aa4ed865adf4471-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"893eb8d20af179e6209f21c92a970bd1-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b8eee6a985e6cfe252b6f55c8f8c693-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bf16edfb65f4cc59775876306dfde327-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"496f7401bd0f2e633390bad5b4cfe1a3-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4a6e5fe6be6b97af3a9b891bc9eebf2-174189d5c00","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"788b86ea0242843d8e3554bfe14d1f36-174189d5c00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"113446a1c673896502f0526dea10525c-174189d5c00","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74d84982464a96ff3eb95a4d5b1a0f39-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4ee3adc7cb24e4d078627c2a42456b9-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-174189d5c00","startTime":"2020-08-23T00:00:00Z","lastTime":"2020-08-23T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d4126ed79bf9645d8fdc26dcbe988b3-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"12bed2fa85a98a01bac8dd0d79f7a378-17413770000","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed8c8aab50f3cd57619d7878079998f1-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3daeef64a07dabc23c84eb45cd9a5f90-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1964ee989d55fcba205d68d9214ddcd4-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8e67be34ccd8a92caee9e341aaf39b41-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b792e26b431147faf610bb0f11509090-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fee9eb2fede2af12f19716e1ff2c1062-17413770000","startTime":"2020-08-22T00:00:00Z","lastTime":"2020-08-22T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d7bf4b69239f8e166506d2567eb2f98b-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00917e01b8bc5145a2ae207a8029fd11-1740e50a400","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d567c6254bcc0c08123850e26079c3c4-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"478bfaf9cb37c8ffce71c0f7af317bd4-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6240cb868a60d25a0eccc0102be31b1-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80acd5e0b81aedacfca89429e7ceee44-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"801cbfd6d996cfd00949ffa345080ba0-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a833e14118e95e40cb4fc649aa5e4127-1740e50a400","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d28097d28adb2cc7649bb3ba70a308da-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c51e02ff667c860d9afd5217d575949-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"44f64dc46d59c50f1ba141f1c422221e-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"527b1817f9aa3bfa9e54734ee2f2ea42-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8094385bf71423605b1366eec41ae3d6-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"029caf6cc2201f710f5f8e7192082a76-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63ed7dbaabf9e95124ee8709a80ff2b1-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b52c1252c75f402ab547294538e2dbd7-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4738dd46b9347e9bef2dd6b58235a1d6-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-1740e50a400","startTime":"2020-08-21T00:00:00Z","lastTime":"2020-08-21T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dda410546adb8260b7a7e363773c8e42-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3dc1f92897a2b637fa8144fb1aefc2a-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9613108a6390f7987ce02a5eb5eeeaf-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"18618a675da9f98c370b02c228536120-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20a5e8ace6f8f6cdd30a05f3aec3eba6-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2702b876a1c7f4b3b0b4f77c8eab1005-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"883d6deade06d2e7196b4f4be3688e19-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eb3114767a3cb51b4877574839fb5e1c-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a1d4188f8f452f64e8bbd6b5a97fb01-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"276e84aaa2fb05b90ac9de7c7718d439-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f078dd77fd1aedb38b90d541650c2d56-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fc7be04d67b32fd3ceaa6190db817f82-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa8d10639f64317a08ca3858aaff4f33-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0da4f4ef4db7db9ba355c66e911e2b35-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10a2fd212719f21a164a01d266c02b9e-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0dd7026311b2b75e00d6921983458852-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a1064eadd45877ace521127a421a27e-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"61ab275a61cc0616372112e406ffaca2-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9158283c7c17512155c3529bcec41328-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02f6731132bc11fd8609d89e7eefd6ba-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"643e3a849425698b44c4c612a40dbb77-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6867d51ce45b8a136a1ce1bf720322de-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1ed17a92fa6951c3d7bd3388c501d61f-174092a4800","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"207433989591c50e00dad9f3d4191cce-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a66e6977f6d4e9b85c20d5a59cd6eb2-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4d2faf4248f7a8a313b0c481d803e542-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"43b41958443f7feb303aab3ccce585dd-174092a4800","startTime":"2020-08-20T00:00:00Z","lastTime":"2020-08-20T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c9131b6e66d512a4681d0ee32a03119-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"8f1141f1960920d22c2707879d014626-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"31c62f2f522db8dd0e1f4d654f16d6f4-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a310f9f4ca025fd13082e4af39cddd86-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fce08acbff5e1b83c3be5bd1524ac9cf-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5b79c442deadc226a779a962d8f6dbe8-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"834f6082b8e1bae6132721dc25da6e28-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5715372e5c54f3920ee9c59f75344dc2-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7e16b7a48054da43017865ad9dc3210-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9dc2e60edb58ccbe08a19ded257fdcf6-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34cb21b660d13bacaa3db87802db364d-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06624c901b2635ed1f4ce44fb5f2e4cb-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e212f5fa523c3a1f0f06dc3f81620b4d-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f400363d008aca387740a3a39b8684c9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6de49a1e7edb7479f799087586930cc8-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"956102fc96a8be4de9467d69e2ae12e9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f7de3e82ef25e6001194d66b26d0bc9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4a6e5fe6be6b97af3a9b891bc9eebf2-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8cc3eb717f3884f7a00bc6d93b04e973-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9e1d9ffc4c247b2bb4342e458387b481-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c0d6c24a636d6849bd12871437de14f7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e708c701adddd5fcb0385cf6acaea57c-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"072bc0f89f39807f4afcdf324fcf4b37-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3305c4b4355ae50f0c55eacb257c1e41-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dc406e1fa9a4900587230cbec61cfa43-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e62c7497e49e422ddb625daea6f214d5-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"755d52e21bcb49d0b5c854275f32ffe7-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3291f08abbdb346c42ca6530d4a7255a-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3c8d51b69a01d320deda8d3a5eb49ce9-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80766fa0ccc066f2d18eec7b89d9ae98-1740403ec00","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1741ac8bcc5a8f5b17b1086b4a439cb-1740403ec00","startTime":"2020-08-19T00:00:00Z","lastTime":"2020-08-19T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d4ddf1d1b1f189390b4c64943fae661-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"743e56b6e3ed836b78218e7a13a34717-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"52a3e4f2749a3b0538081f40b28eaa2a-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a29635c29dbb571b813c41dc8b7ba0bb-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7dff9aa562bf22c7c62fba6539d673d2-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e33eed0b14062992cedbe7a624f10301-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d6fae84c36e604d8131aeb768bf1b87-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a849a17fbdf7139b89e5d928d7b1fce6-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"799056242ef6d4822523bc6bfa62f682-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92cc6478c0dbcf6a5289a80ae5958ece-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ceb41534df0afd897a53c8d5aeca58d6-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b296e03e2dccc33ae4976c9f27b89857-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"beb18122021a083c75556891279e8f70-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c75d9f6f328c441d1de657653fd5181d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f6edbd851116753ad72e2b9a3993bf5a-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b29e39159e737743ee936b51d05e75ca-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5659505e508ae42bc0cc7cd8d142ad7b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0bf008e7d532ebe7455360188fb64dc7-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3203dffdb89ddff2c27902a867f95e0a-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e5451767ef6f6806dc05a566802fe906-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c7467baf2d9f71720c5e2feffa91bfc-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea382499f4552fba68eeb6c838926822-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1589049fa2c7bb81631737442da2794-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3d96be54d0cb253fb24fbbc18d7764b3-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6c603d31e3c5ad6526cbd081eab1c10-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"de29791f0380207c3518aac867974a8c-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"92ffa91036a54c710b83dfd28086b318-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99fda5745c2e36dfd23fdc7de37d458c-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5b68b26c968cf1a10d4940a0194940d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c57f69fbad080df7ff81ec0fbf41c5cd-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa4283ffb1575e891b37f4aa2dea43d3-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ff90139099853ada62129768539a6d5d-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"82ecc8943f6093e6bf82cc9627f41d76-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d05e2c3e193e76d17ced6e407da10d2b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91e59c4592c443cf5d9f7a51e6bde8c9-173fedd9000","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a587ba21ed0913f94f43b63fcfe0df7-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"428ba866eac42b1fe0aeedfe1077a877-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb32e5d8b333a6943d6a4cec8c3101de-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8607e13cc2a6125124d1c89c267bb38b-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76bcf1b89f80bb629dacbd68ed42c5bd-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"29ddf85538e817259553cbe5a6bb41e6-173fedd9000","startTime":"2020-08-18T00:00:00Z","lastTime":"2020-08-18T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f3263eff7ebec71575d55701cf91f87-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"8d134e1371ab5e3c92ae66f54795a0f6-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e1006ac3851061bec92116289b0608c-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a79eb0471dab655862a6570f9642081-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6455a499b1b00a0389ee27491e92d535-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cecc0a8f12ab522e9b7b0c283df72b54-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4da5594bf24ea55abd22b0f7fd48f96-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c85874f88ce0d6636595ef2eef588f48-173f9b73400","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d219b1779ddaa3b962d8978d75d39b46-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c0c51e491014a195220888938b315d2-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c87c20ce60127f65a5b5370fbe17dda9-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00b89c31c14766a9cff07ec7c4793042-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"813c0673a0ecc31b731a8f4a25cdedc0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"21f94029b6b05f37c46e06592244a983-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5babfaddd5f24bde9e0cc83344d857c0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1eafda089ba4d5f3fb7584e69955449-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"647e0ce96cebdeb7234156bf4daa10a2-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3bb050b8e8d029c17fc3aa719846fc7-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cc8d82361998d912a49eeaa5a568200-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ba2ff597c78d3a417fd9d6750caf884-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfe4e3e59319c55d39e42f454e70a3e0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9686e3cc99ce6efbb9bb57556144dd25-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a38a9fdbe5f8326555e64ae57b93d59e-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0db70328693dee28cb73c660a563de0-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7417b570f4b6b8c6bf0e76f07abff4c7-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e9a181d50e5fad2bc5a2cc93d5c5be1e-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cc40511a7cb745ff811151ca54ad5ba8-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e493f687b7113e26a585b0fb28afa7cb-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c9c8af5c0626bd032915765c47c3c6-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22dd737ffc91834762d2dc7efb3c09d9-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a5841ab4327457478ae32b8782821415-173f9b73400","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c688a00870964f137dc18dfc6ac17421-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fabdce0aceb3785ebe22180c8f70bd62-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"932cde3967db70711ed9761d636e70fa-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-173f9b73400","startTime":"2020-08-17T00:00:00Z","lastTime":"2020-08-17T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa02a59a9da76f3681e37b9cf1ba3bc1-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"3f6d7915d639fb8d8a4bbdff0c5d286c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"}},"property":{"maxSeverity":"High","incidentStatus":"Active"}},{"incidentId":"affc84d4bba9a65e580a3cf6755d8ef3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"48b5553b21d63aaf2eda299da258e7a9-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"2e14a130f967b3764d434f470ed90c79-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d8ec38c82904fc0ffdc8221cea9b48f7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"b5b9ede5671b61b19574d08cde731de5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"d39ba889ac01ecfb6074040a1556b09c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"62476afd9bf098101eef349ea6bf11b7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"a3dc1f92897a2b637fa8144fb1aefc2a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e7a36ca6dca27257e34b70ab9e7dccbe-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"8178e2274e83d047e2962cc9021740dd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Amphibian"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"cea2781e2ebb17c20b3614bc901e7234-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5800a7718cdd105d3df4b169401db1f7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e9be554e1d5416a349427640baa9ea5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c438f048b30b98bdba8874dea91f8a75-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"473422654c9a13a80a5d3e4f3fce6225-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5d60b2652cde380df98c122774c3bfe8-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"87be661e174b9e13d0527649a74786aa-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f663bb47feec7311609484568b329a05-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b744b8f0c891cd73fefa8c209039a581-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a37d0c3ae699587692341d47831cae5d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a9c221fa13ed1a7b8ddd9457e1601f55-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"301bb7eea70421287f206c5ec9143606-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6e7f3460dc2329d609723f268971ea4f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7a2acec2d56f800b54e4bfb637979573-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7da4cf1671df0f941ec3ddda54561839-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c917f96e757797ea674ab6bcb245a6a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02425c6260bca870b822b1091e1b030a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5e693c0f522a11fb7938803e3386d43e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e9a771c92b1b8a40d70cbfc89edd03f2-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b27e25e90f10a2679a8dc87ca7bd6be0-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b46a044b6d592a45e2508d584bf16a3-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fbfe65cede0024601eec4a697ed957ab-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6afd6f5ee7a97a49220bfb014c64e417-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91dd29f914d9ec8f118ff45ae4a45288-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8574a6fb0f5124381263704c82ab735f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3de1bb2f38294107eea364fdf7e9c5ff-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8d26b9c774a930cb5dcaa13a1c0a3ea0-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e63da4b3b9f085dd48a72ed9a34a09aa-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86e85ca32b3ff7270a89c46b5323c208-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4b239d1ffefa67f23071fbc39dce63fa-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e765a24fd08a5208c8307c292241552b-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b258da33470143846c3906ca2a632b7-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3ffa3ce6f9e628d20cae4e3ad4c1b14-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e6f3b78509ee82efaa76412fc5e9fb4-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0c12694a318199d668bb60432b719700-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ab7b756894564b9e845cf9a91ec962d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e3789ef957f68182ecd6f42079affc9-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"407aaccc44d2dd79d227f1f47956eb0f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a1221b473717e2beda023ddcb3591027-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"25981c93bab7e74cb3b6af65075a18c3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed1945350561ce57fd45860c49e7605d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4236b68470d3b8c3d7fb9d4aa83e442a-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a57a441ee18b1a781e2344706190b8d8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"983d100f8e319cfedfe16bfeaf0f150d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ecb659683973a2c76a8bf2a7aabeb0-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e46d7410825743014703be78cc525d6-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ad58803b70615cc0ea4d016c6540f10b-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac7f0f60305bde2826653406c7bc296d-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7ee8cc5814bc8339f3049b2913f2794c-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a0fdc0de122c7daef5c37dc1447d2c8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"825280c8d4608c90c4ea2e3c9ff5846d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f0ec54044b14f05722c1dd6e9e2ee770-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c3ea31010e92e5d097ace4053ff7a939-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c1f9e9751660df89ce86577656ae12-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1574e9f113073062bc93476ee179a2d2-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e7eccc088918e7286e480de1c2b15b19-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78eaf876411af828c8a66e9147ad2af7-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"862f06854cdcb11770692bfde132d4b0-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6cf9524292757836c2eec2e14fdab244-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eaf74390f3baf2f348e9d782d171c461-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d10ac3ca65b163123b615cf49c7b69d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"01bce2b7bc20fa236c87a57421728075-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"65b5141d6bf9d7da267fc9b53439919e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"06a240ec63ff8eb1f19b47a5168db921-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f604552873bb3e03f836e8c5da15c29-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"093093136ae4ee51248525a86c9162a8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f2e19710ef2d44fc1cd59ff9796c753-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b6c0e7d681c2d0feb3044d05ed7eb26-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c6621bfa41faa7d2b370752dbb4c3b3-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a6a239ae68312b70cf66f778a7477d41-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81d072a81762c6085de6fa8178a8faf8-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"20a5e8ace6f8f6cdd30a05f3aec3eba6-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2515b0255f013bb2cf92016c43b1a9d8-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8b607981c1a42ad6fef70ac9e15d4cff-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"563b06ee98279cfc71de4ad035e7fcfd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5fe255778a3022c66f4ed65ae45446d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2cba0250b334090391b23a888cf67792-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ffbc33d6cabb0f1f0506580c147d0c47-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"73561fa50ad6459fe0b8f9bf74e30a81-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"84c4b83f374581f9ea685be4a063abd5-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1e18994824d880a47de4f87cde3018c4-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4a6b2318eba8e4259bec52a48fbc77bd-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0998c5438e745065f2b4312721c48b8f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4157b275ca73cbd0226552eb73e2a963-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0237fe843f8d155aa0cfb6d58ee00be7-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2b8eee6a985e6cfe252b6f55c8f8c693-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d8ca9275fac073d5f48d2789fae060-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"127c8ee94bac1880ef881d5d506b4982-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bf16edfb65f4cc59775876306dfde327-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"90d8fcd4293881f976bb60e4de7b4472-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0858072e1e89be918ad8c1b38e5156d9-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e04f3cfaeff3247b8d216982f98c96f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"94b1070d82d2a24f68ee459fb4dd031f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10a2fd212719f21a164a01d266c02b9e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8ec165a0e9bf58e16ff062813d87df1d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"78f30c2c9022b041c64d3ff2a032cd43-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81bc0798412f4dddab87bc1f842bdbbc-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5fcb11c1b7a95a93165e51820ede686f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8fbefa2c60f8c1bff6452cb2d240d94e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72fef2ce451a9570e89fa0ee33a2ea5f-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7634063ba3975e6c492fa8ed3c48b1ca-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"988cfe0b1258c43dcb3d2ed56aa0929e-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2ad1029a1a921807138b4a9de87e0b29-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d05e2c3e193e76d17ced6e407da10d2b-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"53cf37cb06cd78db81810decfb9bcd07-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86a24d29f4b0bb3def4022d90c456f0e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"77a5c068834bf068189b0df48219028d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4fb5824a952aca734162b76ad8d75e07-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"372fc72ff4b4148d138cc827aae8f172-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"da6bdb54a97d59967cdb86a188a80578-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"faa41dfc3e63a426b13809cb6ae05f5d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"eeb9c14d94d7561a1757cafb5857786e-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"315b680fa4dc2372fa859d0dd1103162-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3e2a8e746d5bf3949a7e7c04f5db10a2-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9664d1509d5c9c6cdab967a48ed43a7c-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f471a0ebff9f1b4c3a71b03faced6ec4-173f490d800","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2a21a1f0f4ec1006cc974a4f0ec21d50-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"97796fa71d33ea33129206a475cc5d5c-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac2f16d58ce1784eac5256e29bf2f0d-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72efcbe8df4b3454f83a1229a1e12428-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"74235ca567265b33c4888c252a829756-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec190978fe5340f3a4a3ccc36667db92-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ac4c95d5be44546d4e950980c4fb805-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"07b3f78d099b7d35b4d5d59e1a21d1e1-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8a576a78b827cc2af797f23dd08b8923-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"df208b3f67f60ba6d0f5b0f803f4bb1f-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"52f41fd7eb1c79080f7e1ea88de20f0e-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ad65c892c9b628dbb524a2dbf1edc502-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Aardvark"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c9fc8a6a683f95c87e4e5c56f6d63c1-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"80a1891b3f02d7c73625ff0c7fe62f06-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by size"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7409a9cf8e364d46c3e08a7f9eaff60-173f490d800","startTime":"2020-08-16T00:00:00Z","lastTime":"2020-08-16T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28421b69c26bd4e004d2c9d26c7020ea-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"4e3334fb5401357d5c07008517224a8e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"35335fb05115324e42868c51bd29f060-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0e2f472c7dbd692fba8923c2f7f09c90-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"623f8a4e5db7f6dceddc5eee5e0580f5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2f7a6d9edce151ce2fc44a304917c1e4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32ebefd2c1b449dc029c80729b51e5e5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5a51fda385a078b13f873cf1215c87d5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"10b650ca149ca53aa787cd482718838e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32dbb19962929a94db7a860d500d685e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"658146886f9eea1541904e20c652c836-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22959a995b07fffa7418fa717520b3f2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3bd3098f59ee7844fbca7b1f08d43f52-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e1eb185f5343ffdf708d8541785b37f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"49db17e1cc7e839a3fcd995b8ee992e5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ac5de822c4163e11dbc5a10bf64011d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3eebf692817806b3f5540b2c244ac8a2-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"280ff58f97a81a6e025413c3ef54432f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09a1ad568b24b07a09a5aafb3b3b8eb5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"60a4bfeb9f18e9393640444cdfecb276-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"479cbdd49f9e5a1466b63bc62aad04f3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"58fc30bc6a168cfa0d486a6af77e0802-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"09435cd640b7340a5a0843828c218e82-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f1cc676aadd0cc1b50a02b4dca56846-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"48358c737de3c7fa192e4468f42d4eb3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"60c7bd3490b72a501f96ffc3550ced3b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1220bb055cee1ae86c5b230bcdaafd27-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0a21f7096fe2d575c3017b264f2acd60-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00fbb269f85059a69dd16a051510dd74-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"047a2c5a7bedaffb7cafd3b9fdb287c6-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4cbdd3c280c5e1c03a1b75d80a5c254f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"383e61380621f6a6288fb27ffc359df8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02fd8a6b5271910b2335f84e6c309bcb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"16504d092eec0dc756e9568e45536d5f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5988cf3bfe979264d391d184fdd04c04-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4ac8f18ce9fbbd758fc3b1acbc145dd4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5855dadac7d09ffb6ccec6f96dbfe621-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2c895672c3c033c57d0f26f5273c7ea3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"130cf6af80e05faed85e0710e72adfa4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"614de91a9df5b704fb46b2f756678398-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2bd925c013407b08e4ac97e6a392a59f-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"010e484142c72bf862168db80cda5ec9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"19a8b22a0e708d7fac140174b5a76ba8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"497d898821166983b0566e842ffb99ed-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"589e1ce7435e10c4fd25dcf44e6008cb-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5659505e508ae42bc0cc7cd8d142ad7b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0199a7484859345433ce3f09ea1e16e9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1964ee989d55fcba205d68d9214ddcd4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1b7dac0b25b4b609de56f35beed9237d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5dab47a777cb20243f5c711c011bc625-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f91b848647fdad9fc89cf702c76f361-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2e937f11d264be5c73119b80a27d42cf-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"599127444e3890439efb9990e31c287b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"30cd5834fdd569759064939a3995f8db-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ef422945d263e10bda68f7e4410c4b7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"34104bb5a81001d1f3057e2555e4134e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3717bb14413ea653478556ec30adb409-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5f4e45c429c9174f9acf08df4af5e317-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"46b06ed6d6ccccfaeb938344dbe828c3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6509b04581eaa307e69f9a01a4023998-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"544960f53a0e9840a5ec268bb6ddd5c7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"629c77943696242a4e5f75f13c9c6e95-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1bb9530e7d6e50a21229bbf8ec399b6d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"63630c3417929aa30984db5598805523-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"22dd737ffc91834762d2dc7efb3c09d9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"00021aab166f3cbdf0fa06c2698fb988-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Ape"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"43b41958443f7feb303aab3ccce585dd-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0cf6d7792cd7c9e90432cf3d7df1d55d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query?$top=1000&$token=eyJtZXRyaWNJZCI6IjNkNDhlZDNlLTZlNmUtNDM5MS1iNzhmLWIwMGRmZWUxZTZmNSIsImRldGVjdENvbmZpZ0lkIjoiYzBmMjUzOWYtYjgwNC00YWI5LWE3MGYtMGRhMGM4OWM3NmQ4Iiwic3RhcnRUaW1lIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJlbmRUaW1lIjoiMjAyMC0wOS0wOVQwMDowMDowMFoiLCJuZXh0IjoiTWpBeU1DMHdPQzB4TmxRd01Eb3dNRG93TUZvakl5TTJOVGd4TkRZNE9EWm1PV1ZsWVRFMU5ERTVNRFJsTWpCak5qVXlZemd6Tmc9PSIsImxpbWl0IjoxMDAwLCJmaWx0ZXIiOnt9fQ=="}' + headers: + apim-request-id: + - 63fbd172-0eac-4dc8-be3b-853e2d3a2169 + content-length: + - '259499' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '496' + x-request-id: + - 63fbd172-0eac-4dc8-be3b-853e2d3a2169 + status: + code: 200 + message: OK +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/incidents/query?$top=1000&$token=eyJtZXRyaWNJZCI6IjNkNDhlZDNlLTZlNmUtNDM5MS1iNzhmLWIwMGRmZWUxZTZmNSIsImRldGVjdENvbmZpZ0lkIjoiYzBmMjUzOWYtYjgwNC00YWI5LWE3MGYtMGRhMGM4OWM3NmQ4Iiwic3RhcnRUaW1lIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJlbmRUaW1lIjoiMjAyMC0wOS0wOVQwMDowMDowMFoiLCJuZXh0IjoiTWpBeU1DMHdPQzB4TmxRd01Eb3dNRG93TUZvakl5TTJOVGd4TkRZNE9EWm1PV1ZsWVRFMU5ERTVNRFJsTWpCak5qVXlZemd6Tmc9PSIsImxpbWl0IjoxMDAwLCJmaWx0ZXIiOnt9fQ== + response: + body: + string: '{"value":[{"incidentId":"9d5c4be357ab910ff92b0a810e36b3c1-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"79fa6b2d43fcebaceeb9779633d98f1e-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"9579e9cba3b4f02a95bc66bf22bb0b17-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"b2ed5f827e7ab8113a530113d32fe3a4-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"6ca158bf56fce054e59769e02ce60ce5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"ec8664153851031cc428baa917138df7-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"e023f8f2829676c9e08418b7d2c73552-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Medium","incidentStatus":"Active"}},{"incidentId":"674090886eb148a34d6c719e5ef3dd10-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"756442a2fc87d2079a5b3f0e57c66033-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3bd3098f59ee7844fbca7b1f08d43f52-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3eebf692817806b3f5540b2c244ac8a2-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28421b69c26bd4e004d2c9d26c7020ea-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"047a2c5a7bedaffb7cafd3b9fdb287c6-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"02fd8a6b5271910b2335f84e6c309bcb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"614de91a9df5b704fb46b2f756678398-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2bd925c013407b08e4ac97e6a392a59f-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0f828a31e8b181794221615367e72527-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"32a5ec4fbec26a387421648d3b3cfd64-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"aac0012066d2bde3b2467c6c3a4c2bda-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ea7c3c0de32117582a2a53bc1afc7422-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"acf8246b316abc7f599cd60ec084bfce-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e1b8ee9e3b639ef98342c1c2f6704542-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7a8e6dece2a0d506c80027a3438b03f8-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"bb023bac599b4e83135e2256a71fb815-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ab46dccca644854614af014e7b2dccbe-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d11b57f73e4f4518817aacd4e7b7c395-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8be5c1fbfe2006d5c2286b31ca0b1df0-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a322d49d5d58ed2ac5437773c6236a24-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c8a4d47ab45d8adcbfaba85bc7825026-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6660c5420193a4240fa57e5b846d374d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8de44e7bddd81415d2b304312ac3ecd7-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"970ce26ee86ee0cd5f213562c5a28272-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f265881f5532c5ab727abb669279de14-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"daacc3c319c8a76983cc600dea26a393-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"99dc13312f1d65283e1067d91de2621e-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b2940f68e5ae134b7932c6d227dbbaa2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ed31c4235f913b7b45987184c07379b2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6fecf64cf0df96931370c46e140aaf92-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"caabe3886eae90bf1d09549efdffc8f3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6930cee5d8efb94c8329f9b80ff43859-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85936fe51247075a7e655820014c2896-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"69df271d4cf73e88c816dd6e22a1f9c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ee633dfcfcc9ac228b4e5ac1de8b1e12-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e701b444044c59de6d66dcf54fd28d22-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d7a12d51bf04841e0dd376f7408f5049-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"93c97c1fe02a4c2086bf96b80ab67e50-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b4dfe5a9883124fb273757d246542349-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d8675dc8718406081efbd5ec4cbcd855-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6c75474e02e49a5d7d8d3bf940603dba-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b19ec4f1ef5e97d1fd2eac0994f1abe-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d416005134c8d5d5cc9295166c44be5c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b44d1721da29838169e8c09ba7bded1e-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9da4d51708e88047136b701d127538bb-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e239a8d84abf4bbda4f827f043d689e2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"750d3148d3ec276e09e160ca5f3bcb30-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7bab457d4d7ee6055b24313a41143193-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f1771ac778019c150cb774344250fca3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cbecd859eebd4c1fd0284c63e70e0979-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"69ba26def626ca7d201928c3bb7ba9a5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"faa12efccfc87ba03d8d757bc2f0b0c4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9873d1af0ce8b6d687ee40cb84d52af4-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7d36963cf78c2837046a3ae3d12b2aad-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fd11d8b8a7b0bf407fde126c79da7c3b-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f4682287e688d43ab4307ab7d5b37738-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"beb18122021a083c75556891279e8f70-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e6d197a7ce67ded42a1c3676a2a04137-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f55e141d7f77eefc2395e268af311afb-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f11914e0219cf41f777de203faff2063-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9d56df63ed4f3851ad3b285815e29fac-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ac0a0938a8a3ff6c0a35add8b693ccca-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b83d89638052b6e1c2decbd750525ef9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8b5cae1cfda637d2a94b9a933f410b26-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7006b9e38424d58f89a05b919013424f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anaconda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"ec694c925571ab2b4c3ce88422cb3665-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5b68b26c968cf1a10d4940a0194940d-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d2a5002cd00ebec39e06ad75d7f3f8b9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfd0f6969d39b8687f10f25da91e4ba3-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5dab47a777cb20243f5c711c011bc625-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"4c795cbc9707d8bd5f5aab742fd1c5dc-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d0bd1cbd6cae2dcac548465f64921420-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b4cdf624930e65e6f94c2e0428cb0f8b-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"86b0965be0f4391fead2c362e4600a2f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e12f39f56c01be31b42e1514c652b877-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81912614ff842321c98f3702c4bbffa6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91e59c4592c443cf5d9f7a51e6bde8c9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9686e3cc99ce6efbb9bb57556144dd25-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d60e1715357ea6ad59d851c0c80c3fc9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a3cc2ceb63a8d692b97b3c9048a7b39f-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"8d59178c8752127ddacd4ab6f13564d6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"baf21d62280034d070c4b9fd596225c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"72cc29476cc98841fcb05fe69e74d967-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a32aaee7e0bf17acb4afe1482209eb5b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"841f42bf736cfe648329150663edc81b-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"dd1478bd9f815bba0c2c7730a6da5a1c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"fa281ae71357208f14ccb83392ed5d4c-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e88ad7e1936c819c411ebf14386ac9c5-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b051b82f932c4273ed698738b2df6cac-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b59811d40e7801d440a442eabe0402e9-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b7dcdcef99b523f2ae9eb58b44bc9d59-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a0db70328693dee28cb73c660a563de0-173ef6a7c00","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c98d4083edba5a3854a69a40f2179b9a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d5e408bd19414b611022252cff4e5f8a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7e2856d696bc35f4c1fc02725ea05cab-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"91690e5d2342b154687d34b4320f9b0a-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Black + panther"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4e1c1bd0063ac97a4b993f8a888eed2-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Almond","Dim2":"Ant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c6c9c8af5c0626bd032915765c47c3c6-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"cfb5fef5de71fc5669189ec18e80c633-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d4df57248c9c1ee210cd2e7367b9a675-173ef6a7c00","startTime":"2020-08-15T00:00:00Z","lastTime":"2020-08-15T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"1a3a1317fdc0c9a3954d775d4b7d5da1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"2d20cd927b7a8a6ce82d3a4da4c10c28-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"618fade71fbd5fbea19488d3a4a62d18-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"59671e17866bc003f281055d01d7f857-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"3ae1927be5c685a76fd9784744c082bf-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"11dceb6e56c7639fb5da33e8aa2d34a6-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"28b93e5bb5ed5b9fe7e802650b689444-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c9613108a6390f7987ce02a5eb5eeeaf-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"306e4492ab8f87c0cbd03e1ede184e57-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7837af6071bd64fa9ace39b494937ca8-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b8a3b066088da639be5b85a2a9f20b5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f7a6e4d4b0bb3715751301f1b5c3a406-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"f6edbd851116753ad72e2b9a3993bf5a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a4cb5f253e30bec6393052987af01168-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9a591f19a631a8cfac1b707ea4f761a8-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"6b5c2510e20a73926cb189d84c549d1c-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"d206065246c00ab74315b4298da76e1d-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bat"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76bcf1b89f80bb629dacbd68ed42c5bd-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0da4f4ef4db7db9ba355c66e911e2b35-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"821d9ae36b6637a8c39793d0a5c17cf7-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b93f657e9633927a1155cbc6ed4bf5d5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"0b03e5ac6ea74eab1d2643a0f6d5838a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"85d6b2dccc1d18213b3934c0c009550b-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"e525a81b583ed149e12ed726f74b0f74-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"16b310c0cbde77dbf499341e070d6f20-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5c64a49e41184760a3a42f6315469ac1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a027c67fe5bfe533336358bd3d85d94f-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"a7886c30eaa9c16151eb1e3927c9853a-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"267f0c5ad4c1b049d6fd59a784d6c01d-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"428ba866eac42b1fe0aeedfe1077a877-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"76cfdfd13767fd6041d5a3fd54900e99-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"b6e2f812603af7d529884da490407381-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"c4e7b3b4aa13b0e3f70ce3b98b8a1644-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"736d99fc5d108003d75bba057875dbd1-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"7c7467baf2d9f71720c5e2feffa91bfc-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"5babfaddd5f24bde9e0cc83344d857c0-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"9ebaf278493cd8716b31d2f9a7f5a1d5-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}},{"incidentId":"81e3bf1c8520eebf1245c1b7426a6512-173ea442000","startTime":"2020-08-14T00:00:00Z","lastTime":"2020-08-14T00:00:00Z","rootNode":{"dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},"property":{"maxSeverity":"Low","incidentStatus":"Active"}}],"@nextLink":null}' + headers: + apim-request-id: + - fbb7d32e-1178-4d1e-801f-7bca02f22793 + content-length: + - '37890' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '563' + x-request-id: + - fbb7d32e-1178-4d1e-801f-7bca02f22793 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_dimension_values.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_dimension_values.yaml new file mode 100644 index 000000000000..4b183e464ae4 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_dimension_values.yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: '{"dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query + response: + body: + string: '{"value":["Algerian Fir","Almond","Aspen","Austrian Pine","Bastard + Service Tree","Birch","Black Birch (River Birch)","Black Mulberry","Black + Poplar","Blackthorn","Blue Atlas Cedar","Box elder","Cabbage Palm","Caucasian + Fir","Caucasian Lime","Cherry","Cherry Laurel","Chinese red-barked birch","Cider + gum","Cockspur Thorn"],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query?$top=20&$skip=20"}' + headers: + apim-request-id: + - de769b65-714e-4958-9c62-1a67ff37dfdf + content-length: + - '497' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '96' + x-request-id: + - de769b65-714e-4958-9c62-1a67ff37dfdf + status: + code: 200 + message: OK +- request: + body: '{"dimensionName": "dimension_name"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/dimension/query?$top=20&$skip=20 + response: + body: + string: '{"value":["Common Alder","Common Ash","Common Beech","Common Hazel","Common + Juniper","Common Lime","Common Walnut","Common Yew","Copper Beech","Cotoneaster"],"@nextLink":null}' + headers: + apim-request-id: + - 8d5197eb-33ca-47cd-9229-411d07d52982 + content-length: + - '175' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '97' + x-request-id: + - 8d5197eb-33ca-47cd-9229-411d07d52982 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enriched_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enriched_series_data.yaml new file mode 100644 index 000000000000..af30590db27c --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enriched_series_data.yaml @@ -0,0 +1,43 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"dimension": {"city": "city"}}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '125' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/anomaly_detection_configuration_id/series/query + response: + body: + string: '{"value":[{"series":{"dimension":{"city":"city"}},"timestampList":[],"valueList":[],"isAnomalyList":[],"periodList":[],"expectedValueList":[],"lowerBoundaryList":[],"upperBoundaryList":[]}]}' + headers: + apim-request-id: + - 524c68e3-cd44-4c61-a893-725f62a2cb04 + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '199' + x-request-id: + - 524c68e3-cd44-4c61-a893-725f62a2cb04 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enrichment_status.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enrichment_status.yaml new file mode 100644 index 000000000000..c89deec086b6 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_enrichment_status.yaml @@ -0,0 +1,42 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/status/enrichment/anomalyDetection/query + response: + body: + string: '{"nextLink":null,"value":[{"timestamp":"2020-09-06T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-12T01:29:10.153Z\"}"},{"timestamp":"2020-09-07T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-12T01:33:40.164Z\"}"},{"timestamp":"2020-09-08T00:00:00Z","status":"Succeeded","message":"{\"CreateTime\":\"2020-09-14T20:53:05.120Z\"}"}]}' + headers: + apim-request-id: + - 414a6e3f-6bca-4fc2-b59d-bfd3c86c163b + content-length: + - '375' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 22 Sep 2020 21:58:49 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '225' + x-request-id: + - 414a6e3f-6bca-4fc2-b59d-bfd3c86c163b + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_series_definitions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_series_definitions.yaml new file mode 100644 index 000000000000..b7d431820afc --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metric_series_definitions.yaml @@ -0,0 +1,3740 @@ +interactions: +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Antelope"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=20"}' + headers: + apim-request-id: + - 085d1c91-9866-4093-9339-434dfd18cf40 + content-length: + - '2320' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '110' + x-request-id: + - 085d1c91-9866-4093-9339-434dfd18cf40 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=20 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Antelope"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=40"}' + headers: + apim-request-id: + - 3c58b190-7f93-4e7a-bf07-2f691ff21bbe + content-length: + - '2308' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '87' + x-request-id: + - 3c58b190-7f93-4e7a-bf07-2f691ff21bbe + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=40 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bedbug"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=60"}' + headers: + apim-request-id: + - cbfc6ff2-34c3-4f6b-a99a-2a9a279422f4 + content-length: + - '2314' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '102' + x-request-id: + - cbfc6ff2-34c3-4f6b-a99a-2a9a279422f4 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=60 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bear"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=80"}' + headers: + apim-request-id: + - b00c383e-03c1-4851-a7b8-6840898cbc4a + content-length: + - '2312' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '147' + x-request-id: + - b00c383e-03c1-4851-a7b8-6840898cbc4a + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=80 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue Atlas + Cedar","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aardwolf"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=100"}' + headers: + apim-request-id: + - 079c6977-5b9c-4e04-b9ba-6c17ae9ac15e + content-length: + - '2342' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '131' + x-request-id: + - 079c6977-5b9c-4e04-b9ba-6c17ae9ac15e + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=100 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African leopard"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=120"}' + headers: + apim-request-id: + - 20fd82ea-cb51-407d-8b64-a0f5299513a9 + content-length: + - '2400' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '140' + x-request-id: + - 20fd82ea-cb51-407d-8b64-a0f5299513a9 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=120 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Animals by number of neurons"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=140"}' + headers: + apim-request-id: + - 11d6c54d-b2cb-4a72-8edf-b2935dd5be71 + content-length: + - '2342' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '132' + x-request-id: + - 11d6c54d-b2cb-4a72-8edf-b2935dd5be71 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=140 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bat"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=160"}' + headers: + apim-request-id: + - 4790b8d2-08c2-46ae-b3ea-cb12181e095c + content-length: + - '2339' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '121' + x-request-id: + - 4790b8d2-08c2-46ae-b3ea-cb12181e095c + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=160 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue Atlas + Cedar","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Asp"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=180"}' + headers: + apim-request-id: + - 16bd033a-78e6-4954-b154-709536322466 + content-length: + - '2356' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:16 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '104' + x-request-id: + - 16bd033a-78e6-4954-b154-709536322466 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=180 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard Service + Tree","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bali cattle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=200"}' + headers: + apim-request-id: + - e58673c3-87e1-4194-8a37-e59a5fb47788 + content-length: + - '2360' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:16 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - e58673c3-87e1-4194-8a37-e59a5fb47788 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=200 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bison"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=220"}' + headers: + apim-request-id: + - 7191cfff-3540-496d-bce4-f13616c68318 + content-length: + - '2330' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '88' + x-request-id: + - 7191cfff-3540-496d-bce4-f13616c68318 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=220 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Albatross"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=240"}' + headers: + apim-request-id: + - 7a7890fa-a8ec-4d48-a067-b53e27fb7649 + content-length: + - '2305' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '111' + x-request-id: + - 7a7890fa-a8ec-4d48-a067-b53e27fb7649 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=240 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beetle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=260"}' + headers: + apim-request-id: + - 843f64c5-2a96-435c-b96f-c9bcc0a91911 + content-length: + - '2409' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '95' + x-request-id: + - 843f64c5-2a96-435c-b96f-c9bcc0a91911 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=260 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Beech","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=280"}' + headers: + apim-request-id: + - 8d762ba3-8d14-4a60-b50c-9dd476aa1595 + content-length: + - '2332' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:18 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '108' + x-request-id: + - 8d762ba3-8d14-4a60-b50c-9dd476aa1595 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=280 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard Service + Tree","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=300"}' + headers: + apim-request-id: + - d785956c-8bce-4582-87a6-c41143702a86 + content-length: + - '2410' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:18 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '99' + x-request-id: + - d785956c-8bce-4582-87a6-c41143702a86 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=300 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Basilisk"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=320"}' + headers: + apim-request-id: + - 5e8d7f64-5183-445f-9339-c70246b24817 + content-length: + - '2391' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '128' + x-request-id: + - 5e8d7f64-5183-445f-9339-c70246b24817 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=320 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bass"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=340"}' + headers: + apim-request-id: + - 5f948d1c-aac5-4da6-aff6-fb455fb16cbe + content-length: + - '2371' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '242' + x-request-id: + - 5f948d1c-aac5-4da6-aff6-fb455fb16cbe + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=340 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blackthorn","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese red-barked + birch","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Barnacle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=360"}' + headers: + apim-request-id: + - 3d78b1cb-2859-4698-9350-a7ba0cd6e005 + content-length: + - '2398' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:20 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '167' + x-request-id: + - 3d78b1cb-2859-4698-9350-a7ba0cd6e005 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=360 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Fir","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aardwolf"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=380"}' + headers: + apim-request-id: + - 9be300c5-ff5d-42ba-bf38-cc84fc3455ff + content-length: + - '2366' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:20 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '222' + x-request-id: + - 9be300c5-ff5d-42ba-bf38-cc84fc3455ff + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=380 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Angelfish"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=400"}' + headers: + apim-request-id: + - 67560ec7-6ddb-4931-b78d-1e960ffaff7a + content-length: + - '2387' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '165' + x-request-id: + - 67560ec7-6ddb-4931-b78d-1e960ffaff7a + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=400 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Blue + Atlas Cedar","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"American robin"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=420"}' + headers: + apim-request-id: + - 99382821-7cb2-4c61-b9e4-bb57858e1f40 + content-length: + - '2403' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '160' + x-request-id: + - 99382821-7cb2-4c61-b9e4-bb57858e1f40 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=420 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardvark"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=440"}' + headers: + apim-request-id: + - 18c261f0-c994-427e-824a-d3e665d6ecac + content-length: + - '2361' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:21 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '159' + x-request-id: + - 18c261f0-c994-427e-824a-d3e665d6ecac + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=440 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Beech","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bird"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=460"}' + headers: + apim-request-id: + - 5902f2a4-0544-4e86-973b-5761b90aee3c + content-length: + - '2422' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '163' + x-request-id: + - 5902f2a4-0544-4e86-973b-5761b90aee3c + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=460 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cabbage + Palm","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bear"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=480"}' + headers: + apim-request-id: + - 5615e895-6449-4f0f-9ea2-90a7804bc8ed + content-length: + - '2403' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '190' + x-request-id: + - 5615e895-6449-4f0f-9ea2-90a7804bc8ed + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=480 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider gum","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Black panther"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=500"}' + headers: + apim-request-id: + - 3926eaf8-084a-4bed-a2ad-66cb8debcca3 + content-length: + - '2385' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '203' + x-request-id: + - 3926eaf8-084a-4bed-a2ad-66cb8debcca3 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=500 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bird"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=520"}' + headers: + apim-request-id: + - a80854bb-a615-4e2c-96cc-e8d07f4027e0 + content-length: + - '2380' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '159' + x-request-id: + - a80854bb-a615-4e2c-96cc-e8d07f4027e0 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=520 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bovid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry + Laurel","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bedbug"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=540"}' + headers: + apim-request-id: + - a0263ee6-e0bc-43a7-b6d4-0cc8d18bf9d6 + content-length: + - '2273' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '215' + x-request-id: + - a0263ee6-e0bc-43a7-b6d4-0cc8d18bf9d6 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=540 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=560"}' + headers: + apim-request-id: + - 8074ccb3-d480-4b3d-b685-bd81230a5f7a + content-length: + - '2269' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '201' + x-request-id: + - 8074ccb3-d480-4b3d-b685-bd81230a5f7a + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=560 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anglerfish"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=580"}' + headers: + apim-request-id: + - cb37c047-3ab4-4ad5-8ad4-71eb399f710b + content-length: + - '2335' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:25 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '183' + x-request-id: + - cb37c047-3ab4-4ad5-8ad4-71eb399f710b + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=580 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Walnut","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + leopard"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=600"}' + headers: + apim-request-id: + - 4ae567f5-7cc5-4f54-a1fe-60814ddb0842 + content-length: + - '2334' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:25 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '170' + x-request-id: + - 4ae567f5-7cc5-4f54-a1fe-60814ddb0842 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=600 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anteater"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=620"}' + headers: + apim-request-id: + - d12abd6b-2169-405b-8ba4-c559d042927d + content-length: + - '2360' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '207' + x-request-id: + - d12abd6b-2169-405b-8ba4-c559d042927d + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=620 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Alder","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Alder","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boa"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blackbird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Albatross"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=640"}' + headers: + apim-request-id: + - 49bf873f-6409-436a-90d2-8961416600f3 + content-length: + - '2310' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '212' + x-request-id: + - 49bf873f-6409-436a-90d2-8961416600f3 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=640 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Bastard + Service Tree","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobolink"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue jay"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Butterfly"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bandicoot"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=660"}' + headers: + apim-request-id: + - e2c64506-3246-4868-88fe-eee0fe28adc7 + content-length: + - '2325' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:27 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '149' + x-request-id: + - e2c64506-3246-4868-88fe-eee0fe28adc7 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=660 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bald + eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"American + buffalo (bison)"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=680"}' + headers: + apim-request-id: + - 08de4098-e93c-4173-b27f-b3c7474380fc + content-length: + - '2338' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:27 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '212' + x-request-id: + - 08de4098-e93c-4173-b27f-b3c7474380fc + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=680 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blackbird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Buzzard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=700"}' + headers: + apim-request-id: + - e968b2b9-de03-4b8b-84f1-18785456e9f6 + content-length: + - '2271' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '178' + x-request-id: + - e968b2b9-de03-4b8b-84f1-18785456e9f6 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=700 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Hazel","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Alpaca"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=720"}' + headers: + apim-request-id: + - 864eb370-9424-49c2-8295-417ee944583b + content-length: + - '2353' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '184' + x-request-id: + - 864eb370-9424-49c2-8295-417ee944583b + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=720 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Ash","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Animals + by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Black + panther"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=740"}' + headers: + apim-request-id: + - 75228d6c-7b7c-4750-947b-4585f071c7dc + content-length: + - '2369' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '175' + x-request-id: + - 75228d6c-7b7c-4750-947b-4585f071c7dc + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=740 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Hazel","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"African + elephant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=760"}' + headers: + apim-request-id: + - 1bc98b60-2b62-417a-9752-bbb308f7dc53 + content-length: + - '2271' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '161' + x-request-id: + - 1bc98b60-2b62-417a-9752-bbb308f7dc53 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=760 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Box jellyfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bee"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=780"}' + headers: + apim-request-id: + - d6839c03-5362-4215-b2c1-cf4f53fb3df8 + content-length: + - '2343' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '186' + x-request-id: + - d6839c03-5362-4215-b2c1-cf4f53fb3df8 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=780 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Ash","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian Lime","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese red-barked + birch","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Armadillo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=800"}' + headers: + apim-request-id: + - a719dec4-35f0-4556-a7f1-314a9164359a + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '155' + x-request-id: + - a719dec4-35f0-4556-a7f1-314a9164359a + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=800 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Chinese + red-barked birch","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Canidae"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bali + cattle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=820"}' + headers: + apim-request-id: + - fa998f17-4405-4dcf-afd6-dbff7c78c71d + content-length: + - '2329' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '162' + x-request-id: + - fa998f17-4405-4dcf-afd6-dbff7c78c71d + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=820 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Buffalo, American (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arrow + crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bison"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=840"}' + headers: + apim-request-id: + - 4b082a05-cad2-447d-b16c-74e0ef2069b7 + content-length: + - '2347' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '173' + x-request-id: + - 4b082a05-cad2-447d-b16c-74e0ef2069b7 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=840 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bovid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaver"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=860"}' + headers: + apim-request-id: + - 458304a2-f861-4b04-ad90-f8562da0189f + content-length: + - '2334' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '142' + x-request-id: + - 458304a2-f861-4b04-ad90-f8562da0189f + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=860 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=880"}' + headers: + apim-request-id: + - 8c486774-4fc2-46eb-bdd3-34813e3c30f7 + content-length: + - '2282' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '164' + x-request-id: + - 8c486774-4fc2-46eb-bdd3-34813e3c30f7 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=880 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Ass + (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Camel"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arrow + crab"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=900"}' + headers: + apim-request-id: + - 34a837c4-35bf-46e1-b170-f7762d489f44 + content-length: + - '2285' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '183' + x-request-id: + - 34a837c4-35bf-46e1-b170-f7762d489f44 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=900 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Black + panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Capybara"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Animals + by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Canid"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=920"}' + headers: + apim-request-id: + - 1ef02f30-11ce-4bfc-ba63-8887f204d81c + content-length: + - '2310' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '467' + x-request-id: + - 1ef02f30-11ce-4bfc-ba63-8887f204d81c + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=920 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Austrian + Pine","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Carp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cider + gum","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cape buffalo"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=940"}' + headers: + apim-request-id: + - b83d6f6c-fcd6-46ef-a507-bb8c681e8a08 + content-length: + - '2299' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '151' + x-request-id: + - b83d6f6c-fcd6-46ef-a507-bb8c681e8a08 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=940 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Lime","Dim2":"Caterpillar"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Poplar","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=960"}' + headers: + apim-request-id: + - 1c62e618-d8e4-4986-9418-11bf886058ca + content-length: + - '2303' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:34 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '190' + x-request-id: + - 1c62e618-d8e4-4986-9418-11bf886058ca + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=960 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Baboon"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=980"}' + headers: + apim-request-id: + - da22270d-fab5-4be8-b426-6448a18f07e8 + content-length: + - '2308' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:34 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '179' + x-request-id: + - da22270d-fab5-4be8-b426-6448a18f07e8 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=980 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Beaked whale"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1000"}' + headers: + apim-request-id: + - da3b7a7f-95e5-4d26-a0cd-ae35a7c48d38 + content-length: + - '2309' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '183' + x-request-id: + - da3b7a7f-95e5-4d26-a0cd-ae35a7c48d38 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1000 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Black widow spider"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Juniper","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Asp"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1020"}' + headers: + apim-request-id: + - 551b125d-0d5e-4f86-ba1b-1297496f02c7 + content-length: + - '2372' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:35 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '182' + x-request-id: + - 551b125d-0d5e-4f86-ba1b-1297496f02c7 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1020 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian Lime","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cherry","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Almond","Dim2":"Arctic + Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Birch + (River Birch)","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Caucasian + Lime","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Beaked + whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Birch","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bonobo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue bird"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1040"}' + headers: + apim-request-id: + - acd24768-527e-477f-b350-ad61ab05505d + content-length: + - '2323' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '214' + x-request-id: + - acd24768-527e-477f-b350-ad61ab05505d + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1040 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cotoneaster","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Buffalo, African"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Canidae"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Buzzard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Basilisk"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1060"}' + headers: + apim-request-id: + - b398883d-42ca-4d7a-99a0-be3ae2bcce02 + content-length: + - '2326' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:36 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '178' + x-request-id: + - b398883d-42ca-4d7a-99a0-be3ae2bcce02 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1060 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue jay"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Caribou"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Cardinal"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Blue whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Blue whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Animals by number of neurons"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1080"}' + headers: + apim-request-id: + - 692a0b58-6117-4e81-ba7a-b09005f56289 + content-length: + - '2339' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '247' + x-request-id: + - 692a0b58-6117-4e81-ba7a-b09005f56289 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1080 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cardinal"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Ant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Catfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"African + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black Mulberry","Dim2":"African + buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Juniper","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"American + robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian Fir","Dim2":"Basilisk"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1100"}' + headers: + apim-request-id: + - fea6fa95-b23c-431e-9c55-347ac1a919f3 + content-length: + - '2317' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '619' + x-request-id: + - fea6fa95-b23c-431e-9c55-347ac1a919f3 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1100 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Capybara"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Booby"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bobcat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Centipede"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Catfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Antlion"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1120"}' + headers: + apim-request-id: + - 2b0d4f3f-188b-4083-a24e-afd42dcf0a4a + content-length: + - '2314' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '375' + x-request-id: + - 2b0d4f3f-188b-4083-a24e-afd42dcf0a4a + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1120 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Butterfly"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Booby"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bobolink"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bedbug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cheetah"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1140"}' + headers: + apim-request-id: + - ecc79f2d-2f8f-468a-8ade-3ba4b4345d89 + content-length: + - '2341' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '241' + x-request-id: + - ecc79f2d-2f8f-468a-8ade-3ba4b4345d89 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1140 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Boar"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bear"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Chameleon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Caribou"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1160"}' + headers: + apim-request-id: + - 019aa6f6-63e4-4a3b-b0aa-d5c7d93184d3 + content-length: + - '2331' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '227' + x-request-id: + - 019aa6f6-63e4-4a3b-b0aa-d5c7d93184d3 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1160 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beaver"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bali + cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Alder","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Antlion"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Anglerfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"African elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"African elephant"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1180"}' + headers: + apim-request-id: + - b2c67d8c-31e7-4b34-bcfd-4c6ab703e3b8 + content-length: + - '2352' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '168' + x-request-id: + - b2c67d8c-31e7-4b34-bcfd-4c6ab703e3b8 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1180 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bobcat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Birch (River Birch)","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Box jellyfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Centipede"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Arctic + Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common Lime","Dim2":"Buffalo, + African"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"American buffalo (bison)"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1200"}' + headers: + apim-request-id: + - f58b6a49-c41d-467c-9696-55aedc075456 + content-length: + - '2329' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '143' + x-request-id: + - f58b6a49-c41d-467c-9696-55aedc075456 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1200 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Ash","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"American + buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Baboon"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bee"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bison"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Barnacle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Badger"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Bug"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Beetle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Alder","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"American robin"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1220"}' + headers: + apim-request-id: + - ddf41a5f-e618-442b-bc11-cc3276cce3f3 + content-length: + - '2310' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '175' + x-request-id: + - ddf41a5f-e618-442b-bc11-cc3276cce3f3 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1220 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arabian leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Aphid"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Walnut","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Bonobo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Boa"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beaked whale"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Black widow spider"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Asp"}},{"metricId":"metric_id","dimension":{"dimension_name":"Box + elder","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Animals by size"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Aardvark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bass"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Beaver"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1240"}' + headers: + apim-request-id: + - 80a47417-165b-4cec-8b42-323b53a97c2f + content-length: + - '2329' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '157' + x-request-id: + - 80a47417-165b-4cec-8b42-323b53a97c2f + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1240 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"African buffalo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"American buffalo (bison)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Aardwolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Anteater"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Antelope"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Anaconda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Black panther"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Cephalopod"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Barracuda"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ape"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Arabian + leopard"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Boar"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1260"}' + headers: + apim-request-id: + - af8b4f9e-7de3-4f29-b242-f44e9fd6fc12 + content-length: + - '2334' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '124' + x-request-id: + - af8b4f9e-7de3-4f29-b242-f44e9fd6fc12 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1260 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bali cattle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Copper + Beech","Dim2":"Bird"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Hazel","Dim2":"Angelfish"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Alpaca"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Armadillo"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Poplar","Dim2":"Arctic Wolf"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Lime","Dim2":"Catshark"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"American robin"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Yew","Dim2":"Amphibian"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Albatross"}},{"metricId":"metric_id","dimension":{"dimension_name":"Cockspur + Thorn","Dim2":"Ass (donkey)"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Animals by number of neurons"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Alligator"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Beetle"}}],"@nextLink":"https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1280"}' + headers: + apim-request-id: + - 6c8d6f67-682f-4892-8a17-15d99282fa54 + content-length: + - '2382' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '165' + x-request-id: + - 6c8d6f67-682f-4892-8a17-15d99282fa54 + status: + code: 200 + message: OK +- request: + body: '{"activeSince": "2020-01-01T00:00:00.000Z"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '43' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/series/query?$top=20&$skip=1280 + response: + body: + string: '{"value":[{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Basilisk"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"African + elephant"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Arrow crab"}},{"metricId":"metric_id","dimension":{"dimension_name":"Algerian + Fir","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bald eagle"}},{"metricId":"metric_id","dimension":{"dimension_name":"Aspen","Dim2":"Bandicoot"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Arctic Fox"}},{"metricId":"metric_id","dimension":{"dimension_name":"Black + Mulberry","Dim2":"Bat"}},{"metricId":"metric_id","dimension":{"dimension_name":"Common + Juniper","Dim2":"Bee"}}],"@nextLink":null}' + headers: + apim-request-id: + - d2a1a25e-a507-4115-a5ca-cfa958efb879 + content-length: + - '985' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:43 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '167' + x-request-id: + - d2a1a25e-a507-4115-a5ca-cfa958efb879 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metrics_series_data.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metrics_series_data.yaml new file mode 100644 index 000000000000..ecfb08a9235a --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metrics_advisor_client_live.test_list_metrics_series_data.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: '{"startTime": "2020-01-01T00:00:00.000Z", "endTime": "2020-09-09T00:00:00.000Z", + "series": [{"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '155' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-metricsadvisor/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://anuchan-cg-metric-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/metric_id/data/query + response: + body: + string: '{"value":[{"id":{"metricId":"metric_id","dimension":{"city":"Mumbai","category":"Shoes + Handbags & Sunglasses"}},"timestampList":[],"valueList":[]}]}' + headers: + apim-request-id: + - a0494a9a-bb01-4f77-800b-1f72315c6f2e + content-length: + - '175' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 21 Sep 2020 16:54:44 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '370' + x-request-id: + - a0494a9a-bb01-4f77-800b-1f72315c6f2e + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py new file mode 100644 index 000000000000..5334bf465546 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py @@ -0,0 +1,1060 @@ +# 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. +# -------------------------------------------------------------------------- + +import pytest +from azure.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + MetricAlertConfiguration, + MetricAnomalyAlertScope, + MetricAnomalyAlertConditions, + MetricBoundaryCondition, + TopNGroupScope, + SeverityCondition, + MetricAnomalyAlertSnoozeCondition +) +from base_testcase import TestMetricsAdvisorAdministrationClientBase + + +class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): + + def test_create_anomaly_alert_config_top_n_alert_direction_both(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_top_n_alert_direction_down(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_top_n_alert_direction_up(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_top_n_severity_condition(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_snooze_condition(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( + auto_snooze=5, + snooze_scope="Metric", + only_for_successive=True + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_snooze_condition.auto_snooze, 5) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_snooze_condition.snooze_scope, "Metric") + self.assertTrue( + alert_config.metric_alert_configurations[0].alert_snooze_condition.only_for_successive) + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_whole_series_alert_direction_both(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries", + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_whole_series_alert_direction_down(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_whole_series_alert_direction_up(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("wholeseries") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_whole_series_severity_condition(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("topnup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_series_group_alert_direction_both(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_series_group_alert_direction_down(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Down", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Down") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_series_group_alert_direction_up(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("seriesgroup") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Up", + companion_metric_id=data_feed.metric_ids[0], + upper=5.0, + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Up") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertIsNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower) + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_series_group_severity_condition(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("seriesgroupsev") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertIsNone(alert_config.cross_metrics_operator) + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 1) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_anomaly_alert_config_multiple_configurations(self): + + detection_config, data_feed = self._create_data_feed_and_anomaly_detection_config("multiple") + alert_config_name = self.create_random_name("testalert") + try: + alert_config = self.admin_client.create_anomaly_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) + ) + ) + ], + hook_ids=[] + ) + self.assertEqual(alert_config.cross_metrics_operator, "AND") + self.assertIsNotNone(alert_config.id) + self.assertIsNotNone(alert_config.name) + self.assertEqual(len(alert_config.metric_alert_configurations), 3) + self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) + self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.period, 10) + self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.top, 5) + self.assertIsNotNone( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.upper, 5.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.lower, 1.0) + self.assertEqual( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertFalse( + alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.trigger_for_missing) + self.assertEqual(alert_config.metric_alert_configurations[1].alert_scope.scope_type, "SeriesGroup") + self.assertEqual( + alert_config.metric_alert_configurations[1].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[1].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(alert_config.metric_alert_configurations[2].alert_scope.scope_type, "WholeSeries") + self.assertEqual( + alert_config.metric_alert_configurations[2].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual( + alert_config.metric_alert_configurations[2].alert_conditions.severity_condition.max_alert_severity, "High") + + self.admin_client.delete_anomaly_alert_configuration(alert_config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_anomaly_alert_configuration(alert_config.id) + + finally: + self.admin_client.delete_metric_anomaly_detection_configuration(detection_config.id) + self.admin_client.delete_data_feed(data_feed.id) + + def test_list_anomaly_alert_configs(self): + + configs = self.admin_client.list_anomaly_alert_configurations( + detection_configuration_id=self.anomaly_detection_configuration_id + ) + assert len(list(configs)) > 0 + + def test_update_anomaly_alert_config_with_model(self): + try: + alert_config, data_feed, _ = self._create_anomaly_alert_config_for_update("alertupdate") + + alert_config.name = "update" + alert_config.description = "update description" + alert_config.cross_metrics_operator = "OR" + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition = \ + SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + alert_config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition = \ + MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + alert_config.metric_alert_configurations[2].alert_conditions.metric_boundary_condition = \ + MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + + updated = self.admin_client.update_anomaly_alert_configuration(alert_config) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update description") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_anomaly_alert_config_with_kwargs(self): + try: + alert_config, data_feed, detection_config = self._create_anomaly_alert_config_for_update("alertupdate") + updated = self.admin_client.update_anomaly_alert_configuration( + alert_config.id, + name="update", + description="update description", + cross_metrics_operator="OR", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ), + severity_condition=SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ) + ] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update description") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_anomaly_alert_config_with_model_and_kwargs(self): + try: + alert_config, data_feed, detection_config = self._create_anomaly_alert_config_for_update("alertupdate") + + alert_config.name = "updateMe" + alert_config.description = "updateMe" + alert_config.cross_metrics_operator = "don't update me" + alert_config.metric_alert_configurations[0].alert_conditions.severity_condition = None + alert_config.metric_alert_configurations[1].alert_conditions.metric_boundary_condition = None + alert_config.metric_alert_configurations[2].alert_conditions.metric_boundary_condition = None + + updated = self.admin_client.update_anomaly_alert_configuration( + alert_config, + cross_metrics_operator="OR", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids[0], + lower=1.0, + upper=5.0 + ), + severity_condition=SeverityCondition(max_alert_severity="High", min_alert_severity="Low") + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ), + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ), + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + upper=5, + lower=1 + ) + ) + ) + ] + ) + + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.cross_metrics_operator, "OR") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.max_alert_severity, "High") + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[1].alert_conditions.metric_boundary_condition.lower, 1) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.direction, "Both") + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.upper, 5) + self.assertEqual(updated.metric_alert_configurations[2].alert_conditions.metric_boundary_condition.lower, 1) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_anomaly_alert_by_resetting_properties(self): + try: + alert_config, data_feed, detection_config = self._create_anomaly_alert_config_for_update("alertupdate") + updated = self.admin_client.update_anomaly_alert_configuration( + alert_config.id, + name="reset", + description="", # can't pass None currently, bug says description is required + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=None + ) + ] + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.description, "") + self.assertEqual(updated.cross_metrics_operator, None) + self.assertEqual(len(updated.metric_alert_configurations), 1) + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.severity_condition, None) + self.assertEqual(updated.metric_alert_configurations[0].alert_conditions.metric_boundary_condition, None) + + finally: + self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feed_ingestion.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feed_ingestion.py new file mode 100644 index 000000000000..03a89b951f83 --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feed_ingestion.py @@ -0,0 +1,57 @@ +# 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. +# -------------------------------------------------------------------------- + +import datetime +from dateutil.tz import tzutc +import pytest +from base_testcase import TestMetricsAdvisorAdministrationClientBase + + +class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): + + def test_get_data_feed_ingestion_progress(self): + + ingestion = self.admin_client.get_data_feed_ingestion_progress( + data_feed_id=self.data_feed_id + ) + self.assertIsNotNone(ingestion.latest_success_timestamp) + self.assertIsNotNone(ingestion.latest_active_timestamp) + + def test_list_data_feed_ingestion_status(self): + + ingestions = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + ) + assert len(list(ingestions)) > 0 + + def test_list_data_feed_ingestion_status_with_skip(self): + + ingestions = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + ) + + ingestions_with_skips = self.admin_client.list_data_feed_ingestion_status( + data_feed_id=self.data_feed_id, + start_time=datetime.datetime(2020, 8, 9, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 9, 16, tzinfo=tzutc()), + skip=5 + ) + ingestions_list = list(ingestions) + ingestions_with_skips_list = list(ingestions_with_skips) + assert len(ingestions_list) == len(ingestions_with_skips_list) + 5 + + def test_refresh_data_feed_ingestion(self): + self.admin_client.refresh_data_feed_ingestion( + self.data_feed_id, + start_time=datetime.datetime(2019, 10, 1, tzinfo=tzutc()), + end_time=datetime.datetime(2020, 10, 3, tzinfo=tzutc()), + ) + diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feeds.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feeds.py new file mode 100644 index 000000000000..4eaf5c20f1fd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_data_feeds.py @@ -0,0 +1,1028 @@ +# 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. +# -------------------------------------------------------------------------- + +import datetime +from dateutil.tz import tzutc +import pytest +from azure.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + SQLServerDataFeed, + AzureTableDataFeed, + AzureBlobDataFeed, + AzureCosmosDBDataFeed, + HttpRequestDataFeed, + Metric, + Dimension, + DataFeedSchema, + DataFeedIngestionSettings, + DataFeedGranularity, + DataFeedOptions, + DataFeedMissingDataPointFillSettings, + DataFeedRollupSettings, + AzureApplicationInsightsDataFeed, + AzureDataExplorerDataFeed, + InfluxDBDataFeed, + AzureDataLakeStorageGen2DataFeed, + MongoDBDataFeed, + MySqlDataFeed, + PostgreSqlDataFeed, + ElasticsearchDataFeed +) +from base_testcase import TestMetricsAdvisorAdministrationClientBase + + +class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): + + def test_create_simple_data_feed(self): + data_feed_name = self.create_random_name("testfeed") + try: + data_feed = self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query="select * from adsample2 where Timestamp = @StartTime" + ), + granularity="Daily", + schema=["cost", "revenue"], + ingestion_settings=datetime.datetime(2019, 10, 1) + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Daily") + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_from_sql_server(self): + + data_feed_name = self.create_random_name("testfeed") + try: + data_feed = self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="SmartFilling" + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="NoRollup", + rollup_method="None", + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Daily") + self.assertEqual(data_feed.granularity.custom_granularity_value, None) + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.schema.metrics[0].display_name, "display cost") + self.assertEqual(data_feed.schema.metrics[1].display_name, "display revenue") + self.assertEqual(data_feed.schema.metrics[0].description, "the cost") + self.assertEqual(data_feed.schema.metrics[1].description, "the revenue") + self.assertEqual(data_feed.schema.dimensions[0].name, "category") + self.assertEqual(data_feed.schema.dimensions[1].name, "city") + self.assertEqual(data_feed.schema.dimensions[0].display_name, "display category") + self.assertEqual(data_feed.schema.dimensions[1].display_name, "display city") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(data_feed.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(data_feed.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(data_feed.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(data_feed.ingestion_settings.stop_retry_after, -1) + self.assertIn("yournamehere@microsoft.com", data_feed.options.admins) + self.assertEqual(data_feed.options.data_feed_description, "my first data feed") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.fill_type, "SmartFilling") + self.assertEqual(data_feed.options.rollup_settings.rollup_type, "NoRollup") + self.assertEqual(data_feed.options.rollup_settings.rollup_method, "None") + self.assertEqual(data_feed.options.viewers, ["viewers"]) + self.assertEqual(data_feed.options.access_mode, "Private") + self.assertEqual(data_feed.options.action_link_template, "action link template") + self.assertEqual(data_feed.status, "Active") + self.assertTrue(data_feed.is_admin) + self.assertIsNotNone(data_feed.metric_ids) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_data_feed(data_feed.id) + + def test_create_data_feed_from_sql_server_with_custom_values(self): + + data_feed_name = self.create_random_name("testfeed") + try: + data_feed = self.admin_client.create_data_feed( + name=data_feed_name, + source=SQLServerDataFeed( + connection_string=self.sql_server_connection_string, + query=u"select * from adsample2 where Timestamp = @StartTime" + ), + granularity=DataFeedGranularity( + granularity_type="Custom", + custom_granularity_value=20 + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="display cost", description="the cost"), + Metric(name="revenue", display_name="display revenue", description="the revenue") + ], + dimensions=[ + Dimension(name="category", display_name="display category"), + Dimension(name="city", display_name="display city") + ], + timestamp_column="Timestamp" + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + data_source_request_concurrency=0, + ingestion_retry_delay=-1, + ingestion_start_offset=-1, + stop_retry_after=-1, + ), + options=DataFeedOptions( + admins=["yournamehere@microsoft.com"], + data_feed_description="my first data feed", + missing_data_point_fill_settings=DataFeedMissingDataPointFillSettings( + fill_type="CustomValue", + custom_fill_value=10 + ), + rollup_settings=DataFeedRollupSettings( + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup" + ), + viewers=["viewers"], + access_mode="Private", + action_link_template="action link template" + ) + + ) + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "SqlServer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertEqual(data_feed.granularity.granularity_type, "Custom") + self.assertEqual(data_feed.granularity.custom_granularity_value, 20) + self.assertEqual(data_feed.schema.metrics[0].name, "cost") + self.assertEqual(data_feed.schema.metrics[1].name, "revenue") + self.assertEqual(data_feed.schema.metrics[0].display_name, "display cost") + self.assertEqual(data_feed.schema.metrics[1].display_name, "display revenue") + self.assertEqual(data_feed.schema.metrics[0].description, "the cost") + self.assertEqual(data_feed.schema.metrics[1].description, "the revenue") + self.assertEqual(data_feed.schema.dimensions[0].name, "category") + self.assertEqual(data_feed.schema.dimensions[1].name, "city") + self.assertEqual(data_feed.schema.dimensions[0].display_name, "display category") + self.assertEqual(data_feed.schema.dimensions[1].display_name, "display city") + self.assertEqual(data_feed.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(data_feed.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(data_feed.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(data_feed.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(data_feed.ingestion_settings.stop_retry_after, -1) + self.assertIn("yournamehere@microsoft.com", data_feed.options.admins) + self.assertEqual(data_feed.options.data_feed_description, "my first data feed") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(data_feed.options.missing_data_point_fill_settings.custom_fill_value, 10) + self.assertEqual(data_feed.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(data_feed.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(data_feed.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(data_feed.options.viewers, ["viewers"]) + self.assertEqual(data_feed.options.access_mode, "Private") + self.assertEqual(data_feed.options.action_link_template, "action link template") + self.assertEqual(data_feed.status, "Active") + self.assertTrue(data_feed.is_admin) + self.assertIsNotNone(data_feed.metric_ids) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_data_feed(data_feed.id) + + def test_create_data_feed_with_azure_table(self): + name = self.create_random_name("tablefeed") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureTableDataFeed( + connection_string=self.azure_table_connection_string, + query="PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'", + table="adsample" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureTable") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.table, "adsample") + self.assertEqual(data_feed.source.query, "PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_azure_blob(self): + name = self.create_random_name("blobfeed") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureBlobDataFeed( + connection_string=self.azure_blob_connection_string, + container="adsample", + blob_template="%Y/%m/%d/%h/JsonFormatV2.json" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureBlob") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.container, "adsample") + self.assertEqual(data_feed.source.blob_template, "%Y/%m/%d/%h/JsonFormatV2.json") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_azure_cosmos_db(self): + name = self.create_random_name("cosmosfeed") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureCosmosDBDataFeed( + connection_string=self.azure_cosmosdb_connection_string, + sql_query="'SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime'", + database="adsample", + collection_id="adsample" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureCosmosDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.collection_id, "adsample") + self.assertEqual(data_feed.source.sql_query, "'SELECT * FROM Items I where I.Timestamp >= @StartTime and I.Timestamp < @EndTime'") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_http_request_get(self): + name = self.create_random_name("httprequestfeedget") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=HttpRequestDataFeed( + url=self.http_request_get_url, + http_method="GET" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "HttpRequest") + self.assertIsNotNone(data_feed.source.url) + self.assertEqual(data_feed.source.http_method, "GET") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_http_request_post(self): + name = self.create_random_name("httprequestfeedpost") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=HttpRequestDataFeed( + url=self.http_request_post_url, + http_method="POST", + payload="{'startTime': '@StartTime'}" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 10, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "HttpRequest") + self.assertIsNotNone(data_feed.source.url) + self.assertEqual(data_feed.source.http_method, "POST") + self.assertEqual(data_feed.source.payload, "{'startTime': '@StartTime'}") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_application_insights(self): + name = self.create_random_name("applicationinsights") + try: + query = "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | " \ + "where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), " \ + "duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), " \ + "duration_max_ms = max(duration) by resultCode" + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureApplicationInsightsDataFeed( + azure_cloud="Azure", + application_id="3706fe8b-98f1-47c7-bf69-b73b6e53274d", + api_key=self.application_insights_api_key, + query=query + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2020, 7, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureApplicationInsights") + self.assertIsNotNone(data_feed.source.api_key) + self.assertEqual(data_feed.source.application_id, "3706fe8b-98f1-47c7-bf69-b73b6e53274d") + self.assertIsNotNone(data_feed.source.query) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_data_explorer(self): + name = self.create_random_name("azuredataexplorer") + try: + query = "let StartDateTime = datetime(@StartTime); let EndDateTime = StartDateTime + 1d; " \ + "adsample | where Timestamp >= StartDateTime and Timestamp < EndDateTime" + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureDataExplorerDataFeed( + connection_string=self.azure_data_explorer_connection_string, + query=query + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureDataExplorer") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, query) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_influxdb(self): + name = self.create_random_name("influxdb") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=InfluxDBDataFeed( + connection_string=self.influxdb_connection_string, + database="adsample", + user_name="adreadonly", + password=self.influxdb_password, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "InfluxDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertIsNotNone(data_feed.source.query) + self.assertIsNotNone(data_feed.source.password) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.user_name, "adreadonly") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_datalake(self): + name = self.create_random_name("datalake") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=AzureDataLakeStorageGen2DataFeed( + account_name="adsampledatalakegen2", + account_key=self.azure_datalake_account_key, + file_system_name="adsample", + directory_template="%Y/%m/%d", + file_template="adsample.json" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "AzureDataLakeStorageGen2") + self.assertIsNotNone(data_feed.source.account_key) + self.assertEqual(data_feed.source.account_name, "adsampledatalakegen2") + self.assertEqual(data_feed.source.file_system_name, "adsample") + self.assertEqual(data_feed.source.directory_template, "%Y/%m/%d") + self.assertEqual(data_feed.source.file_template, "adsample.json") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_mongodb(self): + name = self.create_random_name("mongodb") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=MongoDBDataFeed( + connection_string=self.mongodb_connection_string, + database="adsample", + command='{"find": "adsample", "filter": { Timestamp: { $eq: @StartTime }} "batchSize": 2000,}' + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "MongoDB") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.database, "adsample") + self.assertEqual(data_feed.source.command, '{"find": "adsample", "filter": { Timestamp: { $eq: @StartTime }} "batchSize": 2000,}') + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_mysql(self): + name = self.create_random_name("mysql") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=MySqlDataFeed( + connection_string=self.mysql_connection_string, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "MySql") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, "'select * from adsample2 where Timestamp = @StartTime'") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_postgresql(self): + name = self.create_random_name("postgresql") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=PostgreSqlDataFeed( + connection_string=self.postgresql_connection_string, + query="'select * from adsample2 where Timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost"), + Metric(name="revenue") + ], + dimensions=[ + Dimension(name="category"), + Dimension(name="city") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "PostgreSql") + self.assertIsNotNone(data_feed.source.connection_string) + self.assertEqual(data_feed.source.query, "'select * from adsample2 where Timestamp = @StartTime'") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_data_feed_with_elasticsearch(self): + name = self.create_random_name("elastic") + try: + data_feed = self.admin_client.create_data_feed( + name=name, + source=ElasticsearchDataFeed( + host="ad-sample-es.westus2.cloudapp.azure.com", + port="9200", + auth_header=self.elasticsearch_auth_header, + query="'select * from adsample where timestamp = @StartTime'" + ), + granularity=DataFeedGranularity( + granularity_type="Daily", + ), + schema=DataFeedSchema( + metrics=[ + Metric(name="cost", display_name="Cost"), + Metric(name="revenue", display_name="Revenue") + ], + dimensions=[ + Dimension(name="category", display_name="Category"), + Dimension(name="city", display_name="City") + ], + ), + ingestion_settings=DataFeedIngestionSettings( + ingestion_begin_time=datetime.datetime(2019, 1, 1), + ), + + ) + + self.assertIsNotNone(data_feed.id) + self.assertIsNotNone(data_feed.created_time) + self.assertIsNotNone(data_feed.name) + self.assertEqual(data_feed.source.data_source_type, "Elasticsearch") + self.assertIsNotNone(data_feed.source.auth_header) + self.assertEqual(data_feed.source.port, "9200") + self.assertEqual(data_feed.source.host, "ad-sample-es.westus2.cloudapp.azure.com") + self.assertEqual(data_feed.source.query, "'select * from adsample where timestamp = @StartTime'") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_list_data_feeds(self): + feeds = self.admin_client.list_data_feeds() + assert len(list(feeds)) > 0 + + def test_list_data_feeds_with_data_feed_name(self): + feeds = self.admin_client.list_data_feeds(data_feed_name="testDataFeed1") + feed_list = list(feeds) + assert len(feed_list) == 1 + + def test_list_data_feeds_with_skip(self): + all_feeds = self.admin_client.list_data_feeds() + skipped_feeds = self.admin_client.list_data_feeds(skip=1) + all_feeds_list = list(all_feeds) + skipped_feeds_list = list(skipped_feeds) + assert len(all_feeds_list) == len(skipped_feeds_list) + 1 + + def test_list_data_feeds_with_status(self): + feeds = self.admin_client.list_data_feeds(status="Paused") + assert len(list(feeds)) == 0 + + def test_list_data_feeds_with_source_type(self): + feeds = self.admin_client.list_data_feeds(data_source_type="AzureBlob") + assert len(list(feeds)) > 0 + + def test_list_data_feeds_with_granularity_type(self): + feeds = self.admin_client.list_data_feeds(granularity_type="Daily") + assert len(list(feeds)) > 0 + + def test_update_data_feed_with_model(self): + data_feed = self._create_data_feed_for_update("update") + try: + data_feed.name = "update" + data_feed.options.data_feed_description = "updated" + data_feed.schema.timestamp_column = "time" + data_feed.ingestion_settings.ingestion_begin_time = datetime.datetime(2020, 12, 10) + data_feed.ingestion_settings.ingestion_start_offset = 1 + data_feed.ingestion_settings.data_source_request_concurrency = 1 + data_feed.ingestion_settings.ingestion_retry_delay = 1 + data_feed.ingestion_settings.stop_retry_after = 1 + data_feed.options.rollup_settings.rollup_type = "AlreadyRollup" + data_feed.options.rollup_settings.rollup_method = "Sum" + data_feed.options.rollup_settings.rollup_identification_value = "sumrollup" + data_feed.options.rollup_settings.auto_rollup_group_by_column_names = [] + data_feed.options.missing_data_point_fill_settings.fill_type = "CustomValue" + data_feed.options.missing_data_point_fill_settings.custom_fill_value = 2 + data_feed.options.access_mode = "Public" + data_feed.options.viewers = ["updated"] + data_feed.status = "Paused" + data_feed.options.action_link_template = "updated" + data_feed.source.connection_string = "updated" + data_feed.source.query = "get data" + + updated = self.admin_client.update_data_feed(data_feed) + self.assertEqual(updated.name, "update") + self.assertEqual(updated.options.data_feed_description, "updated") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_data_feed_with_kwargs(self): + + data_feed = self._create_data_feed_for_update("update") + try: + updated = self.admin_client.update_data_feed( + data_feed.id, + name="update", + data_feed_description="updated", + timestamp_column="time", + ingestion_begin_time=datetime.datetime(2020, 12, 10), + ingestion_start_offset=1, + data_source_request_concurrency=1, + ingestion_retry_delay=1, + stop_retry_after=1, + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup", + auto_rollup_group_by_column_names=[], + fill_type="CustomValue", + custom_fill_value=2, + access_mode="Public", + viewers=["updated"], + status="Paused", + action_link_template="updated", + source=SQLServerDataFeed( + connection_string="updated", + query="get data" + ) + ) + self.assertEqual(updated.name, "update") + self.assertEqual(updated.options.data_feed_description, "updated") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_data_feed_with_model_and_kwargs(self): + + data_feed = self._create_data_feed_for_update("update") + try: + data_feed.name = "updateMe" + data_feed.options.data_feed_description = "updateMe" + data_feed.schema.timestamp_column = "don't update me" + data_feed.ingestion_settings.ingestion_begin_time = datetime.datetime(2020, 12, 22) + data_feed.ingestion_settings.ingestion_start_offset = 2 + data_feed.ingestion_settings.data_source_request_concurrency = 2 + data_feed.ingestion_settings.ingestion_retry_delay = 2 + data_feed.ingestion_settings.stop_retry_after = 2 + data_feed.options.rollup_settings.rollup_type = "don't update me" + data_feed.options.rollup_settings.rollup_method = "don't update me" + data_feed.options.rollup_settings.rollup_identification_value = "don't update me" + data_feed.options.rollup_settings.auto_rollup_group_by_column_names = [] + data_feed.options.missing_data_point_fill_settings.fill_type = "don't update me" + data_feed.options.missing_data_point_fill_settings.custom_fill_value = 4 + data_feed.options.access_mode = "don't update me" + data_feed.options.viewers = ["don't update me"] + data_feed.status = "don't update me" + data_feed.options.action_link_template = "don't update me" + data_feed.source.connection_string = "don't update me" + data_feed.source.query = "don't update me" + + updated = self.admin_client.update_data_feed( + data_feed, + timestamp_column="time", + ingestion_begin_time=datetime.datetime(2020, 12, 10), + ingestion_start_offset=1, + data_source_request_concurrency=1, + ingestion_retry_delay=1, + stop_retry_after=1, + rollup_type="AlreadyRollup", + rollup_method="Sum", + rollup_identification_value="sumrollup", + auto_rollup_group_by_column_names=[], + fill_type="CustomValue", + custom_fill_value=2, + access_mode="Public", + viewers=["updated"], + status="Paused", + action_link_template="updated", + source=SQLServerDataFeed( + connection_string="updated", + query="get data" + ) + ) + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.options.data_feed_description, "updateMe") + self.assertEqual(updated.schema.timestamp_column, "time") + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2020, 12, 10, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, 1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 1) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, 1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, 1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "AlreadyRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "Sum") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, "sumrollup") + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "CustomValue") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 2) + self.assertEqual(updated.options.access_mode, "Public") + self.assertEqual(updated.options.viewers, ["updated"]) + self.assertEqual(updated.status, "Paused") + self.assertEqual(updated.options.action_link_template, "updated") + self.assertEqual(updated.source.connection_string, "updated") + self.assertEqual(updated.source.query, "get data") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_data_feed_by_reseting_properties(self): + + data_feed = self._create_data_feed_for_update("update") + try: + updated = self.admin_client.update_data_feed( + data_feed.id, + name="update", + data_feed_description=None, + timestamp_column=None, + ingestion_start_offset=None, + data_source_request_concurrency=None, + ingestion_retry_delay=None, + stop_retry_after=None, + rollup_type=None, + rollup_method=None, + rollup_identification_value=None, + auto_rollup_group_by_column_names=None, + fill_type=None, + custom_fill_value=None, + access_mode=None, + viewers=None, + status=None, + action_link_template=None, + ) + self.assertEqual(updated.name, "update") + # self.assertEqual(updated.options.data_feed_description, "") # doesn't currently clear + # self.assertEqual(updated.schema.timestamp_column, "") # doesn't currently clear + self.assertEqual(updated.ingestion_settings.ingestion_begin_time, + datetime.datetime(2019, 10, 1, tzinfo=tzutc())) + self.assertEqual(updated.ingestion_settings.ingestion_start_offset, -1) + self.assertEqual(updated.ingestion_settings.data_source_request_concurrency, 0) + self.assertEqual(updated.ingestion_settings.ingestion_retry_delay, -1) + self.assertEqual(updated.ingestion_settings.stop_retry_after, -1) + self.assertEqual(updated.options.rollup_settings.rollup_type, "NoRollup") + self.assertEqual(updated.options.rollup_settings.rollup_method, "None") + self.assertEqual(updated.options.rollup_settings.rollup_identification_value, None) + self.assertEqual(updated.options.rollup_settings.auto_rollup_group_by_column_names, []) + self.assertEqual(updated.options.missing_data_point_fill_settings.fill_type, "SmartFilling") + self.assertEqual(updated.options.missing_data_point_fill_settings.custom_fill_value, 0) + self.assertEqual(updated.options.access_mode, "Private") + # self.assertEqual(updated.options.viewers, ["viewers"]) # doesn't currently clear + self.assertEqual(updated.status, "Active") + # self.assertEqual(updated.options.action_link_template, "updated") # doesn't currently clear + + finally: + self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_hooks.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_hooks.py new file mode 100644 index 000000000000..7515c4bcdd5e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_hooks.py @@ -0,0 +1,255 @@ +# 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. +# -------------------------------------------------------------------------- + +import pytest +from azure.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + EmailHook, + WebHook, +) +from base_testcase import TestMetricsAdvisorAdministrationClientBase + + +class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): + + def test_create_email_hook(self): + email_hook_name = self.create_random_name("testemailhook") + try: + email_hook = self.admin_client.create_hook( + name=email_hook_name, + hook=EmailHook( + emails_to_alert=["yournamehere@microsoft.com"], + description="my email hook", + external_link="external link" + ) + ) + self.assertIsNotNone(email_hook.id) + self.assertIsNotNone(email_hook.name) + self.assertIsNotNone(email_hook.admins) + self.assertEqual(email_hook.emails_to_alert, ["yournamehere@microsoft.com"]) + self.assertEqual(email_hook.description, "my email hook") + self.assertEqual(email_hook.external_link, "external link") + self.assertEqual(email_hook.hook_type, "Email") + finally: + self.admin_client.delete_hook(email_hook.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_hook(email_hook.id) + + def test_create_web_hook(self): + web_hook_name = self.create_random_name("testwebhook") + try: + web_hook = self.admin_client.create_hook( + name=web_hook_name, + hook=WebHook( + endpoint="https://httpbin.org/post", + description="my web hook", + external_link="external link" + ) + ) + self.assertIsNotNone(web_hook.id) + self.assertIsNotNone(web_hook.name) + self.assertIsNotNone(web_hook.admins) + self.assertEqual(web_hook.endpoint, "https://httpbin.org/post") + self.assertEqual(web_hook.description, "my web hook") + self.assertEqual(web_hook.external_link, "external link") + self.assertEqual(web_hook.hook_type, "Webhook") + finally: + self.admin_client.delete_hook(web_hook.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_hook(web_hook.id) + + def test_list_hooks(self): + hooks = self.admin_client.list_hooks() + assert len(list(hooks)) > 0 + + def test_update_email_hook_with_model(self): + name = self.create_random_name("testwebhook") + try: + hook = self._create_email_hook_for_update(name) + hook.name = "update" + hook.description = "update" + hook.external_link = "update" + hook.emails_to_alert = ["myemail@m.com"] + + updated = self.admin_client.update_hook(hook) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_email_hook_with_kwargs(self): + name = self.create_random_name("testhook") + try: + hook = self._create_email_hook_for_update(name) + updated = self.admin_client.update_hook( + hook.id, + hook_type="Email", + name="update", + description="update", + external_link="update", + emails_to_alert=["myemail@m.com"] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_email_hook_with_model_and_kwargs(self): + name = self.create_random_name("testhook") + try: + hook = self._create_email_hook_for_update(name) + + hook.name = "don't update me" + hook.description = "don't update me" + hook.emails_to_alert = [] + updated = self.admin_client.update_hook( + hook, + hook_type="Email", + name="update", + description="update", + external_link="update", + emails_to_alert=["myemail@m.com"] + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.emails_to_alert, ["myemail@m.com"]) + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_email_hook_by_resetting_properties(self): + name = self.create_random_name("testhook") + try: + hook = self._create_email_hook_for_update(name) + updated = self.admin_client.update_hook( + hook.id, + hook_type="Email", + name="reset", + description=None, + external_link=None, + ) + + self.assertEqual(updated.name, "reset") + + # sending null, but not clearing properties + # self.assertEqual(updated.description, "") + # self.assertEqual(updated.external_link, "") + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_web_hook_with_model(self): + name = self.create_random_name("testwebhook") + try: + hook = self._create_web_hook_for_update(name) + hook.name = "update" + hook.description = "update" + hook.external_link = "update" + hook.username = "myusername" + hook.password = "password" + + updated = self.admin_client.update_hook(hook) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_web_hook_with_kwargs(self): + name = self.create_random_name("testwebhook") + try: + hook = self._create_web_hook_for_update(name) + updated = self.admin_client.update_hook( + hook.id, + hook_type="Web", + endpoint="https://httpbin.org/post", + name="update", + description="update", + external_link="update", + username="myusername", + password="password" + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "update") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_web_hook_with_model_and_kwargs(self): + name = self.create_random_name("testwebhook") + try: + hook = self._create_web_hook_for_update(name) + + hook.name = "don't update me" + hook.description = "updateMe" + hook.username = "don't update me" + hook.password = "don't update me" + hook.endpoint = "don't update me" + updated = self.admin_client.update_hook( + hook, + hook_type="Web", + endpoint="https://httpbin.org/post", + name="update", + external_link="update", + username="myusername", + password="password" + ) + + self.assertEqual(updated.name, "update") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.external_link, "update") + self.assertEqual(updated.username, "myusername") + self.assertEqual(updated.password, "password") + + finally: + self.admin_client.delete_hook(hook.id) + + def test_update_web_hook_by_resetting_properties(self): + name = self.create_random_name("testhook") + try: + hook = self._create_web_hook_for_update(name) + updated = self.admin_client.update_hook( + hook.id, + hook_type="Web", + name="reset", + description=None, + endpoint="https://httpbin.org/post", + external_link=None, + username="myusername", + password=None + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.password, "") + + # sending null, but not clearing properties + # self.assertEqual(updated.description, "") + # self.assertEqual(updated.external_link, "") + + finally: + self.admin_client.delete_hook(hook.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py new file mode 100644 index 000000000000..5e4aef9e1bfd --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py @@ -0,0 +1,806 @@ +# 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. +# -------------------------------------------------------------------------- + +import pytest +from azure.core.exceptions import ResourceNotFoundError + +from azure.ai.metricsadvisor.models import ( + MetricDetectionCondition, + MetricSeriesGroupDetectionCondition, + MetricSingleSeriesDetectionCondition, + SmartDetectionCondition, + SuppressCondition, + ChangeThresholdCondition, + HardThresholdCondition, +) +from base_testcase import TestMetricsAdvisorAdministrationClientBase + + +class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): + + def test_create_metric_anomaly_detection_configuration_whole_series_detection(self): + + data_feed = self._create_data_feed("adconfig") + try: + detection_config_name = self.create_random_name("testdetectionconfig") + config = self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ) + ) + self.assertIsNotNone(config.id) + self.assertEqual(config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(config.name) + self.assertIsNone(config.series_detection_conditions) + self.assertIsNone(config.series_group_detection_conditions) + self.assertEqual(config.whole_series_detection_condition.cross_conditions_operator, "OR") + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + + self.admin_client.delete_metric_anomaly_detection_configuration(config.id) + + with self.assertRaises(ResourceNotFoundError): + self.admin_client.get_metric_anomaly_detection_configuration(config.id) + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_metric_anomaly_detection_config_with_series_and_group_conditions(self): + data_feed = self._create_data_feed("adconfigget") + try: + detection_config_name = self.create_random_name("testdetectionconfiget") + detection_config = self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + )] + ) + + self.assertIsNotNone(detection_config.id) + self.assertEqual(detection_config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(detection_config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(detection_config.name) + self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND") + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'}) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_group_detection_conditions[0].series_group_key, {'city': 'Sao Paulo'}) + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_create_detection_config_with_multiple_series_and_group_conditions(self): + data_feed = self._create_data_feed("datafeedforconfig") + try: + detection_config_name = self.create_random_name("multipledetectionconfigs") + detection_config = self.admin_client.create_metric_anomaly_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids[0], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=50, + min_ratio=50 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + series_detection_conditions=[ + MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + MetricSingleSeriesDetectionCondition( + series_key={"city": "Osaka", "category": "Cell Phones"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + ) + ], + series_group_detection_conditions=[ + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ), + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) + ) + ), + MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Seoul"}, + cross_conditions_operator="AND", + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) + ) + ) + ] + ) + + self.assertIsNotNone(detection_config.id) + self.assertEqual(detection_config.metric_id, data_feed.metric_ids[0]) + self.assertEqual(detection_config.description, "My test metric anomaly detection configuration") + self.assertIsNotNone(detection_config.name) + + # whole series detection condition + self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND") + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50) + self.assertEqual( + detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50) + + # series detection conditions + self.assertEqual( + detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'}) + self.assertEqual(detection_config.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.series_detection_conditions[1].series_key, {"city": "Osaka", "category": "Cell Phones"}) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both") + + # series group detection conditions + self.assertEqual( + detection_config.series_group_detection_conditions[0].series_group_key, {"city": "Sao Paulo"}) + self.assertEqual(detection_config.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both") + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 50) + self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.shift_point, 30) + self.assertTrue(detection_config.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2) + self.assertEqual( + detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.lower_bound, 0) + self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual( + detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5) + self.assertEqual( + detection_config.series_group_detection_conditions[1].series_group_key, {"city": "Seoul"}) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.sensitivity, 63) + self.assertEqual( + detection_config.series_group_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both") + + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_list_metric_anomaly_detection_configs(self): + configs = self.admin_client.list_metric_anomaly_detection_configurations(metric_id=self.metric_id) + assert len(list(configs)) > 0 + + def test_update_detection_config_with_model(self): + try: + detection_config, data_feed = self._create_detection_config_for_update("updatedetection") + + detection_config.name = "updated" + detection_config.description = "updated" + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + detection_config.series_detection_conditions[0].change_threshold_condition = change_threshold_condition + detection_config.series_detection_conditions[0].hard_threshold_condition = hard_threshold_condition + detection_config.series_detection_conditions[0].smart_detection_condition = smart_detection_condition + detection_config.series_detection_conditions[0].cross_conditions_operator = "AND" + detection_config.series_group_detection_conditions[0].change_threshold_condition = change_threshold_condition + detection_config.series_group_detection_conditions[0].hard_threshold_condition = hard_threshold_condition + detection_config.series_group_detection_conditions[0].smart_detection_condition = smart_detection_condition + detection_config.series_group_detection_conditions[0].cross_conditions_operator = "AND" + detection_config.whole_series_detection_condition.hard_threshold_condition = hard_threshold_condition + detection_config.whole_series_detection_condition.smart_detection_condition = smart_detection_condition + detection_config.whole_series_detection_condition.change_threshold_condition = change_threshold_condition + detection_config.whole_series_detection_condition.cross_conditions_operator = "OR" + + updated = self.admin_client.update_metric_anomaly_detection_configuration(detection_config) + + self.assertEqual(updated.name, "updated") + self.assertEqual(updated.description, "updated") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_detection_config_with_kwargs(self): + try: + detection_config, data_feed = self._create_detection_config_for_update("updatedetection") + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + updated = self.admin_client.update_metric_anomaly_detection_configuration( + detection_config.id, + name="updated", + description="updated", + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "San Paulo", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Shenzen"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )] + ) + + self.assertEqual(updated.name, "updated") + self.assertEqual(updated.description, "updated") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"}) + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"}) + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_detection_config_with_model_and_kwargs(self): + try: + detection_config, data_feed = self._create_detection_config_for_update("updatedetection") + change_threshold_condition = ChangeThresholdCondition( + anomaly_detector_direction="Both", + change_percentage=20, + shift_point=10, + within_range=True, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + hard_threshold_condition = HardThresholdCondition( + anomaly_detector_direction="Up", + upper_bound=100, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + smart_detection_condition = SmartDetectionCondition( + anomaly_detector_direction="Up", + sensitivity=10, + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=2 + ) + ) + + detection_config.name = "updateMe" + detection_config.description = "updateMe" + updated = self.admin_client.update_metric_anomaly_detection_configuration( + detection_config, + whole_series_detection_condition=MetricDetectionCondition( + cross_conditions_operator="OR", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "San Paulo", "category": "Jewelry"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Shenzen"}, + cross_conditions_operator="AND", + smart_detection_condition=smart_detection_condition, + hard_threshold_condition=hard_threshold_condition, + change_threshold_condition=change_threshold_condition + )] + ) + + self.assertEqual(updated.name, "updateMe") + self.assertEqual(updated.description, "updateMe") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"}) + + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10) + self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND") + self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"}) + + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both") + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10) + self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up") + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5) + self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2) + self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR") + finally: + self.admin_client.delete_data_feed(data_feed.id) + + def test_update_detection_config_by_resetting_properties(self): + try: + detection_config, data_feed = self._create_detection_config_for_update("updatedetection") + + updated = self.admin_client.update_metric_anomaly_detection_configuration( + detection_config.id, + name="reset", + description="", + # series_detection_conditions=None, + # series_group_detection_conditions=None + ) + + self.assertEqual(updated.name, "reset") + self.assertEqual(updated.description, "") # currently won't update with None + + # service bug says these are required + # self.assertEqual(updated.series_detection_conditions, None) + # self.assertEqual(updated.series_group_detection_conditions, None) + + finally: + self.admin_client.delete_data_feed(data_feed.id) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py new file mode 100644 index 000000000000..16db689ddadf --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py @@ -0,0 +1,163 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from azure.core import MatchConditions +from devtools_testutils import AzureMgmtTestCase +from azure.core.exceptions import ( + ResourceModifiedError, + ResourceNotFoundError, + ResourceExistsError, + AzureError, +) +from azure.ai.metricsadvisor.models import ( + AnomalyFeedback, + ChangePointFeedback, + CommentFeedback, + PeriodFeedback, +) +import pytest +import datetime +import os +from base_testcase import TestMetricsAdvisorClientBase + +class TestMetricsAdvisorClient(TestMetricsAdvisorClientBase): + def test_list_anomalies_for_detection_configuration(self): + results = list(self.client.list_anomalies_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + )) + assert len(results) > 0 + + def test_list_dimension_values_for_detection_configuration(self): + results = list(self.client.list_dimension_values_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + dimension_name=self.dimension_name, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + )) + assert len(results) > 0 + + def test_list_incidents_for_detection_configuration(self): + results = list(self.client.list_incidents_for_detection_configuration( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + )) + assert len(results) > 0 + + def test_list_metric_dimension_values(self): + results = list(self.client.list_metric_dimension_values( + metric_id=self.metric_id, + dimension_name=self.dimension_name, + )) + assert len(results) > 0 + + def test_list_incident_root_cause(self): + results = list(self.client.list_incident_root_causes( + detection_configuration_id=self.anomaly_detection_configuration_id, + incident_id=self.incident_id, + )) + assert len(results) == 0 + + def test_list_metric_enriched_series_data(self): + series_identity = {"city":"city"} + results = list(self.client.list_metric_enriched_series_data( + detection_configuration_id=self.anomaly_detection_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + series=[series_identity] + )) + assert len(results) > 0 + + def test_list_metric_enrichment_status(self): + results = list(self.client.list_metric_enrichment_status( + metric_id=self.metric_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + )) + assert len(results) > 0 + + def test_list_alerts_for_alert_configuration(self): + results = list(self.client.list_alerts_for_alert_configuration( + alert_configuration_id=self.anomaly_alert_configuration_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + time_mode="AnomalyTime", + )) + assert len(list(results)) > 0 + + def test_list_metrics_series_data(self): + results = list(self.client.list_metrics_series_data( + metric_id=self.metric_id, + start_time=datetime.datetime(2020, 1, 1), + end_time=datetime.datetime(2020, 9, 9), + filter=[ + {"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"} + ] + )) + assert len(results) > 0 + + def test_list_metric_series_definitions(self): + results = list(self.client.list_metric_series_definitions( + metric_id=self.metric_id, + active_since=datetime.datetime(2020, 1, 1), + )) + assert len(results) > 0 + + def test_add_anomaly_feedback(self): + anomaly_feedback = AnomalyFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotAnomaly") + self.client.add_feedback(anomaly_feedback) + + def test_add_change_point_feedback(self): + change_point_feedback = ChangePointFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="NotChangePoint") + self.client.add_feedback(change_point_feedback) + + def test_add_comment_feedback(self): + comment_feedback = CommentFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + value="comment") + self.client.add_feedback(comment_feedback) + + def test_add_period_feedback(self): + period_feedback = PeriodFeedback(metric_id=self.metric_id, + dimension_key={"Dim1": "Common Lime"}, + start_time=datetime.datetime(2020, 8, 5), + end_time=datetime.datetime(2020, 8, 7), + period_type="AssignValue", + value=2) + self.client.add_feedback(period_feedback) + + def test_list_feedbacks(self): + results = list(self.client.list_feedbacks(metric_id=self.metric_id)) + assert len(results) > 0 + + def test_get_feedback(self): + result = self.client.get_feedback(feedback_id=self.feedback_id) + assert result + + def test_list_anomalies_for_alert(self): + result = list(self.client.list_anomalies_for_alert( + alert_configuration_id=self.anomaly_alert_configuration_id, + alert_id=self.alert_id, + )) + assert len(result) > 0 + + def test_list_incidents_for_alert(self): + results = list(self.client.list_incidents_for_alert( + alert_configuration_id=self.anomaly_alert_configuration_id, + alert_id=self.alert_id, + )) + assert len(results) > 0 diff --git a/sdk/metricsadvisor/ci.yml b/sdk/metricsadvisor/ci.yml new file mode 100644 index 000000000000..7712f0c78fda --- /dev/null +++ b/sdk/metricsadvisor/ci.yml @@ -0,0 +1,36 @@ +# DO NOT EDIT THIS FILE +# This file is generated automatically and any changes will be lost. + +trigger: + branches: + include: + - master + - hotfix/* + - release/* + - restapi* + paths: + include: + - sdk/metricsadvisor/ + - sdk/core/ + +pr: + branches: + include: + - master + - feature/* + - hotfix/* + - release/* + - restapi* + paths: + include: + - sdk/metricsadvisor/ + - sdk/core/ + +extends: + template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: metricsadvisor + Artifacts: + - name: azure_ai_metricsadvisor + safeName: azureaimetricsadvisor + diff --git a/shared_requirements.txt b/shared_requirements.txt index 69a0b7a8b37f..0314e2ee41de 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -168,3 +168,5 @@ opentelemetry-api==0.10b0 #override azure-communication-chat msrest>=0.6.0 #override azure-communication-sms msrest>=0.6.0 #override azure-communication-administration msrest>=0.6.0 +#override azure-ai-metricsadvisor azure-core<2.0.0,>=1.6.0 +#override azure-ai-metricsadvisor msrest>=0.6.12 From 80530719407b09805b4d0f076c8fa28707c374ec Mon Sep 17 00:00:00 2001 From: nickzhums <56864335+nickzhums@users.noreply.github.com> Date: Tue, 29 Sep 2020 17:05:38 +0800 Subject: [PATCH 08/71] Fix typo in track 2 migration guide (#14006) * Fix typo in track 2 migration guide * Update python_mgmt_migration_guide.rst --- doc/sphinx/python_mgmt_migration_guide.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/python_mgmt_migration_guide.rst b/doc/sphinx/python_mgmt_migration_guide.rst index fbfd254ecffe..6ecc60cce6b6 100644 --- a/doc/sphinx/python_mgmt_migration_guide.rst +++ b/doc/sphinx/python_mgmt_migration_guide.rst @@ -102,7 +102,7 @@ To the show the code snippets for the change: from azure.identity import ClientSecretCredential credential = ClientSecretCredential( - tenant_id=tenant_id, + client_secret=client_secret, client_id=client_id, tenant_id=tenant_id ) @@ -167,3 +167,4 @@ If you have encountered an issue during migration, please file an issue via `Github Issues `__ and make sure you add the "Preview" label to the issue + From 832a0352eba09f53f2fadac2eaecbc7fb5ffbf3e Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 29 Sep 2020 09:24:37 -0700 Subject: [PATCH 09/71] [metricsadvisor] get pylint clean (#14094) * pylint clean * fix broken link * fix anchor links * last try * try populating empty links --- eng/tox/allowed_pylint_failures.py | 1 - .../azure-ai-metricsadvisor/README.md | 16 ++-- .../azure/ai/metricsadvisor/_helpers.py | 7 +- .../_metrics_advisor_administration_client.py | 12 +-- .../metricsadvisor/_metrics_advisor_client.py | 33 ++++--- .../_metrics_advisor_key_credential_policy.py | 2 +- ...ics_advisor_administration_client_async.py | 12 +-- .../aio/_metrics_advisor_client_async.py | 40 ++++++--- .../azure/ai/metricsadvisor/models/_models.py | 86 +++++++++---------- .../test_metrics_advisor_client_live_async.py | 2 +- .../tests/test_metrics_advisor_client_live.py | 2 +- 11 files changed, 121 insertions(+), 92 deletions(-) diff --git a/eng/tox/allowed_pylint_failures.py b/eng/tox/allowed_pylint_failures.py index 6dbd4075a3e1..e9505fee9cf9 100644 --- a/eng/tox/allowed_pylint_failures.py +++ b/eng/tox/allowed_pylint_failures.py @@ -47,5 +47,4 @@ "azure-synapse-accesscontrol", "azure-synapse-nspkg", "azure-ai-anomalydetector", - "azure-ai-metricsadvisor", ] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index 1093abf6bb97..f48fe40d40fc 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -1,7 +1,7 @@ # Azure Metrics Advisor client library for Python Metrics Advisor is a scalable real-time time series monitoring, alerting, and root cause analysis platform. -[Source code]() | [Package (Pypi)][package] | [API reference documentation]() | [Product documentation][ma_docs] +[Source code][src_code] | [Package (Pypi)][package] | [API reference documentation][reference_documentation] | [Product documentation][ma_docs] ## Getting started @@ -78,11 +78,11 @@ Metrics Advisor lets you create and subscribe to real-time alerts. These alerts ## Examples -- [Add a data feed from a sample or data source](#add-a-data-feed-from-a-sample-or-data-source) -- [Check ingestion status](#check-ingestion-status) -- [Configure anomaly detection configuration](#configure-anomaly-detection-configuration) -- [Configure alert configuration](#configure-alert-configuration) -- [Query anomaly detection results](#query-anomaly-detection-results) +* [Add a data feed from a sample or data source](#add-a-data-feed-from-a-sample-or-data-source "Add a data feed from a sample or data source") +* [Check ingestion status](#check-ingestion-status "Check ingestion status") +* [Configure anomaly detection configuration](#configure-anomaly-detection-configuration "Configure anomaly detection configuration") +* [Configure alert configuration](#configure-alert-configuration "Configure alert configuration") +* [Query anomaly detection results](#query-anomaly-detection-results "Query anomaly detection results") ### Add a data feed from a sample or data source @@ -410,7 +410,7 @@ client = MetricsAdvisorClient(service_endpoint, ### More sample code - For more details see the [samples README](https://github.com/Azure/azure-sdk-for-python-pr/tree/feature/metricsadvisor/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md). + For more details see the [samples README](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md). ## Contributing @@ -425,6 +425,8 @@ or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments. +[src_code]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/metricsadvisor/azure-ai-metricsadvisor +[reference_documentation]: https://aka.ms/azsdk/python/metricsadvisor/docs [ma_docs]: https://aka.ms/azsdk/python/metricsadvisor/docs [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py index 50e223612a5f..f4023ecf83d5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py @@ -3,6 +3,9 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ + +# pylint: disable=protected-access + from typing import ( Union, TYPE_CHECKING @@ -126,7 +129,7 @@ def convert_to_generated_data_feed_type( :return: The generated model for the data source type """ - if isinstance(granularity, six.string_types) or isinstance(granularity, DataFeedGranularityType): + if isinstance(granularity, (DataFeedGranularityType, six.string_types)): granularity = DataFeedGranularity( granularity_type=granularity, ) @@ -136,7 +139,7 @@ def convert_to_generated_data_feed_type( metrics=[Metric(name=metric_name) for metric_name in schema] ) - if isinstance(ingestion_settings, datetime.datetime) or isinstance(ingestion_settings, six.string_types): + if isinstance(ingestion_settings, (datetime.datetime, six.string_types)): ingestion_settings = DataFeedIngestionSettings( ingestion_begin_time=ingestion_settings ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py index 10a09b007f08..f9256b97695b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py @@ -4,14 +4,17 @@ # Licensed under the MIT License. # ------------------------------------ -import six -import datetime +# pylint: disable=protected-access +# pylint: disable=too-many-lines + from typing import ( Any, List, Union, TYPE_CHECKING ) +import datetime +import six from azure.core.tracing.decorator import distributed_trace from ._generated._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2 \ import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 as _Client @@ -85,8 +88,7 @@ DataFeedSchema, DataFeedIngestionSettings, Hook, - MetricDetectionCondition, - DataFeedIngestionProgress + MetricDetectionCondition ) DataFeedSourceUnion = Union[ @@ -140,7 +142,7 @@ } -class MetricsAdvisorAdministrationClient(object): +class MetricsAdvisorAdministrationClient(object): # pylint:disable=too-many-public-methods """MetricsAdvisorAdministrationClient is used to create and manage data feeds. :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py index 5dacd7282013..e52bc11967bf 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -3,7 +3,10 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING + +# pylint: disable=protected-access + +from typing import List, Union, Dict, TYPE_CHECKING import datetime from azure.core.tracing.decorator import distributed_trace @@ -47,7 +50,6 @@ from ._version import SDK_MONIKER if TYPE_CHECKING: - from typing import cast, List, Union, Optional, Dict from ._generated.models import ( MetricFeedback, SeriesResult, @@ -87,6 +89,7 @@ def __init__(self, endpoint, credential, **kwargs): raise ValueError("Missing credential") self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) + self._endpoint = endpoint self._credential = credential self._config.user_agent_policy = UserAgentPolicy( sdk_moniker=SDK_MONIKER, **kwargs @@ -314,8 +317,14 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k ) @distributed_trace - def list_metric_enriched_series_data(self, detection_configuration_id, series, start_time, end_time, **kwargs): - # type: (str, Union[List[SeriesIdentity], List[Dict[str, str]]], datetime, datetime, dict) -> ItemPaged[SeriesResult] + def list_metric_enriched_series_data( + self, detection_configuration_id, # type: str + series, # type: Union[List[SeriesIdentity], List[Dict[str, str]]] + start_time, # type: datetime + end_time, # type: datetime + **kwargs # type: dict + ): + # type: (...) -> ItemPaged[SeriesResult] """Query series enriched by anomaly detection. :param str detection_configuration_id: anomaly alerting configuration unique id. @@ -452,11 +461,11 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, } skip = kwargs.pop('skip', None) - filter = kwargs.pop('filter', None) + filter_condition = kwargs.pop('filter', None) detection_anomaly_result_query = DetectionAnomalyResultQuery( start_time=start_time, end_time=end_time, - filter=filter, + filter=filter_condition, ) return self._client.get_anomalies_by_anomaly_detection_configuration( @@ -560,12 +569,12 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, 401: ClientAuthenticationError } - filter = kwargs.pop('filter', None) + filter_condition = kwargs.pop('filter', None) detection_incident_result_query = DetectionIncidentResultQuery( start_time=start_time, end_time=end_time, - filter=filter, + filter=filter_condition, ) return self._client.get_incidents_by_anomaly_detection_configuration( @@ -612,7 +621,7 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): **kwargs) @distributed_trace - def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kwargs): + def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_filter, **kwargs): # type: (str, datetime, datetime, List[Dict[str, str]], dict) -> ItemPaged[MetricSeriesData] """Get time series data from metric. @@ -621,8 +630,8 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kw :type metric_id: str :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. - :param filter: query specific series. - :type filter: list[dict[str, str]] + :param series_to_filter: query specific series. + :type series_to_filter: list[dict[str, str]] :return: Time series data from metric. :rtype: ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] :raises: ~azure.core.exceptions.HttpResponseError @@ -634,7 +643,7 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kw metric_data_query_options = MetricDataQueryOptions( start_time=start_time, end_time=end_time, - series=filter, + series=series_to_filter, ) return self._client.get_metric_data( diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py index 2e4879c9195d..1070537260ab 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py @@ -4,8 +4,8 @@ # license information. # -------------------------------------------------------------------------- -from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from azure.core.pipeline.policies import SansIOHTTPPolicy +from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential _API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key" _X_API_KEY_HEADER_NAME = "x-api-key" diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py index 48da04afc342..ad8ec42ab839 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py @@ -4,14 +4,16 @@ # Licensed under the MIT License. # ------------------------------------ -import six -import datetime +# pylint:disable=protected-access +# pylint:disable=too-many-lines + from typing import ( Any, List, - Union + Union, ) - +import datetime +import six from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async from azure.core.async_paging import AsyncItemPaged @@ -51,7 +53,7 @@ ) -class MetricsAdvisorAdministrationClient(object): +class MetricsAdvisorAdministrationClient(object): # pylint:disable=too-many-public-methods """MetricsAdvisorAdministrationClient is used to create and manage data feeds. :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py index b7a1d672b53b..826692dc8b75 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -3,7 +3,10 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING + +# pylint:disable=protected-access + +from typing import List, Union, Dict, TYPE_CHECKING import datetime from azure.core.tracing.decorator import distributed_trace @@ -49,7 +52,6 @@ from .._version import SDK_MONIKER if TYPE_CHECKING: - from typing import cast, List, Union, Optional, Dict from azure.core.async_paging import AsyncItemPaged from .._generated.models import ( MetricFeedback, @@ -87,6 +89,7 @@ def __init__(self, endpoint, credential, **kwargs): raise ValueError("Missing credential") self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) + self._endpoint = endpoint self._credential = credential self._config.user_agent_policy = UserAgentPolicy( sdk_moniker=SDK_MONIKER, **kwargs @@ -225,8 +228,11 @@ async def get_feedback(self, feedback_id, **kwargs): return convert_to_sub_feedback(feedback) @distributed_trace - def list_feedbacks(self, metric_id, **kwargs): - # type: (str, dict) -> AsyncItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + def list_feedbacks( + self, metric_id, # type: str + **kwargs # type: dict + ): + # type: (...) -> AsyncItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] """List feedback on the given metric. @@ -314,8 +320,14 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k ) @distributed_trace - def list_metric_enriched_series_data(self, detection_configuration_id, series, start_time, end_time, **kwargs): - # type: (str, Union[List[SeriesIdentity], List[Dict[str, str]]], datetime, datetime, dict) -> AsyncItemPaged[SeriesResult] + def list_metric_enriched_series_data( + self, detection_configuration_id, # type: str + series, # type: Union[List[SeriesIdentity], List[Dict[str, str]]] + start_time, # type: datetime + end_time, # type: datetime + **kwargs # type: dict + ): + # type: (...) -> AsyncItemPaged[SeriesResult] """Query series enriched by anomaly detection. :param str detection_configuration_id: anomaly alerting configuration unique id. @@ -451,11 +463,11 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, } skip = kwargs.pop('skip', None) - filter = kwargs.pop('filter', None) + filter_condition = kwargs.pop('filter', None) detection_anomaly_result_query = DetectionAnomalyResultQuery( start_time=start_time, end_time=end_time, - filter=filter, + filter=filter_condition, ) return self._client.get_anomalies_by_anomaly_detection_configuration( @@ -559,12 +571,12 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, 401: ClientAuthenticationError } - filter = kwargs.pop('filter', None) + filter_condition = kwargs.pop('filter', None) detection_incident_result_query = DetectionIncidentResultQuery( start_time=start_time, end_time=end_time, - filter=filter, + filter=filter_condition, ) return self._client.get_incidents_by_anomaly_detection_configuration( @@ -611,7 +623,7 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): **kwargs) @distributed_trace - def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kwargs): + def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_filter, **kwargs): # type: (str, List[Dict[str, str]], datetime, datetime, dict) -> AsyncItemPaged[MetricSeriesData] """Get time series data from metric. @@ -620,8 +632,8 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kw :type metric_id: str :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. - :param filter: query specific series. - :type filter: list[dict[str, str]] + :param series_to_filter: query specific series. + :type series_to_filter: list[dict[str, str]] :return: Time series data from metric. :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] :raises: ~azure.core.exceptions.HttpResponseError @@ -633,7 +645,7 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, filter, **kw metric_data_query_options = MetricDataQueryOptions( start_time=start_time, end_time=end_time, - series=filter, + series=series_to_filter, ) return self._client.get_metric_data( diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py index 9f5126f5fb47..3b494c8b4ca5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -4,8 +4,10 @@ # Licensed under the MIT License. # ------------------------------------ +# pylint:disable=protected-access +# pylint:disable=too-many-lines + import datetime -import msrest from typing import ( Any, Union, @@ -14,7 +16,7 @@ TYPE_CHECKING ) from enum import Enum - +import msrest from .._generated.models import ( MetricAlertingConfiguration as _MetricAlertingConfiguration, SeverityCondition as _SeverityCondition, @@ -274,7 +276,7 @@ def __init__(self, metrics, **kwargs): self.timestamp_column = kwargs.get('timestamp_column', None) -class DataFeed(object): +class DataFeed(object): # pylint:disable=too-many-instance-attributes """Represents a data feed. :ivar ~datetime.datetime created_time: Data feed created time. @@ -449,8 +451,8 @@ class TopNGroupScope(object): :type min_top_count: int """ - def __init__(self, top, period, min_top_count, **kwargs): - # type: (int, int, int, Any) -> None + def __init__(self, top, period, min_top_count): + # type: (int, int, int) -> None self.top = top self.period = period self.min_top_count = min_top_count @@ -467,8 +469,8 @@ class SeverityCondition(object): :type max_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity """ - def __init__(self, min_alert_severity, max_alert_severity, **kwargs): - # type: (Union[str, Severity], Union[str, Severity], Any) -> None + def __init__(self, min_alert_severity, max_alert_severity): + # type: (Union[str, Severity], Union[str, Severity]) -> None self.min_alert_severity = min_alert_severity self.max_alert_severity = max_alert_severity @@ -484,8 +486,8 @@ class MetricAnomalyAlertSnoozeCondition(object): :type only_for_successive: bool """ - def __init__(self, auto_snooze, snooze_scope, only_for_successive, **kwargs): - # type: (int, Union[str, SnoozeScope], bool, Any) -> None + def __init__(self, auto_snooze, snooze_scope, only_for_successive): + # type: (int, Union[str, SnoozeScope], bool) -> None self.auto_snooze = auto_snooze self.snooze_scope = snooze_scope self.only_for_successive = only_for_successive @@ -749,8 +751,8 @@ class AzureApplicationInsightsDataFeed(object): :type query: str """ - def __init__(self, azure_cloud, application_id, api_key, query, **kwargs): - # type: (str, str, str, str, Any) -> None + def __init__(self, azure_cloud, application_id, api_key, query): + # type: (str, str, str, str) -> None self.data_source_type = 'AzureApplicationInsights' # type: str self.azure_cloud = azure_cloud self.application_id = application_id @@ -786,8 +788,8 @@ class AzureBlobDataFeed(object): :type blob_template: str """ - def __init__(self, connection_string, container, blob_template, **kwargs): - # type: (str, str, str, Any) -> None + def __init__(self, connection_string, container, blob_template): + # type: (str, str, str) -> None self.data_source_type = 'AzureBlob' # type: str self.connection_string = connection_string self.container = container @@ -822,8 +824,8 @@ class AzureCosmosDBDataFeed(object): :type collection_id: str """ - def __init__(self, connection_string, sql_query, database, collection_id, **kwargs): - # type: (str, str, str, str, Any) -> None + def __init__(self, connection_string, sql_query, database, collection_id): + # type: (str, str, str, str) -> None self.data_source_type = 'AzureCosmosDB' # type: str self.connection_string = connection_string self.sql_query = sql_query @@ -857,8 +859,8 @@ class AzureDataExplorerDataFeed(object): :type query: str """ - def __init__(self, connection_string, query, **kwargs): - # type: (str, str, Any) -> None + def __init__(self, connection_string, query): + # type: (str, str) -> None self.data_source_type = 'AzureDataExplorer' # type: str self.connection_string = connection_string self.query = query @@ -888,8 +890,8 @@ class AzureTableDataFeed(object): :type table: str """ - def __init__(self, connection_string, query, table, **kwargs): - # type: (str, str, str, Any) -> None + def __init__(self, connection_string, query, table): + # type: (str, str, str) -> None self.data_source_type = 'AzureTable' # type: str self.connection_string = connection_string self.query = query @@ -963,8 +965,8 @@ class InfluxDBDataFeed(object): :type query: str """ - def __init__(self, connection_string, database, user_name, password, query, **kwargs): - # type: (str, str, str, str, str, Any) -> None + def __init__(self, connection_string, database, user_name, password, query): + # type: (str, str, str, str, str) -> None self.data_source_type = 'InfluxDB' # type: str self.connection_string = connection_string self.database = database @@ -1001,8 +1003,8 @@ class MySqlDataFeed(object): :type query: str """ - def __init__(self, connection_string, query, **kwargs): - # type: (str, str, Any) -> None + def __init__(self, connection_string, query): + # type: (str, str) -> None self.data_source_type = 'MySql' # type: str self.connection_string = connection_string self.query = query @@ -1030,8 +1032,8 @@ class PostgreSqlDataFeed(object): :type query: str """ - def __init__(self, connection_string, query, **kwargs): - # type: (str, str, Any) -> None + def __init__(self, connection_string, query): + # type: (str, str) -> None self.data_source_type = 'PostgreSql' # type: str self.connection_string = connection_string self.query = query @@ -1059,8 +1061,8 @@ class SQLServerDataFeed(object): :type query: str """ - def __init__(self, connection_string, query, **kwargs): - # type: (str, str, Any) -> None + def __init__(self, connection_string, query): + # type: (str, str) -> None self.data_source_type = 'SqlServer' # type: str self.connection_string = connection_string self.query = query @@ -1100,10 +1102,9 @@ def __init__( account_key, file_system_name, directory_template, - file_template, - **kwargs + file_template ): - # type: (str, str, str, str, str, Any) -> None + # type: (str, str, str, str, str) -> None self.data_source_type = 'AzureDataLakeStorageGen2' # type: str self.account_name = account_name self.account_key = account_key @@ -1144,8 +1145,8 @@ class ElasticsearchDataFeed(object): :type query: str """ - def __init__(self, host, port, auth_header, query, **kwargs): - # type: (str, str, str, str, Any) -> None + def __init__(self, host, port, auth_header, query): + # type: (str, str, str, str) -> None self.data_source_type = 'Elasticsearch' # type: str self.host = host self.port = port @@ -1181,8 +1182,8 @@ class MongoDBDataFeed(object): :type command: str """ - def __init__(self, connection_string, database, command, **kwargs): - # type: (str, str, str, Any) -> None + def __init__(self, connection_string, database, command): + # type: (str, str, str) -> None self.data_source_type = 'MongoDB' # type: str self.connection_string = connection_string self.database = database @@ -1427,7 +1428,6 @@ def __init__( within_range, # type: bool anomaly_detector_direction, # type: Union[str, AnomalyDetectorDirection] suppress_condition, # type: SuppressCondition - **kwargs # type: Any ): # type: (...) -> None self.change_percentage = change_percentage @@ -1468,8 +1468,8 @@ class SuppressCondition(object): :type min_ratio: float """ - def __init__(self, min_number, min_ratio, **kwargs): - # type: (int, float, Any) -> None + def __init__(self, min_number, min_ratio): + # type: (int, float) -> None self.min_number = min_number self.min_ratio = min_ratio @@ -1494,8 +1494,8 @@ class SmartDetectionCondition(object): :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition """ - def __init__(self, sensitivity, anomaly_detector_direction, suppress_condition, **kwargs): - # type: (float, Union[str, AnomalyDetectorDirection], SuppressCondition, Any) -> None + def __init__(self, sensitivity, anomaly_detector_direction, suppress_condition): + # type: (float, Union[str, AnomalyDetectorDirection], SuppressCondition) -> None self.sensitivity = sensitivity self.anomaly_detector_direction = anomaly_detector_direction self.suppress_condition = suppress_condition @@ -2040,7 +2040,7 @@ def _from_generated(cls, root_cause): description=root_cause.description, ) -class AnomalyFeedback(msrest.serialization.Model): +class AnomalyFeedback(msrest.serialization.Model): # pylint:disable=too-many-instance-attributes """AnomalyFeedback. Variables are only populated by the server, and will be ignored when sending a request. @@ -2258,7 +2258,7 @@ def _to_generated(self): value = ChangePointFeedbackValue(change_point_value=self.value) return _ChangePointFeedback( feedback_id=self.id, - created_time = self.created_time, + created_time=self.created_time, user_principal=self.user_principal, metric_id=self.metric_id, dimension_filter=dimension_filter, @@ -2362,7 +2362,7 @@ def _to_generated(self): value = CommentFeedbackValue(comment_value=self.value) return _CommentFeedback( feedback_id=self.id, - created_time = self.created_time, + created_time=self.created_time, user_principal=self.user_principal, metric_id=self.metric_id, dimension_filter=dimension_filter, @@ -2462,7 +2462,7 @@ def _to_generated(self): value = PeriodFeedbackValue(period_type=self.period_type, period_value=self.value) return _CommentFeedback( feedback_id=self.id, - created_time = self.created_time, + created_time=self.created_time, user_principal=self.user_principal, metric_id=self.metric_id, dimension_filter=dimension_filter, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py index f0e079d2f650..94982b288bb3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metrics_advisor_client_live_async.py @@ -134,7 +134,7 @@ async def test_list_metrics_series_data(self): metric_id=self.metric_id, start_time=datetime.datetime(2020, 1, 1), end_time=datetime.datetime(2020, 9, 9), - filter=[ + series_to_filter=[ {"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"} ] ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py index 16db689ddadf..6b470ff9c615 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py @@ -94,7 +94,7 @@ def test_list_metrics_series_data(self): metric_id=self.metric_id, start_time=datetime.datetime(2020, 1, 1), end_time=datetime.datetime(2020, 9, 9), - filter=[ + series_to_filter=[ {"city": "Mumbai", "category": "Shoes Handbags & Sunglasses"} ] )) From 40774230c02233ce98169513320c19ccc2184174 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Tue, 29 Sep 2020 09:30:36 -0700 Subject: [PATCH 10/71] use aka.ms url (#14112) --- sdk/metricsadvisor/azure-ai-metricsadvisor/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index f48fe40d40fc..7f31dea3e195 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -430,7 +430,7 @@ additional questions or comments. [ma_docs]: https://aka.ms/azsdk/python/metricsadvisor/docs [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ -[package]: https://pypi.org/ +[package]: https://aka.ms/azsdk/python/metricsadvisor/pypi [ma_service]: https://go.microsoft.com/fwlink/?linkid=2142156 [python_logging]: https://docs.python.org/3.5/library/logging.html From b8a4ad11553f4669f1a06f7ca91df0e1346d1ad0 Mon Sep 17 00:00:00 2001 From: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> Date: Tue, 29 Sep 2020 10:57:37 -0700 Subject: [PATCH 11/71] ContainerClient.delete_blob() version_id docstring (#14051) * fixed docs for delete blob * fixed docs for delete blob * lint --- .../azure/storage/blob/_container_client.py | 7 +++++++ .../azure/storage/blob/aio/_container_client_async.py | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py index 575611c4e7a9..e43c9c1c32de 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py @@ -877,6 +877,13 @@ def delete_blob( Required if the blob has associated snapshots. Values include: - "only": Deletes only the blobs snapshots. - "include": Deletes the blob along with all snapshots. + :keyword str version_id: + The version id parameter is an opaque DateTime + value that, when present, specifies the version of the blob to delete. + + .. versionadded:: 12.4.0 + This keyword argument was introduced in API version '2019-12-12'. + :keyword lease: Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string. diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py index 0554fc661459..635dab1a20ae 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py @@ -752,6 +752,13 @@ async def delete_blob( Required if the blob has associated snapshots. Values include: - "only": Deletes only the blobs snapshots. - "include": Deletes the blob along with all snapshots. + :keyword str version_id: + The version id parameter is an opaque DateTime + value that, when present, specifies the version of the blob to delete. + + .. versionadded:: 12.4.0 + This keyword argument was introduced in API version '2019-12-12'. + :keyword lease: Required if the blob has an active lease. Value can be a Lease object or the lease ID as a string. From 2e2661896b0f263230d8d2fa3798612bfe731eac Mon Sep 17 00:00:00 2001 From: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Date: Tue, 29 Sep 2020 11:45:11 -0700 Subject: [PATCH 12/71] [Devtool][Fix]StorageAccountsOperations object has no attribute create (#14074) * [Devtool][Fix]StorageAccountsOperations object has no attribute create * [Devtool][Fix]remove polling from remove_resource --- tools/azure-sdk-tools/devtools_testutils/storage_testcase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py b/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py index e387b54b1ffb..46908d054c94 100644 --- a/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py @@ -51,7 +51,7 @@ def create_resource(self, name, **kwargs): if self.is_live: self.client = self.create_mgmt_client(StorageManagementClient) group = self._get_resource_group(**kwargs) - storage_async_operation = self.client.storage_accounts.create( + storage_async_operation = self.client.storage_accounts.begin_create( group.name, name, { @@ -101,7 +101,7 @@ def create_resource(self, name, **kwargs): def remove_resource(self, name, **kwargs): if self.is_live: group = self._get_resource_group(**kwargs) - self.client.storage_accounts.delete(group.name, name, polling=False) + self.client.storage_accounts.delete(group.name, name) def _get_resource_group(self, **kwargs): try: From 75a42808c1e447312c0f82c3d58b4065275d78c1 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 29 Sep 2020 16:25:07 -0700 Subject: [PATCH 13/71] Pin Minimum Deps in min-dependency tests, Hotfix SDK-Tools for backwards compat (#14069) * mindependency trick with compatibility mode works just fine. pinning local mindependency deps in tox.ini * patch keyvaultmmgtpreparer to be backwards compatibile with previous major version --- eng/tox/install_depend_packages.py | 2 +- eng/tox/tox.ini | 9 +++++++-- scripts/devops_tasks/common_tasks.py | 15 +++++++++++++++ scripts/devops_tasks/test_regression.py | 1 - .../azure-appconfiguration/dev_requirements.txt | 2 -- .../devtools_testutils/keyvault_preparer.py | 10 ++++++++-- 6 files changed, 31 insertions(+), 8 deletions(-) diff --git a/eng/tox/install_depend_packages.py b/eng/tox/install_depend_packages.py index f0add7f9659c..c915915d97bb 100644 --- a/eng/tox/install_depend_packages.py +++ b/eng/tox/install_depend_packages.py @@ -28,7 +28,7 @@ logging.getLogger().setLevel(logging.INFO) MINIMUM_VERSION_SUPPORTED_OVERRIDE = { - 'azure-common': '1.1.10', + 'azure-common': '1.1.10' } def install_dependent_packages(setup_py_file_path, dependency_type, temp_dir): diff --git a/eng/tox/tox.ini b/eng/tox/tox.ini index 9b38156d47da..d5c3248afd78 100644 --- a/eng/tox/tox.ini +++ b/eng/tox/tox.ini @@ -6,7 +6,7 @@ envlist = whl,sdist [tools] deps = -r ../../../eng/test_tools.txt - + [coverage:paths] source = @@ -20,6 +20,7 @@ deps = {[tools]deps} + [packaging] pkgs = wheel==0.34.2 @@ -215,7 +216,11 @@ commands = [testenv:mindependency] pre-deps = {[packaging]pkgs} -deps = {[tools]deps} +deps = + azure-mgmt-keyvault<7.0.0 + azure-mgmt-resource<15.0.0 + azure-mgmt-storage<15.0.0 + {[tools]deps} changedir = {toxinidir} passenv = * setenv = diff --git a/scripts/devops_tasks/common_tasks.py b/scripts/devops_tasks/common_tasks.py index 6a9c2eabd014..c0ad19122385 100644 --- a/scripts/devops_tasks/common_tasks.py +++ b/scripts/devops_tasks/common_tasks.py @@ -391,6 +391,21 @@ def filter_dev_requirements(pkg_root_path, packages_to_exclude, dest_dir): return new_dev_req_path +def extend_dev_requirements(dev_req_path, packages_to_include): + requirements = [] + with open(dev_req_path, "r") as dev_req_file: + requirements = dev_req_file.readlines() + + # include any package given in included list. omit duplicate + for requirement in packages_to_include: + if requirement not in requirements: + requirements.append(requirement) + + logging.info("Extending dev requirements. New result:: {}".format(requirements)) + # create new dev requirements file with different name for filtered requirements + with open(dev_req_path, "w") as dev_req_file: + dev_req_file.writelines(requirements) + def is_required_version_on_pypi(package_name, spec): from pypi_tools.pypi import PyPIClient client = PyPIClient() diff --git a/scripts/devops_tasks/test_regression.py b/scripts/devops_tasks/test_regression.py index ea56872c7d41..934fbbf5e702 100644 --- a/scripts/devops_tasks/test_regression.py +++ b/scripts/devops_tasks/test_regression.py @@ -40,7 +40,6 @@ logging.getLogger().setLevel(logging.INFO) - class CustomVirtualEnv: def __init__(self, path): self.path = os.path.join(path, VENV_NAME) diff --git a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt index 2a41134e0e0d..200d9f1274e7 100644 --- a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt +++ b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt @@ -1,6 +1,4 @@ ../../core/azure-core --e ../../../tools/azure-devtools --e ../../../tools/azure-sdk-tools -e ../../identity/azure-identity aiohttp>=3.0; python_version >= '3.5' aiodns>=2.0; python_version >= '3.5' diff --git a/tools/azure-sdk-tools/devtools_testutils/keyvault_preparer.py b/tools/azure-sdk-tools/devtools_testutils/keyvault_preparer.py index 47e0589b62c1..de4260092963 100644 --- a/tools/azure-sdk-tools/devtools_testutils/keyvault_preparer.py +++ b/tools/azure-sdk-tools/devtools_testutils/keyvault_preparer.py @@ -15,13 +15,19 @@ StoragePermissions, Permissions, Sku, - SkuFamily, SkuName, AccessPolicyEntry, VaultProperties, VaultCreateOrUpdateParameters, ) +try: + from azure.mgmt.keyvault.models import ( + SkuFamily + ) +except ImportError: + pass + from azure_devtools.scenario_tests.exceptions import( AzureTestError, NameInUseError, ReservedResourceNameError ) @@ -88,7 +94,7 @@ def create_resource(self, name, **kwargs): ] properties = VaultProperties( tenant_id=self.test_class_instance.get_settings_value("TENANT_ID"), - sku=Sku(name=self.sku, family=SkuFamily.A), + sku=Sku(name=self.sku, family=SkuFamily.A) if SkuFamily else Sku(name=self.sku), access_policies=access_policies, vault_uri=None, enabled_for_deployment=self.enabled_for_deployment, From 806fe8773d9adee51dd0da7c723d3ca0773302a5 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 29 Sep 2020 16:33:29 -0700 Subject: [PATCH 14/71] [metricsadvisor] mypy (#14120) Resolves #14079 --- eng/tox/mypy_hard_failure_packages.py | 3 +- .../azure-ai-metricsadvisor/azure/__init__.py | 2 +- .../azure/ai/__init__.py | 2 +- .../azure/ai/metricsadvisor/_helpers.py | 11 +- .../_metrics_advisor_administration_client.py | 99 ++++++------ .../metricsadvisor/_metrics_advisor_client.py | 141 +++++------------ .../_metrics_advisor_key_credential_policy.py | 2 + ...ics_advisor_administration_client_async.py | 46 +++--- .../aio/_metrics_advisor_client_async.py | 148 ++++++------------ .../ai/metricsadvisor/models/__init__.py | 4 +- .../azure/ai/metricsadvisor/models/_models.py | 108 +++++++------ .../azure-ai-metricsadvisor/mypy.ini | 12 ++ 12 files changed, 260 insertions(+), 318 deletions(-) create mode 100644 sdk/metricsadvisor/azure-ai-metricsadvisor/mypy.ini diff --git a/eng/tox/mypy_hard_failure_packages.py b/eng/tox/mypy_hard_failure_packages.py index 4f458daf44aa..7c5f0a33de2b 100644 --- a/eng/tox/mypy_hard_failure_packages.py +++ b/eng/tox/mypy_hard_failure_packages.py @@ -10,5 +10,6 @@ "azure-eventhub", "azure-servicebus", "azure-ai-textanalytics", - "azure-ai-formrecognizer" + "azure-ai-formrecognizer", + "azure-ai-metricsadvisor" ] diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py index 69e3be50dac4..0d1f7edf5dc6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py index 69e3be50dac4..0d1f7edf5dc6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py index f4023ecf83d5..e2427981585b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_helpers.py @@ -13,6 +13,7 @@ import datetime import six from msrest import Serializer +from azure.core.exceptions import HttpResponseError from .models import ( DataFeedGranularityType, DataFeedGranularity, @@ -178,11 +179,11 @@ def convert_to_generated_data_feed_type( def convert_to_sub_feedback(feedback): # type: (MetricFeedback) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] if feedback.feedback_type == "Anomaly": - return AnomalyFeedback._from_generated(feedback) + return AnomalyFeedback._from_generated(feedback) # type: ignore if feedback.feedback_type == "ChangePoint": - return ChangePointFeedback._from_generated(feedback) + return ChangePointFeedback._from_generated(feedback) # type: ignore if feedback.feedback_type == "Comment": - return CommentFeedback._from_generated(feedback) + return CommentFeedback._from_generated(feedback) # type: ignore if feedback.feedback_type == "Period": - return PeriodFeedback._from_generated(feedback) - return None + return PeriodFeedback._from_generated(feedback) # type: ignore + raise HttpResponseError("Invalid feedback type returned in the response.") diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py index f9256b97695b..a7cb662acde6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py @@ -11,6 +11,7 @@ Any, List, Union, + cast, TYPE_CHECKING ) import datetime @@ -18,34 +19,38 @@ from azure.core.tracing.decorator import distributed_trace from ._generated._azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2 \ import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 as _Client -from ._generated.models import AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration -from ._generated.models import AzureApplicationInsightsDataFeed as _AzureApplicationInsightsDataFeed -from ._generated.models import AzureBlobDataFeed as _AzureBlobDataFeed -from ._generated.models import AzureCosmosDBDataFeed as _AzureCosmosDBDataFeed -from ._generated.models import AzureDataExplorerDataFeed as _AzureDataExplorerDataFeed -from ._generated.models import AzureTableDataFeed as _AzureTableDataFeed -from ._generated.models import HttpRequestDataFeed as _HttpRequestDataFeed -from ._generated.models import InfluxDBDataFeed as _InfluxDBDataFeed -from ._generated.models import MySqlDataFeed as _MySqlDataFeed -from ._generated.models import PostgreSqlDataFeed as _PostgreSqlDataFeed -from ._generated.models import MongoDBDataFeed as _MongoDBDataFeed -from ._generated.models import SQLServerDataFeed as _SQLServerDataFeed -from ._generated.models import AzureDataLakeStorageGen2DataFeed as _AzureDataLakeStorageGen2DataFeed -from ._generated.models import AzureDataLakeStorageGen2DataFeedPatch as _AzureDataLakeStorageGen2DataFeedPatch -from ._generated.models import ElasticsearchDataFeed as _ElasticsearchDataFeed -from ._generated.models import ElasticsearchDataFeedPatch as _ElasticsearchDataFeedPatch -from ._generated.models import AzureApplicationInsightsDataFeedPatch as _AzureApplicationInsightsDataFeedPatch -from ._generated.models import AzureBlobDataFeedPatch as _AzureBlobDataFeedPatch -from ._generated.models import AzureCosmosDBDataFeedPatch as _AzureCosmosDBDataFeedPatch -from ._generated.models import AzureDataExplorerDataFeedPatch as _AzureDataExplorerDataFeedPatch -from ._generated.models import AzureTableDataFeedPatch as _AzureTableDataFeedPatch -from ._generated.models import HttpRequestDataFeedPatch as _HttpRequestDataFeedPatch -from ._generated.models import InfluxDBDataFeedPatch as _InfluxDBDataFeedPatch -from ._generated.models import MySqlDataFeedPatch as _MySqlDataFeedPatch -from ._generated.models import PostgreSqlDataFeedPatch as _PostgreSqlDataFeedPatch -from ._generated.models import MongoDBDataFeedPatch as _MongoDBDataFeedPatch -from ._generated.models import SQLServerDataFeedPatch as _SQLServerDataFeedPatch -from ._generated.models import AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration +from ._generated.models import ( + AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration, + AzureApplicationInsightsDataFeed as _AzureApplicationInsightsDataFeed, + AzureBlobDataFeed as _AzureBlobDataFeed, + AzureCosmosDBDataFeed as _AzureCosmosDBDataFeed, + AzureDataExplorerDataFeed as _AzureDataExplorerDataFeed, + AzureTableDataFeed as _AzureTableDataFeed, + HttpRequestDataFeed as _HttpRequestDataFeed, + InfluxDBDataFeed as _InfluxDBDataFeed, + MySqlDataFeed as _MySqlDataFeed, + PostgreSqlDataFeed as _PostgreSqlDataFeed, + MongoDBDataFeed as _MongoDBDataFeed, + SQLServerDataFeed as _SQLServerDataFeed, + AzureDataLakeStorageGen2DataFeed as _AzureDataLakeStorageGen2DataFeed, + AzureDataLakeStorageGen2DataFeedPatch as _AzureDataLakeStorageGen2DataFeedPatch, + ElasticsearchDataFeed as _ElasticsearchDataFeed, + ElasticsearchDataFeedPatch as _ElasticsearchDataFeedPatch, + AzureApplicationInsightsDataFeedPatch as _AzureApplicationInsightsDataFeedPatch, + AzureBlobDataFeedPatch as _AzureBlobDataFeedPatch, + AzureCosmosDBDataFeedPatch as _AzureCosmosDBDataFeedPatch, + AzureDataExplorerDataFeedPatch as _AzureDataExplorerDataFeedPatch, + AzureTableDataFeedPatch as _AzureTableDataFeedPatch, + HttpRequestDataFeedPatch as _HttpRequestDataFeedPatch, + InfluxDBDataFeedPatch as _InfluxDBDataFeedPatch, + MySqlDataFeedPatch as _MySqlDataFeedPatch, + PostgreSqlDataFeedPatch as _PostgreSqlDataFeedPatch, + MongoDBDataFeedPatch as _MongoDBDataFeedPatch, + SQLServerDataFeedPatch as _SQLServerDataFeedPatch, + AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration, + IngestionProgressResetOptions as _IngestionProgressResetOptions, + IngestionStatusQueryOptions as _IngestionStatusQueryOptions, +) from ._version import SDK_MONIKER from ._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy from ._helpers import ( @@ -218,7 +223,7 @@ def create_anomaly_alert_configuration( """ cross_metrics_operator = kwargs.pop("cross_metrics_operator", None) - response_headers = self._client.create_anomaly_alerting_configuration( + response_headers = self._client.create_anomaly_alerting_configuration( # type: ignore _AnomalyAlertingConfiguration( name=name, metric_alerting_configurations=[ @@ -289,7 +294,7 @@ def create_data_feed( options=options ) - response_headers = self._client.create_data_feed( + response_headers = self._client.create_data_feed( # type: ignore data_feed_detail, cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs @@ -330,8 +335,8 @@ def create_hook( if hook.hook_type == "Webhook": hook_request = hook._to_generated(name) - response_headers = self._client.create_hook( - hook_request, + response_headers = self._client.create_hook( # type: ignore + hook_request, # type: ignore cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs ) @@ -387,7 +392,7 @@ def create_metric_anomaly_detection_configuration( if series_detection_conditions else None, ) - response_headers = self._client.create_anomaly_detection_configuration( + response_headers = self._client.create_anomaly_detection_configuration( # type: ignore config, cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs @@ -561,10 +566,10 @@ def refresh_data_feed_ingestion( """ self._client.reset_data_feed_ingestion_status( data_feed_id, - body={ - "start_time": start_time, - "end_time": end_time - }, + body=_IngestionProgressResetOptions( + start_time=start_time, + end_time=end_time + ), **kwargs ) @@ -963,6 +968,7 @@ def update_hook( else: hook_id = hook.id if hook.hook_type == "Email": + hook = cast(EmailHook, hook) hook_patch = hook._to_generated_patch( name=update.pop("hookName", None), description=update.pop("description", None), @@ -971,6 +977,7 @@ def update_hook( ) elif hook.hook_type == "Webhook": + hook = cast(WebHook, hook) hook_patch = hook._to_generated_patch( name=update.pop("hookName", None), description=update.pop("description", None), @@ -1021,7 +1028,7 @@ def _convert_to_hook_type(hook): return EmailHook._from_generated(hook) return WebHook._from_generated(hook) - return self._client.list_hooks( + return self._client.list_hooks( # type: ignore hook_name=hook_name, skip=skip, cls=kwargs.pop("cls", lambda hooks: [_convert_to_hook_type(hook) for hook in hooks]), @@ -1066,7 +1073,7 @@ def list_data_feeds( creator = kwargs.pop("creator", None) skip = kwargs.pop("skip", None) - return self._client.list_data_feeds( + return self._client.list_data_feeds( # type: ignore data_feed_name=data_feed_name, data_source_type=data_source_type, granularity_name=granularity_type, @@ -1101,7 +1108,7 @@ def list_anomaly_alert_configurations( :dedent: 4 :caption: List all anomaly alert configurations for specific anomaly detection configuration """ - return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( # type: ignore detection_configuration_id, cls=kwargs.pop("cls", lambda confs: [ AnomalyAlertConfiguration._from_generated(conf) for conf in confs @@ -1133,7 +1140,7 @@ def list_metric_anomaly_detection_configurations( :dedent: 4 :caption: List all anomaly detection configurations for a specific metric """ - return self._client.get_anomaly_detection_configurations_by_metric( + return self._client.get_anomaly_detection_configurations_by_metric( # type: ignore metric_id, cls=kwargs.pop("cls", lambda confs: [ AnomalyDetectionConfiguration._from_generated(conf) for conf in confs @@ -1174,12 +1181,12 @@ def list_data_feed_ingestion_status( skip = kwargs.pop("skip", None) - return self._client.get_data_feed_ingestion_status( + return self._client.get_data_feed_ingestion_status( # type: ignore data_feed_id=data_feed_id, - body={ - "start_time": start_time, - "end_time": end_time - }, + body=_IngestionStatusQueryOptions( + start_time=start_time, + end_time=end_time + ), skip=skip, **kwargs ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py index e52bc11967bf..51baf515185a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -6,8 +6,8 @@ # pylint: disable=protected-access -from typing import List, Union, Dict, TYPE_CHECKING -import datetime +from typing import List, Union, Dict, Any, cast, TYPE_CHECKING +import datetime # pylint:disable=unused-import from azure.core.tracing.decorator import distributed_trace from azure.core.pipeline import Pipeline @@ -20,7 +20,6 @@ HttpLoggingPolicy, ) from azure.core.pipeline.transport import RequestsTransport -from azure.core.exceptions import ClientAuthenticationError from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from ._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy from ._generated._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration @@ -51,7 +50,6 @@ if TYPE_CHECKING: from ._generated.models import ( - MetricFeedback, SeriesResult, EnrichmentStatus, MetricSeriesItem as MetricSeriesDefinition, @@ -92,7 +90,7 @@ def __init__(self, endpoint, credential, **kwargs): self._endpoint = endpoint self._credential = credential self._config.user_agent_policy = UserAgentPolicy( - sdk_moniker=SDK_MONIKER, **kwargs + base_user_agent=None, sdk_moniker=SDK_MONIKER, **kwargs ) pipeline = kwargs.get("pipeline") @@ -165,7 +163,7 @@ def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): @distributed_trace def add_feedback(self, feedback, **kwargs): - # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], dict) -> None + # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], Any) -> None """Create a new metric feedback. @@ -185,18 +183,14 @@ def add_feedback(self, feedback, **kwargs): :dedent: 4 :caption: Add new feedback. """ - error_map = { - 401: ClientAuthenticationError - } return self._client.create_metric_feedback( body=feedback._to_generated(), - error_map=error_map, **kwargs) @distributed_trace def get_feedback(self, feedback_id, **kwargs): - # type: (str, dict) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] + # type: (str, Any) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] """Get a metric feedback by its id. @@ -217,18 +211,14 @@ def get_feedback(self, feedback_id, **kwargs): :dedent: 4 :caption: Get a metric feedback by its id. """ - error_map = { - 401: ClientAuthenticationError - } return convert_to_sub_feedback(self._client.get_metric_feedback( feedback_id=feedback_id, - error_map=error_map, **kwargs)) @distributed_trace def list_feedbacks(self, metric_id, **kwargs): - # type: (str, dict) -> ItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + # type: (str, Any) -> ItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] """List feedback on the given metric. @@ -257,9 +247,6 @@ def list_feedbacks(self, metric_id, **kwargs): :dedent: 4 :caption: List feedback on the given metric. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = None @@ -279,18 +266,17 @@ def list_feedbacks(self, metric_id, **kwargs): time_mode=time_mode, ) - return self._client.list_metric_feedbacks( + return self._client.list_metric_feedbacks( # type: ignore skip=skip, body=feedback_filter, cls=kwargs.pop("cls", lambda result: [ convert_to_sub_feedback(x) for x in result ]), - error_map=error_map, **kwargs) @distributed_trace def list_incident_root_causes(self, detection_configuration_id, incident_id, **kwargs): - # type: (str, str, dict) -> ItemPaged[IncidentRootCause] + # type: (str, str, Any) -> ItemPaged[IncidentRootCause] """Query root cause for incident. @@ -302,14 +288,10 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k :rtype: ItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } - return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( + return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, incident_id=incident_id, - error_map=error_map, cls=kwargs.pop("cls", lambda result: [ IncidentRootCause._from_generated(x) for x in result ]), @@ -320,9 +302,9 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k def list_metric_enriched_series_data( self, detection_configuration_id, # type: str series, # type: Union[List[SeriesIdentity], List[Dict[str, str]]] - start_time, # type: datetime - end_time, # type: datetime - **kwargs # type: dict + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + **kwargs # type: Any ): # type: (...) -> ItemPaged[SeriesResult] """Query series enriched by anomaly detection. @@ -336,29 +318,28 @@ def list_metric_enriched_series_data( :rtype: ItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } - detection_series_query = DetectionSeriesQuery( - start_time=start_time, - end_time=end_time, - series=[ + series_list = [ SeriesIdentity(dimension=dimension) for dimension in series if isinstance(dimension, dict) - ] or series, + ] or series + + series_list = cast(List[SeriesIdentity], series_list) + detection_series_query = DetectionSeriesQuery( + start_time=start_time, + end_time=end_time, + series=series_list ) - return self._client.get_series_by_anomaly_detection_configuration( + return self._client.get_series_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, body=detection_series_query, - error_map=error_map, **kwargs) @distributed_trace def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time, end_time, time_mode, **kwargs): - # type: (str, datetime, datetime, Union[str, TimeMode], dict) -> ItemPaged[Alert] + # type: (str, datetime.datetime, datetime.datetime, Union[str, TimeMode], Any) -> ItemPaged[Alert] """Query alerts under anomaly alert configuration. @@ -382,9 +363,6 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time :dedent: 4 :caption: Query anomaly detection results. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) @@ -394,17 +372,16 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time time_mode=time_mode, ) - return self._client.get_alerts_by_anomaly_alerting_configuration( + return self._client.get_alerts_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, skip=skip, body=alerting_result_query, - error_map=error_map, cls=kwargs.pop("cls", lambda alerts: [Alert._from_generated(alert) for alert in alerts]), **kwargs) @distributed_trace def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): - # type: (str, str, dict) -> ItemPaged[Anomaly] + # type: (str, str, Any) -> ItemPaged[Anomaly] """Query anomalies under a specific alert. @@ -425,23 +402,19 @@ def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): :dedent: 4 :caption: Query anomalies using alert id. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) - return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( + return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, alert_id=alert_id, skip=skip, cls=lambda objs: [Anomaly._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_anomalies_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> ItemPaged[Anomaly] + # type: (str, datetime.datetime, datetime.datetime, Any) -> ItemPaged[Anomaly] """Query anomalies under anomaly detection configuration. @@ -456,9 +429,6 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Anomaly] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) filter_condition = kwargs.pop('filter', None) @@ -468,12 +438,11 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, filter=filter_condition, ) - return self._client.get_anomalies_by_anomaly_detection_configuration( + return self._client.get_anomalies_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, skip=skip, body=detection_anomaly_result_query, cls=lambda objs: [Anomaly._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace @@ -484,7 +453,7 @@ def list_dimension_values_for_detection_configuration( end_time, **kwargs ): - # type: (str, str, datetime, datetime, dict) -> ItemPaged[str] + # type: (str, str, datetime.datetime, datetime.datetime, Any) -> ItemPaged[str] """Query dimension values of anomalies. @@ -500,9 +469,6 @@ def list_dimension_values_for_detection_configuration( :rtype: ~azure.core.paging.ItemPaged[str] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = kwargs.pop('dimension_filter', None) @@ -513,16 +479,15 @@ def list_dimension_values_for_detection_configuration( dimension_filter=dimension_filter, ) - return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( + return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, skip=skip, body=anomaly_dimension_query, - error_map=error_map, **kwargs) @distributed_trace def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): - # type: (str, str, dict) -> ItemPaged[Incident] + # type: (str, str, Any) -> ItemPaged[Incident] """Query incidents under a specific alert. @@ -535,23 +500,19 @@ def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) - return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( + return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, alert_id=alert_id, skip=skip, cls=lambda objs: [Incident._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_incidents_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> ItemPaged[Incident] + # type: (str, datetime.datetime, datetime.datetime, Any) -> ItemPaged[Incident] """Query incidents under a specific alert. @@ -565,9 +526,6 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } filter_condition = kwargs.pop('filter', None) @@ -577,16 +535,15 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, filter=filter_condition, ) - return self._client.get_incidents_by_anomaly_detection_configuration( + return self._client.get_incidents_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, body=detection_incident_result_query, cls=lambda objs: [Incident._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): - # type: (str, str, dict) -> ItemPaged[str] + # type: (str, str, Any) -> ItemPaged[str] """List dimension from certain metric. @@ -601,9 +558,6 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): :rtype: ~azure.core.paging.ItemPaged[str] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_value_filter = kwargs.pop('dimension_value_filter', None) @@ -613,16 +567,15 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): dimension_value_filter=dimension_value_filter, ) - return self._client.get_metric_dimension( + return self._client.get_metric_dimension( # type: ignore metric_id=metric_id, body=metric_dimension_query_options, skip=skip, - error_map=error_map, **kwargs) @distributed_trace def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_filter, **kwargs): - # type: (str, datetime, datetime, List[Dict[str, str]], dict) -> ItemPaged[MetricSeriesData] + # type: (str, datetime.datetime, datetime.datetime, List[Dict[str, str]], Any) -> ItemPaged[MetricSeriesData] """Get time series data from metric. @@ -636,9 +589,6 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_fi :rtype: ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } metric_data_query_options = MetricDataQueryOptions( start_time=start_time, @@ -646,16 +596,15 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_fi series=series_to_filter, ) - return self._client.get_metric_data( + return self._client.get_metric_data( # type: ignore metric_id=metric_id, body=metric_data_query_options, - error_map=error_map, cls=kwargs.pop("cls", lambda result: [MetricSeriesData._from_generated(series) for series in result]), **kwargs) @distributed_trace def list_metric_series_definitions(self, metric_id, active_since, **kwargs): - # type: (str, datetime, dict) -> ItemPaged[MetricSeriesDefinition] + # type: (str, datetime.datetime, Any) -> ItemPaged[MetricSeriesDefinition] """List series (dimension combinations) from metric. @@ -673,9 +622,6 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = kwargs.pop('dimension_filter', None) @@ -685,16 +631,15 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): dimension_filter=dimension_filter, ) - return self._client.get_metric_series( + return self._client.get_metric_series( # type: ignore metric_id=metric_id, body=metric_series_query_options, skip=skip, - error_map=error_map, **kwargs) @distributed_trace def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> ItemPaged[EnrichmentStatus] + # type: (str, datetime.datetime, datetime.datetime, Any) -> ItemPaged[EnrichmentStatus] """Query anomaly detection status. @@ -707,9 +652,6 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) enrichment_status_query_option = EnrichmentStatusQueryOption( @@ -717,9 +659,8 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg end_time=end_time, ) - return self._client.get_enrichment_status_by_metric( + return self._client.get_enrichment_status_by_metric( # type: ignore metric_id=metric_id, skip=skip, body=enrichment_status_query_option, - error_map=error_map, **kwargs) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py index 1070537260ab..bf12f61fdc40 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_key_credential_policy.py @@ -4,12 +4,14 @@ # license information. # -------------------------------------------------------------------------- +from typing import Any from azure.core.pipeline.policies import SansIOHTTPPolicy from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential _API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key" _X_API_KEY_HEADER_NAME = "x-api-key" + class MetricsAdvisorKeyCredentialPolicy(SansIOHTTPPolicy): """Adds a key header for the provided credential. diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py index ad8ec42ab839..df20dfe0e3ca 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py @@ -11,6 +11,7 @@ Any, List, Union, + cast ) import datetime import six @@ -18,9 +19,13 @@ from azure.core.tracing.decorator_async import distributed_trace_async from azure.core.async_paging import AsyncItemPaged from .._generated.aio import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2 as _ClientAsync -from .._generated.models import AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration -from .._generated.models import AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration -from .._generated.models import IngestionStatus as DataFeedIngestionStatus +from .._generated.models import ( + AnomalyAlertingConfiguration as _AnomalyAlertingConfiguration, + AnomalyDetectionConfiguration as _AnomalyDetectionConfiguration, + IngestionStatus as DataFeedIngestionStatus, + IngestionProgressResetOptions as _IngestionProgressResetOptions, + IngestionStatusQueryOptions as _IngestionStatusQueryOptions, +) from .._version import SDK_MONIKER from .._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from .._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy @@ -138,7 +143,7 @@ async def create_anomaly_alert_configuration( cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs ) - + response_headers = cast(dict, response_headers) config_id = response_headers["Location"].split("configurations/")[1] return await self.get_anomaly_alert_configuration(config_id) @@ -201,6 +206,7 @@ async def create_data_feed( cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs ) + response_headers = cast(dict, response_headers) data_feed_id = response_headers["Location"].split("dataFeeds/")[1] return await self.get_data_feed(data_feed_id) @@ -238,10 +244,11 @@ async def create_hook( hook_request = hook._to_generated(name) response_headers = await self._client.create_hook( - hook_request, + hook_request, # type: ignore cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs ) + response_headers = cast(dict, response_headers) hook_id = response_headers["Location"].split("hooks/")[1] return await self.get_hook(hook_id) @@ -299,6 +306,7 @@ async def create_metric_anomaly_detection_configuration( cls=lambda pipeline_response, _, response_headers: response_headers, **kwargs ) + response_headers = cast(dict, response_headers) config_id = response_headers["Location"].split("configurations/")[1] return await self.get_metric_anomaly_detection_configuration(config_id) @@ -468,10 +476,10 @@ async def refresh_data_feed_ingestion( """ await self._client.reset_data_feed_ingestion_status( data_feed_id, - body={ - "start_time": start_time, - "end_time": end_time - }, + body=_IngestionProgressResetOptions( + start_time=start_time, + end_time=end_time + ), **kwargs ) @@ -866,6 +874,7 @@ async def update_hook( else: hook_id = hook.id if hook.hook_type == "Email": + hook = cast(EmailHook, hook) hook_patch = hook._to_generated_patch( name=update.pop("hookName", None), description=update.pop("description", None), @@ -874,6 +883,7 @@ async def update_hook( ) elif hook.hook_type == "Webhook": + hook = cast(WebHook, hook) hook_patch = hook._to_generated_patch( name=update.pop("hookName", None), description=update.pop("description", None), @@ -923,7 +933,7 @@ def _convert_to_hook_type(hook): return EmailHook._from_generated(hook) return WebHook._from_generated(hook) - return self._client.list_hooks( + return self._client.list_hooks( # type: ignore hook_name=hook_name, skip=skip, cls=kwargs.pop("cls", lambda hooks: [_convert_to_hook_type(hook) for hook in hooks]), @@ -967,7 +977,7 @@ def list_data_feeds( creator = kwargs.pop("creator", None) skip = kwargs.pop("skip", None) - return self._client.list_data_feeds( + return self._client.list_data_feeds( # type: ignore data_feed_name=data_feed_name, data_source_type=data_source_type, granularity_name=granularity_type, @@ -1001,7 +1011,7 @@ def list_anomaly_alert_configurations( :dedent: 4 :caption: List all anomaly alert configurations for specific anomaly detection configuration """ - return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( + return self._client.get_anomaly_alerting_configurations_by_anomaly_detection_configuration( # type: ignore detection_configuration_id, cls=kwargs.pop("cls", lambda confs: [ AnomalyAlertConfiguration._from_generated(conf) for conf in confs @@ -1032,7 +1042,7 @@ def list_metric_anomaly_detection_configurations( :dedent: 4 :caption: List all anomaly detection configurations for a specific metric """ - return self._client.get_anomaly_detection_configurations_by_metric( + return self._client.get_anomaly_detection_configurations_by_metric( # type: ignore metric_id, cls=kwargs.pop("cls", lambda confs: [ AnomalyDetectionConfiguration._from_generated(conf) for conf in confs @@ -1073,12 +1083,12 @@ def list_data_feed_ingestion_status( skip = kwargs.pop("skip", None) - return self._client.get_data_feed_ingestion_status( + return self._client.get_data_feed_ingestion_status( # type: ignore data_feed_id=data_feed_id, - body={ - "start_time": start_time, - "end_time": end_time - }, + body=_IngestionStatusQueryOptions( + start_time=start_time, + end_time=end_time + ), skip=skip, **kwargs ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py index 826692dc8b75..5d9bdf2f680c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -6,7 +6,7 @@ # pylint:disable=protected-access -from typing import List, Union, Dict, TYPE_CHECKING +from typing import List, Union, Dict, Any, cast, TYPE_CHECKING import datetime from azure.core.tracing.decorator import distributed_trace @@ -21,7 +21,6 @@ HttpLoggingPolicy, ) from azure.core.pipeline.transport import AioHttpTransport -from azure.core.exceptions import ClientAuthenticationError from .._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from .._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy from .._generated.aio._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration @@ -54,7 +53,6 @@ if TYPE_CHECKING: from azure.core.async_paging import AsyncItemPaged from .._generated.models import ( - MetricFeedback, SeriesResult, EnrichmentStatus, MetricSeriesItem as MetricSeriesDefinition @@ -92,7 +90,7 @@ def __init__(self, endpoint, credential, **kwargs): self._endpoint = endpoint self._credential = credential self._config.user_agent_policy = UserAgentPolicy( - sdk_moniker=SDK_MONIKER, **kwargs + base_user_agent=None, sdk_moniker=SDK_MONIKER, **kwargs ) pipeline = kwargs.get("pipeline") @@ -164,7 +162,7 @@ def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): @distributed_trace_async async def add_feedback(self, feedback, **kwargs): - # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], dict) -> None + # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], Any) -> None """Create a new metric feedback. @@ -184,18 +182,14 @@ async def add_feedback(self, feedback, **kwargs): :dedent: 4 :caption: Add new feedback. """ - error_map = { - 401: ClientAuthenticationError - } return await self._client.create_metric_feedback( body=feedback._to_generated(), - error_map=error_map, **kwargs) @distributed_trace_async async def get_feedback(self, feedback_id, **kwargs): - # type: (str, dict) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] + # type: (str, Any) -> Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback] """Get a metric feedback by its id. @@ -216,13 +210,9 @@ async def get_feedback(self, feedback_id, **kwargs): :dedent: 4 :caption: Get a metric feedback by its id. """ - error_map = { - 401: ClientAuthenticationError - } feedback = await self._client.get_metric_feedback( feedback_id=feedback_id, - error_map=error_map, **kwargs) return convert_to_sub_feedback(feedback) @@ -230,7 +220,7 @@ async def get_feedback(self, feedback_id, **kwargs): @distributed_trace def list_feedbacks( self, metric_id, # type: str - **kwargs # type: dict + **kwargs # type: Any ): # type: (...) -> AsyncItemPaged[Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] @@ -261,9 +251,6 @@ def list_feedbacks( :dedent: 4 :caption: List feedback on the given metric. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = None @@ -283,18 +270,17 @@ def list_feedbacks( time_mode=time_mode, ) - return self._client.list_metric_feedbacks( + return self._client.list_metric_feedbacks( # type: ignore skip=skip, body=feedback_filter, cls=kwargs.pop("cls", lambda result: [ convert_to_sub_feedback(x) for x in result ]), - error_map=error_map, **kwargs) @distributed_trace def list_incident_root_causes(self, detection_configuration_id, incident_id, **kwargs): - # type: (str, str, dict) -> AsyncItemPaged[IncidentRootCause] + # type: (str, str, Any) -> AsyncItemPaged[IncidentRootCause] """Query root cause for incident. @@ -306,13 +292,10 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } - return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( + + return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, incident_id=incident_id, - error_map=error_map, cls=kwargs.pop("cls", lambda result: [ IncidentRootCause._from_generated(x) for x in result ]), @@ -323,9 +306,9 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k def list_metric_enriched_series_data( self, detection_configuration_id, # type: str series, # type: Union[List[SeriesIdentity], List[Dict[str, str]]] - start_time, # type: datetime - end_time, # type: datetime - **kwargs # type: dict + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + **kwargs # type: Any ): # type: (...) -> AsyncItemPaged[SeriesResult] """Query series enriched by anomaly detection. @@ -339,29 +322,28 @@ def list_metric_enriched_series_data( :rtype: AsyncItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } - detection_series_query = DetectionSeriesQuery( - start_time=start_time, - end_time=end_time, - series=[ + series_list = [ SeriesIdentity(dimension=dimension) for dimension in series if isinstance(dimension, dict) - ] or series, + ] or series + + series_list = cast(List[SeriesIdentity], series_list) + detection_series_query = DetectionSeriesQuery( + start_time=start_time, + end_time=end_time, + series=series_list ) - return self._client.get_series_by_anomaly_detection_configuration( + return self._client.get_series_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, body=detection_series_query, - error_map=error_map, **kwargs) @distributed_trace def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time, end_time, time_mode, **kwargs): - # type: (str, datetime, datetime, Union[str, TimeMode], dict) -> AsyncItemPaged[Alert] + # type: (str, datetime.datetime, datetime.datetime, Union[str, TimeMode], Any) -> AsyncItemPaged[Alert] """Query alerts under anomaly alert configuration. :param alert_configuration_id: anomaly alert configuration unique id. @@ -384,9 +366,6 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time :dedent: 4 :caption: Query anomaly detection results. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) @@ -396,17 +375,16 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time time_mode=time_mode, ) - return self._client.get_alerts_by_anomaly_alerting_configuration( + return self._client.get_alerts_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, skip=skip, body=alerting_result_query, - error_map=error_map, cls=kwargs.pop("cls", lambda alerts: [Alert._from_generated(alert) for alert in alerts]), **kwargs) @distributed_trace def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): - # type: (str, str, dict) -> AsyncItemPaged[Anomaly] + # type: (str, str, Any) -> AsyncItemPaged[Anomaly] """Query anomalies under a specific alert. @@ -427,23 +405,19 @@ def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): :dedent: 4 :caption: Query anomalies using alert id. """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) - return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( + return self._client.get_anomalies_from_alert_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, alert_id=alert_id, skip=skip, cls=lambda objs: [Anomaly._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_anomalies_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> AsyncItemPaged[Anomaly] + # type: (str, datetime.datetime, datetime.datetime, Any) -> AsyncItemPaged[Anomaly] """Query anomalies under anomaly detection configuration. @@ -458,9 +432,6 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) filter_condition = kwargs.pop('filter', None) @@ -470,12 +441,11 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, filter=filter_condition, ) - return self._client.get_anomalies_by_anomaly_detection_configuration( + return self._client.get_anomalies_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, skip=skip, body=detection_anomaly_result_query, cls=lambda objs: [Anomaly._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace @@ -486,7 +456,7 @@ def list_dimension_values_for_detection_configuration( end_time, **kwargs ): - # type: (str, str, datetime, datetime, dict) -> AsyncItemPaged[str] + # type: (str, str, datetime.datetime, datetime.datetime, Any) -> AsyncItemPaged[str] """Query dimension values of anomalies. @@ -502,9 +472,6 @@ def list_dimension_values_for_detection_configuration( :rtype: ~azure.core.paging.AsyncItemPaged[str] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = kwargs.pop('dimension_filter', None) @@ -515,16 +482,15 @@ def list_dimension_values_for_detection_configuration( dimension_filter=dimension_filter, ) - return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( + return self._client.get_dimension_of_anomalies_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, skip=skip, body=anomaly_dimension_query, - error_map=error_map, **kwargs) @distributed_trace def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): - # type: (str, str, dict) -> AsyncItemPaged[Incident] + # type: (str, str, Any) -> AsyncItemPaged[Incident] """Query incidents under a specific alert. @@ -537,23 +503,19 @@ def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) - return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( + return self._client.get_incidents_from_alert_by_anomaly_alerting_configuration( # type: ignore configuration_id=alert_configuration_id, alert_id=alert_id, skip=skip, cls=lambda objs: [Incident._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_incidents_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> AsyncItemPaged[Incident] + # type: (str, datetime.datetime, datetime.datetime, Any) -> AsyncItemPaged[Incident] """Query incidents under a specific alert. @@ -567,9 +529,6 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } filter_condition = kwargs.pop('filter', None) @@ -579,16 +538,15 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, filter=filter_condition, ) - return self._client.get_incidents_by_anomaly_detection_configuration( + return self._client.get_incidents_by_anomaly_detection_configuration( # type: ignore configuration_id=detection_configuration_id, body=detection_incident_result_query, cls=lambda objs: [Incident._from_generated(x) for x in objs], - error_map=error_map, **kwargs) @distributed_trace def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): - # type: (str, str, dict) -> AsyncItemPaged[str] + # type: (str, str, Any) -> AsyncItemPaged[str] """List dimension from certain metric. @@ -603,9 +561,6 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): :rtype: ~azure.core.paging.AsyncItemPaged[str] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_value_filter = kwargs.pop('dimension_value_filter', None) @@ -615,16 +570,21 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): dimension_value_filter=dimension_value_filter, ) - return self._client.get_metric_dimension( + return self._client.get_metric_dimension( # type: ignore metric_id=metric_id, body=metric_dimension_query_options, skip=skip, - error_map=error_map, **kwargs) @distributed_trace - def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_filter, **kwargs): - # type: (str, List[Dict[str, str]], datetime, datetime, dict) -> AsyncItemPaged[MetricSeriesData] + def list_metrics_series_data( + self, metric_id, # type: str + start_time, # type: datetime.datetime + end_time, # type: datetime.datetime + series_to_filter, # type: List[Dict[str, str]] + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[MetricSeriesData] """Get time series data from metric. @@ -638,9 +598,6 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_fi :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } metric_data_query_options = MetricDataQueryOptions( start_time=start_time, @@ -648,16 +605,15 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_fi series=series_to_filter, ) - return self._client.get_metric_data( + return self._client.get_metric_data( # type: ignore metric_id=metric_id, body=metric_data_query_options, - error_map=error_map, cls=kwargs.pop("cls", lambda result: [MetricSeriesData._from_generated(series) for series in result]), **kwargs) @distributed_trace def list_metric_series_definitions(self, metric_id, active_since, **kwargs): - # type: (str, datetime, dict) -> AsyncItemPaged[MetricSeriesDefinition] + # type: (str, datetime.datetime, Any) -> AsyncItemPaged[MetricSeriesDefinition] """List series (dimension combinations) from metric. @@ -675,9 +631,6 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) dimension_filter = kwargs.pop('dimension_filter', None) @@ -687,16 +640,15 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): dimension_filter=dimension_filter, ) - return self._client.get_metric_series( + return self._client.get_metric_series( # type: ignore metric_id=metric_id, body=metric_series_query_options, skip=skip, - error_map=error_map, **kwargs) @distributed_trace def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwargs): - # type: (str, datetime, datetime, dict) -> AsyncItemPaged[EnrichmentStatus] + # type: (str, datetime.datetime, datetime.datetime, Any) -> AsyncItemPaged[EnrichmentStatus] """Query anomaly detection status. @@ -709,9 +661,6 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] :raises: ~azure.core.exceptions.HttpResponseError """ - error_map = { - 401: ClientAuthenticationError - } skip = kwargs.pop('skip', None) enrichment_status_query_option = EnrichmentStatusQueryOption( @@ -719,9 +668,8 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg end_time=end_time, ) - return self._client.get_enrichment_status_by_metric( + return self._client.get_enrichment_status_by_metric( # type: ignore metric_id=metric_id, skip=skip, body=enrichment_status_query_option, - error_map=error_map, **kwargs) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py index aceb8f41259d..38babfa94517 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py @@ -38,6 +38,7 @@ AnomalyValue, ChangePointValue, PeriodType, + FeedbackType ) from .._generated.models import ( @@ -47,7 +48,6 @@ DetectionAnomalyFilterCondition, DimensionGroupIdentity, DetectionIncidentFilterCondition, - AnomalyDetectionConfiguration, DimensionGroupConfiguration, SeriesConfiguration, EnrichmentStatus, @@ -171,7 +171,6 @@ "WebHook", "DataFeedIngestionProgress", "DetectionConditionsOperator", - "AnomalyDetectionConfiguration", "MetricAnomalyAlertConditions", "EnrichmentStatus", "DataFeedGranularityType", @@ -196,4 +195,5 @@ "AnomalyValue", "ChangePointValue", "PeriodType", + "FeedbackType" ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py index 3b494c8b4ca5..76cada75e397 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -451,8 +451,8 @@ class TopNGroupScope(object): :type min_top_count: int """ - def __init__(self, top, period, min_top_count): - # type: (int, int, int) -> None + def __init__(self, top, period, min_top_count, **kwargs): # pylint: disable=unused-argument + # type: (int, int, int, Any) -> None self.top = top self.period = period self.min_top_count = min_top_count @@ -469,8 +469,8 @@ class SeverityCondition(object): :type max_alert_severity: str or ~azure.ai.metricsadvisor.models.Severity """ - def __init__(self, min_alert_severity, max_alert_severity): - # type: (Union[str, Severity], Union[str, Severity]) -> None + def __init__(self, min_alert_severity, max_alert_severity, **kwargs): # pylint: disable=unused-argument + # type: (Union[str, Severity], Union[str, Severity], Any) -> None self.min_alert_severity = min_alert_severity self.max_alert_severity = max_alert_severity @@ -486,8 +486,8 @@ class MetricAnomalyAlertSnoozeCondition(object): :type only_for_successive: bool """ - def __init__(self, auto_snooze, snooze_scope, only_for_successive): - # type: (int, Union[str, SnoozeScope], bool) -> None + def __init__(self, auto_snooze, snooze_scope, only_for_successive, **kwargs): # pylint: disable=unused-argument + # type: (int, Union[str, SnoozeScope], bool, Any) -> None self.auto_snooze = auto_snooze self.snooze_scope = snooze_scope self.only_for_successive = only_for_successive @@ -751,8 +751,8 @@ class AzureApplicationInsightsDataFeed(object): :type query: str """ - def __init__(self, azure_cloud, application_id, api_key, query): - # type: (str, str, str, str) -> None + def __init__(self, azure_cloud, application_id, api_key, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, str, str, Any) -> None self.data_source_type = 'AzureApplicationInsights' # type: str self.azure_cloud = azure_cloud self.application_id = application_id @@ -788,8 +788,8 @@ class AzureBlobDataFeed(object): :type blob_template: str """ - def __init__(self, connection_string, container, blob_template): - # type: (str, str, str) -> None + def __init__(self, connection_string, container, blob_template, **kwargs): # pylint: disable=unused-argument + # type: (str, str, str, Any) -> None self.data_source_type = 'AzureBlob' # type: str self.connection_string = connection_string self.container = container @@ -824,8 +824,14 @@ class AzureCosmosDBDataFeed(object): :type collection_id: str """ - def __init__(self, connection_string, sql_query, database, collection_id): - # type: (str, str, str, str) -> None + def __init__( + self, connection_string, + sql_query, + database, + collection_id, + **kwargs + ): # pylint: disable=unused-argument + # type: (str, str, str, str, Any) -> None self.data_source_type = 'AzureCosmosDB' # type: str self.connection_string = connection_string self.sql_query = sql_query @@ -859,8 +865,8 @@ class AzureDataExplorerDataFeed(object): :type query: str """ - def __init__(self, connection_string, query): - # type: (str, str) -> None + def __init__(self, connection_string, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, Any) -> None self.data_source_type = 'AzureDataExplorer' # type: str self.connection_string = connection_string self.query = query @@ -890,8 +896,8 @@ class AzureTableDataFeed(object): :type table: str """ - def __init__(self, connection_string, query, table): - # type: (str, str, str) -> None + def __init__(self, connection_string, query, table, **kwargs): # pylint: disable=unused-argument + # type: (str, str, str, Any) -> None self.data_source_type = 'AzureTable' # type: str self.connection_string = connection_string self.query = query @@ -965,8 +971,15 @@ class InfluxDBDataFeed(object): :type query: str """ - def __init__(self, connection_string, database, user_name, password, query): - # type: (str, str, str, str, str) -> None + def __init__( + self, connection_string, + database, + user_name, + password, + query, + **kwargs + ): # pylint: disable=unused-argument + # type: (str, str, str, str, str, Any) -> None self.data_source_type = 'InfluxDB' # type: str self.connection_string = connection_string self.database = database @@ -1003,8 +1016,8 @@ class MySqlDataFeed(object): :type query: str """ - def __init__(self, connection_string, query): - # type: (str, str) -> None + def __init__(self, connection_string, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, Any) -> None self.data_source_type = 'MySql' # type: str self.connection_string = connection_string self.query = query @@ -1032,8 +1045,8 @@ class PostgreSqlDataFeed(object): :type query: str """ - def __init__(self, connection_string, query): - # type: (str, str) -> None + def __init__(self, connection_string, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, Any) -> None self.data_source_type = 'PostgreSql' # type: str self.connection_string = connection_string self.query = query @@ -1061,8 +1074,8 @@ class SQLServerDataFeed(object): :type query: str """ - def __init__(self, connection_string, query): - # type: (str, str) -> None + def __init__(self, connection_string, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, Any) -> None self.data_source_type = 'SqlServer' # type: str self.connection_string = connection_string self.query = query @@ -1102,9 +1115,10 @@ def __init__( account_key, file_system_name, directory_template, - file_template - ): - # type: (str, str, str, str, str) -> None + file_template, + **kwargs + ): # pylint: disable=unused-argument + # type: (str, str, str, str, str, Any) -> None self.data_source_type = 'AzureDataLakeStorageGen2' # type: str self.account_name = account_name self.account_key = account_key @@ -1145,8 +1159,8 @@ class ElasticsearchDataFeed(object): :type query: str """ - def __init__(self, host, port, auth_header, query): - # type: (str, str, str, str) -> None + def __init__(self, host, port, auth_header, query, **kwargs): # pylint: disable=unused-argument + # type: (str, str, str, str, Any) -> None self.data_source_type = 'Elasticsearch' # type: str self.host = host self.port = port @@ -1182,8 +1196,8 @@ class MongoDBDataFeed(object): :type command: str """ - def __init__(self, connection_string, database, command): - # type: (str, str, str) -> None + def __init__(self, connection_string, database, command, **kwargs): # pylint: disable=unused-argument + # type: (str, str, str, Any) -> None self.data_source_type = 'MongoDB' # type: str self.connection_string = connection_string self.database = database @@ -1428,7 +1442,8 @@ def __init__( within_range, # type: bool anomaly_detector_direction, # type: Union[str, AnomalyDetectorDirection] suppress_condition, # type: SuppressCondition - ): + **kwargs # type: Any + ): # pylint: disable=unused-argument # type: (...) -> None self.change_percentage = change_percentage self.shift_point = shift_point @@ -1468,8 +1483,8 @@ class SuppressCondition(object): :type min_ratio: float """ - def __init__(self, min_number, min_ratio): - # type: (int, float) -> None + def __init__(self, min_number, min_ratio, **kwargs): # pylint: disable=unused-argument + # type: (int, float, Any) -> None self.min_number = min_number self.min_ratio = min_ratio @@ -1494,8 +1509,13 @@ class SmartDetectionCondition(object): :type suppress_condition: ~azure.ai.metricsadvisor.models.SuppressCondition """ - def __init__(self, sensitivity, anomaly_detector_direction, suppress_condition): - # type: (float, Union[str, AnomalyDetectorDirection], SuppressCondition) -> None + def __init__( + self, sensitivity, + anomaly_detector_direction, + suppress_condition, + **kwargs + ): # pylint: disable=unused-argument + # type: (float, Union[str, AnomalyDetectorDirection], SuppressCondition, Any) -> None self.sensitivity = sensitivity self.anomaly_detector_direction = anomaly_detector_direction self.suppress_condition = suppress_condition @@ -1884,7 +1904,7 @@ def __init__( @classmethod def _from_generated(cls, anomaly_result): - # type: (AnomalyResult) -> Anomaly + # type: (AnomalyResult) -> Union[Anomaly, None] if not anomaly_result: return None severity = None @@ -1969,7 +1989,7 @@ def __init__( @classmethod def _from_generated(cls, incident_result): - # type: (IncidentResult) -> Incident + # type: (IncidentResult) -> Union[Incident, None] if not incident_result: return None dimension_key = incident_result.root_node.dimension if incident_result.root_node else None @@ -2029,7 +2049,7 @@ def __init__( @classmethod def _from_generated(cls, root_cause): - # type: (RootCause) -> IncidentRootCause + # type: (RootCause) -> Union[IncidentRootCause, None] if not root_cause: return None dimension_key = root_cause.root_cause.dimension if root_cause.root_cause else None @@ -2126,7 +2146,7 @@ def __init__( @classmethod def _from_generated(cls, anomaly_feedback): - # type: (_AnomalyFeedback) -> AnomalyFeedback + # type: (_AnomalyFeedback) -> Union[AnomalyFeedback, None] if not anomaly_feedback: return None dimension_key = anomaly_feedback.dimension_filter.dimension @@ -2236,7 +2256,7 @@ def __init__( @classmethod def _from_generated(cls, change_point_feedback): - # type: (_ChangePointFeedback) -> ChangePointFeedback + # type: (_ChangePointFeedback) -> Union[ChangePointFeedback, None] if not change_point_feedback: return None dimension_key = change_point_feedback.dimension_filter.dimension @@ -2340,7 +2360,7 @@ def __init__( @classmethod def _from_generated(cls, comment_feedback): - # type: (_CommentFeedback) -> CommentFeedback + # type: (_CommentFeedback) -> Union[CommentFeedback, None] if not comment_feedback: return None dimension_key = comment_feedback.dimension_filter.dimension @@ -2440,7 +2460,7 @@ def __init__( @classmethod def _from_generated(cls, period_feedback): - # type: (_PeriodFeedback) -> PeriodFeedback + # type: (_PeriodFeedback) -> Union[PeriodFeedback, None] if not period_feedback: return None dimension_key = period_feedback.dimension_filter.dimension @@ -2460,7 +2480,7 @@ def _to_generated(self): # type: (PeriodFeedback) -> _PeriodFeedback dimension_filter = FeedbackDimensionFilter(dimension=self.dimension_key) value = PeriodFeedbackValue(period_type=self.period_type, period_value=self.value) - return _CommentFeedback( + return _PeriodFeedback( feedback_id=self.id, created_time=self.created_time, user_principal=self.user_principal, diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/mypy.ini b/sdk/metricsadvisor/azure-ai-metricsadvisor/mypy.ini new file mode 100644 index 000000000000..7ec314633b6e --- /dev/null +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/mypy.ini @@ -0,0 +1,12 @@ +[mypy] +python_version = 3.6 +warn_unused_configs = True +ignore_missing_imports = True + +# Per-module options: + +[mypy-azure.ai.metricsadvisor._generated.*] +ignore_errors = True + +[mypy-azure.core.*] +ignore_errors = True From ced720ffdfb55ead70c5e5896dc0ceb78b5c6266 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 29 Sep 2020 16:40:45 -0700 Subject: [PATCH 15/71] revert crypto pin (#14117) --- eng/ci_tools.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/eng/ci_tools.txt b/eng/ci_tools.txt index 496f9a71065d..dac85fba9d07 100644 --- a/eng/ci_tools.txt +++ b/eng/ci_tools.txt @@ -1,5 +1,4 @@ # requirements leveraged by ci tools -cryptography==3.1 setuptools==44.1.0; python_version == '2.7' setuptools==46.4.0; python_version >= '3.5' virtualenv==20.0.23 From fc38db1cea8e6b7f22b29f3218c7bcf0f24668ca Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 29 Sep 2020 16:41:59 -0700 Subject: [PATCH 16/71] [metricsadvisor] update sample links (#14122) Resolves #14087 --- .github/CODEOWNERS | 3 ++ .../azure-ai-metricsadvisor/README.md | 2 +- .../azure-ai-metricsadvisor/samples/README.md | 28 +++++++++---------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2b621fa991e1..919807f5f840 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -98,6 +98,9 @@ # PRLabel: %Cognitive - Form Recognizer /sdk/formrecognizer/ @kristapratico @iscai-msft @rakshith91 +# PRLabel: %Cognitive - Metrics Advisor +/sdk/metricsadvisor/ @xiangyan99 @kristapratico + # PRLabel: %Tables /sdk/tables/ @seankane-msft diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index 7f31dea3e195..890f3acb3e7c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -427,7 +427,7 @@ additional questions or comments. [src_code]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/metricsadvisor/azure-ai-metricsadvisor [reference_documentation]: https://aka.ms/azsdk/python/metricsadvisor/docs -[ma_docs]: https://aka.ms/azsdk/python/metricsadvisor/docs +[ma_docs]: https://docs.microsoft.com/azure/cognitive-services/metrics-advisor/overview [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [package]: https://aka.ms/azsdk/python/metricsadvisor/pypi diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md index 4887592a4310..f3e94720aba9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/README.md @@ -57,17 +57,17 @@ what you can do with the Azure Metrics Advisor client library. [portal_metrics_advisor_account]: https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesMetricsAdvisor [reference_documentation]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_authentication]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_authentication_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_data_feeds]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_data_feeds_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_ingestion]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_ingestion_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_anomaly_detection_configuration]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_anomaly_detection_configuration_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_anomaly_alert_configuration]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_anomaly_alert_configuration_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_hooks]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_hooks_async]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_feedback]: https://aka.ms/azsdk/python/metricsadvisor/docs -[sample_feedback_async]: https://aka.ms/azsdk/python/metricsadvisor/docs +[sample_authentication]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_authentication.py +[sample_authentication_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py +[sample_data_feeds]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_data_feeds.py +[sample_data_feeds_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_data_feeds_async.py +[sample_ingestion]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_ingestion.py +[sample_ingestion_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_ingestion_async.py +[sample_anomaly_detection_configuration]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_detection_configuration.py +[sample_anomaly_detection_configuration_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_detection_configuration_async.py +[sample_anomaly_alert_configuration]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_anomaly_alert_configuration.py +[sample_anomaly_alert_configuration_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_anomaly_alert_configuration_async.py +[sample_hooks]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_hooks.py +[sample_hooks_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_hooks_async.py +[sample_feedback]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/sample_feedback.py +[sample_feedback_async]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_feedback_async.py From e9a8bc877727c1fa79fde2e7b79baad55ae4d87b Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 29 Sep 2020 17:41:31 -0700 Subject: [PATCH 17/71] Fix tests creating vaults they don't use (#14119) --- .../tests/test_certificates_client.py | 30 +++++++------------ .../tests/test_certificates_client_async.py | 30 +++++++------------ .../tests/test_crypto_client.py | 11 ++++--- .../tests/test_crypto_client_async.py | 11 ++++--- .../tests/test_key_client.py | 28 +++++++---------- .../tests/test_keys_async.py | 28 +++++++---------- .../tests/test_secrets_async.py | 28 +++++++---------- .../tests/test_secrets_client.py | 28 +++++++---------- 8 files changed, 72 insertions(+), 122 deletions(-) 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 a2ab84c7b4ef..ba7ccd1cb36f 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py @@ -638,19 +638,6 @@ def test_2016_10_01_models(self, client, **kwargs): assert cert.policy.key_curve_name is None assert cert.policy.certificate_transparency is None - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @KeyVaultClientPreparer() @@ -700,11 +687,16 @@ def test_list_deleted_certificates_2016_10_01(self, client, **kwargs): assert "The 'include_pending' parameter to `list_deleted_certificates` is only available for API versions v7.0 and up" in str(excinfo.value) - class _CustomHookPolicy(object): + +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = CertificateClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, CertificateClientTests._CustomHookPolicy) + client = CertificateClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) 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 8620833ee750..be6bf45f03ab 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 @@ -637,19 +637,6 @@ async def test_logging_disabled(self, client, **kwargs): # this means the message is not JSON or has no kty property pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - async def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - @ResourceGroupPreparer(random_name_enabled=True) @KeyVaultPreparer() @KeyVaultClientPreparer() @@ -707,11 +694,16 @@ async def test_list_deleted_certificates_2016_10_01(self, client, **kwargs): assert "The 'include_pending' parameter to `list_deleted_certificates` is only available for API versions v7.0 and up" in str(excinfo.value) - class _CustomHookPolicy(object): + +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = CertificateClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - async def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, CertificateClientTests._CustomHookPolicy) + client = CertificateClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) 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 ae00416e48c4..650ee5e8345d 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -260,14 +260,13 @@ def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_alg valid_key = key_client.create_rsa_key("rsa-valid", not_before=the_year_3000, expires_on=the_year_3001) test_operations(valid_key, (str(the_year_3000), str(the_year_3001)), EncryptionAlgorithm, rsa_wrap_algorithms) - class _CustomHookPolicy(object): + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @CryptoClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - def test_custom_hook_policy(self, key_client, credential, **kwargs): - assert isinstance(key_client._client._config.custom_hook_policy, CryptoClientTests._CustomHookPolicy) + client = CryptographyClient("https://localhost/fake/key/version", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) def test_initialization_given_key(): 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 b7bd71bb78aa..9a73487e572b 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 @@ -258,14 +258,13 @@ async def test_operations(key, expected_error_substrings, encrypt_algorithms, wr valid_key, (str(the_year_3000), str(the_year_3001)), EncryptionAlgorithm, rsa_wrap_algorithms ) - class _CustomHookPolicy(object): + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @CryptoClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - async def test_custom_hook_policy(self, key_client, credential, **kwargs): - assert isinstance(key_client._client._config.custom_hook_policy, CryptoClientTests._CustomHookPolicy) + client = CryptographyClient("https://localhost/fake/key/version", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) @pytest.mark.asyncio 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 8a2a876eae7b..d075dfa104eb 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -400,24 +400,16 @@ def test_logging_disabled(self, client, **kwargs): # this means the message is not JSON or has no kty property pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - class _CustomHookPolicy(object): +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = KeyClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, KeyClientTests._CustomHookPolicy) + client = KeyClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) 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 c5ac72dc491f..a98bc683c047 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -416,24 +416,16 @@ async def test_logging_disabled(self, client, **kwargs): # this means the message is not JSON or has no kty property pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - async def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - class _CustomHookPolicy(object): +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = KeyClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - async def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, KeyVaultKeyTest._CustomHookPolicy) + client = KeyClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) 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 b5aa872c93b3..47fd1661546e 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py @@ -323,24 +323,16 @@ async def test_logging_disabled(self, client, **kwargs): # this means the message is not JSON or has no kty property pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - async def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - class _CustomHookPolicy(object): +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = SecretClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - async def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, KeyVaultSecretTest._CustomHookPolicy) + client = SecretClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) 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 723b413c3d84..01d77dac7e0e 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py @@ -329,24 +329,16 @@ def test_logging_disabled(self, client, **kwargs): # this means the message is not JSON or has no kty property pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer() - def test_allowed_headers_passed_to_http_logging_policy(self, client, **kwargs): - passed_in_allowed_headers = { - "x-ms-keyvault-network-info", - "x-ms-keyvault-region", - "x-ms-keyvault-service-version" - } - assert passed_in_allowed_headers.issubset( - client._client._config.http_logging_policy.allowed_header_names - ) - class _CustomHookPolicy(object): +def test_service_headers_allowed_in_logs(): + service_headers = {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + client = SecretClient("...", object()) + assert service_headers.issubset(client._client._config.http_logging_policy.allowed_header_names) + + +def test_custom_hook_policy(): + class CustomHookPolicy(object): pass - @ResourceGroupPreparer(random_name_enabled=True) - @KeyVaultPreparer() - @KeyVaultClientPreparer(client_kwargs={"custom_hook_policy": _CustomHookPolicy()}) - def test_custom_hook_policy(self, client, **kwargs): - assert isinstance(client._client._config.custom_hook_policy, SecretClientTests._CustomHookPolicy) + client = SecretClient("...", object(), custom_hook_policy=CustomHookPolicy()) + assert isinstance(client._client._config.custom_hook_policy, CustomHookPolicy) From da42018a6974933ea86e0b01328543cc93b7797d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Sep 2020 09:13:40 -0700 Subject: [PATCH 18/71] Sync eng/common directory with azure-sdk-tools repository for Tools PR 1056 (#14118) --- eng/common/scripts/Submit-PullRequest.ps1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/eng/common/scripts/Submit-PullRequest.ps1 b/eng/common/scripts/Submit-PullRequest.ps1 index 7f3f0a544e9a..93ca35512c85 100644 --- a/eng/common/scripts/Submit-PullRequest.ps1 +++ b/eng/common/scripts/Submit-PullRequest.ps1 @@ -58,7 +58,7 @@ $headers = @{ $query = "state=open&head=${PROwner}:${PRBranch}&base=${BaseBranch}" -function AddLabels([int] $prNumber, [string] $prLabelString) +function AddLabels([int] $prNumber, [string] $prLabelString, [array] $existingLabels) { # Adding labels to the pr. if (-not $prLabelString) { @@ -68,6 +68,12 @@ function AddLabels([int] $prNumber, [string] $prLabelString) # Parse the labels from string to array $prLabelArray = @($prLabelString.Split(",") | % { $_.Trim() } | ? { return $_ }) + foreach ($label in $existingLabels) { + if ($prLabelArray -contains $label.name) { + continue + } + $prLabelArray += $label.name + } $prLabelUri = "https://api.github.com/repos/$RepoOwner/$RepoName/issues/$prNumber" $labelRequestData = @{ labels = $prLabelArray @@ -97,7 +103,7 @@ if ($resp.Count -gt 0) { # setting variable to reference the pull request by number Write-Host "##vso[task.setvariable variable=Submitted.PullRequest.Number]$($resp[0].number)" - AddLabels $resp[0].number $PRLabels + AddLabels $resp[0].number $PRLabels $resp[0].labels } else { $data = @{ @@ -124,5 +130,5 @@ else { # setting variable to reference the pull request by number Write-Host "##vso[task.setvariable variable=Submitted.PullRequest.Number]$($resp.number)" - AddLabels $resp.number $PRLabels + AddLabels $resp.number $PRLabels $resp.labels } From eb4ed0ac018d1bf57c43d9c401722d43fd8bb1db Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Sep 2020 09:29:32 -0700 Subject: [PATCH 19/71] Sync eng/common directory with azure-sdk-tools repository for Tools PR 1059 (#14121) --- eng/common/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/README.md b/eng/common/README.md index a8f013b05b74..3f279bc7c4a8 100644 --- a/eng/common/README.md +++ b/eng/common/README.md @@ -20,6 +20,6 @@ The 'Sync eng/common directory' PRs will be created in the language repositories 3. More changes pushed to the **Tools PR**, will automatically triggered new pipeline runs in the respective **Sync PRs**. The **Sync PRs** are used to make sure the changes would not break any of the connected pipelines. 4. Once satisfied with the changes; - First make sure all checks in the **Sync PRs** are green and approved. The **Tools PR** contains links to all the **Sync PRs**. If for some reason the PRs is blocked by a CI gate get someone with permission to override and manually merge the PR. - - To test the state of all the **Sync PRs**, you can download the `PRsCreated.txt` artifact from your `azure-sdk-tools - sync - eng-common` pipeline, then run `./eng/scripts/Verify-And-Merge.ps1 ` which will output the status of each associated PR. + - To test the state of all the **Sync PRs**, you can download the `PRsCreated.txt` artifact from your `azure-sdk-tools - sync - eng-common` pipeline, then run `./eng/scripts/Verify-And-Merge-PRs.ps1 ` which will output the status of each associated PR. - Next approve the `VerifyAndMerge` job for the `azure-sdk-tools - sync - eng-common` pipeline triggered by your **Tools PR** which will automatically merge all the **Sync PRs**. You need `azure-sdk` devops contributor permissions to reach the `azure-sdk-tools - sync - eng-common` pipeline. - - Finally merge the **Tools PR**. \ No newline at end of file + - Finally merge the **Tools PR**. From 21d7d12127e456b86a7bfc4324158d1081d16329 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Sep 2020 12:05:25 -0700 Subject: [PATCH 20/71] Sync eng/common directory with azure-sdk-tools repository for Tools PR 1032 (#13898) --- .../TestResources/New-TestResources.ps1 | 4 ++- .../TestResources/New-TestResources.ps1.md | 1 + .../TestResources/Remove-TestResources.ps1 | 2 +- .../TestResources/deploy-test-resources.yml | 4 +-- eng/common/TestResources/setup-az-modules.yml | 36 +++++++++++++++++++ 5 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 eng/common/TestResources/setup-az-modules.yml diff --git a/eng/common/TestResources/New-TestResources.ps1 b/eng/common/TestResources/New-TestResources.ps1 index 0552f9dd5e7b..59aab61fe728 100644 --- a/eng/common/TestResources/New-TestResources.ps1 +++ b/eng/common/TestResources/New-TestResources.ps1 @@ -55,7 +55,7 @@ param ( [string] $Location = '', [Parameter()] - [ValidateSet('AzureCloud', 'AzureUSGovernment', 'AzureChinaCloud')] + [ValidateSet('AzureCloud', 'AzureUSGovernment', 'AzureChinaCloud', 'Dogfood')] [string] $Environment = 'AzureCloud', [Parameter()] @@ -141,6 +141,7 @@ if (!$Location) { 'AzureCloud' = 'westus2'; 'AzureUSGovernment' = 'usgovvirginia'; 'AzureChinaCloud' = 'chinaeast2'; + 'Dogfood' = 'westus' }[$Environment] Write-Verbose "Location was not set. Using default location for environment: '$Location'" @@ -512,6 +513,7 @@ is based on the cloud to which the template is being deployed: * AzureCloud -> 'westus2' * AzureUSGovernment -> 'usgovvirginia' * AzureChinaCloud -> 'chinaeast2' +* Dogfood -> 'westus' .PARAMETER Environment Name of the cloud environment. The default is the Azure Public Cloud diff --git a/eng/common/TestResources/New-TestResources.ps1.md b/eng/common/TestResources/New-TestResources.ps1.md index 579def9a1db9..aab44b896d1f 100644 --- a/eng/common/TestResources/New-TestResources.ps1.md +++ b/eng/common/TestResources/New-TestResources.ps1.md @@ -322,6 +322,7 @@ is based on the cloud to which the template is being deployed: * AzureCloud -\> 'westus2' * AzureUSGovernment -\> 'usgovvirginia' * AzureChinaCloud -\> 'chinaeast2' +* Dogfood -\> 'westus' ```yaml Type: String diff --git a/eng/common/TestResources/Remove-TestResources.ps1 b/eng/common/TestResources/Remove-TestResources.ps1 index 0c5c464bc870..37f3f5851c60 100644 --- a/eng/common/TestResources/Remove-TestResources.ps1 +++ b/eng/common/TestResources/Remove-TestResources.ps1 @@ -43,7 +43,7 @@ param ( [string] $ServiceDirectory, [Parameter()] - [ValidateSet('AzureCloud', 'AzureUSGovernment', 'AzureChinaCloud')] + [ValidateSet('AzureCloud', 'AzureUSGovernment', 'AzureChinaCloud', 'Dogfood')] [string] $Environment = 'AzureCloud', [Parameter()] diff --git a/eng/common/TestResources/deploy-test-resources.yml b/eng/common/TestResources/deploy-test-resources.yml index 4987fb43d126..7f6b6daac96b 100644 --- a/eng/common/TestResources/deploy-test-resources.yml +++ b/eng/common/TestResources/deploy-test-resources.yml @@ -18,9 +18,7 @@ parameters: # } steps: - # New-TestResources command requires Az module - - pwsh: Install-Module -Name Az -Scope CurrentUser -AllowClobber -Force -Verbose - displayName: Install Azure PowerShell module + - template: /eng/common/TestResources/setup-az-modules.yml - pwsh: | $subscriptionConfiguration = @" diff --git a/eng/common/TestResources/setup-az-modules.yml b/eng/common/TestResources/setup-az-modules.yml new file mode 100644 index 000000000000..9329ddf58805 --- /dev/null +++ b/eng/common/TestResources/setup-az-modules.yml @@ -0,0 +1,36 @@ +# Cloud Configuration will be splat into parameters of `Add-AzEnvironment`. It +# should be JSON in the form (not all fields are required): +# { +# "Name": "", +# "PublishSettingsFileUrl": "", +# "ServiceEndpoint": "", +# "ManagementPortalUrl": "", +# "ActiveDirectoryEndpoint": "", +# "ActiveDirectoryServiceEndpointResourceId": "", +# "ResourceManagerEndpoint": "", +# "GalleryEndpoint": "", +# "GraphEndpoint": "", +# "GraphAudience": "", +# "AzureKeyVaultDnsSuffix": "", +# "AzureKeyVaultServiceEndpointResourceId": "" +# } + +steps: + - bash: sudo chown -R runner ~/.Azure + displayName: (MacOS) Grant access to ~/.Azure + condition: contains(variables['OSVmImage'], 'mac') + + # New-TestResources command requires Az module + - pwsh: Install-Module -Name Az -Scope CurrentUser -AllowClobber -Force -Verbose + displayName: Install Azure PowerShell module + + - task: Powershell@2 + inputs: + displayName: Register Dogfood environment + targetType: inline + pwsh: true + script: | + $environmentSpec = @" + $(env-config-dogfood) + "@ | ConvertFrom-Json -AsHashtable; + Add-AzEnvironment @environmentSpec From 82e6145bca38af60e9ea1bcc602b1d27b80f5c59 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 30 Sep 2020 12:36:26 -0700 Subject: [PATCH 21/71] [metricsadvisor] Fix docstring formatting and resolve sphinx errors (#14144) * docstring formatting for clients * fix docstring formatting for models --- .../azure-ai-metricsadvisor/README.md | 17 +--- .../_metrics_advisor_administration_client.py | 14 +-- .../metricsadvisor/_metrics_advisor_client.py | 85 +++++++++-------- ...ics_advisor_administration_client_async.py | 24 ++--- .../aio/_metrics_advisor_client_async.py | 95 ++++++++++--------- .../ai/metricsadvisor/models/__init__.py | 19 ++-- .../azure/ai/metricsadvisor/models/_models.py | 35 +++---- 7 files changed, 144 insertions(+), 145 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index 890f3acb3e7c..f1295e20f63a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -22,8 +22,8 @@ pip install azure-ai-metricsadvisor --pre You will need two keys to authenticate the client: -The subscription key to your Metrics Advisor resource. You can find this in the Keys and Endpoint section of your resource in the Azure portal. -The API key for your Metrics Advisor instance. You can find this in the web portal for Metrics Advisor, in API keys on the left navigation menu. +1) The subscription key to your Metrics Advisor resource. You can find this in the Keys and Endpoint section of your resource in the Azure portal. +2) The API key for your Metrics Advisor instance. You can find this in the web portal for Metrics Advisor, in API keys on the left navigation menu. We can use the keys to create a new `MetricsAdvisorClient` or `MetricsAdvisorAdministrationClient`. @@ -54,7 +54,7 @@ A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosm - timestamps - zero or more dimensions -- one or more measures. +- one or more measures ### Metric @@ -313,6 +313,7 @@ from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorC service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") api_key = os.getenv("METRICS_ADVISOR_API_KEY") +alert_id = os.getenv("METRICS_ADVISOR_ALERT_ID") client = MetricsAdvisorClient(service_endpoint, MetricsAdvisorKeyCredential(subscription_key, api_key) @@ -328,15 +329,6 @@ for result in results: print("Alert id: {}".format(result.id)) print("Create on: {}".format(result.created_on)) -service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") -subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") -api_key = os.getenv("METRICS_ADVISOR_API_KEY") -alert_id = os.getenv("METRICS_ADVISOR_ALERT_ID") - -client = MetricsAdvisorClient(service_endpoint, - MetricsAdvisorKeyCredential(subscription_key, api_key) -) - results = client.list_anomalies_for_alert( alert_configuration_id=alert_config_id, alert_id=alert_id, @@ -433,6 +425,7 @@ additional questions or comments. [package]: https://aka.ms/azsdk/python/metricsadvisor/pypi [ma_service]: https://go.microsoft.com/fwlink/?linkid=2142156 [python_logging]: https://docs.python.org/3.5/library/logging.html +[azure_core]: https://aka.ms/azsdk/python/core/docs#module-azure.core.exceptions [cla]: https://cla.microsoft.com [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py index a7cb662acde6..ee997b6289e6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py @@ -355,6 +355,7 @@ def create_metric_anomaly_detection_configuration( :param str name: The name for the anomaly detection configuration :param str metric_id: Required. metric unique id. :param whole_series_detection_condition: Required. + Conditions to detect anomalies in all time series of a metric. :type whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition :keyword str description: anomaly detection configuration description. :keyword series_group_detection_conditions: detection configuration for series group. @@ -408,7 +409,7 @@ def get_data_feed(self, data_feed_id, **kwargs): :param data_feed_id: The data feed unique id. :type data_feed_id: str :return: DataFeed - :rtype: azure.ai.metricsadvisor.models.DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -517,8 +518,8 @@ def get_data_feed_ingestion_progress( :param data_feed_id: The data feed unique id. :type data_feed_id: str - :return: DataFeedIngestionProgress, containing latest_success_timestamp - and latest_active_timestamp + :return: DataFeedIngestionProgress, containing `latest_success_timestamp` + and `latest_active_timestamp` :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress :raises ~azure.core.exceptions.HttpResponseError: @@ -690,7 +691,7 @@ def update_data_feed( all-up value. :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". - :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :paramtype rollup_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", "Avg", "Count". @@ -851,6 +852,7 @@ def update_metric_anomaly_detection_configuration( :keyword str name: The name for the anomaly detection configuration :keyword str metric_id: metric unique id. :keyword whole_series_detection_condition: Required. + Conditions to detect anomalies in all time series of a metric. :paramtype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition :keyword str description: anomaly detection configuration description. :keyword series_group_detection_conditions: detection configuration for series group. @@ -1096,7 +1098,7 @@ def list_anomaly_alert_configurations( :param detection_configuration_id: anomaly detection configuration unique id. :type detection_configuration_id: str :return: Pageable of AnomalyAlertConfiguration - :rtype: ItemPaged[AnomalyAlertConfiguration] + :rtype: ~azure.core.paging.ItemPaged[AnomalyAlertConfiguration] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -1128,7 +1130,7 @@ def list_metric_anomaly_detection_configurations( :param metric_id: metric unique id. :type metric_id: str :return: Pageable of AnomalyDetectionConfiguration - :rtype: ItemPaged[AnomalyDetectionConfiguration] + :rtype: ~azure.core.paging.ItemPaged[AnomalyDetectionConfiguration] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py index 51baf515185a..6ec703944fce 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -67,16 +67,18 @@ class MetricsAdvisorClient(object): """Represents an client that calls restful API of Azure Metrics Advisor service. - :param str endpoint: Url to the Azure Metrics Advisor service endpoint - :param credential: credential Used to authenticate requests to the service. - :type credential: azure.ai.metricsadvisor.MetricsAdvisorKeyCredential - :keyword Pipeline pipeline: If omitted, the standard pipeline is used. - :keyword HttpTransport transport: If omitted, the standard pipeline is used. - :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. + :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, + for example: https://:code:``.cognitiveservices.azure.com). + :param credential: An instance of ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential. + Requires both subscription key and API key. + :type credential: ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + :keyword Pipeline pipeline: If omitted, the standard pipeline is used. + :keyword HttpTransport transport: If omitted, the standard pipeline is used. + :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. """ def __init__(self, endpoint, credential, **kwargs): - # type: (str, MetricsAdvisorKeyCredential, dict) -> None + # type: (str, MetricsAdvisorKeyCredential, Any) -> None try: if not endpoint.lower().startswith('http'): endpoint = "https://" + endpoint @@ -168,11 +170,11 @@ def add_feedback(self, feedback, **kwargs): """Create a new metric feedback. :param feedback: metric feedback. - :type feedback: ~azure.ai.metriscadvisor.models.AnomalyFeedback or - ~azure.ai.metriscadvisor.models.ChangePointFeedback or - ~azure.ai.metriscadvisor.models.CommentFeedback or - ~azure.ai.metriscadvisor.models.PeriodFeedback. - :raises: ~azure.core.exceptions.HttpResponseError + :type feedback: ~azure.ai.metricsadvisor.models.AnomalyFeedback or + ~azure.ai.metricsadvisor.models.ChangePointFeedback or + ~azure.ai.metricsadvisor.models.CommentFeedback or + ~azure.ai.metricsadvisor.models.PeriodFeedback + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -196,11 +198,11 @@ def get_feedback(self, feedback_id, **kwargs): :param str feedback_id: the id of the feedback. :return: The feedback object - :rtype: ~azure.ai.metriscadvisor.models.AnomalyFeedback or - ~azure.ai.metriscadvisor.models.ChangePointFeedback or - ~azure.ai.metriscadvisor.models.CommentFeedback or - ~azure.ai.metriscadvisor.models.PeriodFeedback. - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.ai.metricsadvisor.models.AnomalyFeedback or + ~azure.ai.metricsadvisor.models.ChangePointFeedback or + ~azure.ai.metricsadvisor.models.CommentFeedback or + ~azure.ai.metricsadvisor.models.PeriodFeedback + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -235,8 +237,9 @@ def list_feedbacks(self, metric_id, **kwargs): "FeedbackCreatedTime". :paramtype time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode :return: Pageable list of MetricFeedback - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricFeedback] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[ + Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -285,8 +288,8 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k :param incident_id: incident id. :type incident_id: str :return: Pageable of root cause for incident - :rtype: ItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.IncidentRootCause] + :raises ~azure.core.exceptions.HttpResponseError: """ return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( # type: ignore @@ -315,8 +318,8 @@ def list_metric_enriched_series_data( :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. :return: Pageable of SeriesResult - :rtype: ItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] + :raises ~azure.core.exceptions.HttpResponseError: """ series_list = [ @@ -353,7 +356,8 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time :keyword int skip: :return: Alerts under anomaly alert configuration. :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Alert] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + .. admonition:: Example: .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py @@ -385,14 +389,15 @@ def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): """Query anomalies under a specific alert. - :param alert_configuration_id: anomaly detection configuration unique id. + :param alert_configuration_id: anomaly alert configuration unique id. :type alert_configuration_id: str :param alert_id: alert id. :type alert_id: str :keyword int skip: :return: Anomalies under a specific alert. :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Anomaly] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: + .. admonition:: Example: .. literalinclude:: ../samples/sample_anomaly_alert_configuration.py @@ -427,7 +432,7 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition :return: Anomalies under anomaly detection configuration. :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Anomaly] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -463,11 +468,11 @@ def list_dimension_values_for_detection_configuration( :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. :keyword int skip: - :keyword dimension_name: str + :keyword str dimension_name: The dimension name to query. :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity :return: Dimension values of anomalies. :rtype: ~azure.core.paging.ItemPaged[str] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -497,8 +502,8 @@ def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): :type alert_id: str :keyword int skip: :return: Incidents under a specific alert. - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Incident] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -523,8 +528,8 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, :keyword filter: :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition :return: Incidents under a specific alert. - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.Incident] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.Incident] + :raises ~azure.core.exceptions.HttpResponseError: """ filter_condition = kwargs.pop('filter', None) @@ -556,7 +561,7 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): :paramtype dimension_value_filter: str :return: Dimension from certain metric. :rtype: ~azure.core.paging.ItemPaged[str] - :raises: ~azure.core.exceptions.HttpResponseError + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -586,8 +591,8 @@ def list_metrics_series_data(self, metric_id, start_time, end_time, series_to_fi :param series_to_filter: query specific series. :type series_to_filter: list[dict[str, str]] :return: Time series data from metric. - :rtype: ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesData] + :raises ~azure.core.exceptions.HttpResponseError: """ metric_data_query_options = MetricDataQueryOptions( @@ -619,8 +624,8 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): :keyword dimension_filter: filter specfic dimension name and values. :paramtype dimension_filter: dict[str, list[str]] :return: Series (dimension combinations) from metric. - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesDefinition] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -649,8 +654,8 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg :param ~datetime.datetime end_time: end time filter under chosen time mode. :keyword int skip: :return: Anomaly detection status. - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.metricsadvisor.models.EnrichmentStatus] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py index df20dfe0e3ca..d212babb197c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py @@ -264,6 +264,7 @@ async def create_metric_anomaly_detection_configuration( :param str name: The name for the anomaly detection configuration :param str metric_id: Required. metric unique id. :param whole_series_detection_condition: Required. + Conditions to detect anomalies in all time series of a metric. :type whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition :keyword str description: anomaly detection configuration description. :keyword series_group_detection_conditions: detection configuration for series group. @@ -317,7 +318,7 @@ async def get_data_feed(self, data_feed_id: str, **kwargs: Any) -> DataFeed: :param data_feed_id: The data feed unique id. :type data_feed_id: str :return: DataFeed - :rtype: azure.ai.metricsadvisor.models.DataFeed + :rtype: ~azure.ai.metricsadvisor.models.DataFeed :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -428,8 +429,8 @@ async def get_data_feed_ingestion_progress( :param data_feed_id: The data feed unique id. :type data_feed_id: str - :return: DataFeedIngestionProgress, containing latest_success_timestamp - and latest_active_timestamp + :return: DataFeedIngestionProgress, containing `latest_success_timestamp` + and `latest_active_timestamp` :rtype: ~azure.ai.metricsadvisor.models.DataFeedIngestionProgress :raises ~azure.core.exceptions.HttpResponseError: @@ -457,9 +458,9 @@ async def refresh_data_feed_ingestion( :param data_feed_id: The data feed unique id. :type data_feed_id: str - :param start_time: The start point of time range to refreshes data ingestion. + :param start_time: The start point of time range to refresh data ingestion. :type start_time: ~datetime.datetime - :param end_time: The end point of time range to refreshes data ingestion. + :param end_time: The end point of time range to refresh data ingestion. :type end_time: ~datetime.datetime :return: None :rtype: None @@ -599,7 +600,7 @@ async def update_data_feed( all-up value. :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". - :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :paramtype rollup_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", "Avg", "Count". @@ -758,6 +759,7 @@ async def update_metric_anomaly_detection_configuration( :keyword str name: The name for the anomaly detection configuration :keyword str metric_id: metric unique id. :keyword whole_series_detection_condition: Required. + Conditions to detect anomalies in all time series of a metric. :paramtype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition :keyword str description: anomaly detection configuration description. :keyword series_group_detection_conditions: detection configuration for series group. @@ -912,7 +914,7 @@ def list_hooks( :keyword str hook_name: filter hook by its name. :keyword int skip: :return: Pageable containing EmailHook and WebHook - :rtype: ~azure.core.paging.AsyncItemPaged[Union[~azure.ai.metricsadvisor.models.Hook, + :rtype: ~azure.core.async_paging.AsyncItemPaged[Union[~azure.ai.metricsadvisor.models.Hook, ~azure.ai.metricsadvisor.models.EmailHook, ~azure.ai.metricsadvisor.models.WebHook]] :raises ~azure.core.exceptions.HttpResponseError: @@ -957,7 +959,7 @@ def list_data_feeds( :keyword str creator: filter data feed by its creator. :keyword int skip: :return: Pageable of DataFeed - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeed] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeed] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -999,7 +1001,7 @@ def list_anomaly_alert_configurations( :param detection_configuration_id: anomaly detection configuration unique id. :type detection_configuration_id: str :return: Pageable of AnomalyAlertConfiguration - :rtype: AsyncItemPaged[AnomalyAlertConfiguration] + :rtype: ~azure.core.async_paging.AsyncItemPaged[AnomalyAlertConfiguration] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -1030,7 +1032,7 @@ def list_metric_anomaly_detection_configurations( :param metric_id: metric unique id. :type metric_id: str :return: Pageable of AnomalyDetectionConfiguration - :rtype: AsyncItemPaged[AnomalyDetectionConfiguration] + :rtype: ~azure.core.async_paging.AsyncItemPaged[AnomalyDetectionConfiguration] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -1068,7 +1070,7 @@ def list_data_feed_ingestion_status( :type end_time: ~datetime.datetime :keyword int skip: :return: Pageable of DataFeedIngestionStatus - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeedIngestionStatus] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.DataFeedIngestionStatus] :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py index 5d9bdf2f680c..a382c2a991e8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -67,16 +67,18 @@ class MetricsAdvisorClient(object): """Represents an client that calls restful API of Azure Metrics Advisor service. - :param str endpoint: Url to the Azure Metrics Advisor service endpoint - :param credential: credential Used to authenticate requests to the service. - :type credential: azure.ai.metricsadvisor.MetricsAdvisorKeyCredential - :keyword Pipeline pipeline: If omitted, the standard pipeline is used. - :keyword HttpTransport transport: If omitted, the standard pipeline is used. - :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. + :param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, + for example: https://:code:``.cognitiveservices.azure.com). + :param credential: An instance of ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential. + Requires both subscription key and API key. + :type credential: ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential + :keyword Pipeline pipeline: If omitted, the standard pipeline is used. + :keyword HttpTransport transport: If omitted, the standard pipeline is used. + :keyword list[HTTPPolicy] policies: If omitted, the standard pipeline is used. """ def __init__(self, endpoint, credential, **kwargs): - # type: (str, MetricsAdvisorKeyCredential, dict) -> None + # type: (str, MetricsAdvisorKeyCredential, Any) -> None try: if not endpoint.lower().startswith('http'): endpoint = "https://" + endpoint @@ -167,11 +169,11 @@ async def add_feedback(self, feedback, **kwargs): """Create a new metric feedback. :param feedback: metric feedback. - :type feedback: ~azure.ai.metriscadvisor.models.AnomalyFeedback or - ~azure.ai.metriscadvisor.models.ChangePointFeedback or - ~azure.ai.metriscadvisor.models.CommentFeedback or - ~azure.ai.metriscadvisor.models.PeriodFeedback. - :raises: ~azure.core.exceptions.HttpResponseError + :type feedback: ~azure.ai.metricsadvisor.models.AnomalyFeedback or + ~azure.ai.metricsadvisor.models.ChangePointFeedback or + ~azure.ai.metricsadvisor.models.CommentFeedback or + ~azure.ai.metricsadvisor.models.PeriodFeedback + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -195,11 +197,11 @@ async def get_feedback(self, feedback_id, **kwargs): :param str feedback_id: the id of the feedback. :return: The feedback object - :rtype: ~azure.ai.metriscadvisor.models.AnomalyFeedback or - ~azure.ai.metriscadvisor.models.ChangePointFeedback or - ~azure.ai.metriscadvisor.models.CommentFeedback or - ~azure.ai.metriscadvisor.models.PeriodFeedback. - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.ai.metricsadvisor.models.AnomalyFeedback or + ~azure.ai.metricsadvisor.models.ChangePointFeedback or + ~azure.ai.metricsadvisor.models.CommentFeedback or + ~azure.ai.metricsadvisor.models.PeriodFeedback + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -239,8 +241,9 @@ def list_feedbacks( "FeedbackCreatedTime". :paramtype time_mode: str or ~azure.ai.metricsadvisor.models.FeedbackQueryTimeMode :return: Pageable list of MetricFeedback - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricFeedback] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[ + Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback]] + :raises ~azure.core.exceptions.HttpResponseError: .. admonition:: Example: @@ -289,8 +292,8 @@ def list_incident_root_causes(self, detection_configuration_id, incident_id, **k :param incident_id: incident id. :type incident_id: str :return: Pageable of root cause for incident - :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.IncidentRootCause] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.IncidentRootCause] + :raises ~azure.core.exceptions.HttpResponseError: """ return self._client.get_root_cause_of_incident_by_anomaly_detection_configuration( # type: ignore @@ -319,8 +322,8 @@ def list_metric_enriched_series_data( :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. :return: Pageable of SeriesResult - :rtype: AsyncItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.SeriesResult] + :raises ~azure.core.exceptions.HttpResponseError: """ series_list = [ @@ -355,8 +358,9 @@ def list_alerts_for_alert_configuration(self, alert_configuration_id, start_time :type time_mode: str or ~azure.ai.metricsadvisor.models.TimeMode :keyword int skip: :return: Alerts under anomaly alert configuration. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Alert] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Alert] + :raises ~azure.core.exceptions.HttpResponseError: + .. admonition:: Example: .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py @@ -394,8 +398,9 @@ def list_anomalies_for_alert(self, alert_configuration_id, alert_id, **kwargs): :type alert_id: str :keyword int skip: :return: Anomalies under a specific alert. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises ~azure.core.exceptions.HttpResponseError: + .. admonition:: Example: .. literalinclude:: ../samples/async_samples/sample_anomaly_alert_configuration_async.py @@ -429,8 +434,8 @@ def list_anomalies_for_detection_configuration(self, detection_configuration_id, :keyword filter: :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionAnomalyFilterCondition :return: Anomalies under anomaly detection configuration. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Anomaly] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -466,11 +471,11 @@ def list_dimension_values_for_detection_configuration( :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. :keyword int skip: - :keyword dimension_name: str + :keyword str dimension_name: The dimension name to query. :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity :return: Dimension values of anomalies. - :rtype: ~azure.core.paging.AsyncItemPaged[str] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[str] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -500,8 +505,8 @@ def list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): :type alert_id: str :keyword int skip: :return: Incidents under a specific alert. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Incident] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -519,15 +524,15 @@ def list_incidents_for_detection_configuration(self, detection_configuration_id, """Query incidents under a specific alert. - :param detection_configuration_id: anomaly alerting configuration unique id. + :param detection_configuration_id: anomaly detection configuration unique id. :type detection_configuration_id: str :param ~datetime.datetime start_time: start time filter under chosen time mode. :param ~datetime.datetime end_time: end time filter under chosen time mode. :keyword filter: :paramtype filter: ~azure.ai.metricsadvisor.models.DetectionIncidentFilterCondition :return: Incidents under a specific alert. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.Incident] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.Incident] + :raises ~azure.core.exceptions.HttpResponseError: """ filter_condition = kwargs.pop('filter', None) @@ -558,8 +563,8 @@ def list_metric_dimension_values(self, metric_id, dimension_name, **kwargs): :keyword dimension_value_filter: dimension value to be filtered. :paramtype dimension_value_filter: str :return: Dimension from certain metric. - :rtype: ~azure.core.paging.AsyncItemPaged[str] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[str] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -595,8 +600,8 @@ def list_metrics_series_data( :param series_to_filter: query specific series. :type series_to_filter: list[dict[str, str]] :return: Time series data from metric. - :rtype: AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesData] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesData] + :raises ~azure.core.exceptions.HttpResponseError: """ metric_data_query_options = MetricDataQueryOptions( @@ -628,8 +633,8 @@ def list_metric_series_definitions(self, metric_id, active_since, **kwargs): :keyword dimension_filter: filter specfic dimension name and values. :paramtype dimension_filter: dict[str, list[str]] :return: Series (dimension combinations) from metric. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.MetricSeriesDefinition] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.MetricSeriesDefinition] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) @@ -658,8 +663,8 @@ def list_metric_enrichment_status(self, metric_id, start_time, end_time, **kwarg :param ~datetime.datetime end_time: end time filter under chosen time mode. :keyword int skip: :return: Anomaly detection status. - :rtype: ~azure.core.paging.AsyncItemPaged[~azure.ai.metriscadvisor.models.EnrichmentStatus] - :raises: ~azure.core.exceptions.HttpResponseError + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.metricsadvisor.models.EnrichmentStatus] + :raises ~azure.core.exceptions.HttpResponseError: """ skip = kwargs.pop('skip', None) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py index 38babfa94517..6ebaaa609bdb 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py @@ -38,7 +38,8 @@ AnomalyValue, ChangePointValue, PeriodType, - FeedbackType + FeedbackType, + TimeMode ) from .._generated.models import ( @@ -48,12 +49,11 @@ DetectionAnomalyFilterCondition, DimensionGroupIdentity, DetectionIncidentFilterCondition, - DimensionGroupConfiguration, - SeriesConfiguration, EnrichmentStatus, MetricSeriesItem as MetricSeriesDefinition, IngestionStatus as DataFeedIngestionStatus, - SeriesIdentity + SeriesIdentity, + SeverityFilterCondition ) from ._models import ( @@ -110,7 +110,8 @@ AzureDataLakeStorageGen2DataFeed, ElasticsearchDataFeed, MetricAnomalyAlertScopeType, - DataFeedRollupType + DataFeedRollupType, + IncidentRootCause ) @@ -128,8 +129,6 @@ "Incident", "DetectionIncidentFilterCondition", "AnomalyDetectionConfiguration", - "DimensionGroupConfiguration", - "SeriesConfiguration", "MetricAnomalyAlertConfigurationsOperator", "DataFeedStatus", "DataFeedGranularity", @@ -189,11 +188,13 @@ "ChangeThresholdCondition", "HardThresholdCondition", "SeriesIdentity", - "DataFeedIngestionStatus", "AzureDataLakeStorageGen2DataFeed", "ElasticsearchDataFeed", "AnomalyValue", "ChangePointValue", "PeriodType", - "FeedbackType" + "FeedbackType", + "TimeMode", + "IncidentRootCause", + "SeverityFilterCondition" ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py index 76cada75e397..67de4f6394d7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -246,7 +246,7 @@ class DataFeedRollupSettings(object): :keyword str rollup_identification_value: The identification value for the row of calculated all-up value. :keyword rollup_type: Mark if the data feed needs rollup. Possible values include: "NoRollup", "AutoRollup", "AlreadyRollup". Default value: "AutoRollup". - :paramtype roll_up_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType + :paramtype rollup_type: str or ~azure.ai.metricsadvisor.models.DataFeedRollupType :keyword list[str] auto_rollup_group_by_column_names: Roll up columns. :keyword rollup_method: Roll up method. Possible values include: "None", "Sum", "Max", "Min", "Avg", "Count". @@ -677,6 +677,7 @@ class AnomalyDetectionConfiguration(object): :ivar str description: anomaly detection configuration description. :ivar str metric_id: Required. metric unique id. :ivar whole_series_detection_condition: Required. + Conditions to detect anomalies in all time series of a metric. :vartype whole_series_detection_condition: ~azure.ai.metricsadvisor.models.MetricDetectionCondition :ivar series_group_detection_conditions: detection configuration for series group. :vartype series_group_detection_conditions: @@ -1840,31 +1841,24 @@ class Anomaly(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar metric_id: metric unique id - - only return for alerting anomaly result. + :ivar metric_id: metric unique id. Only returned for alerting anomaly result. :vartype metric_id: str - :ivar detection_configuration_id: anomaly detection configuration unique id - - only return for alerting anomaly result. + :ivar detection_configuration_id: anomaly detection configuration unique id. + Only returned for alerting anomaly result. :vartype detection_configuration_id: str :ivar timestamp: anomaly time. :vartype timestamp: ~datetime.datetime - :ivar created_time: created time - - only return for alerting result. + :ivar created_time: created time. Only returned for alerting result. :vartype created_time: ~datetime.datetime - :ivar modified_time: modified time - - only return for alerting result. + :ivar modified_time: modified time. Only returned for alerting result. :vartype modified_time: ~datetime.datetime :ivar dimension: dimension specified for series. :vartype dimension: dict[str, str] :ivar severity: anomaly severity. Possible values include: "Low", "Medium", "High". :vartype anomaly_severity: str or ~azure.ai.metricsadvisor.models.Severity :vartype severity: str - :ivar status: nomaly status. only return for alerting anomaly result. Possible - values include: "Active", "Resolved". + :ivar status: anomaly status. only returned for alerting anomaly result. Possible + values include: "Active", "Resolved". :vartype status: str """ @@ -1930,13 +1924,10 @@ class Incident(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar metric_id: metric unique id - - only return for alerting incident result. + :ivar metric_id: metric unique id. Only returned for alerting incident result. :vartype metric_id: str - :ivar detection_configuration_id: anomaly detection configuration unique id - - only return for alerting incident result. + :ivar detection_configuration_id: anomaly detection configuration unique id. + Only returned for alerting incident result. :vartype detection_configuration_id: str :ivar id: incident id. :vartype id: str @@ -1949,7 +1940,7 @@ class Incident(msrest.serialization.Model): :ivar severity: max severity of latest anomalies in the incident. Possible values include: "Low", "Medium", "High". :vartype severity: str or ~azure.ai.metricsadvisor.models.Severity - :ivar incident_status: incident status + :ivar status: incident status only return for alerting incident result. Possible values include: "Active", "Resolved". :vartype status: str or ~azure.ai.metricsadvisor.models.IncidentPropertyIncidentStatus """ From ca15e4d435d79d2844d16bc785a6997be52597bf Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Wed, 30 Sep 2020 15:44:07 -0400 Subject: [PATCH 22/71] [text analytics] remove length property (#14135) --- .../azure-ai-textanalytics/CHANGELOG.md | 6 + .../azure-ai-textanalytics/README.md | 3 - .../azure/ai/textanalytics/_models.py | 61 ++------ .../azure/ai/textanalytics/_version.py | 2 +- .../sample_analyze_sentiment_async.py | 2 +- .../sample_recognize_entities_async.py | 1 - .../sample_recognize_linked_entities_async.py | 1 - .../samples/sample_analyze_sentiment.py | 2 +- .../samples/sample_recognize_entities.py | 1 - .../sample_recognize_linked_entities.py | 1 - ...ment.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...nalyze_sentiment.test_bad_credentials.yaml | 4 +- ...entiment.test_bad_model_version_error.yaml | 8 +- ..._sentiment.test_batch_size_over_limit.yaml | 8 +- ...ment.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ...nalyze_sentiment.test_document_errors.yaml | 8 +- ...lyze_sentiment.test_document_warnings.yaml | 8 +- ...ze_sentiment.test_duplicate_ids_error.yaml | 8 +- ...sentiment.test_empty_credential_class.yaml | 4 +- ..._sentiment.test_input_with_all_errors.yaml | 8 +- ...sentiment.test_input_with_some_errors.yaml | 8 +- ...iment.test_invalid_language_hint_docs.yaml | 8 +- ...ent.test_invalid_language_hint_method.yaml | 8 +- ...sentiment.test_language_kwarg_spanish.yaml | 8 +- ...test_no_offset_v3_sentence_sentiment.yaml} | 8 +- ...> test_analyze_sentiment.test_offset.yaml} | 8 +- ...analyze_sentiment.test_opinion_mining.yaml | 8 +- ..._opinion_mining_more_than_5_documents.yaml | 8 +- ...test_opinion_mining_no_mined_opinions.yaml | 8 +- ...t_opinion_mining_with_negated_opinion.yaml | 8 +- ...alyze_sentiment.test_out_of_order_ids.yaml | 8 +- ...iment.test_output_same_order_as_input.yaml | 8 +- .../test_analyze_sentiment.test_pass_cls.yaml | 6 +- ...ze_sentiment.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...entiment.test_rotate_subscription_key.yaml | 20 +-- ...ent.test_show_stats_and_model_version.yaml | 8 +- ...nt.test_string_index_type_not_fail_v3.yaml | 8 +- ...yze_sentiment.test_too_many_documents.yaml | 6 +- ...est_analyze_sentiment.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ...timent.test_whole_batch_language_hint.yaml | 8 +- ...le_batch_language_hint_and_dict_input.yaml | 6 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...sync.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ..._sentiment_async.test_bad_credentials.yaml | 4 +- ...nt_async.test_bad_model_version_error.yaml | 8 +- ...ment_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ..._sentiment_async.test_document_errors.yaml | 8 +- ...entiment_async.test_document_warnings.yaml | 8 +- ...timent_async.test_duplicate_ids_error.yaml | 8 +- ...ent_async.test_empty_credential_class.yaml | 4 +- ...ment_async.test_input_with_all_errors.yaml | 8 +- ...ent_async.test_input_with_some_errors.yaml | 6 +- ...async.test_invalid_language_hint_docs.yaml | 6 +- ...ync.test_invalid_language_hint_method.yaml | 8 +- ...ent_async.test_language_kwarg_spanish.yaml | 8 +- ...test_no_offset_v3_sentence_sentiment.yaml} | 8 +- ..._analyze_sentiment_async.test_offset.yaml} | 8 +- ...e_sentiment_async.test_opinion_mining.yaml | 8 +- ..._opinion_mining_more_than_5_documents.yaml | 8 +- ...test_opinion_mining_no_mined_opinions.yaml | 8 +- ...t_opinion_mining_with_negated_opinion.yaml | 8 +- ...sentiment_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...analyze_sentiment_async.test_pass_cls.yaml | 8 +- ...timent_async.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...nt_async.test_rotate_subscription_key.yaml | 20 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...nc.test_string_index_type_not_fail_v3.yaml | 8 +- ...ntiment_async.test_too_many_documents.yaml | 8 +- ...alyze_sentiment_async.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ..._async.test_whole_batch_language_hint.yaml | 8 +- ...le_batch_language_hint_and_dict_input.yaml | 8 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- .../test_auth.test_active_directory_auth.yaml | 142 ++++++++++++++++++ ...auth_async.test_active_directory_auth.yaml | 35 +++++ ...uage.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ..._detect_language.test_bad_credentials.yaml | 4 +- ...language.test_bad_model_version_error.yaml | 10 +- ...t_language.test_batch_size_over_limit.yaml | 8 +- ...uage.test_batch_size_over_limit_error.yaml | 8 +- ...st_client_passed_default_country_hint.yaml | 22 +-- ...tect_language.test_country_hint_kwarg.yaml | 8 +- ...etect_language.test_country_hint_none.yaml | 32 ++-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ..._detect_language.test_document_errors.yaml | 8 +- ...etect_language.test_document_warnings.yaml | 8 +- ...ect_language.test_duplicate_ids_error.yaml | 8 +- ..._language.test_empty_credential_class.yaml | 4 +- ...t_language.test_input_with_all_errors.yaml | 8 +- ..._language.test_input_with_some_errors.yaml | 8 +- ...nguage.test_invalid_country_hint_docs.yaml | 8 +- ...uage.test_invalid_country_hint_method.yaml | 8 +- ...detect_language.test_out_of_order_ids.yaml | 8 +- ...guage.test_output_same_order_as_input.yaml | 8 +- .../test_detect_language.test_pass_cls.yaml | 8 +- ...ect_language.test_passing_only_string.yaml | 8 +- ...e.test_per_item_dont_use_country_hint.yaml | 8 +- ...language.test_rotate_subscription_key.yaml | 20 +-- ...age.test_show_stats_and_model_version.yaml | 8 +- ...ge.test_string_index_type_not_fail_v3.yaml | 8 +- .../test_detect_language.test_user_agent.yaml | 6 +- ...anguage.test_whole_batch_country_hint.yaml | 8 +- ...ole_batch_country_hint_and_dict_input.yaml | 8 +- ..._country_hint_and_dict_per_item_hints.yaml | 8 +- ...hole_batch_country_hint_and_obj_input.yaml | 8 +- ...h_country_hint_and_obj_per_item_hints.yaml | 8 +- ...est_whole_batch_dont_use_country_hint.yaml | 8 +- ...sync.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...t_language_async.test_bad_credentials.yaml | 4 +- ...ge_async.test_bad_model_version_error.yaml | 10 +- ...uage_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...st_client_passed_default_country_hint.yaml | 24 +-- ...anguage_async.test_country_hint_kwarg.yaml | 8 +- ...language_async.test_country_hint_none.yaml | 32 ++-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ...t_language_async.test_document_errors.yaml | 6 +- ...language_async.test_document_warnings.yaml | 8 +- ...nguage_async.test_duplicate_ids_error.yaml | 8 +- ...age_async.test_empty_credential_class.yaml | 4 +- ...uage_async.test_input_with_all_errors.yaml | 6 +- ...age_async.test_input_with_some_errors.yaml | 8 +- ..._async.test_invalid_country_hint_docs.yaml | 6 +- ...sync.test_invalid_country_hint_method.yaml | 8 +- ..._language_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...t_detect_language_async.test_pass_cls.yaml | 8 +- ...nguage_async.test_passing_only_string.yaml | 8 +- ...c.test_per_item_dont_use_country_hint.yaml | 8 +- ...ge_async.test_rotate_subscription_key.yaml | 20 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...nc.test_string_index_type_not_fail_v3.yaml | 8 +- ...detect_language_async.test_user_agent.yaml | 8 +- ...e_async.test_whole_batch_country_hint.yaml | 8 +- ...ole_batch_country_hint_and_dict_input.yaml | 8 +- ..._country_hint_and_dict_per_item_hints.yaml | 8 +- ...hole_batch_country_hint_and_obj_input.yaml | 8 +- ...h_country_hint_and_obj_per_item_hints.yaml | 8 +- ...est_whole_batch_dont_use_country_hint.yaml | 8 +- .../test_encoding.test_diacritics_nfc.yaml | 8 +- .../test_encoding.test_diacritics_nfd.yaml | 8 +- .../recordings/test_encoding.test_emoji.yaml | 8 +- .../test_encoding.test_emoji_family.yaml | 8 +- ..._emoji_family_with_skin_tone_modifier.yaml | 8 +- ...ng.test_emoji_with_skin_tone_modifier.yaml | 8 +- .../test_encoding.test_korean_nfc.yaml | 8 +- .../test_encoding.test_korean_nfd.yaml | 8 +- .../test_encoding.test_zalgo_text.yaml | 8 +- ...st_encoding_async.test_diacritics_nfc.yaml | 8 +- ...st_encoding_async.test_diacritics_nfd.yaml | 8 +- .../test_encoding_async.test_emoji.yaml | 8 +- ...test_encoding_async.test_emoji_family.yaml | 8 +- ..._emoji_family_with_skin_tone_modifier.yaml | 8 +- ...nc.test_emoji_with_skin_tone_modifier.yaml | 8 +- .../test_encoding_async.test_korean_nfc.yaml | 8 +- .../test_encoding_async.test_korean_nfd.yaml | 8 +- .../test_encoding_async.test_zalgo_text.yaml | 8 +- ...ases.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 6 +- ...ract_key_phrases.test_bad_credentials.yaml | 4 +- ..._phrases.test_bad_model_version_error.yaml | 8 +- ...ey_phrases.test_batch_size_over_limit.yaml | 8 +- ...ases.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ...ract_key_phrases.test_document_errors.yaml | 8 +- ...ct_key_phrases.test_document_warnings.yaml | 8 +- ..._key_phrases.test_duplicate_ids_error.yaml | 6 +- ...y_phrases.test_empty_credential_class.yaml | 4 +- ...ey_phrases.test_input_with_all_errors.yaml | 6 +- ...y_phrases.test_input_with_some_errors.yaml | 8 +- ...rases.test_invalid_language_hint_docs.yaml | 8 +- ...ses.test_invalid_language_hint_method.yaml | 6 +- ...y_phrases.test_language_kwarg_spanish.yaml | 8 +- ...act_key_phrases.test_out_of_order_ids.yaml | 6 +- ...rases.test_output_same_order_as_input.yaml | 6 +- ...est_extract_key_phrases.test_pass_cls.yaml | 8 +- ..._key_phrases.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ..._phrases.test_rotate_subscription_key.yaml | 18 +-- ...ses.test_show_stats_and_model_version.yaml | 8 +- ...es.test_string_index_type_not_fail_v3.yaml | 8 +- ...t_key_phrases.test_too_many_documents.yaml | 8 +- ...t_extract_key_phrases.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ...hrases.test_whole_batch_language_hint.yaml | 8 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...sync.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...ey_phrases_async.test_bad_credentials.yaml | 4 +- ...es_async.test_bad_model_version_error.yaml | 8 +- ...ases_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 22 +-- ...t_attribute_error_no_result_attribute.yaml | 6 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ...ey_phrases_async.test_document_errors.yaml | 8 +- ..._phrases_async.test_document_warnings.yaml | 8 +- ...hrases_async.test_duplicate_ids_error.yaml | 8 +- ...ses_async.test_empty_credential_class.yaml | 4 +- ...ases_async.test_input_with_all_errors.yaml | 8 +- ...ses_async.test_input_with_some_errors.yaml | 8 +- ...async.test_invalid_language_hint_docs.yaml | 8 +- ...ync.test_invalid_language_hint_method.yaml | 6 +- ...ses_async.test_language_kwarg_spanish.yaml | 8 +- ...y_phrases_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...tract_key_phrases_async.test_pass_cls.yaml | 6 +- ...hrases_async.test_passing_only_string.yaml | 6 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...es_async.test_rotate_subscription_key.yaml | 18 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...nc.test_string_index_type_not_fail_v3.yaml | 8 +- ...phrases_async.test_too_many_documents.yaml | 8 +- ...act_key_phrases_async.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ..._async.test_whole_batch_language_hint.yaml | 8 +- ...language_hint_and_dict_per_item_hints.yaml | 6 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 6 +- ...ties.test_all_successful_passing_dict.yaml | 6 +- ...uccessful_passing_text_document_input.yaml | 6 +- ...cognize_entities.test_bad_credentials.yaml | 2 +- ...entities.test_bad_model_version_error.yaml | 4 +- ...e_entities.test_batch_size_over_limit.yaml | 6 +- ...ties.test_batch_size_over_limit_error.yaml | 6 +- ...t_client_passed_default_language_hint.yaml | 22 +-- ...t_attribute_error_no_result_attribute.yaml | 4 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ...cognize_entities.test_document_errors.yaml | 4 +- ...gnize_entities.test_document_warnings.yaml | 6 +- ...ize_entities.test_duplicate_ids_error.yaml | 6 +- ..._entities.test_empty_credential_class.yaml | 2 +- ...e_entities.test_input_with_all_errors.yaml | 6 +- ..._entities.test_input_with_some_errors.yaml | 6 +- ...ities.test_invalid_language_hint_docs.yaml | 6 +- ...ies.test_invalid_language_hint_method.yaml | 4 +- ..._entities.test_language_kwarg_spanish.yaml | 6 +- ...st_no_offset_v3_categorized_entities.yaml} | 6 +- ... test_recognize_entities.test_offset.yaml} | 6 +- ...ognize_entities.test_out_of_order_ids.yaml | 6 +- ...ities.test_output_same_order_as_input.yaml | 6 +- ...test_recognize_entities.test_pass_cls.yaml | 6 +- ...ize_entities.test_passing_only_string.yaml | 6 +- ....test_per_item_dont_use_language_hint.yaml | 6 +- ...entities.test_rotate_subscription_key.yaml | 12 +- ...ies.test_show_stats_and_model_version.yaml | 6 +- ...es.test_string_index_type_not_fail_v3.yaml | 6 +- ...nize_entities.test_too_many_documents.yaml | 6 +- ...st_recognize_entities.test_user_agent.yaml | 6 +- ...st_whole_batch_dont_use_language_hint.yaml | 6 +- ...tities.test_whole_batch_language_hint.yaml | 6 +- ...language_hint_and_dict_per_item_hints.yaml | 6 +- ...ole_batch_language_hint_and_obj_input.yaml | 6 +- ..._language_hint_and_obj_per_item_hints.yaml | 6 +- ...sync.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...e_entities_async.test_bad_credentials.yaml | 4 +- ...es_async.test_bad_model_version_error.yaml | 6 +- ...ties_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 28 ++-- ...t_attribute_error_no_result_attribute.yaml | 6 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ...e_entities_async.test_document_errors.yaml | 8 +- ...entities_async.test_document_warnings.yaml | 8 +- ...tities_async.test_duplicate_ids_error.yaml | 8 +- ...ies_async.test_empty_credential_class.yaml | 4 +- ...ties_async.test_input_with_all_errors.yaml | 6 +- ...ies_async.test_input_with_some_errors.yaml | 8 +- ...async.test_invalid_language_hint_docs.yaml | 8 +- ...ync.test_invalid_language_hint_method.yaml | 6 +- ...ies_async.test_language_kwarg_spanish.yaml | 8 +- ...st_no_offset_v3_categorized_entities.yaml} | 8 +- ...recognize_entities_async.test_offset.yaml} | 8 +- ..._entities_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...ecognize_entities_async.test_pass_cls.yaml | 8 +- ...tities_async.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...es_async.test_rotate_subscription_key.yaml | 18 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...nc.test_string_index_type_not_fail_v3.yaml | 8 +- ...ntities_async.test_too_many_documents.yaml | 8 +- ...ognize_entities_async.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ..._async.test_whole_batch_language_hint.yaml | 8 +- ...language_hint_and_dict_per_item_hints.yaml | 10 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...ties.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ..._linked_entities.test_bad_credentials.yaml | 4 +- ...entities.test_bad_model_version_error.yaml | 8 +- ...d_entities.test_batch_size_over_limit.yaml | 8 +- ...ties.test_batch_size_over_limit_error.yaml | 8 +- ...ecognize_linked_entities.test_bing_id.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 6 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ..._linked_entities.test_document_errors.yaml | 8 +- ...inked_entities.test_document_warnings.yaml | 8 +- ...ked_entities.test_duplicate_ids_error.yaml | 6 +- ..._entities.test_empty_credential_class.yaml | 4 +- ...d_entities.test_input_with_all_errors.yaml | 8 +- ..._entities.test_input_with_some_errors.yaml | 8 +- ...ities.test_invalid_language_hint_docs.yaml | 8 +- ...ies.test_invalid_language_hint_method.yaml | 8 +- ..._entities.test_language_kwarg_spanish.yaml | 8 +- ...est_no_offset_v3_linked_entity_match.yaml} | 8 +- ...ecognize_linked_entities.test_offset.yaml} | 8 +- ...linked_entities.test_out_of_order_ids.yaml | 8 +- ...ities.test_output_same_order_as_input.yaml | 8 +- ...cognize_linked_entities.test_pass_cls.yaml | 8 +- ...ked_entities.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...entities.test_rotate_subscription_key.yaml | 20 +-- ...ies.test_show_stats_and_model_version.yaml | 8 +- ...es.test_string_index_type_not_fail_v3.yaml | 8 +- ...nked_entities.test_too_many_documents.yaml | 8 +- ...gnize_linked_entities.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ...tities.test_whole_batch_language_hint.yaml | 8 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...sync.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...d_entities_async.test_bad_credentials.yaml | 4 +- ...es_async.test_bad_model_version_error.yaml | 6 +- ...ties_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...ze_linked_entities_async.test_bing_id.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ...d_entities_async.test_document_errors.yaml | 8 +- ...entities_async.test_document_warnings.yaml | 8 +- ...tities_async.test_duplicate_ids_error.yaml | 8 +- ...ies_async.test_empty_credential_class.yaml | 4 +- ...ties_async.test_input_with_all_errors.yaml | 6 +- ...ies_async.test_input_with_some_errors.yaml | 8 +- ...async.test_invalid_language_hint_docs.yaml | 8 +- ...ync.test_invalid_language_hint_method.yaml | 6 +- ...ies_async.test_language_kwarg_spanish.yaml | 8 +- ...est_no_offset_v3_linked_entity_match.yaml} | 8 +- ...ze_linked_entities_async.test_offset.yaml} | 8 +- ..._entities_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...e_linked_entities_async.test_pass_cls.yaml | 8 +- ...tities_async.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...es_async.test_rotate_subscription_key.yaml | 20 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...nc.test_string_index_type_not_fail_v3.yaml | 8 +- ...ntities_async.test_too_many_documents.yaml | 8 +- ...linked_entities_async.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ..._async.test_whole_batch_language_hint.yaml | 6 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...ties.test_all_successful_passing_dict.yaml | 8 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...ize_pii_entities.test_bad_credentials.yaml | 4 +- ...entities.test_bad_model_version_error.yaml | 8 +- ...i_entities.test_batch_size_over_limit.yaml | 8 +- ...ties.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 24 +-- ...t_attribute_error_no_result_attribute.yaml | 6 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ...ize_pii_entities.test_document_errors.yaml | 8 +- ...e_pii_entities.test_document_warnings.yaml | 8 +- ...pii_entities.test_duplicate_ids_error.yaml | 8 +- ..._entities.test_empty_credential_class.yaml | 4 +- ...i_entities.test_input_with_all_errors.yaml | 8 +- ..._entities.test_input_with_some_errors.yaml | 8 +- ...ities.test_invalid_language_hint_docs.yaml | 8 +- ...ies.test_invalid_language_hint_method.yaml | 6 +- ..._entities.test_language_kwarg_english.yaml | 6 +- ...ze_pii_entities.test_out_of_order_ids.yaml | 8 +- ...ities.test_output_same_order_as_input.yaml | 8 +- ..._recognize_pii_entities.test_pass_cls.yaml | 8 +- ...pii_entities.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...e_pii_entities.test_phi_domain_filter.yaml | 8 +- ...gnize_pii_entities.test_redacted_text.yaml | 8 +- ...entities.test_rotate_subscription_key.yaml | 20 +-- ...ies.test_show_stats_and_model_version.yaml | 8 +- ..._pii_entities.test_too_many_documents.yaml | 8 +- ...ecognize_pii_entities.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ...tities.test_whole_batch_language_hint.yaml | 6 +- ...language_hint_and_dict_per_item_hints.yaml | 6 +- ...ole_batch_language_hint_and_obj_input.yaml | 6 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- ...sync.test_all_successful_passing_dict.yaml | 6 +- ...uccessful_passing_text_document_input.yaml | 8 +- ...i_entities_async.test_bad_credentials.yaml | 4 +- ...es_async.test_bad_model_version_error.yaml | 8 +- ...ties_async.test_batch_size_over_limit.yaml | 8 +- ...sync.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 20 +-- ...t_attribute_error_no_result_attribute.yaml | 8 +- ...attribute_error_nonexistent_attribute.yaml | 6 +- ...i_entities_async.test_document_errors.yaml | 8 +- ...entities_async.test_document_warnings.yaml | 8 +- ...tities_async.test_duplicate_ids_error.yaml | 8 +- ...ies_async.test_empty_credential_class.yaml | 4 +- ...ties_async.test_input_with_all_errors.yaml | 6 +- ...ies_async.test_input_with_some_errors.yaml | 8 +- ...async.test_invalid_language_hint_docs.yaml | 8 +- ...ync.test_invalid_language_hint_method.yaml | 8 +- ...ies_async.test_language_kwarg_english.yaml | 8 +- ..._entities_async.test_out_of_order_ids.yaml | 8 +- ...async.test_output_same_order_as_input.yaml | 8 +- ...nize_pii_entities_async.test_pass_cls.yaml | 8 +- ...tities_async.test_passing_only_string.yaml | 6 +- ....test_per_item_dont_use_language_hint.yaml | 8 +- ...entities_async.test_phi_domain_filter.yaml | 8 +- ...pii_entities_async.test_redacted_text.yaml | 8 +- ...ync.test_redacted_text_v3_1_preview_1.yaml | 33 ---- ...es_async.test_rotate_subscription_key.yaml | 20 +-- ...ync.test_show_stats_and_model_version.yaml | 8 +- ...ntities_async.test_too_many_documents.yaml | 6 +- ...ze_pii_entities_async.test_user_agent.yaml | 8 +- ...st_whole_batch_dont_use_language_hint.yaml | 8 +- ..._async.test_whole_batch_language_hint.yaml | 6 +- ...language_hint_and_dict_per_item_hints.yaml | 8 +- ...ole_batch_language_hint_and_obj_input.yaml | 8 +- ..._language_hint_and_obj_per_item_hints.yaml | 8 +- .../tests/test_analyze_sentiment.py | 14 +- .../tests/test_analyze_sentiment_async.py | 14 +- .../tests/test_encoding.py | 12 -- .../tests/test_encoding_async.py | 11 -- .../tests/test_recognize_entities.py | 14 +- .../tests/test_recognize_entities_async.py | 14 +- .../tests/test_recognize_linked_entities.py | 14 +- .../test_recognize_linked_entities_async.py | 14 +- .../tests/test_recognize_pii_entities.py | 6 - .../test_recognize_pii_entities_async.py | 3 - .../azure-ai-textanalytics/tests/test_repr.py | 18 +-- .../azure-ai-textanalytics/tests/testcase.py | 1 - 467 files changed, 2038 insertions(+), 2029 deletions(-) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_analyze_sentiment.test_no_offset_length_v3_sentence_sentiment.yaml => test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml} (90%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_analyze_sentiment.test_offset_length.yaml => test_analyze_sentiment.test_offset.yaml} (90%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_analyze_sentiment_async.test_no_offset_length_v3_sentence_sentiment.yaml => test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml} (87%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_analyze_sentiment_async.test_offset_length.yaml => test_analyze_sentiment_async.test_offset.yaml} (87%) create mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth.test_active_directory_auth.yaml create mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth_async.test_active_directory_auth.yaml rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_entities.test_no_offset_length_v3_categorized_entities.yaml => test_recognize_entities.test_no_offset_v3_categorized_entities.yaml} (93%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_entities.test_offset_length.yaml => test_recognize_entities.test_offset.yaml} (94%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_entities_async.test_no_offset_length_v3_categorized_entities.yaml => test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml} (86%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_entities_async.test_offset_length.yaml => test_recognize_entities_async.test_offset.yaml} (87%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_linked_entities.test_no_offset_length_v3_linked_entity_match.yaml => test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml} (91%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_linked_entities.test_offset_length.yaml => test_recognize_linked_entities.test_offset.yaml} (92%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_linked_entities_async.test_no_offset_length_v3_linked_entity_match.yaml => test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml} (89%) rename sdk/textanalytics/azure-ai-textanalytics/tests/recordings/{test_recognize_linked_entities_async.test_offset_length.yaml => test_recognize_linked_entities_async.test_offset.yaml} (90%) delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text_v3_1_preview_1.yaml diff --git a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md index 3e3010d29090..b8185904438e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md +++ b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 5.1.0b2 (unreleased) + +**Breaking changes** +- Removed property `length` from `CategorizedEntity`, `SentenceSentiment`, `LinkedEntityMatch`, `AspectSentiment`, `OpinionSentiment`, and `PiiEntity`. +To get the length of the text in these models, just call `len()` on the `text` property. + ## 5.1.0b1 (2020-09-17) **New features** diff --git a/sdk/textanalytics/azure-ai-textanalytics/README.md b/sdk/textanalytics/azure-ai-textanalytics/README.md index 53a757f14dac..1bc236994738 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/README.md @@ -255,7 +255,6 @@ for doc in result: print("...Category: {}".format(entity.category)) print("...Confidence Score: {}".format(entity.confidence_score)) print("...Offset: {}".format(entity.offset)) - print("...Length: {}".format(entity.length)) ``` The returned response is a heterogeneous list of result and error objects: list[[RecognizeEntitiesResult][recognize_entities_result], [DocumentError][document_error]] @@ -295,7 +294,6 @@ for doc in result: print("......Entity match text: {}".format(match.text)) print("......Confidence Score: {}".format(match.confidence_score)) print("......Offset: {}".format(match.offset)) - print("......Length: {}".format(match.length)) ``` The returned response is a heterogeneous list of result and error objects: list[[RecognizeLinkedEntitiesResult][recognize_linked_entities_result], [DocumentError][document_error]] @@ -330,7 +328,6 @@ for idx, doc in enumerate(result): print("......Category: {}".format(entity.category)) print("......Confidence Score: {}".format(entity.confidence_score)) print("......Offset: {}".format(entity.offset)) - print("......Length: {}".format(entity.length)) ``` The returned response is a heterogeneous list of result and error objects: list[[RecognizePiiEntitiesResult][recognize_pii_entities_result], [DocumentError][document_error]] diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py index 83a8eb146568..b7dd08026902 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py @@ -227,13 +227,11 @@ class CategorizedEntity(DictMixin): :vartype subcategory: str :ivar int offset: The entity text offset from the start of the document. Returned in unicode code points. Only returned for API versions v3.1-preview and up. - :ivar int length: The length of the entity text. Returned - in unicode code points. Only returned for API versions v3.1-preview and up. :ivar confidence_score: Confidence score between 0 and 1 of the extracted entity. :vartype confidence_score: float .. versionadded:: v3.1-preview - The *offset* and *length* properties. + The *offset* property. """ def __init__(self, **kwargs): @@ -241,35 +239,30 @@ def __init__(self, **kwargs): self.category = kwargs.get('category', None) self.subcategory = kwargs.get('subcategory', None) self.offset = kwargs.get('offset', None) - self.length = kwargs.get('length', None) self.confidence_score = kwargs.get('confidence_score', None) @classmethod def _from_generated(cls, entity): offset = entity.offset - length = entity.length if isinstance(entity, _v3_0_models.Entity): - # we do not return offset and length for v3.0 since + # we do not return offset for v3.0 since # the correct encoding was not introduced for v3.0 offset = None - length = None return cls( text=entity.text, category=entity.category, subcategory=entity.subcategory, offset=offset, - length=length, confidence_score=entity.confidence_score, ) def __repr__(self): return "CategorizedEntity(text={}, category={}, subcategory={}, "\ - "offset={}, length={}, confidence_score={})".format( + "offset={}, confidence_score={})".format( self.text, self.category, self.subcategory, self.offset, - self.length, self.confidence_score )[:1024] @@ -284,8 +277,6 @@ class PiiEntity(DictMixin): Phone number/ABA Routing Numbers, etc. :ivar int offset: The PII entity text offset from the start of the document. Returned in unicode code points. - :ivar int length: The length of the PII entity text. Returned - in unicode code points. :ivar float confidence_score: Confidence score between 0 and 1 of the extracted entity. """ @@ -295,7 +286,6 @@ def __init__(self, **kwargs): self.category = kwargs.get('category', None) self.subcategory = kwargs.get('subcategory', None) self.offset = kwargs.get('offset', None) - self.length = kwargs.get('length', None) self.confidence_score = kwargs.get('confidence_score', None) @classmethod @@ -305,19 +295,17 @@ def _from_generated(cls, entity): category=entity.category, subcategory=entity.subcategory, offset=entity.offset, - length=entity.length, confidence_score=entity.confidence_score, ) def __repr__(self): return ( - "PiiEntity(text={}, category={}, subcategory={}, offset={}, length={}, "\ + "PiiEntity(text={}, category={}, subcategory={}, offset={}, "\ "confidence_score={})".format( self.text, self.category, self.subcategory, self.offset, - self.length, self.confidence_score )[:1024] ) @@ -684,38 +672,32 @@ class LinkedEntityMatch(DictMixin): :ivar text: Entity text as appears in the request. :ivar int offset: The linked entity match text offset from the start of the document. Returned in unicode code points. Only returned for API versions v3.1-preview and up. - :ivar int length: The length of the linked entity match text. Returned - in unicode code points. Only returned for API versions v3.1-preview and up. :vartype text: str .. versionadded:: v3.1-preview - The *offset* and *length* properties. + The *offset* property. """ def __init__(self, **kwargs): self.confidence_score = kwargs.get("confidence_score", None) self.text = kwargs.get("text", None) self.offset = kwargs.get("offset", None) - self.length = kwargs.get("length", None) @classmethod def _from_generated(cls, match): offset = match.offset - length = match.length if isinstance(match, _v3_0_models.Match): - # we do not return offset and length for v3.0 since + # we do not return offset for v3.0 since # the correct encoding was not introduced for v3.0 offset = None - length = None return cls( confidence_score=match.confidence_score, text=match.text, offset=offset, - length=length ) def __repr__(self): - return "LinkedEntityMatch(confidence_score={}, text={}, offset={}, length={})".format( - self.confidence_score, self.text, self.offset, self.length + return "LinkedEntityMatch(confidence_score={}, text={}, offset={})".format( + self.confidence_score, self.text, self.offset )[:1024] @@ -798,8 +780,6 @@ class SentenceSentiment(DictMixin): ~azure.ai.textanalytics.SentimentConfidenceScores :ivar int offset: The sentence offset from the start of the document. Returned in unicode code points. Only returned for API versions v3.1-preview and up. - :ivar int length: The length of the sentence. Returned - in unicode code points. Only returned for API versions v3.1-preview and up. :ivar mined_opinions: The list of opinions mined from this sentence. For example in "The food is good, but the service is bad", we would mind these two opinions "food is good", "service is bad". Only returned @@ -808,7 +788,7 @@ class SentenceSentiment(DictMixin): :vartype mined_opinions: list[~azure.ai.textanalytics.MinedOpinion] .. versionadded:: v3.1-preview - The *offset*, *length*, and *mined_opinions* properties. + The *offset* and *mined_opinions* properties. """ def __init__(self, **kwargs): @@ -816,18 +796,15 @@ def __init__(self, **kwargs): self.sentiment = kwargs.get("sentiment", None) self.confidence_scores = kwargs.get("confidence_scores", None) self.offset = kwargs.get("offset", None) - self.length = kwargs.get("length", None) self.mined_opinions = kwargs.get("mined_opinions", None) @classmethod def _from_generated(cls, sentence, results, sentiment): offset = sentence.offset - length = sentence.length if isinstance(sentence, _v3_0_models.SentenceSentiment): - # we do not return offset and length for v3.0 since + # we do not return offset for v3.0 since # the correct encoding was not introduced for v3.0 offset = None - length = None if hasattr(sentence, "aspects"): mined_opinions = ( [MinedOpinion._from_generated(aspect, results, sentiment) for aspect in sentence.aspects] # pylint: disable=protected-access @@ -840,18 +817,16 @@ def _from_generated(cls, sentence, results, sentiment): sentiment=sentence.sentiment, confidence_scores=SentimentConfidenceScores._from_generated(sentence.confidence_scores), # pylint: disable=protected-access offset=offset, - length=length, mined_opinions=mined_opinions ) def __repr__(self): return "SentenceSentiment(text={}, sentiment={}, confidence_scores={}, "\ - "offset={}, length={}, mined_opinions={})".format( + "offset={}, mined_opinions={})".format( self.text, self.sentiment, repr(self.confidence_scores), self.offset, - self.length, repr(self.mined_opinions) )[:1024] @@ -919,8 +894,6 @@ class AspectSentiment(DictMixin): ~azure.ai.textanalytics.SentimentConfidenceScores :ivar int offset: The aspect offset from the start of the document. Returned in unicode code points. - :ivar int length: The length of the aspect. Returned - in unicode code points. """ def __init__(self, **kwargs): @@ -928,7 +901,6 @@ def __init__(self, **kwargs): self.sentiment = kwargs.get("sentiment", None) self.confidence_scores = kwargs.get("confidence_scores", None) self.offset = kwargs.get("offset", None) - self.length = kwargs.get("length", None) @classmethod def _from_generated(cls, aspect): @@ -937,16 +909,14 @@ def _from_generated(cls, aspect): sentiment=aspect.sentiment, confidence_scores=SentimentConfidenceScores._from_generated(aspect.confidence_scores), # pylint: disable=protected-access offset=aspect.offset, - length=aspect.length ) def __repr__(self): - return "AspectSentiment(text={}, sentiment={}, confidence_scores={}, offset={}, length={})".format( + return "AspectSentiment(text={}, sentiment={}, confidence_scores={}, offset={})".format( self.text, self.sentiment, repr(self.confidence_scores), self.offset, - self.length )[:1024] @@ -966,8 +936,6 @@ class OpinionSentiment(DictMixin): ~azure.ai.textanalytics.SentimentConfidenceScores :ivar int offset: The opinion offset from the start of the document. Returned in unicode code points. - :ivar int length: The length of the opinion. Returned - in unicode code points. :ivar bool is_negated: Whether the opinion is negated. For example, in "The food is not good", the opinion "good" is negated. """ @@ -977,7 +945,6 @@ def __init__(self, **kwargs): self.sentiment = kwargs.get("sentiment", None) self.confidence_scores = kwargs.get("confidence_scores", None) self.offset = kwargs.get("offset", None) - self.length = kwargs.get("length", None) self.is_negated = kwargs.get("is_negated", None) @classmethod @@ -987,18 +954,16 @@ def _from_generated(cls, opinion): sentiment=opinion.sentiment, confidence_scores=SentimentConfidenceScores._from_generated(opinion.confidence_scores), # pylint: disable=protected-access offset=opinion.offset, - length=opinion.length, is_negated=opinion.is_negated ) def __repr__(self): return ( - "OpinionSentiment(text={}, sentiment={}, confidence_scores={}, offset={}, length={}, is_negated={})".format( + "OpinionSentiment(text={}, sentiment={}, confidence_scores={}, offset={}, is_negated={})".format( self.text, self.sentiment, repr(self.confidence_scores), self.offset, - self.length, self.is_negated )[:1024] ) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py index 40d5e79e323a..7f05f3d1ccf1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py @@ -4,4 +4,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "5.1.0b1" +VERSION = "5.1.0b2" diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_sentiment_async.py b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_sentiment_async.py index 988292464882..5f1c3fe7b89b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_sentiment_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_sentiment_async.py @@ -60,7 +60,7 @@ async def analyze_sentiment_async(self): for sentence in doc.sentences: print("Sentence '{}' has sentiment: {}".format(sentence.text, sentence.sentiment)) print("...Sentence is {} characters from the start of the document and is {} characters long".format( - sentence.offset, sentence.length + sentence.offset, len(sentence.text) )) print("...Sentence confidence scores: positive={}; neutral={}; negative={}".format( sentence.confidence_scores.positive, diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entities_async.py index 19f64674522d..714a6a28914c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_entities_async.py @@ -53,7 +53,6 @@ async def recognize_entities_async(self): print("...Category: {}".format(entity.category)) print("...Confidence Score: {}".format(entity.confidence_score)) print("...Offset: {}".format(entity.offset)) - print("...Length: {}".format(entity.length)) # [END recognize_entities_async] diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_linked_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_linked_entities_async.py index fdd08addf6fd..85384eef0a01 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_linked_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_linked_entities_async.py @@ -59,7 +59,6 @@ async def recognize_linked_entities_async(self): print("......Entity match text: {}".format(match.text)) print("......Confidence Score: {}".format(match.confidence_score)) print("......Offset: {}".format(match.offset)) - print("......Length: {}".format(match.length)) print("------------------------------------------") # [END recognize_linked_entities_async] diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_sentiment.py b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_sentiment.py index b9465722d686..2e2ac1739680 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_sentiment.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_sentiment.py @@ -57,7 +57,7 @@ def analyze_sentiment(self): for sentence in doc.sentences: print("Sentence '{}' has sentiment: {}".format(sentence.text, sentence.sentiment)) print("...Sentence is {} characters from the start of the document and is {} characters long".format( - sentence.offset, sentence.length + sentence.offset, len(sentence.text) )) print("...Sentence confidence scores: positive={}; neutral={}; negative={}".format( sentence.confidence_scores.positive, diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entities.py b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entities.py index f4140363827c..291f24c76f2c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_entities.py @@ -50,7 +50,6 @@ def recognize_entities(self): print("...Category: {}".format(entity.category)) print("...Confidence Score: {}".format(entity.confidence_score)) print("...Offset: {}".format(entity.offset)) - print("...Length: {}".format(entity.length)) # [END recognize_entities] diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_linked_entities.py b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_linked_entities.py index ed8f1259219c..c8e08527df47 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_linked_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_linked_entities.py @@ -56,7 +56,6 @@ def recognize_linked_entities(self): print("......Entity match text: {}".format(match.text)) print("......Confidence Score: {}".format(match.confidence_score)) print("......Offset: {}".format(match.offset)) - print("......Length: {}".format(match.length)) print("------------------------------------------") # [END recognize_linked_entities] diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml index 1d2c328c5e49..76dae56b178b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -30,13 +30,13 @@ interactions: recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 6b290991-4885-41e7-b595-0a80607d8de9 + - 760dfd8d-9039-457d-811c-ee791ba48db4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:19 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '85' + - '94' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml index b798d7266afc..489a472b38a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,13 +30,13 @@ interactions: recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1ad16a34-44d9-4afc-98df-be0bdbc8cd2d + - ee1d0f3c-536a-4d65-967c-64a52046b2b5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '181' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml index 9e84cf32b294..e4bbee073882 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:19 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml index 56473b8df82d..2c6029572dca 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: model version. Possible values are: latest,2019-10-01,2020-04-01"}}}' headers: apim-request-id: - - 79e24ad7-44c2-45e4-a6ed-505b4a44e889 + - f7ce80a8-7f87-49b2-be75-9ba8db2fd120 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '10' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml index f9cc0d8a2030..b3c222f5f656 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml @@ -758,7 +758,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -767,11 +767,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 03911926-ef7e-4abf-9d63-216055b1c156 + - 77deb40c-a565-4b76-abb7-3b38510a32e8 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '13' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml index 86e76abaa877..a7f7683a0e8b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml @@ -723,7 +723,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -732,11 +732,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - f972bf18-1a09-4fe0-844f-de17dc4c67e8 + - 05d5988f-0b0f-4c40-a1fe-bdecdeb55207 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:19 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '15' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml index d40036b24733..04855f8f7d05 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 380712cc-c0a1-49b8-811c-36a8ad107be3 + - 394eaa2e-0b36-47fe-a1e5-6233b3c01f3f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '182' status: code: 200 message: OK @@ -62,7 +62,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -73,13 +73,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - a3aeae9c-b649-4730-8987-044cb7abac1f + - e4d69340-ce8e-413a-8feb-44aa3c3207a1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -87,7 +87,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '93' + - '105' status: code: 200 message: OK @@ -108,7 +108,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -119,13 +119,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 5fe2308f-ba51-4eee-abec-9ed8559ce512 + - b17fce9e-8970-4bae-bbb5-db70b3fbd43d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '115' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml index bf9a7a5a839f..ec8d58314653 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 75001b70-19f7-4d64-9de1-da1d6e21b6c2 + - f046fb80-8395-4ca9-a62b-226b1e55b14c content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:19 GMT + - Wed, 30 Sep 2020 16:02:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '1063' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml index 6a9d381d47ed..52b99df0f660 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - fc056837-688f-44ff-917c-1a58fe2de382 + - 57e49c2f-7b55-45b5-821c-0420bb52d89e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:19 GMT + - Wed, 30 Sep 2020 16:03:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml index 55a32eca47d1..a31745832859 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,11 +32,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e39a857d-ccba-4385-b277-8d7f6aa3a242 + - 993c1e31-6342-4cf6-a297-210c37eed8a7 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '1002' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml index 59fdb59f189f..c1f9478108de 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: won''t actually create a warning :''("}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e214b62b-d773-42c8-8366-8619902996a1 + - e8f37ffa-41f5-45e7-9382-fcfb86d8cfbe content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '198' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml index 17df19d62668..ceb81493a0b8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - df0574b7-cbfb-4928-8e9b-63d6257fd53e + - 4c51889c-cd26-4a66-a7c6-69b3d28a6974 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml index 9e84cf32b294..7c9dfae3ee2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:34 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml index 69dd6bc4f61f..fac67a38d581 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,11 +29,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 2d7bdfe5-4842-4a47-aae7-9f40850eb8bb + - 584fd424-d5f0-4457-a073-11e09b1e84f3 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:19 GMT + - Wed, 30 Sep 2020 16:02:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml index 0497c2631461..21a9c67ab31f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,13 +30,13 @@ interactions: language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 5629398b-4c8a-414c-a06d-54036b5cc7e3 + - c407b9b7-a99b-481f-a5fe-cf475780ece8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:03:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '94' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml index f4238f9d8765..c7d31d1b0eba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 3bb492dd-7dd8-4adc-b9ab-815293ac3af6 + - bf402998-d457-450e-9888-e36beda2de55 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml index ddf01f7f40a6..a2b3f823b8b1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e635387f-e36f-46b0-ace4-a12c5802d2ac + - ecc63542-275f-4a90-b80d-b06424360386 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:23 GMT + - Wed, 30 Sep 2020 16:02:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '1032' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml index 7278bea5462d..84ca902bf1a5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: Gates is the CEO of Microsoft."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 99712a57-29c8-433a-8901-ee8088a0cae1 + - 3971c26a-b749-4c78-8ad2-7216efc27c79 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '119' + - '85' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_length_v3_sentence_sentiment.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml similarity index 90% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_length_v3_sentence_sentiment.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml index 6f28fd354a64..f6e5d364fe3d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_length_v3_sentence_sentiment.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -24,13 +24,13 @@ interactions: do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0e2ccaf0-207b-494d-a94d-cba1246086a4 + - eb00e126-2df4-4ea1-a8f8-3d3a79d1122c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:03:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '83' + - '1102' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml similarity index 90% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml index 75a1d7ee1fe3..a724c480571c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 913bac7c-7802-40c1-a259-5106eb194176 + - 25c8f1ca-b700-4baa-aa21-526b9bc22f42 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '76' + - '103' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml index 585637b1ec92..e994b39d67dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: has a sleek premium aluminum design that makes it beautiful to look at.","aspects":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"},{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/1"}]}],"opinions":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1ef2a54e-51e8-46c1-a20c-bb0a0a77bbdf + - c746a334-e832-4c00-882b-727bc2a77e20 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '393' + - '160' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml index 694e4826e951..28cbeaa03916 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml @@ -21,7 +21,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -38,13 +38,13 @@ interactions: toilet smelled.","aspects":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"opinion","ref":"#/documents/1/sentences/0/opinions/0"}]}],"opinions":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 3114573b-7cce-415e-8fb0-4a40fbb1fdf4 + - 5becb7d5-b74c-4708-8e0a-cd6ca1cff272 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=7 date: - - Wed, 16 Sep 2020 19:41:48 GMT + - Wed, 30 Sep 2020 16:02:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -52,7 +52,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '113' + - '434' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml index fba66119b3ee..f06af9ae22d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -22,13 +22,13 @@ interactions: is a hot day","aspects":[],"opinions":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1dd36271-cba1-4487-b2f8-135c86bf4185 + - 43537c26-25ed-446f-b194-a7a714930159 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:03:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '131' + - '207' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml index 9be81c8da2fa..1c14b817d098 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: food and service is not good","aspects":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"}]}],"opinions":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ac1ebb0f-8d2e-4a71-8600-ecae5acf59c5 + - 8280643d-37ab-45db-b423-c51e89dcaad6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '213' + - '370' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml index 309018ecf0d5..1b84e577e14d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - b114aa81-62a1-4c20-bbb9-4bafcf4811e7 + - 18345b56-1a85-416f-8ece-56744eab7de5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:23 GMT + - Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '85' + - '77' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml index 3ee485e7b4b5..9314e5ccfed1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"one"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"two"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"three"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"four"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"five"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ee91ca66-7ff8-46aa-a121-8d6702e39729 + - 4e6557f7-8c67-46a1-aec8-d99be2382d72 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '77' + - '90' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml index aed6256d7d0d..93fef0b919e8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: passing cls to endpoint"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - b5cb49b3-fe91-4beb-9e5e-846d50ca4a0b + - d1e75145-8615-4b9f-a9db-169d8e67ea85 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml index 390738b57d46..db9f143c6840 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,13 +32,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 423f5efe-bd9a-4a06-8015-9b9badd25c6c + - e553389c-5e76-4f94-bb96-1a81d6667425 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -46,7 +46,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '93' + - '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml index 109dd21211b5..92d4b6d31e8b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 7f7674e5-d93f-4407-bcee-c3d641f97c8a + - 93a4f99d-5185-4bc2-a7db-1d69a83c827f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '84' + - '169' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml index 3cfb700e2ac0..4db019d40996 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 74b46c9a-65ef-49d8-9256-63a5b095314a + - 234cf3d8-13df-4a26-af77-f7977a88ffdd content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '79' + - '114' status: code: 200 message: OK @@ -62,7 +62,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -74,7 +74,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:03:08 GMT status: code: 401 message: PermissionDenied @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -106,13 +106,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 4fa7fdb0-490a-450c-9345-330e781bdf61 + - eed0647d-5c91-40a8-aa44-f00ffa9b5ba2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -120,7 +120,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '106' + - '79' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml index 7aa6000f62ca..a9b0df7798e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 03275fc7-0282-4bb0-8855-c02a7a10786a + - 35623fe9-4583-4d0e-a677-b86334cef51f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '111' + - '89' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml index 8bb25d5bf491..056b1f5e1dce 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -22,13 +22,13 @@ interactions: don''t fail"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 61e3efac-bd24-47ef-b087-f207066cb2e6 + - 3c4f4173-6783-48e5-ab8e-7ea49f2d98d2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:24 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '96' + - '1136' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml index 5224397ffbe9..e7241ff6b9c4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,11 +28,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - ccd4949b-80d2-4da2-bbb8-45f4094a9a92 + - bcf32409-a02a-4189-97c7-24ceb264d98f content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:03:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml index 3ddadda7b372..d84bafc78d86 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - b47ac0be-db0b-41ca-b25e-7ba6fc597b73 + - 1e1fd659-1ace-4141-b4e0-dd432bcf8d0c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:20 GMT + - Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '74' + - '113' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml index 7820f372df26..6c49590de04b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,13 +28,13 @@ interactions: restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - febcd05f-1144-4ebd-992c-eba89abcea98 + - 0b5b7ce0-80c4-4928-ad36-acd63ff4be20 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '77' + - '284' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml index 29b0b56531ed..e88fffa08ab4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,13 +28,13 @@ interactions: restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - a10e6484-7dc3-4460-8b48-b9531ba79cfb + - 69bf9efa-98bf-42d6-ade4-fb8842adec71 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:25 GMT + - Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '109' + - '84' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml index 0a0f9aab4550..2e3ff26a9508 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0b6a61be-e9c6-4963-a4d6-85500f8a3ee7 + - 9bc0b24d-cf84-470f-a579-ae7ed2449075 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index b3f5af488f22..43d327ba809e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - f0f86ac1-cca9-4a5d-87c1-65669606ef33 + - 12cf6c18-8795-4c6a-8822-c5c1b11a2c2c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:22 GMT + - Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '178' + - '157' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml index 19552e2b9ae7..5ff3a264baf7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -37,13 +37,13 @@ interactions: warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: apim-request-id: - - 61571f8a-f3cc-4461-b640-f0f4bc472400 + - 12db3e8c-d4e0-4c27-a0fb-3a54a537e3f8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:03:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -51,7 +51,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '94' + - '82' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 40109702b37e..ca23ad5eb3ed 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -37,13 +37,13 @@ interactions: warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: apim-request-id: - - 81007e5e-6f52-4d47-9570-4d04b5b8c5ab + - ce54a6d5-936f-42b6-9885-1668e687dc27 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:21 GMT + - Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -51,7 +51,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '116' + - '113' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml index 6a60e26aa363..ae0064109df9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -25,14 +25,14 @@ interactions: restaurant had really good food."},{"sentiment":"positive","confidenceScores":{"positive":0.96,"neutral":0.03,"negative":0.01},"offset":37,"length":23,"text":"I recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 0caf6fb7-8247-4715-a6b7-599fb2166e61 + apim-request-id: d19ca7ca-0583-4f3f-9e81-93752e665458 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '83' + x-envoy-upstream-service-time: '85' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml index 45156976c4d9..01c2c8d70b9d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,14 +25,14 @@ interactions: restaurant had really good food."},{"sentiment":"positive","confidenceScores":{"positive":0.96,"neutral":0.03,"negative":0.01},"offset":37,"length":23,"text":"I recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: e9a472df-13f9-43a5-83cd-43fcaa272f3b + apim-request-id: 995814c2-d18c-4b0b-8650-9a21f4a321c7 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '80' + x-envoy-upstream-service-time: '87' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml index 89ec91d17d3d..40e8e68dd6b5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:36 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml index ae4b6ab2f5dd..4e745709db9b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-04-01"}}}' headers: - apim-request-id: 0c042c23-5000-4d60-b3f0-b9f9afd26465 + apim-request-id: fe01fbca-fa5d-493a-a458-ec8c62919dcc content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:21 GMT + date: Wed, 30 Sep 2020 16:03:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml index e3903979c35f..493776c75d60 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -762,13 +762,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 3347098d-e670-4571-8b13-cd0f026d3988 + apim-request-id: 68cc6a05-5d60-4d19-9f45-dcc26340aade content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '66' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml index cbaa6527c3a1..7b0400fdc50c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml @@ -719,7 +719,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -727,13 +727,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: aa6c6dd4-c86c-47a6-9bea-6d2918a359d9 + apim-request-id: 37bc384b-f522-468e-956a-855d559cca86 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '14' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml index ca4ad8af50be..94c80d4707da 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 8f20dc9f-4f08-4721-93e0-ea2ff6b09e35 + apim-request-id: 4b93005a-65d5-4a71-8120-696ae7f5d331 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '81' + x-envoy-upstream-service-time: '210' status: code: 200 message: OK @@ -47,7 +47,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -57,14 +57,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 9f8aec98-3401-4164-9646-95d998a98bc9 + apim-request-id: 986d345d-f5fe-4b39-9c7d-f3f94256eca1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '85' + x-envoy-upstream-service-time: '100' status: code: 200 message: OK @@ -82,7 +82,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -92,14 +92,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 11013c10-1253-4197-8a01-ce514591a71b + apim-request-id: da1dffd7-0d85-4ae2-b088-a26ab00bb656 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '91' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml index 29612d7e2173..6f0530b95fb9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a2be28a3-cd85-4205-a90d-d9dab28856cb + apim-request-id: 41f389f6-ce36-452b-9955-aa0070eb8720 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml index 0ba5f6673dbe..704c32ea6932 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 70992544-e71b-4904-b802-6207267e3e24 + apim-request-id: bc457aa4-f4aa-4a0c-a590-6aab2004111c content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml index 15aef9c1f7e7..e1c638e916cc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a7a2cdcc-177d-4e1a-8e39-6d9535a52537 + apim-request-id: eacad78c-fbc8-464e-89f2-217b599356a0 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:21 GMT + date: Wed, 30 Sep 2020 16:03:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml index 8317395c62ea..2f88d694ea55 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"id":"1","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":40,"text":"This won''t actually create a warning :''("}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 75d881de-3e41-41ab-8d72-0a7df40504f1 + apim-request-id: a0846331-ccdf-40cd-a6c9-439a02007bfa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '104' + x-envoy-upstream-service-time: '88' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml index afbe371e2bae..79e036a46641 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: fab773a4-8044-44d0-8404-565bfb91eb24 + apim-request-id: 19209575-12d9-4a77-b6fa-65ed76aac664 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml index 4c097e158c89..618c86a94200 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:26 GMT + date: Wed, 30 Sep 2020 16:03:10 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml index 34a3bf9e97b6..aca77ee400e4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 826508b9-9eed-4b49-a16f-77d48a8115b4 + apim-request-id: b1275141-862f-4a92-a2a0-2358cc342c74 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml index 6b6144db82af..6f0bbd456d0c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,10 +25,10 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 47271838-da2a-4e1c-b682-9df52adba3bf + apim-request-id: 041ace39-b512-4bb9-a51c-04b192b1023f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml index 9d388bf43ebc..7400aba4bb8c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,9 +19,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 5945b4bd-cf25-47b6-89f8-fc8707c03a94 + apim-request-id: 6a0b2161-f4d1-478e-b761-45aa56d25728 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:03:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml index 4a8ba4580abc..5531ab351ae2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,nl,no,pt-PT,tr,zh-Hans,zh-Hant"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 6adbf181-a83b-4e98-80de-850a95e19a0b + apim-request-id: 734c8381-2c23-4076-bb35-21b5c8bbf176 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1' + x-envoy-upstream-service-time: '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml index 3e9529d39dd6..855989af0356 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":35,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"offset":0,"length":35,"text":"Bill Gates is the CEO of Microsoft."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 97557ffc-19e5-4ea5-8979-149806352502 + apim-request-id: 536d9eac-595a-4ff3-a509-7460af6a84dc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '123' + x-envoy-upstream-service-time: '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_length_v3_sentence_sentiment.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml similarity index 87% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_length_v3_sentence_sentiment.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml index 457599aed791..08c2dd3388cf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_length_v3_sentence_sentiment.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -19,14 +19,14 @@ interactions: like nature."},{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.43,"negative":0.56},"offset":15,"length":26,"text":"I do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3bba3dc8-f155-4a69-bf7d-1872879340c1 + apim-request-id: b942d386-a5be-426d-93f7-d17e9e4c249e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '97' + x-envoy-upstream-service-time: '1169' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml similarity index 87% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml index e246ceb72ade..c1f7c10941ca 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,14 +19,14 @@ interactions: like nature."},{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.43,"negative":0.56},"offset":15,"length":26,"text":"I do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: e206ca24-f487-4cdf-aac6-3b4c743f0475 + apim-request-id: 280dd776-a605-4cff-b1e2-a400e132db48 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '82' + x-envoy-upstream-service-time: '81' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml index d1e492eee340..070c41fa9690 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","aspects":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"},{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/1"}]}],"opinions":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: e12c0cb7-1be0-402f-ad60-baa0a66a549f + apim-request-id: c01b6f65-8530-40ce-a378-ad92e5c8ade8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:26 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '102' + x-envoy-upstream-service-time: '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml index 46d25a8a0ce9..25d359dcd0c7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -33,14 +33,14 @@ interactions: rooms but bathrooms were old and the toilet was dirty when we arrived.","aspects":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/2"}]}],"opinions":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","aspects":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"opinion","ref":"#/documents/1/sentences/0/opinions/0"}]}],"opinions":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b19f292b-d4b6-40ff-87c9-559a4d47d820 + apim-request-id: f8a3477c-2f60-4e4f-90a0-c12926e1353f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=7 - date: Wed, 16 Sep 2020 19:41:48 GMT + date: Wed, 30 Sep 2020 16:02:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '113' + x-envoy-upstream-service-time: '97' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml index deaf23a4850b..ff188328aeae 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -17,14 +17,14 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"offset":0,"length":18,"text":"today is a hot day","aspects":[],"opinions":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a72f1c0d-1814-4ed5-bea6-d73d64ad00d8 + apim-request-id: b0b84248-9a34-4b01-bd73-7929ebb02566 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '77' + x-envoy-upstream-service-time: '87' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml index c28b2ac0a326..6f58237aca92 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":32,"text":"The food and service is not good","aspects":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"opinion","ref":"#/documents/0/sentences/0/opinions/0"}]}],"opinions":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3bc4d2a6-173f-4c6c-a38c-114670d9799a + apim-request-id: 95466465-9744-4b2c-94df-caf8ae7308bf content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '96' + x-envoy-upstream-service-time: '295' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml index f013f94071b1..7b7c34df56ff 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 14c20540-87cf-472c-95e9-7279b10d17f0 + apim-request-id: 38352c14-9631-49e7-b604-2467e3078ad8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '91' + x-envoy-upstream-service-time: '82' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml index 128cea38f590..f78bb2508e8b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"one"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"two"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"three"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"four"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"five"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: cd710734-ac57-4cfb-8318-dca9116beee1 + apim-request-id: cc354aaf-ab8b-43d0-90e7-7225951d3dcf content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '83' + x-envoy-upstream-service-time: '114' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml index 51d5da12a599..a99d36c8bc22 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"offset":0,"length":28,"text":"Test passing cls to endpoint"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c9eda74f-6ee4-4fee-8fe6-81b869de7098 + apim-request-id: 5bea01ea-1b1e-4b91-b634-90ec55bc3d71 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '76' + x-envoy-upstream-service-time: '106' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml index f75eb0750c56..e82d80b149c1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,14 +27,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 306d71dc-ddac-41ad-a28e-b53459ec18e8 + apim-request-id: 92c8efbd-bfdd-42e8-8ee7-0d00510f2daa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:03:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '116' + x-envoy-upstream-service-time: '90' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml index 129cde9380d5..2fabfe2aff9a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 68ea0880-a02d-476a-92e3-a014b7e47103 + apim-request-id: 55a89036-e963-488a-9798-44017663f6df content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:22 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '78' + x-envoy-upstream-service-time: '186' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml index 9ab70c69d256..39d83b417775 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: aaa1e9c2-f7ae-4e30-bab0-cf9bc566757b + apim-request-id: dc01dbd3-cf78-4d0e-afab-29585d39dc8a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '77' + x-envoy-upstream-service-time: '79' status: code: 200 message: OK @@ -47,7 +47,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -57,7 +57,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT status: code: 401 message: PermissionDenied @@ -75,7 +75,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -85,14 +85,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: df40711c-d5df-4e2b-9188-3acc453aacc8 + apim-request-id: d60c1793-d472-4fff-9781-d114a4afe46b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '79' + x-envoy-upstream-service-time: '233' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml index b0338a8c64bc..c540e19dad3f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a281e5ad-eef2-468e-aeb4-59e515700267 + apim-request-id: 644d8020-e567-4fe3-bc71-5eeb5e834cee content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:11 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '83' + x-envoy-upstream-service-time: '87' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml index 1f87c95f1a7c..68bd3360b0dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -17,14 +17,14 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.0,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.0,"negative":0.01},"offset":0,"length":17,"text":"please don''t fail"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 9bc9900c-052a-4a13-bb41-bfd21c367df9 + apim-request-id: fa76c52d-81ae-42e9-a5fc-d09033ff3a0f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '886' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml index c8cf425a56eb..864e1412dec1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: e2d8c377-2083-40e5-a8a5-904a2542428a + apim-request-id: 9f113f56-941a-472e-b412-3d1bf6264f2d content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml index 0cec78f38f11..ab1160c2b832 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 73e3a90f-b310-4330-9990-b1b98d4105a8 + apim-request-id: f207fda9-a3d6-4de7-b62c-82ea296f5200 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:03:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '95' + x-envoy-upstream-service-time: '89' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml index c68f431ca0c9..90f42a7cadb4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,14 +23,14 @@ interactions: was too expensive."}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.0,"negative":0.99},"offset":0,"length":42,"text":"The restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: e3699af2-469f-4c88-9bb2-c2ea39bbe646 + apim-request-id: e788dfe2-0f5d-40ad-8cfd-0a233d6a4519 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:23 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '74' + x-envoy-upstream-service-time: '81' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml index 7e173f3ce575..c550385c45ad 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,14 +23,14 @@ interactions: was too expensive."}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.32,"negative":0.67},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.32,"negative":0.67},"offset":0,"length":42,"text":"The restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b68c7806-6387-4265-82df-3b4bcb36697e + apim-request-id: 8fe6878b-d92a-48c1-b7d8-b7c35487dac5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '80' + x-envoy-upstream-service-time: '120' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml index 6830b04a84c0..ad41c6f04bae 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 02b7fdc9-7c0b-4118-af22-172cd273df17 + apim-request-id: 15640c04-32b6-4e9f-ae04-986c5e6d03f8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:11 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '79' + x-envoy-upstream-service-time: '224' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 11f3ffd03b9c..8f2a23a15578 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,14 +22,14 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 2f7b47ce-ed2e-491c-b448-1dcee266d83b + apim-request-id: 9a22647b-d6c6-481d-81bc-eb334f88ce5a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '85' + x-envoy-upstream-service-time: '99' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml index 3a0d4dd26847..38a3f3d59440 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,14 +32,14 @@ interactions: :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: - apim-request-id: 8fc4ad88-d52a-4eee-8a06-de3235568d35 + apim-request-id: aa4f0143-ea60-4ed9-8f2f-746f970d460e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:24 GMT + date: Wed, 30 Sep 2020 16:02:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '126' + x-envoy-upstream-service-time: '141' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index a1c58fcaed12..02ae4bb58d61 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,14 +32,14 @@ interactions: :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: - apim-request-id: 83359bb1-ed4e-4d66-8700-a01b1042189d + apim-request-id: 67199cdb-4c5c-4ba1-85f2-d7b3fa986647 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:03:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '277' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth.test_active_directory_auth.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth.test_active_directory_auth.yaml new file mode 100644 index 000000000000..1e9e08e70703 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth.test_active_directory_auth.yaml @@ -0,0 +1,142 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '1651' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Sep 2020 16:02:26 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Aho_hyD0hhRJkp4ItEw6HGo; expires=Fri, 30-Oct-2020 16:02:27 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZIT6-LaceE1XpMTEp_JFs2_FoMdExU9doawu6bPhz1By2_LwHbFISGKIybA2Naxg3Ic4jTnh8S0L9HzVB2t1iQKMb86fg4DHpfb0ffxdNPbvuyimTIKVh_VAkc_V0favqsvHprFz-kgBXKc1YerGcgWysiHsmYHIu_---hv2VnA1MgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11086.7 - SCUS ProdSlices + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAB2UyzwtQEKR7-rWbgdcBZIT6-LaceE1XpMTEp_JFs2_FoMdExU9doawu6bPhz1By2_LwHbFISGKIybA2Naxg3Ic4jTnh8S0L9HzVB2t1iQKMb86fg4DHpfb0ffxdNPbvuyimTIKVh_VAkc_V0favqsvHprFz-kgBXKc1YerGcgWysiHsmYHIu_---hv2VnA1MgAA; + fpc=Aho_hyD0hhRJkp4ItEw6HGo; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + access-control-allow-methods: + - GET, OPTIONS + access-control-allow-origin: + - '*' + cache-control: + - max-age=86400, private + content-length: + - '945' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Sep 2020 16:02:27 GMT + p3p: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + set-cookie: + - fpc=Aho_hyD0hhRJkp4ItEw6HGo; expires=Fri, 30-Oct-2020 16:02:27 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=prod; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ests-server: + - 2.1.11063.14 - EST ProdSlices + status: + code: 200 + message: OK +- request: + body: '{"documents": [{"id": "1", "text": "I should take my cat to the veterinarian.", + "countryHint": "US"}, {"id": "2", "text": "Este es un document escrito en Espa\u00f1ol.", + "countryHint": "US"}, {"id": "3", "text": "\u732b\u306f\u5e78\u305b", "countryHint": + "US"}, {"id": "4", "text": "Fahrt nach Stuttgart und dann zum Hotel zu Fu.", + "countryHint": "US"}]}' + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '354' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://python-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.2/languages?showStats=false + response: + body: + string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + headers: + apim-request-id: + - 69b6b97f-73e8-442e-8f8e-420e15b98227 + content-type: + - application/json; charset=utf-8 + csp-billing-usage: + - CognitiveServices.TextAnalytics.BatchScoring=4 + date: + - Wed, 30 Sep 2020 16:02:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '24' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth_async.test_active_directory_auth.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth_async.test_active_directory_auth.yaml new file mode 100644 index 000000000000..638355892f3d --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_auth_async.test_active_directory_auth.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: '{"documents": [{"id": "1", "text": "I should take my cat to the veterinarian.", + "countryHint": "US"}, {"id": "2", "text": "Este es un document escrito en Espa\u00f1ol.", + "countryHint": "US"}, {"id": "3", "text": "\u732b\u306f\u5e78\u305b", "countryHint": + "US"}, {"id": "4", "text": "Fahrt nach Stuttgart und dann zum Hotel zu Fu.", + "countryHint": "US"}]}' + headers: + Accept: + - application/json, text/json + Content-Length: + - '354' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + method: POST + uri: https://python-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.2/languages?showStats=false + response: + body: + string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + headers: + apim-request-id: cc5b9d4f-f9cb-48ba-adbd-feef0eccce02 + content-type: application/json; charset=utf-8 + csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 + date: Wed, 30 Sep 2020 16:03:47 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://python-textanalytics.cognitiveservices.azure.com//text/analytics/v3.1-preview.2/languages?showStats=false +version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml index 84c93ab89755..efb1d61737b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=true response: @@ -25,13 +25,13 @@ interactions: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":41,"transactionsCount":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"statistics":{"charactersCount":39,"transactionsCount":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"statistics":{"charactersCount":4,"transactionsCount":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"statistics":{"charactersCount":46,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - aa9579be-5ea8-4954-91d7-fbf638e55c6e + - ae4746ff-c137-4f39-8468-d447702b7f86 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:03:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml index e563209b08de..544a072ffa5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -25,13 +25,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 5a7d5168-d150-4ea0-8400-ff6a937839b3 + - f1e0631e-38a1-4ff8-9d1a-1b31bb07bd58 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml index 4092d0fed993..7ba060552acf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:02:29 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml index 045ca0ce0bf2..f664f78b9142 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-07-01"}}}' + model version. Possible values are: latest,2019-10-01,2020-07-01,2020-09-01"}}}' headers: apim-request-id: - - fd5d32f1-a8a8-429b-a935-420cf6851a2d + - daada024-5378-4d33-bc00-3aa915e9d893 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:02:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '1084' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml index dbb7bf686d79..87c10e59a1e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml @@ -763,7 +763,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -772,11 +772,11 @@ interactions: request contains too many records. Max 1000 records are permitted."}}}' headers: apim-request-id: - - c6f77484-b4c9-4e43-84f4-4e50e3bf955f + - 3a5eabcc-0e43-4f61-9e14-0d63e29e34f6 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:25 GMT + - Wed, 30 Sep 2020 16:02:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -784,7 +784,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '1031' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml index be5938f5d897..bb5a60de2189 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml @@ -728,7 +728,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -737,11 +737,11 @@ interactions: request contains too many records. Max 1000 records are permitted."}}}' headers: apim-request-id: - - 2a37c1ca-3746-4a8a-9a40-42615f323216 + - 563b5d62-48d8-47d8-a418-58c37a865304 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -749,7 +749,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '13' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml index cdd4f6196d10..457890ac8b8f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - db2b80e1-b1cc-44f4-ac7d-2716d2b60ae9 + - 7e7c02e0-bb13-4709-a9c0-f77c9eed4b04 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK @@ -59,7 +59,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -67,13 +67,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - d40754f7-a643-4bbd-8d31-c99a990a7cbc + - b1170d4a-6624-4436-a051-7c57bd60c95a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -81,7 +81,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '8' status: code: 200 message: OK @@ -102,7 +102,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -110,13 +110,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - e790726d-eec8-4e72-bb8e-8ffd38f0774c + - 89a40f5c-6b39-4eea-8a7c-30e235fb94d4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml index 2f5b66a21b46..2e1138cc7cd6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=latest&showStats=true response: @@ -22,13 +22,13 @@ interactions: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":26,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 0cf3faa5-2ffd-47ea-a6e6-bef08aa4b8e3 + - f2525988-2978-4329-87c7-379956ff3734 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:02:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '254' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml index 98bed14b39a3..3f731fd369e8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 826d1793-9659-4eef-82b0-3bb875757ee2 + - e2d5f040-99cc-4f11-a7b1-b7221c548d20 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '7' status: code: 200 message: OK @@ -55,7 +55,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -63,13 +63,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 398bb37b-416a-438f-949e-858f0ca5872a + - 672343a6-88c1-4a2d-bcc9-e725f104052b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -77,7 +77,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '6' status: code: 200 message: OK @@ -96,7 +96,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -104,13 +104,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 9e7ddd6b-45c8-4b3f-a8e6-c41b7217bf8b + - 12684f68-2029-4188-ba9d-66e943c7e3cd content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -118,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '7' status: code: 200 message: OK @@ -137,7 +137,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -145,13 +145,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 460eb2fa-86e1-4e0c-87cb-f19e30cd9c4b + - 34acd295-29de-47bc-8213-4141089bc7e1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -159,7 +159,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '5' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml index 91c753a8abe7..271c2cba5f64 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - a5c0f031-7d27-4ca0-8021-f8ac7b24e209 + - 0f323bb8-b404-4d04-89d5-35b8f9564a2c content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:24 GMT + - Wed, 30 Sep 2020 16:02:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml index 64097c0f956c..d114f326a75e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - ac67c2e0-71f4-47d7-8f0a-f9f31a5d29e8 + - 4680bc42-716b-4e81-9c70-19be3c0e5a2a content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:25 GMT + - Wed, 30 Sep 2020 16:02:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml index e2c52885d0af..6c6eeca630ac 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -29,11 +29,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - bbd9f1c8-274e-4b67-8462-15204e930abb + - 972ff06e-5852-412a-932a-8a55cd35b7e8 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml index 54798ac6d52e..dd570977cd4a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 56cb0a56-b214-4579-a70c-236bec0943ad + - 70c93132-4acc-472f-a0fc-6d365f24c422 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml index 4f9f63a3fdae..d4d21908e4d2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,11 +24,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - c700efc4-ac0e-4cda-bdcf-891ed714f69d + - 2f67cf81-30a2-4e0b-9715-9f6cfa260310 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '7' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml index 6da4b96a090d..d7d58eea69f3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:48 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml index 954aa7d260cc..19a272e797aa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -34,11 +34,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 9e2b2b62-945a-4055-aefd-43b60bb9100b + - 38d1c675-2c5c-43bf-a637-257b322f9084 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:25 GMT + - Wed, 30 Sep 2020 16:02:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -46,7 +46,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml index c718028df621..72ef8589ba34 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -30,13 +30,13 @@ interactions: is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 2a23ccad-d5fc-4058-9acb-a5ea18a19374 + - 7b74b067-d4c1-47ba-b5a2-87a2af2a273e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '170' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml index 459d00ff74e6..1044471bca9d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -25,11 +25,11 @@ interactions: code."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - f98d6afd-241d-4cca-8fa1-468eca59dd6f + - 6fc4f854-a0e4-4b2f-8536-8a4a6d6dbf20 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:03:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml index e4a53535e4ba..e303d0dba605 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -25,11 +25,11 @@ interactions: code."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - f0f96696-bb57-4759-9c8c-aba42930e198 + - 86b5d709-52a2-486d-a941-ae74032d8f57 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml index 83361ad64345..631637f56558 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 8767ae7c-c858-4b82-9912-934c04956760 + - 23ec509b-c7fc-4d06-a9f0-574ae4607a5f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '350' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml index f03b482883bc..b45a0973489f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - e77b4a4e-2677-46fc-846a-b1188781237a + - b698f59f-faec-4e1b-994e-3c221505e1f7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '74' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml index 63ec3c76afc1..41554358cbda 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - fab2b9a0-f9af-4bfc-a602-c042c8863dcf + - e37ede64-dba5-459a-aa63-896449ee3e38 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml index 34dedb67d730..a4a834bb25ea 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -27,13 +27,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 7542754a-8530-4a04-94dd-3b49e5996443 + - cda8a4bf-17e3-41e9-8412-0ef54819f285 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml index 397ebe1d5bdb..9b736b77e134 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 9a320883-f927-4e3c-84e0-c4b0576916b4 + - 4a21aedb-3daa-4bf5-824a-8b39152e44ed content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '6' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml index 624ae099ebc0..cc40f64928f5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - eb806ea5-f466-46cb-947d-b3e412da3b45 + - d7ae8ffa-cb4c-405b-8b09-70916fcbe9d1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '14' status: code: 200 message: OK @@ -59,7 +59,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -71,7 +71,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:32 GMT status: code: 401 message: PermissionDenied @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -100,13 +100,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 7b96b6d8-0c91-495f-9ddf-d44a43afc3db + - a3e59c2d-03d3-42af-b0de-fdda70529992 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -114,7 +114,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '13' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml index 1521ef1e8ae5..4e61193c38b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=latest&showStats=true response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 72b43eae-7707-4bf9-8f3c-5770b18b82a2 + - 2bf03934-0f60-4486-b539-2498543eab66 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml index 5a9e05d7e4ac..f2ec1b721c2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/languages?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 25f11865-e0a3-4574-bd56-864810425019 + - 746cda41-2ccd-42be-bc4d-bdb61696d0f7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:26 GMT + - Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml index dcd6f6c57d94..775dafb496b7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - c99514b4-8a2e-4765-8922-d738f421dd4e + - 63dcd96c-4e86-4a7c-861b-529c43e10d17 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml index 2b296614bed6..58eac2be5e2b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - f90b2193-47af-4afc-8ab6-4e3819b60964 + - cbe5c7c5-5d8c-4adc-9900-d1245a17154e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml index 6db5f473d5ac..e88aa32938ff 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - a96d2f5c-1bff-4657-b82a-67588618b9d5 + - a3b4cbb5-f845-4078-a6a5-569e54bde2ff content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:27 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml index aef611164ca8..b7605dc437e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - bf37dba9-6dc6-4be5-bc4a-f7efd2a9e400 + - ac505f16-1275-48e4-9ac8-f300e047a25f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml index c33f2308a700..b1f3470cc2f8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 6dcd6fd6-1133-4cd5-b21e-0bacd0999e07 + - 076f9846-65ee-444f-9c6b-c76bc337921c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml index f2fe61d29ae5..cacd21938e53 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 9662440a-543c-4d75-9e64-940e26f38ae5 + - 140e5f2f-bc71-4bfe-809d-be8ca8d5528e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml index 5898e2b54a0f..2b1bef1057ad 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 0d71640a-279a-4e80-8b11-579640bb0135 + - d3b58362-c4b7-477c-aba4-996d6248239f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml index c333c137b58c..0b65feedadad 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=true response: body: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":41,"transactionsCount":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"statistics":{"charactersCount":39,"transactionsCount":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"statistics":{"charactersCount":4,"transactionsCount":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"statistics":{"charactersCount":46,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ef319483-5d4c-4a2f-8366-767f65ea81da + apim-request-id: 4b4811f8-c212-40b1-b795-b5e3e17ccc80 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml index 1379be20ced1..cc570448fc9f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 738aded1-d271-40ab-9828-65a4cb271172 + apim-request-id: 110a15a2-c032-4082-b752-8fef8ae663ad content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:30 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml index 5b31dac01311..f3637f0ea221 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:30 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml index b918a8a473e7..00b6737065b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-07-01"}}}' + model version. Possible values are: latest,2019-10-01,2020-07-01,2020-09-01"}}}' headers: - apim-request-id: 6395721a-32e4-4e90-b79c-9bf8277137e8 + apim-request-id: 102fb780-2b93-4ffe-8223-b0729ad73742 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:30 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml index a9d3be218ba4..87eba61cb400 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml @@ -759,7 +759,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -767,13 +767,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: - apim-request-id: d9b344ea-de2f-4baf-a2e2-f8690b770f06 + apim-request-id: 3fafa2ea-2234-4829-991c-199c15216871 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '13' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml index df55a4772c53..3f4384b6038d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml @@ -724,7 +724,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -732,13 +732,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: - apim-request-id: 17d8969f-7ec4-44b7-8280-25886b8624e7 + apim-request-id: 61b05ed2-76a6-40e7-8d4c-9d56656ae9ec content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml index f3b111cbf9ec..a33a975a9ceb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 87cdb96d-48c0-4653-8f72-91f3a4cb88ed + apim-request-id: ea49f4bf-4852-4e7f-b38d-c27efb0111d8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK @@ -44,21 +44,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 8a282c99-4736-4ad2-b5b6-0c97992767f0 + apim-request-id: 16e6d7fc-72bc-4d7e-8ee8-8530bed80af3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK @@ -76,21 +76,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 95155540-6e59-45a6-9b5a-3f3a416d95dd + apim-request-id: d987ff84-52fb-4656-a185-a78b5f39c947 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml index 053ec0f03f4d..05d637652218 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":26,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 25fc2404-e6d9-4d3f-9fa5-6b312392dc62 + apim-request-id: a242c654-5728-46fc-83c7-0c45a68781b2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '71' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml index 2abedbba317f..97cfada0f688 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 3e95712c-1c59-4bae-872b-44ae4b1e62b8 + apim-request-id: 3fa18e27-e9b2-471c-98ce-62f4bbf5c289 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK @@ -40,21 +40,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: b044f88e-5054-4c02-8a6e-f4c9e6fb5191 + apim-request-id: d9ee6ca4-659d-413f-969e-496ac8ef4055 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK @@ -70,21 +70,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 8eaa4114-b925-462d-b2f6-0335226ef035 + apim-request-id: 79438eee-0773-43f6-9d36-5773811cbdbf content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK @@ -100,21 +100,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 571efada-6dcd-4816-a3a4-908bdc8f7ee0 + apim-request-id: 9e927b9e-f8cf-401f-aedd-318d30548128 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml index 4adadae8d5b0..e2b84d5bfdbc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 1e747413-baab-4dd1-8e54-291e7cadb514 + apim-request-id: ede95125-62bf-4cec-9320-c998fbeb2a68 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml index f4483ab53f4d..dd488ca33884 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 39ceca72-646e-4065-b16c-040c563fd2bb + apim-request-id: 09999240-8199-4209-bb11-26bdcbb1862c content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml index 684ed75fd83c..565032c7cf64 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -24,9 +24,9 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: e693a54d-88c5-4d3b-9d6b-1de24c56ce0f + apim-request-id: 82ac0360-cea6-4679-90f0-dc0a0813d1f2 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml index 5341bd6dfda9..92145b724889 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: d2a5e9fa-17e5-4f9a-9dc8-d8c24d6fd2be + apim-request-id: b4dab49c-90f0-4cf2-be55-20d0ce309436 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml index f0a82188a8bb..adb6dcc2ef50 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -19,13 +19,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: c3709ad8-468c-4310-8d5f-a2fc33f72485 + apim-request-id: af8cef73-0647-41b9-8184-e0383ff6e43d content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml index c22c1fd21a75..873be26e5a94 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml index 09f7c0116eec..12ff7ed238c8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -29,9 +29,9 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 8f499d8c-1d7b-468c-8a2a-5be0e952a959 + apim-request-id: 06d2a22a-79e3-485d-b2ea-82900f8c7d5c content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml index 4cf61cae3081..e92b97b5d513 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -25,14 +25,14 @@ interactions: in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: b4bf98ab-b840-4d38-91f0-7a56c328ab1a + apim-request-id: 47c6f251-0081-4057-8256-4e059a98f2c4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml index 28b5f7285094..3d27f253777b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -20,9 +20,9 @@ interactions: hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 3f90557c-a16b-4263-ad20-6ac92b817804 + apim-request-id: 3ab80d1f-37fc-4758-9371-f2f7aaecb66f content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml index 7469f636fa37..6edbf3e5744e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -20,13 +20,13 @@ interactions: hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 0847c5d7-5534-4998-802f-03e9cf303939 + apim-request-id: bc20265e-6611-46ea-b03f-8bf894a4e7df content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:29 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml index bd00b8faf4a4..6b32feffd2e7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 0eea6e05-6c5c-4db2-87c9-1c2a413993bb + apim-request-id: c2fb7637-e5b9-42ba-8f5a-6ebcc3a1d6c2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:30 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml index 2cc9e0cf91a1..dfff7c4e54a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 5b15c634-f906-4d22-88d9-8393e59e170a + apim-request-id: 48bc42e0-0745-4528-80af-df685fe20211 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:31 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '1177' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml index d24d2227d868..d81320a54a40 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f40eb9ff-e416-4d8e-a435-f3fa550f3f31 + apim-request-id: b0eb5c7c-116a-40ed-925c-9007e804df3c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:29 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '93' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml index dd1131016c28..b668810496ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -22,14 +22,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 84356b28-f27b-4a85-b5eb-d40d000d45d9 + apim-request-id: deb0a5b4-29e9-4b47-abf6-6dc47ff630de content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '80' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml index 320499e7fac2..59093a10bca0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 091fe5c9-8a4d-4ab1-a4e2-996cc8c681b6 + apim-request-id: a7ca75df-e7b3-4163-9cf2-cd8984caa1f6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '83' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml index 2d576a96ff5d..4faef2956a19 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 32bf7299-b844-4860-9859-b7964cf91253 + apim-request-id: 0f4a3f80-f2f9-441a-9476-07623c75f40e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK @@ -44,7 +44,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: @@ -54,7 +54,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT status: code: 401 message: PermissionDenied @@ -72,21 +72,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ea10698c-4f5f-46e4-be68-c56599b85e9d + apim-request-id: a29da9b8-3fc1-46ce-aa20-1f68efa4aa7b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:30 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml index 6327ffcc479e..be67ed26c71d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?model-version=latest&showStats=true response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 68f7bda3-4699-45ff-90a8-e3e60d565a91 + apim-request-id: 26db4eed-cdd3-4a89-a93d-32ef56cd0ac6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml index a9b9a12e2489..16c070a9a7a1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 1d6297ae-aa01-4be2-b14e-ee98b2bb8d18 + apim-request-id: 6dfee82b-39c5-42a1-8013-52625ce987e1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:26 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml index bb9defbcd8e3..a86107acc912 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 96c08c71-cadf-4163-956b-7593455ad31d + apim-request-id: 9281058c-3163-447e-b821-0adc091c797d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml index 6b165df22154..677572ac334a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f13a8aef-0260-43f7-a356-b1da4e79c8b1 + apim-request-id: 32bd2637-d0e3-4f0c-b49b-a1baea0432ca content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml index 2d712904744b..e2a448b4b3fb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 27ea7dad-8279-4324-b951-cec49b5b9e6c + apim-request-id: db7111d4-bb55-4516-a401-796d948b6b33 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml index 110b7e7ae924..964f06606b17 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 38455895-8147-4579-b0ab-b55a971258a6 + apim-request-id: 7730aa84-c6ee-44ac-b6bf-b411eb80f3b2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml index dd7a9da3ccef..c2f05201740e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: bbc24138-9b5a-4ec7-9e9b-a4545fdfd968 + apim-request-id: 23f20388-4f1f-417f-890c-5443a81b706f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml index 5ba77c768126..f2df6a0f2810 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 59502af6-a114-41b2-b011-df638decc926 + apim-request-id: 9ac325f6-c840-4499-85f4-f3617f2032ef content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml index 56fe2f102e47..a4a65693030b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 937ab111-f68b-4291-a9ad-b9b8fce67a9f + apim-request-id: 14e45d2f-fb74-4ae2-94e0-9e4be38d22ff content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml index c88772d7b7a4..bb238514d4c6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 8b866435-695d-4590-897c-c0b4e3f0fdf5 + - 2ca9ee4c-6749-4dda-856c-6554ff189171 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '58' + - '2027' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml index cdd61cec1258..2d44c6227e87 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 9e54ffab-c069-4af3-bd4a-22a6d3eb99de + - 4fccb880-f99c-4fc8-8252-5dc400c43c2a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '64' + - '2114' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml index 1ec764e3f676..7511350b604e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 02984525-d79c-4958-8c90-a614561c3e47 + - 80f64b69-8aa8-4fbf-8b97-d77c7ff5de52 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '54' + - '2080' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml index e1e7a8eeb394..1d5147e3f053 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - c1daa593-2253-4e86-a84b-c4e5b8e09ea0 + - 328f9c5b-ec26-46b6-9ce1-d84f76bd9016 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '65' + - '72' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml index 02ac786cddcd..e33a76076442 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 926ce2f7-c14f-4c56-a5c6-ddf783b758bb + - 5a0bfa0e-115a-4ba4-b7d4-b60ac407433b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '64' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml index b6ef0451fa4f..4cb73ff80445 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 0769c2d7-6776-488d-b262-1bab7e59f383 + - 7f5cd84c-3666-469e-8343-8c22f33571a4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '58' + - '60' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml index 1e2914fa00ce..e76d3cd67296 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - beeba1bc-726d-46f9-ba45-e08e4d104f7b + - b69d7f7d-e703-45d9-887c-c3a96183d721 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '55' + - '63' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml index 0d9f5b0a0145..4d9b0b70d0fe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - f2068294-7da4-4aa4-9033-b7e191db411b + - be69d7bf-3690-4b43-93b3-a6d6b73ce4f2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '58' + - '76' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml index 1030ebafe28b..fab612e7827b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -34,13 +34,13 @@ interactions: :[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 37c3582e-2ca0-4718-9737-790e0a54bfd9 + - e827a14b-5a4a-4897-83e4-72738b75aad2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '87' + - '81' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml index 92978a8bb8d3..6a3a72f8f0f3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Security Number (SSN)\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"\ warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 2dc194f4-1d23-4cf1-8c43-b74ef2354757 + apim-request-id: a4d59616-8dda-4bd1-8660-a01fcfc6b58e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '859' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml index 4ee64c114162..cd62f4d828de 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Security Number (SSN)\",\"offset\":10,\"length\":11,\"confidenceScore\"\ :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: f7400f90-ba18-4616-a467-1ab97ff60bd7 + apim-request-id: 80cce96e-b5d0-4677-8896-f68048c42595 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '55' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml index d0ff47c0cb57..3276b9392f71 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Security Number (SSN)\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"\ warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 5bb49dc5-252e-417f-bccd-0469c4f8a5f8 + apim-request-id: 46f59f5a-6444-4ede-8d32-cd7872f74faa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:25 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '72' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml index f57d9ed7d63c..4c3f652121cd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: ,\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 0a804c29-a982-4dfa-8a30-940f2be02be8 + apim-request-id: 02799146-a013-48d7-b6b0-37b90eb68a49 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '54' + x-envoy-upstream-service-time: '67' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml index e2f152af2f0b..c677772040aa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: \ Social Security Number (SSN)\",\"offset\":17,\"length\":11,\"confidenceScore\"\ :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 7a0681e8-d169-4e25-a1c7-2a2a251bcd10 + apim-request-id: 84891b0d-6bcc-4d25-ad89-2d462691fc8e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:26 GMT + date: Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' + x-envoy-upstream-service-time: '76' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml index b04c3e168c7c..53d07fd37bc6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Social Security Number (SSN)\",\"offset\":8,\"length\":11,\"confidenceScore\"\ :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: dafad298-b079-4b84-8ea8-89102fc4ca83 + apim-request-id: c80a6b8c-8d9d-4b37-8306-80071c258e9d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:27 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' + x-envoy-upstream-service-time: '75' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml index e4f495e8b950..44973e6306dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Social Security Number (SSN)\",\"offset\":8,\"length\":11,\"confidenceScore\"\ :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 3798780c-a9aa-4f5b-979b-32e7345fa8aa + apim-request-id: 8a27cf79-a8ff-4fda-819d-eb625c7c99bb content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '84' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml index 68db81d072bf..c003d2528921 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,14 +20,14 @@ interactions: \ Social Security Number (SSN)\",\"offset\":8,\"length\":11,\"confidenceScore\"\ :0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: 92cbde59-524d-4d0f-94b9-1988781dbd7e + apim-request-id: b73c16ae-74be-41b6-ab47-ee778da3ec33 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '55' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml index 3f7c822ca9fc..2688ee1466ea 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: :121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\"\ :[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: f8633202-3932-419a-a72b-0c9723f172ce + apim-request-id: d97610e5-37d0-419a-9194-77b7b0be27aa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:28 GMT + date: Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '89' + x-envoy-upstream-service-time: '91' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml index a80cbcdb20b1..6f60ab9ee6a4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=true response: @@ -25,13 +25,13 @@ interactions: Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - e1946ea9-2123-4c59-96d6-2c4366e7bbb2 + - 80469fe6-6451-4d21-82c2-5fb2d9f0c278 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '287' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml index 2d922fa9ff30..2c5e0f452501 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,13 +24,13 @@ interactions: Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 3ed8622b-ff72-4e3a-bd7e-2277e0a6fe57 + - 2f61e1f1-55ec-4869-bae5-6f4cff1d2bb8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml index a1067e9cbdce..6560fe2175ca 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:46 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml index ca1b58908e39..539cd6617c24 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=bad&showStats=false response: @@ -23,11 +23,11 @@ interactions: model version. Possible values are: latest,2019-10-01,2020-07-01"}}}' headers: apim-request-id: - - 87d4f9a3-9c11-4297-a3c5-f92270325242 + - 5d136ab8-d25a-46e6-9bbc-9f5af919ce3a content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml index 9dda843d4f9b..712a2764be8b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml @@ -758,7 +758,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -767,11 +767,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 22bd7ede-6e32-4045-8042-fe585cabdfd4 + - b355d124-102b-43a2-bee3-0baf54953130 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '12' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml index becea7eee7c4..959a4ab7bb27 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml @@ -723,7 +723,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -732,11 +732,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 8464d417-c7e5-4207-8dc3-61872d6676d4 + - f541bb4d-dbdf-4941-8458-edc8560f84e2 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '15' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml index 57129811db29..71a971190c2f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,13 +26,13 @@ interactions: restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - c4b3d563-5d4b-4b6c-82b0-9dd7674b0703 + - d6f3ab5f-2310-40b4-8770-d5c391ac5719 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '10' status: code: 200 message: OK @@ -61,7 +61,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -70,13 +70,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - d0950eb8-041e-4906-877c-fe4db4914c49 + - 5af41226-b556-49d1-9b27-1f051be9a01a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -84,7 +84,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '11' status: code: 200 message: OK @@ -105,7 +105,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -115,13 +115,13 @@ interactions: restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 6db4b43e-c1a2-4e6d-ad7f-8b28c33037e4 + - 579d8da7-f850-4425-9ef3-7dcad4776e6c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -129,7 +129,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml index 89c766e52363..83dfdb51e197 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 88bc783a-2e40-4449-bd38-dde2b154e3c9 + - cec91b5d-ed3d-4c56-a4e5-53fd18d13339 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '5' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml index 878f483aad47..119b52be45e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - ed09bc77-cc79-41da-a6b3-259811301e57 + - 67dcc6d1-cfcf-43e7-a59c-6d9690c40a47 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '1539' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml index e544f13ca93a..a4855216d104 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -32,11 +32,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 7b687a70-5306-41f4-90aa-9a63d7b20b59 + - c085ae3e-1903-4029-a708-886ba41fb13a content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_warnings.yaml index 1acbca22da65..7d0646dce2be 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_warnings.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,13 +24,13 @@ interactions: will be truncated and may result in unreliable model predictions."}]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 31d92c05-4edc-489e-9660-3a07400c21e5 + - c326c776-1253-40e8-9de7-be4ff959c516 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:28 GMT + - Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '445' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml index 5bfdbff85205..48d17b425db2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,11 +23,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 2bd53b92-4e6a-4ec2-863d-b5cc8175942c + - cd17081d-b4ad-4c6f-8777-998840a16f7d content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml index a1067e9cbdce..ebfb525e25d1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:43 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml index a6fbdafb41cf..5950b40f22a5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -27,11 +27,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - bcb196c3-2e50-4dfb-ab0f-636b4124e090 + - 0b0d82bc-45ce-447b-b302-de7e3a8dc678 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml index 3379478247c4..d18a8c55d2f8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -25,13 +25,13 @@ interactions: language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 98503875-d765-4b57-b41c-d37b2657966f + - 0177b3b7-90d4-40b9-94d9-86def149ad9e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:29 GMT + - Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '13' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml index a08bec562eb1..d34b7fdacb51 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 73439835-a85f-47f4-9dad-f3228d187b19 + - 3417ac50-1e22-4d4e-9fc1-16442aa8ced0 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml index e2c52d77392b..fcca3de33243 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - d6f5c34c-101d-4230-a7be-6eaa8a10ce1b + - a9edc07c-165d-49cc-a5e5-f3f9d22b349f content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml index f01019ab8330..b46d5b95caee 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=latest&showStats=true response: @@ -23,13 +23,13 @@ interactions: Gates","the CEO of Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - ac49ec7d-b965-4c40-ab98-99e223600da1 + - 33bbe77e-97b6-419d-ac05-c13c73c54f14 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml index d8c523cfaa91..e8765703721c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - ac015c9b-7dc0-4654-ba39-a4860c47cb84 + - 5f2db849-0557-4e31-9057-0119d5f0b9ec content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml index f130bb4fad72..e2b1bb1346dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 4ffc7f98-d939-4ac8-a1bd-b622942921c0 + - 3424fce6-9d69-4417-a086-ad056fdd555a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml index 917bcba5f92e..6ca6a92cf0e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 0ff5ceb2-79ad-4da4-84a5-b6a7b86cd4da + - 985647fe-ac9b-4619-a1a9-422242608459 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml index d5e4de4e92b6..6736c730c8e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -27,13 +27,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 6df0e18c-639a-4d2d-82f5-f6b49ba6e886 + - c813b42f-a83b-4fa5-a02b-173a1c308cc2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml index dfe5c0cad2ba..6e1b491ee2ff 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -25,13 +25,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - e4d0dca5-c4e6-4aee-a79d-12d77e868c7b + - 527d4c28-5ffc-40c7-9f21-a0b9dada6da8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml index 00f13733f476..764543e0809b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -25,13 +25,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 6f00b15e-a833-4146-9429-5e2301c66752 + - 9da8cd52-2a43-4ea6-9f35-10a781ff639e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '10' status: code: 200 message: OK @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -72,7 +72,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:47 GMT status: code: 401 message: PermissionDenied @@ -93,7 +93,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -102,13 +102,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 4b9a4969-450c-4c15-9c14-fee96bff8f64 + - cb0bfb4c-5e13-460c-9f6b-dc42d5814e85 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml index 1e9c6e5b61ca..cf4b3246ad7c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=latest&showStats=true response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 8fc4daf7-3d8b-4119-bdc4-ab1b22ceb90b + - aeaf9e9c-439d-4c3d-9c12-981347100023 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '13' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml index 6de11b046dd9..14287689ce32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/keyPhrases?showStats=false response: @@ -21,13 +21,13 @@ interactions: string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - dd98b5c5-9034-494f-8984-1833257b6626 + - c21f5137-59f8-4e47-8866-736221be5352 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:30 GMT + - Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml index 07d02f84ba7b..7615712825b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -28,11 +28,11 @@ interactions: request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - ebf4e15b-572f-45a5-80b5-8f689cd41467 + - ee1f3b4e-8a55-4122-81d4-58dc4861611e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml index 274642edba3b..e5b5721e5323 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -25,13 +25,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 6bee3851-f5df-4b1b-9b19-2d5c6b045d53 + - 6b5a7f0c-ce77-4720-99d8-0f3ce30a86fe content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '1077' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml index 9f747fa9f4ea..aae09f4ffe6d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - de71a837-94bb-474d-9f67-0de5cefff8aa + - 19af6c18-5283-4f1a-88f0-96f4fd772d51 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml index 055f8c603a6e..89fe08363d41 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,13 +26,13 @@ interactions: good as I hoped","The restaurant was"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 5a129144-7f99-44bf-9b4f-03394b69b8a1 + - f55b3842-2416-42b0-bfc3-8c76f074c880 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:31 GMT + - Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '1078' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 6a437c834d6f..ad7a3c51afe1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -26,13 +26,13 @@ interactions: food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 85269f44-9054-4f21-96ab-abc5209741bc + - 6b9ba82c-e04a-4b9a-bf6d-019e73624d02 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml index 3e13ec92723e..0490e58ff858 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -28,13 +28,13 @@ interactions: :[],\"modelVersion\":\"2020-07-01\"}" headers: apim-request-id: - - 494c0cc6-218e-45f0-888c-6bca5dcc0fe3 + - 577a1493-d894-40b8-b367-f5a9570d8364 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:33 GMT + - Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index c9fec271de16..2ad7aecf99c9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -28,13 +28,13 @@ interactions: :\"2020-07-01\"}" headers: apim-request-id: - - 28a03393-50c4-4bba-adb2-100cba851bcd + - cdfa5cca-92a5-4b13-941b-298e62308d11 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml index 6134f780a515..be0750b420de 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=true response: @@ -20,14 +20,14 @@ interactions: Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 4a29bb55-750e-486b-81b2-835da407a58c + apim-request-id: 337bb5d1-9f4d-40ca-ab98-141adde66ec3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '58' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml index 9a5908532d7c..585dc4ebcb17 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -19,14 +19,14 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: d84779b8-28a7-4b57-9db2-b6452b758f42 + apim-request-id: 0e451742-0c5a-411e-aa35-e38b8e940fe2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml index 9439c2cc8572..74cbe6df3065 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml index 145a64837e4b..4eddccd16c6e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=bad&showStats=false response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-07-01"}}}' headers: - apim-request-id: 0dc89258-4d23-4896-95dd-11d6ab9ce582 + apim-request-id: a2f79737-33d2-4b00-9ca7-ae01b2efc6ea content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml index 072a04df85ee..fcdba7170594 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -762,13 +762,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: ff7b3ce1-7c36-46b6-aea0-dc0b25f67588 + apim-request-id: 84d500d0-1bfb-426b-8000-0523fc66d2d9 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '16' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml index 43a65c2a727c..06830e7ffbfd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml @@ -719,7 +719,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -727,13 +727,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 9cbbe9e8-1361-4548-a3cc-2a3da0699243 + apim-request-id: c9788349-3a2b-4a24-b688-fc2f632317ee content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '14' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml index 4147c29618a7..7007824b9295 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -21,14 +21,14 @@ interactions: did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 67f454f0-784e-4523-86fc-60f6fc47c3d2 + apim-request-id: 1c887f5c-672e-4fbd-9d3c-8dcb18142f91 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '293' status: code: 200 message: OK @@ -46,7 +46,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -54,14 +54,14 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 6e015104-fa27-416e-9c04-b9ff6885af04 + apim-request-id: cf224e66-3bd1-4466-a90d-6a4b347cde7f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '328' status: code: 200 message: OK @@ -79,7 +79,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -88,10 +88,10 @@ interactions: did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 92bfb099-411c-4fbd-aee3-c3ac352bf5e3 + apim-request-id: d90c6f1c-7dbb-41d1-b068-8016e9c2e65e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml index b5e98e473831..78fbfb04b47b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 6f5f409c-9bc2-4a89-ac6f-2f0db34b04e1 + apim-request-id: e952ed8e-9a2f-45af-ab00-b826bfa87ba0 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:31 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml index d1fe999c699e..96407baaa629 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 1f1b72e8-9f32-49f2-867d-b55e879797ac + apim-request-id: 14ae369d-e184-4773-ae2f-00b9829eba4f content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml index cdc8ed9591e2..2e8391a28798 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -27,13 +27,13 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: fd311f40-9773-4330-b8f9-b0caf9e22de8 + apim-request-id: 71618a27-f628-4dee-a5c1-866ee780f2fb content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '6' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_warnings.yaml index 75195a89b242..c10c2bf6aa52 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_warnings.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -19,14 +19,14 @@ interactions: document contains very long words (longer than 64 characters). These words will be truncated and may result in unreliable model predictions."}]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 57aaa823-90b4-46e4-909a-9b65ee5ae130 + apim-request-id: e47b768d-c1d4-4e7a-bbc3-19cee8165061 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml index 09d15822170e..182e6475f94e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 79d43271-929f-4fd8-bd8c-da4c87a2c5a2 + apim-request-id: c196c453-0a12-41c8-bc7b-10b2cdceadf4 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml index 9439c2cc8572..78d33fd1a1b8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:43 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml index 441777ee2032..c2831b603700 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -22,13 +22,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ebca86ff-ce40-4868-8a29-57340f41d0f2 + apim-request-id: aa62d75f-92f6-4947-bdba-c2a67e2688a6 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml index 52d59da728d8..d6e2464b1146 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,14 +20,14 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: c0e759ec-68bc-4673-822b-23d7658c1d55 + apim-request-id: da02feee-1905-498e-8450-aa6594578614 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml index 3516a0d935bb..c426c46ad9f6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: c0c24e4d-07ea-4fa4-8e81-75422f534ebe + apim-request-id: d268731e-a4c9-47bb-82f1-8dba7fd8ee97 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml index 8a9cc184a329..d2f602f8cca3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -19,9 +19,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f7cdd6cd-c34c-40bc-bf98-542cfaf114c6 + apim-request-id: ad6caa3c-2d69-43ef-a730-a709ed38743f content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml index 478551f645c8..5b7dc43a25d7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=latest&showStats=true response: @@ -18,14 +18,14 @@ interactions: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","keyPhrases":["Bill Gates","the CEO of Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 0cfa5c84-743f-4f0f-9304-c23f0d3f863b + apim-request-id: 6a44c225-ddfb-44cf-8d3c-db9093cb3469 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml index 8aa71bdb71da..4489c8c45c0f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 1acfacc6-1e03-475c-a756-2bd1e4bdc9c0 + apim-request-id: 6da8707a-4e58-46ee-b742-402092365d9d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml index e94d91b49bff..b0a76f9b88a2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 5636fd78-e52e-46c9-bb0b-8f31c729dea5 + apim-request-id: b7016a87-2e6c-4eb2-8113-d0a5c6921706 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml index 891b7bd88aab..27eb50ceec1e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml @@ -10,17 +10,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: d07c389b-d130-42c6-ab0f-410e03cca5ba + apim-request-id: 71fe158d-c21b-4c98-a82e-6b42a7f629f9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:32 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml index bbddc3f77149..22c5f0c9060e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -22,10 +22,10 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 5b98d0de-db61-44c8-8e11-a9b81795a420 + apim-request-id: 50a94351-8a94-4d06-8470-ddf2e0080c7d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml index 58037121fe51..4e5adb31d92f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,14 +20,14 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a117ad95-9c0f-4a26-8946-77192b64d2bc + apim-request-id: f69b80b0-f6cd-44dc-bd1a-612ad4641d78 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:33 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml index bb91593c9bfe..ed0f66aabc01 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,14 +20,14 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f123f43c-48f3-4e3d-b7bb-ac936d7c0fa2 + apim-request-id: 721526a9-3074-4f88-a1b0-bf8d61cd93a9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK @@ -45,7 +45,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -55,7 +55,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT status: code: 401 message: PermissionDenied @@ -73,7 +73,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -81,10 +81,10 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 2fbe9242-932d-47c5-8eed-bb2416b85b1f + apim-request-id: d382259d-391d-405f-b1bc-7873ae55fbbb content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml index 19b3524100e9..01274296eb92 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?model-version=latest&showStats=true response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: e6557464-9742-4169-b902-362898f59419 + apim-request-id: 767858db-b258-4a12-8213-609f95b834cd content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml index a01961f9d78e..3e9755bc8443 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml @@ -9,21 +9,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 6f291298-a231-479c-a7de-acb11f166610 + apim-request-id: 402d1dae-7247-49ff-9f5b-811384486e7a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml index d78452d5a880..adc214342b2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,13 +23,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 5f91301b-76f7-45f6-a66f-477a27bfd477 + apim-request-id: 957a7b6a-59a9-449e-ae5e-4cf3f6f3c493 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml index 8adc1bc8a909..73803e321920 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -20,14 +20,14 @@ interactions: string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 2ed88e15-e888-43df-b5fc-afbe9aa888c0 + apim-request-id: 5c217e69-8aa5-43c7-a889-4f71cc6f4d85 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml index 05646a532111..a1d1d3eb0e73 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 3ef6d85f-968d-4bb6-8693-a9ce377cb239 + apim-request-id: 98a1e2a2-2feb-42f1-bcdb-42d8e01ed1e1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml index ecafe37dd79f..1541939d77c2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -21,14 +21,14 @@ interactions: the hotel we stayed","It was too expensive","I did"],"warnings":[]},{"id":"2","keyPhrases":["as good as I hoped","The restaurant was"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 47eaef31-113a-4236-b3ff-2dc6a96c660b + apim-request-id: ba21bcd1-fe6b-4c26-a142-3cc9a9ad076a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index bbc1d053340b..dcb2beecdb9c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -21,10 +21,10 @@ interactions: did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 6ab32731-e46c-430e-bb83-1bfee510dc34 + apim-request-id: e9f0382a-82b1-4021-ad6e-bdd7dcda24ef content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml index f39b53042dae..06791264ff95 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,14 +23,14 @@ interactions: 3\",\"keyPhrases\":[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\"\ :[],\"modelVersion\":\"2020-07-01\"}" headers: - apim-request-id: d45232cf-029b-49e8-9e91-996908483d9b + apim-request-id: cc3148a1-8958-4052-aa8f-7a6dad4d0e91 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index a383bb930281..d8f1438a3912 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/keyPhrases?showStats=false response: @@ -23,10 +23,10 @@ interactions: :[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\"\ :\"2020-07-01\"}" headers: - apim-request-id: 2a4daecb-8707-44eb-a1f3-d70e4d9776c3 + apim-request-id: fc437d8f-bdf4-492a-adbb-f439acb5c189 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml index e744e27728a5..60c08de0274f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml @@ -34,13 +34,13 @@ interactions: Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.98}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 98c106c9-f845-498a-99bc-1cf4c3f5e47d + - 8a390874-cce7-4349-93e5-7e3d5970da93 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:35 GMT + - Wed, 30 Sep 2020 16:45:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '71' + - '62' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml index 4e9a810bd595..b5fe5953bf47 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml @@ -34,13 +34,13 @@ interactions: Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.98}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 998d7625-deb8-4d19-a162-b4afaa587dbc + - d25ac209-7300-40a4-ad27-6d6c07eed937 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:33 GMT + - Wed, 30 Sep 2020 16:45:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '68' + - '60' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml index ba103eeee209..e4be6067205f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:33 GMT + - Wed, 30 Sep 2020 16:45:39 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml index 1a718bed0f01..2cd83a107e3d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml @@ -23,11 +23,11 @@ interactions: model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01"}}}' headers: apim-request-id: - - b4b4ec61-3762-4412-b463-000ee6c4554b + - 4ae5e0be-5c6c-44c8-be62-c643b2fadb3c content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml index c7bf12621680..01c98f8aa218 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml @@ -767,11 +767,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 0d0d63b4-828d-4fa1-96b9-7611e2c7d930 + - bcb32890-77b0-4383-849f-2773f89804d1 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '99' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml index 1d2c575831a2..a439a80dede8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml @@ -732,11 +732,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 25bcc127-2be7-461e-a8ca-59c1a1857f22 + - 1eabfb2b-98fc-42bc-a02c-d5d44c0715ef content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml index b4bb634f0414..d1f1e25d877b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml @@ -21,18 +21,18 @@ interactions: uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"The restaurant had really good food","category":"Organization","offset":0,"length":35,"confidenceScore":0.47}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 4b44f707-8f61-4d0b-b7a4-01329adb9f42 + - a0ddb37c-e780-4a67-8436-bb974905180b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '67' + - '54' status: code: 200 message: OK @@ -69,13 +69,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 09a1f126-8418-43a1-8d53-4fb84eafdb75 + - b59f1fcc-e85a-4b41-b768-27e57e98e2b9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -83,7 +83,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '62' + - '84' status: code: 200 message: OK @@ -109,18 +109,18 @@ interactions: uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"The restaurant had really good food","category":"Organization","offset":0,"length":35,"confidenceScore":0.47}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e17217c4-41dd-46c1-9f9c-0066ad223b4c + - 3ff2751f-5a64-456b-bcd4-112e3031545f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -128,7 +128,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '66' + - '58' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml index ac3d3105d339..78075688ecf4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 995b0135-3e52-41da-812e-68ba2143de1b + - a08258fe-6196-4a88-801d-5adfeb77127b content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml index 32e4d6dfa491..c195b1b03257 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 809e968e-f07f-4660-be01-37d630c4a652 + - d8366e16-4d1d-41da-bba3-33e4dc46137d content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml index 6180e05f791f..baddcc124e55 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml @@ -32,11 +32,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 53c33271-e47c-4e1d-a625-d92e145cf186 + - b71585d4-dcb1-4e0d-984d-fcf7a0d4af02 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml index 9a409e3e7eb4..36e1e5c91319 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 6de3fc69-11f7-42c5-8ed1-3e537f1db633 + - f9a66e42-a683-4054-ae80-28f4f8427be2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '62' + - '58' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml index 31a8bc2da8b0..0cbd7eaaba4d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml @@ -23,11 +23,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 6bdd2d10-0f99-4148-a20d-1cecd21edacc + - 581bc55d-6fa8-409f-a8a6-e56cb0037ed9 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml index 72730db3b3e5..e31cdf606439 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:45:48 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml index e1d0f9d1062d..56b971d7def9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml @@ -28,11 +28,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 2fddde80-df90-4dc7-a751-99815449d956 + - 19405644-742a-4ed5-bbd0-7a4af7d2281e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:32 GMT + - Wed, 30 Sep 2020 16:45:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml index 17e971071559..91e6f732cf66 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml @@ -30,13 +30,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - c47aedff-ec89-4e1e-a5be-771cc61573f3 + - 75141336-3188-4386-be72-e35ffb34737d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:33 GMT + - Wed, 30 Sep 2020 16:45:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '66' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml index bf6fc5c98bcc..739e1611816d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml @@ -24,11 +24,11 @@ interactions: language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - af768456-d8b8-45f7-b1d5-8a65c7a91f7d + - 8f04a207-180d-49b1-b8f6-b40b2dd8cb09 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:33 GMT + - Wed, 30 Sep 2020 16:45:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml index c22eca8b262c..9907a80c5dcd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml @@ -24,11 +24,11 @@ interactions: language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 4f514355-be8c-44a1-9e19-131364d7f40d + - 8d32622d-1742-412f-9295-de18aa4eaf22 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml index 784bd8d7d2d4..f447d8341b56 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml @@ -23,13 +23,13 @@ interactions: Gates","category":"Person","offset":0,"length":10,"confidenceScore":0.76},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.66},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.38}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 3e7f293e-cb61-451e-93d2-7ac6845c02ca + - 6e4f1b2b-a231-4203-8d4e-99c3921f42cc content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '49' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_length_v3_categorized_entities.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml similarity index 93% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_length_v3_categorized_entities.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml index dfb379c54c2c..b8c0dab889a7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_length_v3_categorized_entities.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml @@ -24,13 +24,13 @@ interactions: Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.89}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 9d721e6b-a9c9-4b33-9e8b-2c0d7dee84d0 + - facc0041-1575-4b28-93b1-a9232c9fabaf content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:34 GMT + - Wed, 30 Sep 2020 16:45:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '70' + - '57' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml similarity index 94% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml index 032662065bad..1ae245c779fa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml @@ -24,13 +24,13 @@ interactions: Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.89}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1c145e85-53f7-4602-9bd4-634d0cee44ce + - cf283acf-4394-49e6-858d-090e60df89af content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:35 GMT + - Wed, 30 Sep 2020 16:45:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '71' + - '58' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml index ac1bf2e4d897..15f93b1eb6ff 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 3217b07f-f1b2-4df0-b743-2343931e467c + - f34c3883-74e0-4777-b27e-61d6f5c6a1be content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '64' + - '68' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml index 08501250ce60..7ac5c6dcec7f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 22284581-5830-4276-8cde-baed63df9268 + - 24efcf27-dd66-4d8b-8052-ffe2e1898b9b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '58' + - '98' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml index dda49f11f726..9449c67aba5c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 15aec081-483f-46a3-9d40-ab503d9708cb + - 182e18d8-72a8-4db5-803d-555d6903d5f6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '53' + - '83' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml index 6f2d88f77545..64d815ccffe0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml @@ -34,13 +34,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - f436a1ae-2cfc-4b3f-85f9-0bb680c1b2c5 + - 1aafe0a9-0644-49cc-aba3-1c40b764f147 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '119' + - '79' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml index 03105243abd2..f54fe337e646 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 4b9f04db-8b19-459d-9c64-abb3c616758b + - 753c5072-d476-4213-80b5-e1632c0c1869 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '72' + - '68' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml index 0569370260b2..71777c91a2f4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 54f01162-3fe6-47a1-bfa5-fd18e7186fc6 + - 5af4725c-3517-4b13-9156-e102ab1583b5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '68' + - '63' status: code: 200 message: OK @@ -71,7 +71,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:55 GMT status: code: 401 message: PermissionDenied @@ -100,13 +100,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 6f3d7c49-bee9-4b85-92b8-78e03a5f6375 + - b91b1be7-b463-4922-8df4-a5da3b366ead content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml index b5847a0a6770..0d66626ae23a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1421a1d8-2ece-4f9f-8443-fb95f8d05b22 + - ea486fd4-dd14-4dd0-908a-d88858b2dcf8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:35 GMT + - Wed, 30 Sep 2020 16:45:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '57' + - '59' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml index 51c9bacd6afd..af6fc9e37bb6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml @@ -21,13 +21,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 9b97e80a-f203-40b6-8d06-46959fcb737e + - 46872493-9004-4796-b2a1-863406826ec6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '54' + - '53' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml index 8dee81b201a8..5f94482a817b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml @@ -25,11 +25,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 8605019b-5144-4bd9-bfdc-3b5a284aab70 + - 0a108166-95e3-4488-86ee-809f943ce9c7 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:36 GMT + - Wed, 30 Sep 2020 16:45:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml index 170e4cae33e2..2a6c8e6f60cf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e9c67300-0aae-4d5f-852e-c0ed8b06f772 + - 84ab9acf-73a9-4118-9dc8-c24db70201d5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '90' + - '93' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml index 69aeb110903f..9fcbbbf56f32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.71}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - c17f430b-36d9-4d22-84db-00a83d6ab996 + - 342ff9e7-93ff-4d6d-93ab-b56b12c601f4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '79' + - '63' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml index b555fb469d49..d8f8c9ebc4e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ee508883-8c13-4f6c-a783-1bc215982db0 + - 58d71fb3-550b-4970-ab7b-1908d364ce4b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 13627064b867..27e9a2cea045 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -21,17 +21,17 @@ interactions: uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - af165bfb-b4f4-4997-b003-d3fba0b01a5d + - a0c8552b-a569-44e6-a3f3-5dfba0707037 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:37 GMT + - Wed, 30 Sep 2020 16:45:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml index 45733f921f38..8b0c53da48fe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 9d62daec-108e-42cb-8db3-01ee3a44658f + - 10ad1a14-c4db-4397-94a3-7b42658d723f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:45:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index d51c17d199d2..2ee76f5b3651 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -30,13 +30,13 @@ interactions: }" headers: apim-request-id: - - 6f3521e3-668a-4371-b5bc-bf9fbe7a9fc8 + - ec5ec1b0-7a2e-4846-beba-69c3e878273c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:45:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '61' + - '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml index 3ec42e47b2f9..3cb391bffdb4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: Gates","category":"Person","offset":37,"length":10,"confidenceScore":0.86},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.98}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 90b0f0c7-a4fb-4755-ad37-c14723beabe3 + apim-request-id: d807f30d-e5eb-487d-bcb4-236995a4f9c1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '65' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml index 00391e339e97..260bf2d131d8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: Gates","category":"Person","offset":37,"length":10,"confidenceScore":0.86},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.98}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 3a74806b-c5fd-46ab-8cc6-101a63d4dc1d + apim-request-id: e9314125-856d-4e91-b81d-ec01c6312cc1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '61' + x-envoy-upstream-service-time: '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml index 3ade89da19ef..db4dbe7c0093 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml index 243eda424a2c..f458ab6dd50e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01"}}}' headers: - apim-request-id: 5d6a348e-e409-469d-82fe-c0b5e2f9706b + apim-request-id: 05c02639-288d-46fe-ba8b-7d0ee75ad9e8 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml index 3f0dd8a72cef..c59eaa71891b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -762,13 +762,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: af18c421-a232-4c78-8d4a-b12013308155 + apim-request-id: 1e796631-f6ca-4862-9f07-bda87b0a7406 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '61' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml index a177f5278c18..069db0fbdc16 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml @@ -719,7 +719,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -727,13 +727,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: ccbe9ab1-e34b-4557-b3c5-aff95e2ad478 + apim-request-id: efcca05a-b7bd-4f4a-8bd7-1a70527b1d1d content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml index 19802b985209..21e62f10ea6a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"The restaurant had really good food","category":"Organization","offset":0,"length":35,"confidenceScore":0.47}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c316c987-3134-4157-a5a5-d8839f17c21e + apim-request-id: 6e9610c8-3715-4792-809e-1c5069bf978e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '65' + x-envoy-upstream-service-time: '55' status: code: 200 message: OK @@ -46,21 +46,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 22a139b9-ceb7-43dd-bee1-1209484276a5 + apim-request-id: e48ae042-e551-4403-a7ce-9ce69bd81f6d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' + x-envoy-upstream-service-time: '81' status: code: 200 message: OK @@ -78,23 +78,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"The restaurant had really good food","category":"Organization","offset":0,"length":35,"confidenceScore":0.47}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a021c83a-451a-48ef-a2e3-9df84560e2b0 + apim-request-id: 0ccd78b1-aebb-4af0-8839-44959ae2022b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '73' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml index ec3e5abd0ea9..7fe095f56da4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 16b593e7-f37d-4457-a682-3b148a4c9191 + apim-request-id: c9869d8c-eb2c-4044-aeb1-117f32ede6c1 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index 64ff4924121f..049d3f95fc04 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 175eaef4-f8cc-4358-8d1e-237a4b75c489 + apim-request-id: 5e6a6ade-9221-4022-bbf7-58ada6ab626a content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml index 4d56cca425ba..031a3c8506dc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c3d97396-ea85-4f88-af21-9bea30da552a + apim-request-id: 2d8b43d8-cc18-47eb-bb82-94403dddc7cc content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml index 976551da9014..824f42aa18e1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 376461d1-1502-4859-8404-071f7669f6cb + apim-request-id: 5e88aa1c-421a-46a3-8cf0-1e0a10ff1a97 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '71' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml index dc5d11c17972..8180d38de6b4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 57ecf913-c6b9-4802-885a-a1870d6643de + apim-request-id: 373f9f2c-7f00-405b-adfa-caaff5347da9 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml index 4ad00f22f491..7fc5df97fab0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml index 2a1e9a471c3d..bcb95f6b5f5b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,9 +23,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 8fced433-01bd-4440-834a-61c8fe5e7a25 + apim-request-id: a9bdd119-7391-483a-8cbd-58fcc1342958 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml index 5bb0a82d1f83..f95e88d13149 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,14 +25,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: d55baec4-e10d-4af1-aa8f-390f233d02af + apim-request-id: 483b50e5-6666-415e-9c9d-7e9fb2d0041a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '69' + x-envoy-upstream-service-time: '73' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml index 061386590e9b..3dd2c6a348a1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3fe3f721-2df1-4d38-9c90-50cdc1ff07d4 + apim-request-id: 07aaa2b9-f3d8-478b-ad5f-125915a9eb81 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:34 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml index 96ae976df488..8ed8c4b2aca9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,9 +19,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 48485ca0-aec4-43d1-b474-9ca09921eb7c + apim-request-id: 78d9f3aa-df54-4e91-9cc3-5ad3c1238e27 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:35 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml index 7dc07488408d..6d13348da102 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"text":"Bill Gates","category":"Person","offset":0,"length":10,"confidenceScore":0.76},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.66},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.38}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c10aa170-7e2b-422b-9715-5e931f578e09 + apim-request-id: 2a25205f-b8e6-47bc-8f7f-689f5e35170f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '46' + x-envoy-upstream-service-time: '57' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_length_v3_categorized_entities.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml similarity index 86% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_length_v3_categorized_entities.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml index abd0b39c391d..a5a91d076d98 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_length_v3_categorized_entities.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: @@ -19,14 +19,14 @@ interactions: Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.84},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.89}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: d01c4a62-b111-4409-9110-41c7bd10a334 + apim-request-id: d0a61b05-395b-48e2-9612-dc1af63a03c4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '66' + x-envoy-upstream-service-time: '62' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml similarity index 87% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml index c51739db220d..4939c3d4ae87 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,14 +19,14 @@ interactions: Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.84},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.89}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: bb542ac9-64c6-48bd-9a1a-fd2a24d20bd9 + apim-request-id: 08359e2d-c42e-465a-a4f9-61989df8cf84 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '59' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml index 8a0a8b682132..9bd1a4bb8f8e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: d9c36be8-02cc-4152-9f6f-ee509d6f9642 + apim-request-id: 98b057d0-7fd3-404e-b320-57b346a55878 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '67' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml index e6493dfa5716..d7ace4363c78 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: ee5e6d53-7e9f-47a2-8ad5-bb28527ed9a7 + apim-request-id: 199c5ed1-8097-4b57-b13c-056dcfa6e0ce content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '100' + x-envoy-upstream-service-time: '64' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml index 16fa60aafd5f..c66dc9fd20ea 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 4385354d-7b9a-44c0-95c4-49a44ddefd5e + apim-request-id: 2004fd65-58df-4be9-9fb9-2803bef499f0 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '54' + x-envoy-upstream-service-time: '64' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml index f4c0edc1ce0f..016940d50ee6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 66a55c8f-a8fe-4f86-a78f-e57c394d7daf + apim-request-id: 16cde8e3-b92f-42de-aab5-462364a7c033 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '74' + x-envoy-upstream-service-time: '88' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml index 0c79dc0bf28f..6cdf4403d98e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 1c4aa72f-195b-4bbc-a445-e61c61e6e3b5 + apim-request-id: b4b48d3d-0646-4a5b-bb07-47ce15148b16 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '64' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml index c1e1bc4e04b2..773a3f9f88ca 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml @@ -12,17 +12,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: cd6b137e-1ecd-47e8-a5ad-a2469fed9527 + apim-request-id: 3454556d-648c-4d09-bf61-aec1d640c230 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -44,7 +44,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -54,7 +54,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:36 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT status: code: 401 message: PermissionDenied @@ -72,21 +72,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: fbba932a-8038-4049-9101-023b12a1e434 + apim-request-id: 42518f20-72aa-4948-a6a0-ef57e90eb3e5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '75' + x-envoy-upstream-service-time: '67' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml index 8a5f2c51ec3d..e8ed7c1484a6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: bc3ccb77-d9d4-49c3-be65-9f6e1cc00be8 + apim-request-id: 185811d0-508c-46dd-b170-c7317684bc33 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '72' + x-envoy-upstream-service-time: '74' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml index 6d6f47260a19..bdd64d65a9a8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml @@ -9,21 +9,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 33c16d03-687f-4e3c-8574-c1871c5e139b + apim-request-id: 1e7b62ee-fd89-4b0f-a19f-68973d7cdbd7 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '51' + x-envoy-upstream-service-time: '55' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml index 258d45155275..7a1aec6fc952 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,13 +20,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 1913ca3b-1da7-48be-bab4-e2c5ec1a25e1 + apim-request-id: 52a27645-1e16-486b-9bb1-ef5023b2d39a content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '8' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml index 1a59b8b82ada..9beca07717a1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.83}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 470039f6-5d57-4ee3-8cb4-c7fa6b92d3bb + apim-request-id: bbb9214f-1e57-406c-8540-14632c9e1373 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:37 GMT + date: Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' + x-envoy-upstream-service-time: '66' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml index 9d74e3ce7b0e..51200460a00b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.76}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.71}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 355a3c3d-2778-4a8a-af88-46fa2f47bb74 + apim-request-id: eb538410-dea7-4495-95d1-0bbfad02beff content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '89' + x-envoy-upstream-service-time: '77' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml index f98c49978d8e..fc79e49fd523 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 6e1ec3d4-d615-453b-9525-c573714fca8a + apim-request-id: 48157580-d870-436a-8bb1-e5026d214fa2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:38 GMT + date: Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index d9d9a8c45935..8bd3cf18e933 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,22 +12,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.51}],"warnings":[]},{"id":"2","entities":[{"text":"hotel + string: '{"documents":[{"id":"1","entities":[{"text":"I will go to the park","category":"Product","offset":0,"length":21,"confidenceScore":0.5}],"warnings":[]},{"id":"2","entities":[{"text":"hotel we stayed at","category":"Location","offset":19,"length":18,"confidenceScore":0.69}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.7}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 9f701c66-e6a5-4492-985b-6e6107fe47ad + apim-request-id: 6db51e4d-ecd5-438f-9f19-45bdf4317831 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '71' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index a6445b56a920..5b44df6dfd6d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 46dbcc43-d267-4990-ab80-097b9e99f53b + apim-request-id: 1930be84-0ff1-43d7-930e-1c2d415198fa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index ae342b5982be..aebd6f1efb32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,14 +25,14 @@ interactions: ,\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"\ }" headers: - apim-request-id: 71e9fe8c-8074-4ec9-8a9d-e258fda59393 + apim-request-id: 16952c7f-3449-405d-b351-e9f2536c4af4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:39 GMT + date: Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '85' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml index e51ec22f1622..a2806ace1a25 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -31,13 +31,13 @@ interactions: Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - de26bb48-e23f-4f41-b57a-683fdb64f2b1 + - 3f918cf9-6827-4459-8db8-d11c6076765f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '439' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml index d8b36a4e0cec..690d99c72a76 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -31,13 +31,13 @@ interactions: Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - bbd801d0-43d6-41f0-92d3-3af4f54265c7 + - 88fa4592-21d2-47ce-a60a-e99a0d75e206 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '420' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml index 42b957004b43..9850b823ee53 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:51 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml index 5f7e5c4fdbf4..77bc4a656d99 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: model version. Possible values are: latest,2019-10-01,2020-02-01"}}}' headers: apim-request-id: - - 6d0025b8-3c6a-49ae-b697-e270c501a873 + - 8bacd03f-04c6-448d-a870-e5d8c0e42430 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml index 59fadae6d7dd..9e2e31177a6d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml @@ -758,7 +758,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -767,11 +767,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 9295a132-0fda-4937-9fdf-945dc6cb7b2e + - c7bc1b7f-6d19-41df-9af2-eaecbbd558f0 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '14' + - '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml index 6d3e18e870a4..70509ee206f4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml @@ -723,7 +723,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -732,11 +732,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 734a7162-2098-4690-9caf-3cba56bd88a3 + - 0b4f9b5a-b297-4082-82f5-91b31501986a content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '954' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml index 9c6cbb6fd222..0f53c9b16d98 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 346b426f-9ca4-4372-87e2-b6c8ef290b20 + - dda49427-f906-41c2-852b-8896c132360c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml index c3ae68229484..899179ff602d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 5966fd22-bb3e-4f6a-8c62-b7526f9cac5b + - 365d2b7a-5523-4805-aaf9-1f75e0a98a57 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '24' status: code: 200 message: OK @@ -59,7 +59,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -67,13 +67,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 0feb7fa4-f012-4184-8098-533a2fcc5f78 + - 39af02ab-be61-4774-9a08-10501ac4bf17 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -81,7 +81,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '394' status: code: 200 message: OK @@ -102,7 +102,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -110,13 +110,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - a30f193a-7de1-4b0d-b06c-06805af9b15a + - b0621105-a6da-49c6-82b0-6a1783989f8d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -124,7 +124,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '49' + - '430' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml index 54131bbae86a..b096ed5c083f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 05916407-d552-464c-9888-9abb57e08711 + - c7ffc698-78e6-4785-b6ca-6c6ee2ccde5e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml index c7b5b5dfe838..c67a2994e3c3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - b634d9e7-9a2e-4359-bc9f-8b4563f147d3 + - c1471f8f-8889-4ad6-a3f3-1e2f981556b0 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml index de83feccadd9..98af00c7ee3a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,11 +32,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 520b948e-9537-4d51-b3bc-9e50ed929c2c + - 2a6bf4e7-bd5a-4b34-8b65-e7c32f9d27fb content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '5' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml index 3793b25e10ef..db5febfe0f21 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 7a5c33ed-6a68-49b5-af1a-92f539a6afa3 + - b999f4b6-7d79-48a3-8fdd-bc2beddc0d0c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml index 886e7e3c9cfb..376227f6e1a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - ce1442a5-fc47-4b81-afdc-e6626517b35d + - fca21990-d6a4-4785-abe0-f6b87bfe90e1 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml index 793ad0a47bf1..91cdfc015390 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:52 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml index aab8e792e20f..3e4002661ce0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,11 +26,11 @@ interactions: language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 27241d9f-4cad-4077-ac8b-c0b9de905350 + - 3727da9b-5523-43d2-a222-5fad0a768c93 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '5' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml index 12f3fbd67db4..8b0b9fbfde26 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,13 +28,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 76d16784-449b-4ca1-a5e2-a69b831da5a3 + - 80828bfb-dcf7-4179-b8e4-291a161e736e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '1090' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml index decd5c5b4e95..d2c653bd9c59 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 47ff46d7-2e38-4429-adaa-ff389d2e3c5b + - 783c7062-623f-47d4-bd1e-0e8809b78184 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml index 58ceb862ef92..529727af2af9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - da9d22de-16f9-49b9-a341-502d7c195a36 + - 015d447c-7810-44e9-b4d5-c58ec4f7085e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml index f0a9f73f6e30..fecb712f05c4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 91a95acf-f4fc-4f85-9162-2ad5968185ea + - 260de694-5139-434b-af64-bd1aaeff44cf content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '165' + - '384' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_length_v3_linked_entity_match.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml similarity index 91% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_length_v3_linked_entity_match.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml index 0b11210a7065..9f6234543623 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_length_v3_linked_entity_match.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: @@ -26,13 +26,13 @@ interactions: Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - e709cbe0-4387-4c33-a793-3c87ee649193 + - 68c7e6fe-8493-4608-8b16-f7f18f12c0d5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '35' + - '1083' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml similarity index 92% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml index a4b670431949..aa5c4114b7e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 0c0b8d7e-1d71-4f21-942b-46513bdfb299 + - 54e6363e-464e-452c-832c-fde67755a4d6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '1440' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml index c4846c322bfc..c769feb89fac 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 0fd6b8eb-ccf5-495d-a338-400598ed883c + - 7f5f0671-f800-41bb-9bcb-e526b951f1eb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml index adf089637b38..ebda48ccdf47 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 1b26a32e-80bf-4b42-99a4-d33a7182faaf + - 8aac210d-e5c7-4c57-a1a3-c5264e002e1f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '380' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml index ba3f4d4dc476..6de444b5a65d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 6eeb15a0-0328-4d72-872c-57736836d8e3 + - 4cd6c44c-9e26-4673-a686-a0c110a43675 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml index 2b4559d310c3..3b4e504d4150 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -34,13 +34,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 27450bd2-8f9f-4eb6-952f-ff9cc86d410d + - b1d2bc09-bab6-4b15-bc47-651bf48a8e85 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml index f8b78f80c071..b27f910b85b4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 3830f152-d086-4f18-80b2-6936f5f3ebb2 + - 33d00f78-260c-4911-8806-db4a12932b9c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '48' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml index 6fd8b91b8f4b..cea943121dd0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - a8e728b6-9eee-4bb6-b2a1-b6b034694572 + - db400a44-ea3e-408e-a48e-0148d878927f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '20' status: code: 200 message: OK @@ -59,7 +59,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -71,7 +71,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:55 GMT status: code: 401 message: PermissionDenied @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -100,13 +100,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - b466835c-65e6-4be2-93b3-d4decaa9156e + - 2cd97c30-2a48-4288-afdf-2e09415ea3c4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -114,7 +114,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml index 5ec3aa788162..0afd39b0d0b2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 08e31d7d-5854-4ae2-a7bc-1ba78c5a6373 + - 91209667-ef54-4577-bd3f-8c659861d5f9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml index 20ab7bbd8f22..d20a82758544 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: @@ -21,13 +21,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 3347dd1e-d6bc-403f-a581-9fb2e01a6c5c + - 1f0e60fb-f963-4623-a7c4-0ad8a83c05b0 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '809' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml index 5098b4c5acf1..1e65539b9cdf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,11 +25,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - e9162652-d897-4ec0-8cb1-54c7a66afaf1 + - 47e14616-693e-4000-bf09-bf082adfdd2e content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml index 3c374ac89636..e8ac1571082f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 9f0e1e9b-6968-4c9d-a1d4-b684e31384db + - 1daae407-cb98-41f5-aea0-4c7502835c82 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:41 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml index 70c17205c0f4..163616e53082 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - f8ddba47-2928-4bcb-bebf-234eb25434a6 + - 032f2250-d278-417a-8205-eeba7a777891 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:38 GMT + - Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '32' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml index 25d497e49ef9..44bd1389ec9f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,11 +30,11 @@ interactions: language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 2c84ed5e-8b15-4f38-9ecd-5018856006bd + - b1a31256-7d14-43ec-95f7-3bef2f0bf651 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 3ab48dfc4106..a11259582442 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 19321d92-891e-4676-bd63-197552aa9345 + - ce242af5-cbb6-4c59-8a5b-90f0b1ff78b6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '21' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml index 158ba5c594e2..cbfcf443720a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,11 +30,11 @@ interactions: language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - c9788de3-d69a-4e19-99e9-8bb3a1f36b2e + - 972e239e-6d9a-48e2-9013-aae94acc29a5 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:39 GMT + - Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 5af9baaca109..38148561497c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - e6336f20-595c-4bba-94c8-f308f3b68db6 + - aa05cb83-f26e-4b93-bf4c-211f05958fbe content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:40 GMT + - Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '358' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml index f8a2453322f2..155f440943d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -26,14 +26,14 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.9}],"language":"es","id":"Paul Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 655070e6-4a13-4ffb-b084-b4885f74814d + apim-request-id: 54a244af-2998-4a83-9408-ec4d64c69ddc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '403' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml index 68f2baecb3f5..e73ee607c236 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,14 +26,14 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.55}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 0a75efc0-7706-47b2-a39b-79807413ca9f + apim-request-id: bfefd680-6158-4135-853b-ed9c80944dc3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml index 885ca7e4c702..e1ac6272f59a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:57 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml index 7953b92b00b4..0cae29ebd18a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-02-01"}}}' headers: - apim-request-id: 4d17e1dd-1c01-4b71-8437-f5ed17bbec44 + apim-request-id: e87cf1bb-691f-4767-afc1-3ad5c991004b content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml index ec3e2daebaca..4274e3c28ac5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -762,13 +762,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 527311b2-7663-4d5d-a7bf-1b270c5cc938 + apim-request-id: 0c474e4e-2a57-4f77-8aa7-01f3053218f9 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '9' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml index f9a7ebd881a4..9a4269eebc83 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml @@ -719,7 +719,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -727,13 +727,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 43b14b31-1524-419a-a5bb-2bbe18499c07 + apim-request-id: 027a6c1a-69bc-4904-b6b0-611b5026293b content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '14' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml index 9ee821638aea..68fa18945490 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 97556e41-dea5-4a6a-a90c-9dafb6f74ea1 + apim-request-id: 0fe1a76e-b971-45d4-a920-93be10f8a1e0 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml index 601fe1035120..2b6085b21075 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: be700a01-5551-4fb9-b3ce-d911a09b6f67 + apim-request-id: 3acb0a38-4ceb-4087-9931-66adf5854477 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '508' status: code: 200 message: OK @@ -44,21 +44,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: f610e316-5e10-48db-86fa-fb4977c68661 + apim-request-id: 8ccfc26f-46e9-45f9-b8b2-9eaa9dc8fcb4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK @@ -76,21 +76,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: d6736fe1-44b9-4d2f-a7a5-3ce3b85ecbc3 + apim-request-id: 62e47f5a-04a3-46d5-9780-0cb0c9d43d6e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '43' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml index 0dd973942c4a..8cbcbf2ba982 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 09efb3b1-39ce-4881-9bb4-33b976fdd8fa + apim-request-id: 177996d1-e73d-47a4-ac2a-9d92b3f24637 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index 72a5eb58b0e6..2c3d3748d4ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 1d21fefc-70da-40b3-aebf-7a94d56524bc + apim-request-id: c5b42072-5cfb-4b2a-b324-224f722d6673 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml index ca5e9acc9527..f58659bb6b56 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 1b4515e2-14f4-4e52-8ab3-bebcb0eb8c41 + apim-request-id: a2fe9c5c-689c-4e6d-be33-0a55c52a5cf1 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:44 GMT + date: Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml index 346dbff7108c..c62c429135fa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 7dc8830f-e932-47f0-9059-7d6b18176e0b + apim-request-id: b34dd93f-0444-4b98-b9d5-e7532fbe90f1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:43 GMT + date: Wed, 30 Sep 2020 16:02:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml index f75c69adde1f..5a8f56310857 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: bb50c2e0-2716-4790-9537-3819ac65bda1 + apim-request-id: e8b7ab0f-edd0-4d37-8cdb-3fc6cb680170 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml index 885ca7e4c702..496a3d636c38 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml index ccfc47ab1d50..642be7eb0f9f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,9 +21,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 5f7d9ed7-d4a9-4d78-ac69-910907b8832d + apim-request-id: 4dfe4dfb-26dd-479e-901e-317a6093d3b5 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml index ab2142dceca1..94cf4bf50d46 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,14 +23,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 7200b65a-e567-41be-9370-e09a622ba405 + apim-request-id: be0c49e9-3d35-4be3-a919-ed964564a4f6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml index 271169b2552c..703c3a1988f8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 71632a58-45da-4ef7-9fc1-b2582cfe390e + apim-request-id: 17cdbb46-96bf-40e7-be57-d8d309b1a5f6 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml index 1b0a4c8174e7..f1cd3e3c9d87 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,9 +19,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: bb9c67b5-817e-4f17-991e-90278dc103cc + apim-request-id: 6bc9d898-7907-4bdf-9375-c82825fc5e31 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml index 89b3c4ad7001..967b99eb4a30 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: ejecutivo","matches":[{"text":"CEO","offset":18,"length":3,"confidenceScore":0.22}],"language":"es","id":"Director ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 04fa3a58-eb47-4623-8c84-add9be6373e3 + apim-request-id: 829583c7-8cf6-4b99-9072-1ff2957c856e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '769' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_length_v3_linked_entity_match.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml similarity index 89% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_length_v3_linked_entity_match.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml index 432f7815a0d6..264a92ccf9c6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_length_v3_linked_entity_match.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: @@ -21,14 +21,14 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 02bd6f24-2141-4dbd-9480-023f2ea1517a + apim-request-id: a2da5911-61df-45bf-8063-212491044d01 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:40 GMT + date: Wed, 30 Sep 2020 16:02:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '65' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset_length.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml similarity index 90% rename from sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset_length.yaml rename to sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml index 9e14132209cf..9a6fe96f2e76 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset_length.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: b4026114-ae5e-406f-933e-238867add232 + apim-request-id: 7c8b097d-563e-4dce-849e-9b25fc5b623a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml index fba342d91dc1..c81faf5b46b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: bc1eac6b-a372-4523-8c42-045018d39a78 + apim-request-id: f867c64b-5348-4c2f-89ad-74158402628b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml index 2da528654775..ca9c7af89654 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 66b86e98-08f3-4416-ab3e-75ca77168c81 + apim-request-id: 7280e655-c013-40bf-8f24-812110ec7f4c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '21' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml index 47c5ba9682d1..a3df0b3267bb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: b22671f1-8e83-42b2-9ba6-f602853e6ea6 + apim-request-id: 37f4ca8a-d742-4aff-84ef-3e424b9a13cd content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:02:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '42' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml index dab7390fae57..ef6b47a2af6b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 6b9b5ea2-d4bf-4e4f-ba43-f4edcd288cb3 + apim-request-id: b7edeb33-e3ed-4bbb-b7b1-33f99a77dc80 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml index 84125d25c248..28459fc5b02f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 0b491680-8907-479d-8cd7-1054b483e568 + apim-request-id: 3f14c7de-567b-4a84-847e-0a3997b9cf36 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:43 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml index 8823433ceccc..1692d97a61c9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 559a555f-374f-45e4-b88a-a8a5d0af3efc + apim-request-id: 323ec297-f998-40cc-9fb7-4436c8de9a06 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK @@ -44,7 +44,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -54,7 +54,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:43 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT status: code: 401 message: PermissionDenied @@ -72,21 +72,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 1cd01747-1c9c-43e4-b65e-ccd687779fdb + apim-request-id: 585a51ea-a3c0-49de-a444-985ec6bf3fd6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:43 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml index 20da8297a80c..3765a611ef00 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 260bfbaa-4d6f-4c73-8d6c-8ab882ee87d5 + apim-request-id: 4f004734-31c4-403d-84d3-2ac5b81ae3c8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml index 084c6f3567e9..7de6b3be2525 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml @@ -9,21 +9,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 0ec08730-87f4-4ddf-b963-5b0c40271884 + apim-request-id: a2f57565-a117-4fc8-a172-d092dc441a66 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '43' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml index 7acbd2ce000b..72df928dadb8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,13 +20,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 97603539-72ed-4620-8281-ece72a58e413 + apim-request-id: f651dae6-e257-470e-bb4a-2805e6959522 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:41 GMT + date: Wed, 30 Sep 2020 16:03:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml index 2af9ce5c6386..f0faba95b0a2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: c2af35be-b6fd-413c-8719-86be2ba8c2bc + apim-request-id: 54b9a869-40cb-4e6d-a097-bfe52c99d627 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:43 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml index a5b56cbded52..8aeb62726b8f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 04abf016-2b27-4d21-a35d-acc8dd03bac1 + apim-request-id: cac2a217-c82a-40f3-9935-aaeaefaa1774 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '34' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml index b73bb522b53b..abae66baf93f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,9 +25,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: ba276b1b-0d35-40b3-8835-341136b82377 + apim-request-id: 126ef5cd-77a8-484b-8912-aebba21e0bb9 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 4b30afbc50aa..51a118619750 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 43a00f02-799b-49ea-89af-1b819fadf7cb + apim-request-id: 6bd090b6-14fe-49b1-8c89-120b8f20234e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:44 GMT + date: Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index 02ce0d565960..6ec7f035fe24 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es"}}}],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 254ace4b-28fa-4d6f-8adc-0c276ab53a0f + apim-request-id: 84545f7f-a001-497a-91da-baf3ff189b3d content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index f06ceb07294a..b704e3701221 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 6fec9d53-f41a-4189-8a1c-4099f9edb4c6 + apim-request-id: 9c37bfe3-e900-4af9-b734-6601ffb15e44 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:42 GMT + date: Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '107' + x-envoy-upstream-service-time: '28' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml index bb915f3b9e83..6fedd9b0fc08 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -34,13 +34,13 @@ interactions: CPF Number","offset":3,"length":14,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 43c4d75b-d036-4090-b355-b5d1262cbdd0 + - b23abbed-3095-4528-b14d-bb22f758e131 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:42 GMT + - Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '113' + - '90' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml index a95d4f51d700..a9a8b08bfaab 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -34,13 +34,13 @@ interactions: CPF Number","offset":3,"length":14,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - d8233ad4-393a-4f2c-8a5d-271d174c52ea + - f40159ef-7e5f-430e-9678-275b2cf8d006 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '93' + - '78' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml index 843f44038183..5ecdd8dd6094 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:02 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml index b807ac522218..510943a2b49b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2020-07-01"}}}' headers: apim-request-id: - - 80582c01-e3d8-467c-bbb5-297e306656a6 + - bbdfcc65-dadd-406a-a772-8f12283ec5c8 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:43 GMT + - Wed, 30 Sep 2020 16:03:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '9' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml index b2f9d1e097fe..294bedec5a18 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml @@ -758,7 +758,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -767,11 +767,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 8038d9a7-87a5-4d08-8834-23d96b27e5a4 + - 3f098a74-eac8-4fbf-9013-caa817b619c2 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:42 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml index 02d267611ea3..36c3231b8a6c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml @@ -723,7 +723,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -732,11 +732,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - d35d7a45-2289-44e5-b471-2aabdc31fa0b + - e92345f6-ecd9-4edf-b35c-d89f2fc088e1 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:43 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '15' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml index a5675248da5b..e9c0dd0e15ec 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,11 +30,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 00bb9223-460e-46c5-ab2c-3528ff45459e + - a9d31149-d1a4-4189-a090-3a1ca6f957fb content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:43 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK @@ -63,7 +63,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -73,13 +73,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 3996bdff-6486-42ae-93da-24050ffb7904 + - d12bea9d-7a3b-46e8-a908-9ad9837b7bb2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -87,7 +87,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '75' + - '120' status: code: 200 message: OK @@ -108,7 +108,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -122,11 +122,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 47b25175-0e65-47af-b644-ed7ab3c54253 + - a20b1dfa-5360-4a84-9f68-34e976638621 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -134,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml index b0c0b6f147fe..28a89aa3fd1f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 266b2168-7d87-4ef3-b2f3-bf86f260fad7 + - 4ecc7952-5600-4936-bc8a-0cd8c97fe62b content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml index b8f847a8cd02..b2f0e3bb4deb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 4772ac65-d9cb-40f2-9735-6deb505bb0c0 + - 7da1f2de-d676-4936-b3ba-5cfb12c13006 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml index 56ab3d6fd1b8..d90a90f3cbf9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -32,11 +32,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 990db578-cdc6-4669-9231-7851449ec542 + - b7dac9b5-8abf-47f1-aeed-2bdf21db482f content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:42 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml index b9b664d07a5f..56c6caf7f40a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: :''(","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 186406d5-95d4-40a9-a890-223a540e1619 + - a4ff22d9-136e-4f9d-831c-063c6cf6551e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:42 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '59' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml index b1bca0084590..2bc5ee5cc8a6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,11 +23,11 @@ interactions: contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 2a60fe01-49e2-4175-8275-13ad8ad4490b + - 63d21146-411e-42f0-8153-d021f38497bf content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:43 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml index b16c96a0179a..9e1c1dec1f78 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,7 +26,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:43 GMT + - Wed, 30 Sep 2020 16:03:03 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml index 62cf0bec0c2e..8f35275beb1c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,11 +28,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 34fdacf6-2fe4-4676-bb21-addafcad92a9 + - 79bbef7d-0102-4697-9921-dc6b39873960 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml index c69ff5ac5579..78937deabe73 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -29,13 +29,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 1513f4e5-0291-44a7-86d7-f757ef7e8b10 + - 05e5ceca-6761-4316-994e-595a8711e092 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '64' + - '72' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml index a664bfe05dc7..5dcae572478f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 00e584f1-2298-4303-976f-ec8a9a5e80d6 + - d607d3f8-adae-47d3-86c0-f194b5462518 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml index e9a67638af42..c7c44e87373f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,11 +24,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 4150f7c3-681c-49d6-8c27-356fb089cbcd + - 3cff3b0d-739e-4ce0-bccc-97ea49e39112 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml index 578fd01d9e69..3e62d8715c6c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: Gates","category":"Person","offset":0,"length":10,"confidenceScore":0.81},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.64}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - edfc64f9-8dce-4a26-a246-07fed5bb7852 + - c0da681e-fe26-4508-8efc-d56db5885ec0 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml index ddd9f3212710..67eef776b0c1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 74008f32-6ebf-4a5e-83d5-ebd45664de99 + - fde0e138-b5e8-489b-a558-4dbcebb47ef6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '47' + - '81' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml index a6ecedd4e36f..19652fb18529 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: string: '{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 2ac722ca-734d-4c71-97ea-aa1db9f7ddab + - 90fce560-c26d-45d4-a44d-88845e8f6674 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '86' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml index f060e69c74df..1b365734ee1e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"redactedText":"Test passing cls to endpoint","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 0e83cb52-0274-4756-8b0e-c932915fcf79 + - a256fcd5-46ec-4097-aa47-ca41f11b8c09 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '56' + - '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml index 8a3dd577b7ec..587d0d582208 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -37,13 +37,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 43e359a1-5dea-4c8f-a1e5-6c882a1ba78d + - 500daca4-a43b-45fd-a7c0-7df7a7acb18f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -51,7 +51,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '103' + - '95' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml index f83ac922a59a..d9ec72fda331 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 540fdf1f-7e5c-45cd-bc92-3ce2cb49a403 + - 8c051cc3-ed6b-419f-a844-4bd6927a2dfc content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '65' + - '77' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml index 32c2e743dc47..4392ecc7985f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&domain=PHI&stringIndexType=UnicodeCodePoint response: @@ -24,13 +24,13 @@ interactions: Number","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 61e0870f-7eb9-4d25-ba5a-e7a3fd07e390 + - a9a7d002-7d75-4be8-851e-0672387c6cbf content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '72' + - '91' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml index dd6440faa1d1..8c13ba7f0d7e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,13 +23,13 @@ interactions: Social Security Number (SSN)","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 52cb00ca-65bc-41b4-a963-9335c5edbc34 + - 7942cd87-548d-4c14-a098-28edc224708e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '61' + - '71' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml index b0773f7da357..0cb1e155744b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 93b23600-2de2-488d-ba0e-d368712ef595 + - edbe5254-e89a-448f-bf96-336a6e2cea9c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '116' + - '64' status: code: 200 message: OK @@ -61,7 +61,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -73,7 +73,7 @@ interactions: content-length: - '224' date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT status: code: 401 message: PermissionDenied @@ -94,7 +94,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -104,13 +104,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - a8a6632c-b07e-43f6-9743-4f18ecf8d941 + - 7d8eb62e-102e-4693-8dd2-cd48f7fce6a7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -118,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '62' + - '76' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml index 4b7339acf4cd..a45d2399d560 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 2ecfd21a-04fd-42cf-9e96-8c3d8de0e74c + - 35d24dc2-cc5a-49da-a00f-1fc542ffa555 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '47' + - '51' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml index 280c62a8b13a..2069b9f3663b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,11 +25,11 @@ interactions: request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - dc3690e4-27ae-4170-bce1-c84ac9b94736 + - f34088e1-bae6-4e6d-90c7-587e9dc026ab content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml index 31fc7cf6affa..dc839cf2a8e6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 77873445-b1a7-40af-beb3-070b8061aa72 + - 830143d5-f3fe-45e6-b8aa-3ad47b970dba content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '78' + - '70' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml index fe91c4a04d7a..0eec36d949aa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,13 +26,13 @@ interactions: restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 28f165ac-5570-4d6e-bbf0-74f822ec5713 + - 5d5eeb50-4884-48b5-9765-cbf94b7a1bd0 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3 date: - - Thu, 10 Sep 2020 15:25:45 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '73' + - '78' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml index ec981658fa3b..fa57af438964 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,11 +30,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - a6db5943-f2e4-47bb-8f7c-3acce6a5292a + - cb369c14-9d8d-40b9-b2a2-e83b9122f495 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 143868d3ca67..1b5aa9cdee1b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -28,13 +28,13 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - ad751adb-c958-4074-b094-ecc65ea64247 + - 0d97bbeb-5ca6-4774-9a73-57f4dd1682bf content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml index d2c55ca2040e..963666891b37 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -30,11 +30,11 @@ interactions: language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: apim-request-id: - - 0bd824b4-8101-407e-b60e-06b0d5f36c0b + - 82b6e828-e86f-461f-9645-9490fedfcf62 content-type: - application/json; charset=utf-8 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index aab23453b3ce..15c66ebd9ce3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -31,13 +31,13 @@ interactions: :\"2020-07-01\"}" headers: apim-request-id: - - 2be4c56d-0462-468f-8b3e-e30a96dd845e + - 0c3526ac-359f-4241-8ac8-867d9a86004f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1 date: - - Thu, 10 Sep 2020 15:25:44 GMT + - Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '57' + - '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml index 95d3a9ceb2e6..677ebccc945a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -29,10 +29,10 @@ interactions: ************** your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[{"text":"998.214.865-68","category":"Brazil CPF Number","offset":3,"length":14,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: b70e8b1c-1fa4-4283-ae92-d08048ba7d57 + apim-request-id: cc76cdcd-dc0c-4ac7-80d0-fdcb356a2a9b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml index 1286747cf866..7e3b005fc0b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -29,14 +29,14 @@ interactions: ************** your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[{"text":"998.214.865-68","category":"Brazil CPF Number","offset":3,"length":14,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ea974837-3be5-4cec-ba82-d95fcf4f34c8 + apim-request-id: ae100ad4-43e4-4b0c-ae75-cd72d0878795 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '92' + x-envoy-upstream-service-time: '125' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml index be48681fcb95..96ef24a12bf6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:05 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml index acb685e7e62f..fb163447d4db 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2020-07-01"}}}' headers: - apim-request-id: 6cf0e4ed-12c7-4746-927c-40d84e8d21a4 + apim-request-id: 5718f0fd-83fb-4533-bea5-fdbb1eae5154 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml index 4ff9a7b9d3c4..f4b556d6adaa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -762,13 +762,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: bac7cd5d-2cf8-4d52-bd4b-304cdb2af635 + apim-request-id: 8aae3bb9-2944-4cab-9de8-7f9eccb6db37 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '13' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml index b82fd30874dd..b3e807a91fc8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml @@ -719,7 +719,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -727,13 +727,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 80759db7-05e3-4b59-8756-87c02e456135 + apim-request-id: 17e4c801-b03f-44e7-b34b-1f94000bf899 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '12' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml index efc5b81b32e0..f9fd4b6c6ddf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,9 +25,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 9dcb5cd7-7738-46c0-951d-abe98241615b + apim-request-id: ab7531f5-24d1-4af1-98ec-c9d9e7e2f887 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -49,7 +49,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -58,14 +58,14 @@ interactions: did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 0c723f73-ba0b-4278-b0ab-8ba12ec938ab + apim-request-id: df88e2c5-be92-485f-ba9f-7c1cb1a54d7c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '86' + x-envoy-upstream-service-time: '58' status: code: 200 message: OK @@ -83,7 +83,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -96,9 +96,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: e78b4f04-bc22-4b51-a76c-3d0ad7ae9dec + apim-request-id: 6e5ce80b-99e3-4bff-b93c-201e7b442a0d content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml index 588d036763dc..318a01bff651 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ceda25a9-2db9-4f8e-9e6d-485844759162 + apim-request-id: abbf788d-73e9-416f-843a-ae5f5b41a123 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index 4edfc9cc1273..45618270cbd5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,9 +18,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 841ed91c-7e78-4a25-9217-276c992276a0 + apim-request-id: 68d00964-a7d5-4015-a245-1a9f47b962b1 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml index fc78f2a55146..875c95139b6d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -27,13 +27,13 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f07f44f6-b98e-4aac-aee4-7416c0950bed + apim-request-id: d44f2454-12d8-4bed-a955-b56b575d2a30 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml index 979325b7dae6..2ca5557bc70a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"redactedText":"This won''t actually create a warning :''(","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a8c540de-f744-43b3-a745-07d9fc78f7c1 + apim-request-id: a4ac2219-0c2a-46d4-9343-53f3521f1819 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '58' + x-envoy-upstream-service-time: '67' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml index 9d68b9ae1519..72e55aae06eb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,13 +18,13 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 87a22a2a-aebc-47c5-b4e1-d5a37635b8c2 + apim-request-id: 1044b21e-6521-4cd2-85ee-b8178e2e7be4 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml index be48681fcb95..9f86e9c0ff6b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,7 +20,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:45 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml index cb56e49a87fe..b62e67f689ce 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,9 +23,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 4a0f1152-4eaa-4725-82f4-ab3ab4ab38ba + apim-request-id: c4130eba-af75-40e7-949e-d07771d0a92a content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml index 4b35bfe637c7..6696484af935 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -24,14 +24,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 5436bc25-14af-48bc-94ef-1ce1d94adb78 + apim-request-id: 96d28798-4311-4f06-8f8f-211d5c078249 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '64' + x-envoy-upstream-service-time: '306' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml index 6d22c6b80958..bcea84260f43 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a9727960-d4be-42d6-bbc7-2b1234d75b02 + apim-request-id: 0107cf48-fe77-4996-9cb5-fe804d79f370 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml index 87f5dc957d12..493c14d8a208 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -19,13 +19,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 86205f73-fb7a-4eb2-9f4b-c1dc42a93c15 + apim-request-id: 45c72418-aff6-41b5-be2c-e2ac929c9714 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml index 7863f2a1efd5..9b9162402fbf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -19,14 +19,14 @@ interactions: is the CEO of *********.","id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"text":"Bill Gates","category":"Person","offset":0,"length":10,"confidenceScore":0.81},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.64}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: e62fe766-aeb7-406f-a142-7ef7dc4c99c2 + apim-request-id: c02a232a-051b-4b7f-9197-e7eed045d2f9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '65' + x-envoy-upstream-service-time: '88' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml index c77dc22ad673..45b322e43a04 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a614b263-12e5-45f3-b883-44e2bb5a1dac + apim-request-id: 5946db3c-6a15-40c0-9541-91f1a52623b3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '69' + x-envoy-upstream-service-time: '62' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml index ac09ab5e16c3..d6f33c0cde30 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml @@ -12,21 +12,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 22002653-8b82-4cb6-8200-3d1a8e075f81 + apim-request-id: 46c3695a-aef4-4a10-9c91-33d417ff9331 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '49' + x-envoy-upstream-service-time: '65' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml index f87d58a2405f..e0a3d6f2082c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml @@ -10,21 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Test passing cls to endpoint","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: f6c6c0cc-f466-4ada-9345-b590f95be46f + apim-request-id: 5417e03f-8d0b-401d-846e-023bee1ec7e2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '57' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml index ca5f0050010c..8efa3f3cf312 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: @@ -32,10 +32,10 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 4bce2632-54b2-4613-bb7c-90061515b463 + apim-request-id: 9947a92c-1622-469d-a00b-43eacf0f333d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml index be8be5802c9a..d07372faecb9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 4be32316-e284-44f3-bc15-cbd82cbc4843 + apim-request-id: f054aa4e-89fc-4a3d-af17-7879f89ce086 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' + x-envoy-upstream-service-time: '104' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml index 3d140a3b82ed..5eb581e9a903 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&domain=PHI&stringIndexType=UnicodeCodePoint response: @@ -19,14 +19,14 @@ interactions: is ************","id":"0","entities":[{"text":"333-333-3333","category":"Phone Number","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 58475a75-aa91-431e-ba05-91d0d0230155 + apim-request-id: daca87b0-6855-4b2f-ac6a-470f3809549b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '65' + x-envoy-upstream-service-time: '79' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml index 60374a5932bd..2977b5484670 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -18,14 +18,14 @@ interactions: string: '{"documents":[{"redactedText":"My SSN is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"U.S. Social Security Number (SSN)","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 6d093cf9-538f-433d-a909-e04e4403401f + apim-request-id: 5c0fdfb6-9ba3-405b-9930-0574b5daeec3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '74' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text_v3_1_preview_1.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text_v3_1_preview_1.yaml deleted file mode 100644 index 779a2f553406..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text_v3_1_preview_1.yaml +++ /dev/null @@ -1,33 +0,0 @@ -interactions: -- request: - body: '{"documents": [{"id": "0", "text": "My SSN is 859-98-0987.", "language": - "en"}]}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '80' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - response: - body: - string: '{"documents":[{"redactedText":"My SSN is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"U.S. - Social Security Number (SSN)","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' - headers: - apim-request-id: b94f3905-dbe3-47ce-a0ba-662a828b4e3c - content-type: application/json; charset=utf-8 - csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:24:22 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' - status: - code: 200 - message: OK - url: https://westcentralus.api.cognitive.microsoft.com//text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml index 5b33d2479676..30661ff63d28 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: c590663a-12ea-4b0f-ab9c-88efa25de3b5 + apim-request-id: 7b271704-57bb-4001-91be-8a510cec087d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '83' status: code: 200 message: OK @@ -46,7 +46,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -56,7 +56,7 @@ interactions: subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:07 GMT status: code: 401 message: PermissionDenied @@ -74,7 +74,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -83,14 +83,14 @@ interactions: did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 349f6caa-914d-4844-a44e-709c8108ba19 + apim-request-id: 94ed3356-0212-470b-bcad-c3d1823de2be content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '79' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml index 824e99ef059e..93aa4656f2a5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a60c64d7-e564-42d3-b1eb-04fe6382d305 + apim-request-id: 69fd23ad-e9b1-4448-82f6-c5a8e9b0f2ed content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '49' + x-envoy-upstream-service-time: '76' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml index 9a03b8e747c4..784a0a6d8ac7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -20,9 +20,9 @@ interactions: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: c2801ca6-32dc-4126-b1b8-ad252ba20f74 + apim-request-id: 42587cfe-076a-4e7d-9c14-8b71c7ed8987 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:46 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml index fae18ebea0f4..e024ae0bb56b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: 16bdeafe-ee58-4c89-b316-4f122f2e0723 + apim-request-id: ef4d4688-dc27-49d1-9730-03d3b85061c1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '92' + x-envoy-upstream-service-time: '64' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml index a25b2d6c1da2..b937bb0e40fe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -21,14 +21,14 @@ interactions: did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' headers: - apim-request-id: bff77a34-fa72-409c-9607-dac513b3bcf8 + apim-request-id: e7c7594c-395a-4d5d-9d1a-a06a77993c3c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '73' + x-envoy-upstream-service-time: '74' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml index 6ac8c3502322..426399782530 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,9 +25,9 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: a9f07c8e-4787-4cf9-8a83-2ce2cb191669 + apim-request-id: f6669385-d0bf-40d1-9ae2-7abbf63112d2 content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index ce5a7f0732a9..9e2996c0ae77 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -23,14 +23,14 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: ee3d1480-b2d1-4b4f-ba60-041420835d66 + apim-request-id: 8bf037fb-6958-4862-a233-917520cf2998 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' + x-envoy-upstream-service-time: '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index bede07826066..3c7de6c5ed4b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -25,13 +25,13 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en"}}}],"modelVersion":"2020-07-01"}' headers: - apim-request-id: c0b5d4b0-69c1-4eb1-8398-e5a80f945ecd + apim-request-id: b7af8d86-3df7-4711-b81f-e315cac5cacd content-type: application/json; charset=utf-8 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index d834537374a2..b4c49eb68e0d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0b2 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) method: POST uri: https://westcentralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.2/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: @@ -26,14 +26,14 @@ interactions: ,\"message\":\"Invalid language code. Supported languages: en\"}}}],\"modelVersion\"\ :\"2020-07-01\"}" headers: - apim-request-id: 1bb6dd45-fd49-4b68-b29a-4575bce54d30 + apim-request-id: 6e619a22-181c-4413-9cd0-526d4272040c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1 - date: Thu, 10 Sep 2020 15:25:47 GMT + date: Wed, 30 Sep 2020 16:03:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '47' + x-envoy-upstream-service-time: '46' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py index c914a08fa1f3..b7999dfb8ce1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py @@ -592,7 +592,6 @@ def test_opinion_mining(self, client): self.assertEqual(0.0, aspect.confidence_scores.neutral) self.validateConfidenceScores(aspect.confidence_scores) self.assertEqual(32, aspect.offset) - self.assertEqual(6, aspect.length) sleek_opinion = mined_opinion.opinions[0] self.assertEqual('sleek', sleek_opinion.text) @@ -600,7 +599,6 @@ def test_opinion_mining(self, client): self.assertEqual(0.0, sleek_opinion.confidence_scores.neutral) self.validateConfidenceScores(sleek_opinion.confidence_scores) self.assertEqual(9, sleek_opinion.offset) - self.assertEqual(5, sleek_opinion.length) self.assertFalse(sleek_opinion.is_negated) premium_opinion = mined_opinion.opinions[1] @@ -609,7 +607,6 @@ def test_opinion_mining(self, client): self.assertEqual(0.0, premium_opinion.confidence_scores.neutral) self.validateConfidenceScores(premium_opinion.confidence_scores) self.assertEqual(15, premium_opinion.offset) - self.assertEqual(7, premium_opinion.length) self.assertFalse(premium_opinion.is_negated) @GlobalTextAnalyticsAccountPreparer() @@ -630,14 +627,12 @@ def test_opinion_mining_with_negated_opinion(self, client): self.assertEqual(0.0, food_aspect.confidence_scores.neutral) self.validateConfidenceScores(food_aspect.confidence_scores) self.assertEqual(4, food_aspect.offset) - self.assertEqual(4, food_aspect.length) self.assertEqual('service', service_aspect.text) self.assertEqual('negative', service_aspect.sentiment) self.assertEqual(0.0, service_aspect.confidence_scores.neutral) self.validateConfidenceScores(service_aspect.confidence_scores) self.assertEqual(13, service_aspect.offset) - self.assertEqual(7, service_aspect.length) food_opinion = sentence.mined_opinions[0].opinions[0] service_opinion = sentence.mined_opinions[1].opinions[0] @@ -648,7 +643,6 @@ def test_opinion_mining_with_negated_opinion(self, client): self.assertEqual(0.0, food_opinion.confidence_scores.neutral) self.validateConfidenceScores(food_opinion.confidence_scores) self.assertEqual(28, food_opinion.offset) - self.assertEqual(4, food_opinion.length) self.assertTrue(food_opinion.is_negated) @@ -703,23 +697,19 @@ def test_opinion_mining_v3(self, client): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - def test_offset_length(self, client): + def test_offset(self, client): result = client.analyze_sentiment(["I like nature. I do not like being inside"]) sentences = result[0].sentences self.assertEqual(sentences[0].offset, 0) - self.assertEqual(sentences[0].length, 14) self.assertEqual(sentences[1].offset, 15) - self.assertEqual(sentences[1].length, 26) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - def test_no_offset_length_v3_sentence_sentiment(self, client): + def test_no_offset_v3_sentence_sentiment(self, client): result = client.analyze_sentiment(["I like nature. I do not like being inside"]) sentences = result[0].sentences self.assertIsNone(sentences[0].offset) - self.assertIsNone(sentences[0].length) self.assertIsNone(sentences[1].offset) - self.assertIsNone(sentences[1].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py index 16eedf46b21f..fef0c7111d1a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py @@ -608,7 +608,6 @@ async def test_opinion_mining(self, client): self.assertEqual(0.0, aspect.confidence_scores.neutral) self.validateConfidenceScores(aspect.confidence_scores) self.assertEqual(32, aspect.offset) - self.assertEqual(6, aspect.length) sleek_opinion = mined_opinion.opinions[0] self.assertEqual('sleek', sleek_opinion.text) @@ -616,7 +615,6 @@ async def test_opinion_mining(self, client): self.assertEqual(0.0, sleek_opinion.confidence_scores.neutral) self.validateConfidenceScores(sleek_opinion.confidence_scores) self.assertEqual(9, sleek_opinion.offset) - self.assertEqual(5, sleek_opinion.length) self.assertFalse(sleek_opinion.is_negated) premium_opinion = mined_opinion.opinions[1] @@ -625,7 +623,6 @@ async def test_opinion_mining(self, client): self.assertEqual(0.0, premium_opinion.confidence_scores.neutral) self.validateConfidenceScores(premium_opinion.confidence_scores) self.assertEqual(15, premium_opinion.offset) - self.assertEqual(7, premium_opinion.length) self.assertFalse(premium_opinion.is_negated) @GlobalTextAnalyticsAccountPreparer() @@ -646,14 +643,12 @@ async def test_opinion_mining_with_negated_opinion(self, client): self.assertEqual(0.0, food_aspect.confidence_scores.neutral) self.validateConfidenceScores(food_aspect.confidence_scores) self.assertEqual(4, food_aspect.offset) - self.assertEqual(4, food_aspect.length) self.assertEqual('service', service_aspect.text) self.assertEqual('negative', service_aspect.sentiment) self.assertEqual(0.0, service_aspect.confidence_scores.neutral) self.validateConfidenceScores(service_aspect.confidence_scores) self.assertEqual(13, service_aspect.offset) - self.assertEqual(7, service_aspect.length) food_opinion = sentence.mined_opinions[0].opinions[0] service_opinion = sentence.mined_opinions[1].opinions[0] @@ -664,7 +659,6 @@ async def test_opinion_mining_with_negated_opinion(self, client): self.assertEqual(0.0, food_opinion.confidence_scores.neutral) self.validateConfidenceScores(food_opinion.confidence_scores) self.assertEqual(28, food_opinion.offset) - self.assertEqual(4, food_opinion.length) self.assertTrue(food_opinion.is_negated) @GlobalTextAnalyticsAccountPreparer() @@ -718,23 +712,19 @@ async def test_opinion_mining_v3(self, client): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - async def test_offset_length(self, client): + async def test_offset(self, client): result = await client.analyze_sentiment(["I like nature. I do not like being inside"]) sentences = result[0].sentences self.assertEqual(sentences[0].offset, 0) - self.assertEqual(sentences[0].length, 14) self.assertEqual(sentences[1].offset, 15) - self.assertEqual(sentences[1].length, 26) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - async def test_no_offset_length_v3_sentence_sentiment(self, client): + async def test_no_offset_v3_sentence_sentiment(self, client): result = await client.analyze_sentiment(["I like nature. I do not like being inside"]) sentences = result[0].sentences self.assertIsNone(sentences[0].offset) - self.assertIsNone(sentences[0].length) self.assertIsNone(sentences[1].offset) - self.assertIsNone(sentences[1].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding.py index f7494d6fdcbe..0b3539b8fc09 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding.py @@ -18,64 +18,53 @@ # the first one TextAnalyticsClientPreparer = functools.partial(_TextAnalyticsClientPreparer, TextAnalyticsClient) -# TODO: add back offset and length checks throughout this test once I add them - class TestEncoding(TextAnalyticsTest): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_emoji(self, client): result = client.recognize_pii_entities(["👩 SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 7) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_emoji_with_skin_tone_modifier(self, client): result = client.recognize_pii_entities(["👩🻠SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_emoji_family(self, client): result = client.recognize_pii_entities(["👩â€ðŸ‘©â€ðŸ‘§â€ðŸ‘§ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 13) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_emoji_family_with_skin_tone_modifier(self, client): result = client.recognize_pii_entities(["👩ðŸ»â€ðŸ‘©ðŸ½â€ðŸ‘§ðŸ¾â€ðŸ‘¦ðŸ¿ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 17) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_diacritics_nfc(self, client): result = client.recognize_pii_entities(["año SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 9) - self.assertEqual(result[0].entities[0].length, 11) - @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_diacritics_nfd(self, client): result = client.recognize_pii_entities(["año SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 10) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_korean_nfc(self, client): result = client.recognize_pii_entities(["ì•„ê°€ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() def test_korean_nfd(self, client): result = client.recognize_pii_entities(["ì•„ê°€ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -84,4 +73,3 @@ def test_zalgo_text(self, client): self.assertEqual(result[0].entities[0].offset, 121) - self.assertEqual(result[0].entities[0].length, 11) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding_async.py index 83868cb5d4d1..151f577c5ac0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_encoding_async.py @@ -19,64 +19,54 @@ # the first one TextAnalyticsClientPreparer = functools.partial(_TextAnalyticsClientPreparer, TextAnalyticsClient) -# TODO: add back offset and length checks throughout this test once I add them - class TestEncoding(AsyncTextAnalyticsTest): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_emoji(self, client): result = await client.recognize_pii_entities(["👩 SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 7) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_emoji_with_skin_tone_modifier(self, client): result = await client.recognize_pii_entities(["👩🻠SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_emoji_family(self, client): result = await client.recognize_pii_entities(["👩â€ðŸ‘©â€ðŸ‘§â€ðŸ‘§ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 13) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_emoji_family_with_skin_tone_modifier(self, client): result = await client.recognize_pii_entities(["👩ðŸ»â€ðŸ‘©ðŸ½â€ðŸ‘§ðŸ¾â€ðŸ‘¦ðŸ¿ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 17) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_diacritics_nfc(self, client): result = await client.recognize_pii_entities(["año SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 9) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_diacritics_nfd(self, client): result = await client.recognize_pii_entities(["año SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 10) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_korean_nfc(self, client): result = await client.recognize_pii_entities(["ì•„ê°€ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() async def test_korean_nfd(self, client): result = await client.recognize_pii_entities(["ì•„ê°€ SSN: 859-98-0987"]) self.assertEqual(result[0].entities[0].offset, 8) - self.assertEqual(result[0].entities[0].length, 11) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -85,4 +75,3 @@ async def test_zalgo_text(self, client): self.assertEqual(result[0].entities[0].offset, 121) - self.assertEqual(result[0].entities[0].length, 11) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py index 51dba93a5696..65d383adf31e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py @@ -46,8 +46,6 @@ def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -66,8 +64,6 @@ def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -547,31 +543,25 @@ def callback(pipeline_response, deserialized, _): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - def test_offset_length(self, client): + def test_offset(self, client): result = client.recognize_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertEqual(entities[0].offset, 0) - self.assertEqual(entities[0].length, 9) self.assertEqual(entities[1].offset, 25) - self.assertEqual(entities[1].length, 10) self.assertEqual(entities[2].offset, 40) - self.assertEqual(entities[2].length, 10) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - def test_no_offset_length_v3_categorized_entities(self, client): + def test_no_offset_v3_categorized_entities(self, client): result = client.recognize_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertIsNone(entities[0].offset) - self.assertIsNone(entities[0].length) self.assertIsNone(entities[1].offset) - self.assertIsNone(entities[1].length) self.assertIsNone(entities[2].offset) - self.assertIsNone(entities[2].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py index 196bc9e91762..e6fdd7e1115b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py @@ -62,8 +62,6 @@ async def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -82,8 +80,6 @@ async def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -566,31 +562,25 @@ def callback(pipeline_response, deserialized, _): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - async def test_offset_length(self, client): + async def test_offset(self, client): result = await client.recognize_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertEqual(entities[0].offset, 0) - self.assertEqual(entities[0].length, 9) self.assertEqual(entities[1].offset, 25) - self.assertEqual(entities[1].length, 10) self.assertEqual(entities[2].offset, 40) - self.assertEqual(entities[2].length, 10) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - async def test_no_offset_length_v3_categorized_entities(self, client): + async def test_no_offset_v3_categorized_entities(self, client): result = await client.recognize_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertIsNone(entities[0].offset) - self.assertIsNone(entities[0].length) self.assertIsNone(entities[1].offset) - self.assertIsNone(entities[1].length) self.assertIsNone(entities[2].offset) - self.assertIsNone(entities[2].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py index 4a58b11614f0..8f93ccc8d1bf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py @@ -50,8 +50,6 @@ def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.matches) for match in entity.matches: self.assertIsNotNone(match.offset) - self.assertIsNotNone(match.length) - self.assertNotEqual(match.length, 0) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -73,8 +71,6 @@ def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.matches) for match in entity.matches: self.assertIsNotNone(match.offset) - self.assertIsNotNone(match.length) - self.assertNotEqual(match.length, 0) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -549,7 +545,7 @@ def callback(pipeline_response, deserialized, _): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - def test_offset_length(self, client): + def test_offset(self, client): result = client.recognize_linked_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities @@ -559,26 +555,20 @@ def test_offset_length(self, client): paul_allen_entity = [entity for entity in entities if entity.name == "Paul Allen"][0] self.assertEqual(microsoft_entity.matches[0].offset, 0) - self.assertEqual(microsoft_entity.matches[0].length, 9) self.assertEqual(bill_gates_entity.matches[0].offset, 25) - self.assertEqual(bill_gates_entity.matches[0].length, 10) self.assertEqual(paul_allen_entity.matches[0].offset, 40) - self.assertEqual(paul_allen_entity.matches[0].length, 10) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - def test_no_offset_length_v3_linked_entity_match(self, client): + def test_no_offset_v3_linked_entity_match(self, client): result = client.recognize_linked_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertIsNone(entities[0].matches[0].offset) - self.assertIsNone(entities[0].matches[0].length) self.assertIsNone(entities[1].matches[0].offset) - self.assertIsNone(entities[1].matches[0].length) self.assertIsNone(entities[2].matches[0].offset) - self.assertIsNone(entities[2].matches[0].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py index d10902e8a57f..c89dad487087 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py @@ -67,8 +67,6 @@ async def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.matches) for match in entity.matches: self.assertIsNotNone(match.offset) - self.assertIsNotNone(match.length) - self.assertNotEqual(match.length, 0) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -91,8 +89,6 @@ async def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.matches) for match in entity.matches: self.assertIsNotNone(match.offset) - self.assertIsNotNone(match.length) - self.assertNotEqual(match.length, 0) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() @@ -585,7 +581,7 @@ def callback(pipeline_response, deserialized, _): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer() - async def test_offset_length(self, client): + async def test_offset(self, client): result = await client.recognize_linked_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities @@ -595,26 +591,20 @@ async def test_offset_length(self, client): paul_allen_entity = [entity for entity in entities if entity.name == "Paul Allen"][0] self.assertEqual(microsoft_entity.matches[0].offset, 0) - self.assertEqual(microsoft_entity.matches[0].length, 9) self.assertEqual(bill_gates_entity.matches[0].offset, 25) - self.assertEqual(bill_gates_entity.matches[0].length, 10) self.assertEqual(paul_allen_entity.matches[0].offset, 40) - self.assertEqual(paul_allen_entity.matches[0].length, 10) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) - async def test_no_offset_length_v3_linked_entity_match(self, client): + async def test_no_offset_v3_linked_entity_match(self, client): result = await client.recognize_linked_entities(["Microsoft was founded by Bill Gates and Paul Allen"]) entities = result[0].entities self.assertIsNone(entities[0].matches[0].offset) - self.assertIsNone(entities[0].matches[0].length) self.assertIsNone(entities[1].matches[0].offset) - self.assertIsNone(entities[1].matches[0].length) self.assertIsNone(entities[2].matches[0].offset) - self.assertIsNone(entities[2].matches[0].length) @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py index 3171d439241d..fc62d6510e03 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py @@ -24,8 +24,6 @@ # the first one TextAnalyticsClientPreparer = functools.partial(_TextAnalyticsClientPreparer, TextAnalyticsClient) -# TODO: add back offset and length checks throughout this test once I add them - class TestRecognizePIIEntities(TextAnalyticsTest): @GlobalTextAnalyticsAccountPreparer() @@ -56,8 +54,6 @@ def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -83,8 +79,6 @@ def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) - self.assertNotEqual(entity.length, 0) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py index dbc9edc82b74..4949bc54b1e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py @@ -24,7 +24,6 @@ # pre-apply the client_cls positional argument so it needn't be explicitly passed below # the first one TextAnalyticsClientPreparer = functools.partial(_TextAnalyticsClientPreparer, TextAnalyticsClient) -# TODO: add back offset and length checks throughout this test once I add them class TestRecognizePIIEntities(AsyncTextAnalyticsTest): @@ -56,7 +55,6 @@ async def test_all_successful_passing_dict(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() @@ -82,7 +80,6 @@ async def test_all_successful_passing_text_document_input(self, client): self.assertIsNotNone(entity.text) self.assertIsNotNone(entity.category) self.assertIsNotNone(entity.offset) - self.assertIsNotNone(entity.length) self.assertIsNotNone(entity.confidence_score) @GlobalTextAnalyticsAccountPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py index 5b9f82f5b3de..f1cd0f167e39 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py @@ -70,12 +70,11 @@ def categorized_entity(): category="Person", subcategory="Age", offset=0, - length=8, confidence_score=0.899 ) model_repr = ( "CategorizedEntity(text=Bill Gates, category=Person, subcategory=Age, " - "offset=0, length=8, confidence_score=0.899)" + "offset=0, confidence_score=0.899)" ) assert repr(model) == model_repr return model, model_repr @@ -88,10 +87,9 @@ def pii_entity(): category="SSN", subcategory=None, offset=0, - length=11, confidence_score=0.899 ) - model_repr = "PiiEntity(text=859-98-0987, category=SSN, subcategory=None, offset=0, length=11, confidence_score=0.899)" + model_repr = "PiiEntity(text=859-98-0987, category=SSN, subcategory=None, offset=0, confidence_score=0.899)" assert repr(model) == model_repr return model, model_repr @@ -102,9 +100,8 @@ def linked_entity_match(): confidence_score=0.999, text="Bill Gates", offset=0, - length=8 ) - model_repr = "LinkedEntityMatch(confidence_score=0.999, text=Bill Gates, offset=0, length=8)" + model_repr = "LinkedEntityMatch(confidence_score=0.999, text=Bill Gates, offset=0)" assert repr(model) == model_repr return model, model_repr @@ -159,9 +156,8 @@ def aspect_sentiment(aspect_opinion_confidence_score): sentiment="positive", confidence_scores=aspect_opinion_confidence_score[0], offset=10, - length=6 ) - model_repr = "AspectSentiment(text=aspect, sentiment=positive, confidence_scores={}, offset=10, length=6)".format( + model_repr = "AspectSentiment(text=aspect, sentiment=positive, confidence_scores={}, offset=10)".format( aspect_opinion_confidence_score[1] ) assert repr(model) == model_repr @@ -174,10 +170,9 @@ def opinion_sentiment(aspect_opinion_confidence_score): sentiment="positive", confidence_scores=aspect_opinion_confidence_score[0], offset=3, - length=7, is_negated=False ) - model_repr = "OpinionSentiment(text=opinion, sentiment=positive, confidence_scores={}, offset=3, length=7, is_negated=False)".format( + model_repr = "OpinionSentiment(text=opinion, sentiment=positive, confidence_scores={}, offset=3, is_negated=False)".format( aspect_opinion_confidence_score[1] ) assert repr(model) == model_repr @@ -200,12 +195,11 @@ def sentence_sentiment(sentiment_confidence_scores, mined_opinion): sentiment="neutral", confidence_scores=sentiment_confidence_scores[0], offset=0, - length=10, mined_opinions=[mined_opinion[0]] ) model_repr = ( "SentenceSentiment(text=This is a sentence., sentiment=neutral, confidence_scores={}, "\ - "offset=0, length=10, mined_opinions=[{}])".format( + "offset=0, mined_opinions=[{}])".format( sentiment_confidence_scores[1], mined_opinion[1] ) ) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/testcase.py b/sdk/textanalytics/azure-ai-textanalytics/tests/testcase.py index 22ab4772fd3e..09257afb3767 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/testcase.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/testcase.py @@ -60,7 +60,6 @@ def assertOpinionsEqual(self, opinion_one, opinion_two): self.assertEqual(opinion_one.confidence_scores.negative, opinion_two.confidence_scores.negative) self.validateConfidenceScores(opinion_one.confidence_scores) self.assertEqual(opinion_one.offset, opinion_two.offset) - self.assertEqual(opinion_one.length, opinion_two.length) self.assertEqual(opinion_one.text, opinion_two.text) self.assertEqual(opinion_one.is_negated, opinion_two.is_negated) From f23c7528e743df9814393ee3ed582fc736360efe Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Sep 2020 12:55:16 -0700 Subject: [PATCH 23/71] Sync eng/common directory with azure-sdk-tools repository for Tools PR 1061 (#14142) --- eng/common/scripts/logging.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/logging.ps1 b/eng/common/scripts/logging.ps1 index 19a6fa5bc36d..9b327fd81c19 100644 --- a/eng/common/scripts/logging.ps1 +++ b/eng/common/scripts/logging.ps1 @@ -31,7 +31,7 @@ function LogDebug { if ($isDevOpsRun) { - Write-Host "##vso[task.LogIssue type=debug;]$args" + Write-Host "[debug]$args" } else { From 8b06c80b1f988f71b641811a24ee746fb762819c Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 30 Sep 2020 13:03:06 -0700 Subject: [PATCH 24/71] shorten names (#14146) --- ...t_create_ad_config_multiple_series_and_group_conds.yaml} | 0 ...async.test_create_ad_config_whole_series_detection.yaml} | 0 ....test_create_ad_config_with_series_and_group_conds.yaml} | 0 .../test_metric_anomaly_detection_config_async.py | 6 +++--- ...t_create_ad_config_multiple_series_and_group_conds.yaml} | 0 ...onfig.test_create_ad_config_whole_series_detection.yaml} | 0 ....test_create_ad_config_with_series_and_group_conds.yaml} | 0 .../tests/test_metric_anomaly_detection_config.py | 6 +++--- 8 files changed, 6 insertions(+), 6 deletions(-) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/{test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml => test_metric_anomaly_detection_config_async.test_create_ad_config_multiple_series_and_group_conds.yaml} (100%) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/{test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml => test_metric_anomaly_detection_config_async.test_create_ad_config_whole_series_detection.yaml} (100%) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/{test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml => test_metric_anomaly_detection_config_async.test_create_ad_config_with_series_and_group_conds.yaml} (100%) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/{test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml => test_metric_anomaly_detection_config.test_create_ad_config_multiple_series_and_group_conds.yaml} (100%) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/{test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml => test_metric_anomaly_detection_config.test_create_ad_config_whole_series_detection.yaml} (100%) rename sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/{test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml => test_metric_anomaly_detection_config.test_create_ad_config_with_series_and_group_conds.yaml} (100%) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_multiple_series_and_group_conds.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_detection_config_with_multiple_series_and_group_conditions.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_multiple_series_and_group_conds.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_whole_series_detection.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_whole_series_detection.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_with_series_and_group_conds.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/recordings/test_metric_anomaly_detection_config_async.test_create_ad_config_with_series_and_group_conds.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py index a9cf1a0eb22a..e58e1dbed26c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_metric_anomaly_detection_config_async.py @@ -22,7 +22,7 @@ class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync): @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test - async def test_create_metric_anomaly_detection_configuration_whole_series_detection(self): + async def test_create_ad_config_whole_series_detection(self): data_feed = await self._create_data_feed("adconfigasync") async with self.admin_client: @@ -103,7 +103,7 @@ async def test_create_metric_anomaly_detection_configuration_whole_series_detect await self.admin_client.delete_data_feed(data_feed.id) @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test - async def test_create_metric_anomaly_detection_config_with_series_and_group_conditions(self): + async def test_create_ad_config_with_series_and_group_conds(self): data_feed = await self._create_data_feed("adconfiggetasync") async with self.admin_client: try: @@ -220,7 +220,7 @@ async def test_create_metric_anomaly_detection_config_with_series_and_group_cond await self.admin_client.delete_data_feed(data_feed.id) @TestMetricsAdvisorAdministrationClientBaseAsync.await_prepared_test - async def test_create_detection_config_with_multiple_series_and_group_conditions(self): + async def test_create_ad_config_multiple_series_and_group_conds(self): data_feed = await self._create_data_feed("datafeedforconfigasync") async with self.admin_client: try: diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_multiple_series_and_group_conds.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_detection_config_with_multiple_series_and_group_conditions.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_multiple_series_and_group_conds.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_whole_series_detection.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_configuration_whole_series_detection.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_whole_series_detection.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_with_series_and_group_conds.yaml similarity index 100% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_metric_anomaly_detection_config_with_series_and_group_conditions.yaml rename to sdk/metricsadvisor/azure-ai-metricsadvisor/tests/recordings/test_metric_anomaly_detection_config.test_create_ad_config_with_series_and_group_conds.yaml diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py index 5e4aef9e1bfd..c8a0385b1bc3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metric_anomaly_detection_config.py @@ -22,7 +22,7 @@ class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorAdministrationClientBase): - def test_create_metric_anomaly_detection_configuration_whole_series_detection(self): + def test_create_ad_config_whole_series_detection(self): data_feed = self._create_data_feed("adconfig") try: @@ -101,7 +101,7 @@ def test_create_metric_anomaly_detection_configuration_whole_series_detection(se finally: self.admin_client.delete_data_feed(data_feed.id) - def test_create_metric_anomaly_detection_config_with_series_and_group_conditions(self): + def test_create_ad_config_with_series_and_group_conds(self): data_feed = self._create_data_feed("adconfigget") try: detection_config_name = self.create_random_name("testdetectionconfiget") @@ -216,7 +216,7 @@ def test_create_metric_anomaly_detection_config_with_series_and_group_conditions finally: self.admin_client.delete_data_feed(data_feed.id) - def test_create_detection_config_with_multiple_series_and_group_conditions(self): + def test_create_ad_config_multiple_series_and_group_conds(self): data_feed = self._create_data_feed("datafeedforconfig") try: detection_config_name = self.create_random_name("multipledetectionconfigs") From ebea3999d4531fc807288b41324f9ebbf7519848 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 30 Sep 2020 15:38:30 -0700 Subject: [PATCH 25/71] rename use_detection_result_to_filter_anomalies to negation_operation (#14155) --- .../azure/ai/metricsadvisor/models/_models.py | 10 +++---- .../test_anomaly_alert_config_async.py | 28 +++++++++---------- .../tests/test_anomaly_alert_config.py | 28 +++++++++---------- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py index 67de4f6394d7..a9098ab8c8d8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -536,8 +536,8 @@ class MetricAlertConfiguration(object): :type detection_configuration_id: str :param alert_scope: Required. Anomaly scope. :type alert_scope: ~azure.ai.metricsadvisor.models.MetricAnomalyAlertScope - :keyword use_detection_result_to_filter_anomalies: Negation operation. - :paramtype use_detection_result_to_filter_anomalies: bool + :keyword negation_operation: Negation operation. + :paramtype negation_operation: bool :keyword alert_conditions: :paramtype alert_conditions: ~azure.ai.metricsadvisor.models.MetricAnomalyAlertConditions :keyword alert_snooze_condition: @@ -547,7 +547,7 @@ def __init__(self, detection_configuration_id, alert_scope, **kwargs): # type: (str, MetricAnomalyAlertScope, Any) -> None self.detection_configuration_id = detection_configuration_id self.alert_scope = alert_scope - self.use_detection_result_to_filter_anomalies = kwargs.get("use_detection_result_to_filter_anomalies", None) + self.negation_operation = kwargs.get("negation_operation", None) self.alert_conditions = kwargs.get("alert_conditions", None) self.alert_snooze_condition = kwargs.get("alert_snooze_condition", None) @@ -556,7 +556,7 @@ def _from_generated(cls, config): return cls( detection_configuration_id=config.anomaly_detection_configuration_id, alert_scope=MetricAnomalyAlertScope._from_generated(config), - use_detection_result_to_filter_anomalies=config.negation_operation, + negation_operation=config.negation_operation, alert_snooze_condition=MetricAnomalyAlertSnoozeCondition( auto_snooze=config.snooze_filter.auto_snooze, snooze_scope=config.snooze_filter.snooze_scope, @@ -588,7 +588,7 @@ def _to_generated(self): period=self.alert_scope.top_n_group_in_scope.period, min_top_count=self.alert_scope.top_n_group_in_scope.min_top_count, ) if self.alert_scope.top_n_group_in_scope else None, - negation_operation=self.use_detection_result_to_filter_anomalies, + negation_operation=self.negation_operation, severity_filter=_SeverityCondition( max_alert_severity=self.alert_conditions.severity_condition.max_alert_severity, min_alert_severity=self.alert_conditions.severity_condition.min_alert_severity diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py index 8c09db7c9b21..f33c1d677dd8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_anomaly_alert_config_async.py @@ -58,7 +58,7 @@ async def test_create_anomaly_alert_config_top_n_alert_direction_both(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -120,7 +120,7 @@ async def test_create_anomaly_alert_config_top_n_alert_direction_down(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -182,7 +182,7 @@ async def test_create_anomaly_alert_config_top_n_alert_direction_up(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -243,7 +243,7 @@ async def test_create_anomaly_alert_config_top_n_severity_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -297,7 +297,7 @@ async def test_create_anomaly_alert_config_snooze_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -350,7 +350,7 @@ async def test_create_anomaly_alert_config_whole_series_alert_direction_both(sel self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -403,7 +403,7 @@ async def test_create_anomaly_alert_config_whole_series_alert_direction_down(sel self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -456,7 +456,7 @@ async def test_create_anomaly_alert_config_whole_series_alert_direction_up(self) self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -508,7 +508,7 @@ async def test_create_anomaly_alert_config_whole_series_severity_condition(self) self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertEqual( alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") @@ -557,7 +557,7 @@ async def test_create_anomaly_alert_config_series_group_alert_direction_both(sel self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -612,7 +612,7 @@ async def test_create_anomaly_alert_config_series_group_alert_direction_down(sel self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -667,7 +667,7 @@ async def test_create_anomaly_alert_config_series_group_alert_direction_up(self) self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -721,7 +721,7 @@ async def test_create_anomaly_alert_config_series_group_severity_condition(self) self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertEqual( @@ -801,7 +801,7 @@ async def test_create_anomaly_alert_config_multiple_configurations(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 3) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py index 5334bf465546..14f33265668d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_anomaly_alert_config.py @@ -57,7 +57,7 @@ def test_create_anomaly_alert_config_top_n_alert_direction_both(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -117,7 +117,7 @@ def test_create_anomaly_alert_config_top_n_alert_direction_down(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -177,7 +177,7 @@ def test_create_anomaly_alert_config_top_n_alert_direction_up(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -236,7 +236,7 @@ def test_create_anomaly_alert_config_top_n_severity_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -288,7 +288,7 @@ def test_create_anomaly_alert_config_snooze_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) @@ -339,7 +339,7 @@ def test_create_anomaly_alert_config_whole_series_alert_direction_both(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -390,7 +390,7 @@ def test_create_anomaly_alert_config_whole_series_alert_direction_down(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -441,7 +441,7 @@ def test_create_anomaly_alert_config_whole_series_alert_direction_up(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertIsNotNone( alert_config.metric_alert_configurations[0].alert_conditions.metric_boundary_condition.companion_metric_id) @@ -491,7 +491,7 @@ def test_create_anomaly_alert_config_whole_series_severity_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "WholeSeries") self.assertEqual( alert_config.metric_alert_configurations[0].alert_conditions.severity_condition.min_alert_severity, "Low") @@ -538,7 +538,7 @@ def test_create_anomaly_alert_config_series_group_alert_direction_both(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -591,7 +591,7 @@ def test_create_anomaly_alert_config_series_group_alert_direction_down(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -644,7 +644,7 @@ def test_create_anomaly_alert_config_series_group_alert_direction_up(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertIsNotNone( @@ -696,7 +696,7 @@ def test_create_anomaly_alert_config_series_group_severity_condition(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 1) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "SeriesGroup") self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.series_group_in_scope, {'city': 'Shenzhen'}) self.assertEqual( @@ -774,7 +774,7 @@ def test_create_anomaly_alert_config_multiple_configurations(self): self.assertIsNotNone(alert_config.name) self.assertEqual(len(alert_config.metric_alert_configurations), 3) self.assertIsNotNone(alert_config.metric_alert_configurations[0].detection_configuration_id) - self.assertFalse(alert_config.metric_alert_configurations[0].use_detection_result_to_filter_anomalies) + self.assertFalse(alert_config.metric_alert_configurations[0].negation_operation) self.assertEqual(alert_config.metric_alert_configurations[0].alert_scope.scope_type, "TopN") self.assertEqual( alert_config.metric_alert_configurations[0].alert_scope.top_n_group_in_scope.min_top_count, 9) From f6dab60d82b538cae717b32db1742ea819d21cfc Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Wed, 30 Sep 2020 16:08:39 -0700 Subject: [PATCH 26/71] raise value error if connection string has incorrect padding (#14145) * raise value error if connection string has incorrect padding --- .../azure-appconfiguration/CHANGELOG.md | 5 ++++- .../_azure_appconfiguration_client.py | 15 +++++++++++++++ .../aio/_azure_configuration_client_async.py | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md index d9f5862f8ea7..659ab2e681a3 100644 --- a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md @@ -3,8 +3,11 @@ ------------------- -## 1.1.1 (Unreleased) +## 1.1.1 (2020-10-05) +### Features + +- Improve error message if Connection string secret has incorrect padding #14140 ## 1.1.0 (2020-09-08) 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 94b11741b049..bf2eab0f50cf 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # ------------------------------------------------------------------------- +import binascii from requests.structures import CaseInsensitiveDict from azure.core import MatchConditions from azure.core.pipeline import Pipeline @@ -206,6 +207,8 @@ def list_configuration_settings( ) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def get_configuration_setting( @@ -263,6 +266,8 @@ def get_configuration_setting( return None except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def add_configuration_setting(self, configuration_setting, **kwargs): @@ -314,6 +319,8 @@ def add_configuration_setting(self, configuration_setting, **kwargs): return ConfigurationSetting._from_key_value(key_value_added) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def set_configuration_setting( @@ -382,6 +389,8 @@ def set_configuration_setting( return ConfigurationSetting._from_key_value(key_value_set) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def delete_configuration_setting( @@ -438,6 +447,8 @@ def delete_configuration_setting( return ConfigurationSetting._from_key_value(key_value_deleted) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def list_revisions( @@ -496,6 +507,8 @@ def list_revisions( ) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def set_read_only( @@ -562,3 +575,5 @@ def set_read_only( return ConfigurationSetting._from_key_value(key_value) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") 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 26e7dacf4f5c..fd3026293e0e 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 @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # ------------------------------------------------------------------------- +import binascii from requests.structures import CaseInsensitiveDict from azure.core import MatchConditions from azure.core.pipeline import AsyncPipeline @@ -217,6 +218,8 @@ def list_configuration_settings( ) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace_async async def get_configuration_setting( @@ -275,6 +278,8 @@ async def get_configuration_setting( return None except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace_async async def add_configuration_setting(self, configuration_setting, **kwargs): @@ -328,6 +333,8 @@ async def add_configuration_setting(self, configuration_setting, **kwargs): return ConfigurationSetting._from_key_value(key_value_added) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace_async async def set_configuration_setting( @@ -397,6 +404,8 @@ async def set_configuration_setting( return ConfigurationSetting._from_key_value(key_value_set) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace_async async def delete_configuration_setting( @@ -455,6 +464,8 @@ async def delete_configuration_setting( return ConfigurationSetting._from_key_value(key_value_deleted) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace def list_revisions( @@ -514,6 +525,8 @@ def list_revisions( ) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") @distributed_trace async def set_read_only( @@ -580,3 +593,5 @@ async def set_read_only( return ConfigurationSetting._from_key_value(key_value) except ErrorException as error: raise HttpResponseError(message=error.message, response=error.response) + except binascii.Error: + raise binascii.Error("Connection string secret has incorrect padding") From dd4d79e97e93cf67ebbd39720c74c649680261d5 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Wed, 30 Sep 2020 16:39:33 -0700 Subject: [PATCH 27/71] add some brief introduction for samples (#14156) --- .../azure-ai-metricsadvisor/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index f1295e20f63a..019f269debd3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -86,6 +86,8 @@ Metrics Advisor lets you create and subscribe to real-time alerts. These alerts ### Add a data feed from a sample or data source +Metrics Advisor supports connecting different types of data sources. Here is a sample to ingest data from SQL Server. + ```py from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient from azure.ai.metricsadvisor.models import ( @@ -147,6 +149,8 @@ return data_feed ### Check ingestion status +After we start the data ingestion, we can check the ingestion status. + ```py import datetime from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient @@ -172,6 +176,9 @@ for status in ingestion_status: ``` ### Configure anomaly detection configuration + +We need an anomaly detection configuration to determine whether a point in the time series is an anomaly. + ```py from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient from azure.ai.metricsadvisor.models import ( @@ -236,6 +243,8 @@ return detection_config ### Configure alert configuration +Then let's configure in which conditions an alert needs to be triggered. + ```py from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient from azure.ai.metricsadvisor.models import ( @@ -306,6 +315,8 @@ return alert_config ### Query anomaly detection results +We can query the alerts and anomalies. + ```py import datetime from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorClient @@ -430,4 +441,4 @@ additional questions or comments. [cla]: https://cla.microsoft.com [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ [coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ -[coc_contact]: mailto:opencode@microsoft.com \ No newline at end of file +[coc_contact]: mailto:opencode@microsoft.com From e4b2bc1a0004a986a79e7203cc8d59105a84b0b5 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Thu, 1 Oct 2020 09:33:17 -0700 Subject: [PATCH 28/71] Update Opentelemetry Version to 0.13b.0 (#14136) * readme + samples improvement * Update the version * Revert "readme + samples improvement" This reverts commit 37c7b137375a2979c8d641507614fee1721fdcb1. * analyze --- sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md | 3 ++- sdk/core/azure-core-tracing-opentelemetry/dev_requirements.txt | 2 +- sdk/core/azure-core-tracing-opentelemetry/setup.py | 2 +- shared_requirements.txt | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md b/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md index ec9cb0e2f3b8..e59baf51ad62 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md +++ b/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md @@ -1,8 +1,9 @@ # Release History -## 1.0.0b7 (Unreleased) +## 1.0.0b7 (2020-10-05) +- Pinned opentelemetry-api to version 0.13b0 ## 1.0.0b6 (2020-07-06) diff --git a/sdk/core/azure-core-tracing-opentelemetry/dev_requirements.txt b/sdk/core/azure-core-tracing-opentelemetry/dev_requirements.txt index 589ea6cc60cf..99e68c62d7b9 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/dev_requirements.txt +++ b/sdk/core/azure-core-tracing-opentelemetry/dev_requirements.txt @@ -1,3 +1,3 @@ -e ../../../tools/azure-sdk-tools ../azure-core -opentelemetry-sdk==0.10b0 \ No newline at end of file +opentelemetry-sdk==0.13b0 \ No newline at end of file diff --git a/sdk/core/azure-core-tracing-opentelemetry/setup.py b/sdk/core/azure-core-tracing-opentelemetry/setup.py index a95909674b4d..7a69fd04b5b3 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/setup.py +++ b/sdk/core/azure-core-tracing-opentelemetry/setup.py @@ -58,7 +58,7 @@ ], python_requires=">=3.5.0", install_requires=[ - 'opentelemetry-api==0.10b0', + 'opentelemetry-api==0.13b0', 'azure-core<2.0.0,>=1.0.0', ], extras_require={ diff --git a/shared_requirements.txt b/shared_requirements.txt index 0314e2ee41de..8486e7994bf3 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -148,7 +148,7 @@ avro<2.0.0,>=1.10.0 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 -opentelemetry-api==0.10b0 +opentelemetry-api==0.13b0 #override azure-eventhub-checkpointstoreblob msrest>=0.6.10 #override azure-eventhub-checkpointstoreblob-aio msrest>=0.6.10 #override azure-eventhub-checkpointstoreblob-aio aiohttp<4.0,>=3.0 From 96a605d66a1640239e59c76e3117e2589795b8df Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Thu, 1 Oct 2020 09:51:58 -0700 Subject: [PATCH 29/71] update release date (#14170) --- sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md index ff7212600d5e..b29048328bd3 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md @@ -1,4 +1,6 @@ # Release History -## 1.0.0b1 (Unreleased) +## 1.0.0b1 (2020-10-06) + +First preview release From 7ee103c77b4d88fdda25c675dd78d56db8502de9 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 1 Oct 2020 11:10:04 -0700 Subject: [PATCH 30/71] Filter authentication metadata requests during recording (#14113) --- .../src/azure_devtools/scenario_tests/__init__.py | 5 +++-- .../scenario_tests/recording_processors.py | 13 +++++++++++++ .../devtools_testutils/azure_testcase.py | 3 ++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/__init__.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/__init__.py index 4f527f7ccf5b..5fcd34996288 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/__init__.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/__init__.py @@ -10,7 +10,7 @@ from .preparers import AbstractPreparer, SingleValueReplacer from .recording_processors import ( RecordingProcessor, SubscriptionRecordingProcessor, - LargeRequestBodyProcessor, LargeResponseBodyProcessor, LargeResponseBodyReplacer, + LargeRequestBodyProcessor, LargeResponseBodyProcessor, LargeResponseBodyReplacer, AuthenticationMetadataFilter, OAuthRequestResponsesFilter, DeploymentNameReplacer, GeneralNameReplacer, AccessTokenReplacer, RequestUrlNormalizer, ) from .utilities import create_random_name, get_sha1_hash @@ -21,7 +21,8 @@ 'AbstractPreparer', 'SingleValueReplacer', 'AllowLargeResponse', 'RecordingProcessor', 'SubscriptionRecordingProcessor', 'LargeRequestBodyProcessor', 'LargeResponseBodyProcessor', 'LargeResponseBodyReplacer', - 'OAuthRequestResponsesFilter', 'DeploymentNameReplacer', 'GeneralNameReplacer', + 'AuthenticationMetadataFilter', 'OAuthRequestResponsesFilter', + 'DeploymentNameReplacer', 'GeneralNameReplacer', 'AccessTokenReplacer', 'RequestUrlNormalizer', 'live_only', 'record_only', 'create_random_name', 'get_sha1_hash'] diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py index 2ed25b3505a5..ae5f49fbe6bf 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py @@ -127,6 +127,19 @@ def process_response(self, response): return response +class AuthenticationMetadataFilter(RecordingProcessor): + """Remove authority and tenant discovery requests and responses from recordings. + + MSAL sends these requests to obtain non-secret metadata about the token authority. Recording them is unnecessary + because tests use fake credentials during playback that don't invoke MSAL. + """ + + def process_request(self, request): + if "/.well-known/openid-configuration" in request.uri or "/common/discovery/instance" in request.uri: + return None + return request + + class OAuthRequestResponsesFilter(RecordingProcessor): """Remove oauth authentication requests and responses from recording.""" diff --git a/tools/azure-sdk-tools/devtools_testutils/azure_testcase.py b/tools/azure-sdk-tools/devtools_testutils/azure_testcase.py index f0969bf078f5..21389d67e84e 100644 --- a/tools/azure-sdk-tools/devtools_testutils/azure_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/azure_testcase.py @@ -17,7 +17,7 @@ from azure_devtools.scenario_tests import ( ReplayableTest, AzureTestError, GeneralNameReplacer, RequestUrlNormalizer, - OAuthRequestResponsesFilter + AuthenticationMetadataFilter, OAuthRequestResponsesFilter ) from azure_devtools.scenario_tests.config import TestConfig @@ -125,6 +125,7 @@ def _load_settings(self): def _get_recording_processors(self): return [ self.scrubber, + AuthenticationMetadataFilter(), OAuthRequestResponsesFilter(), RequestUrlNormalizer() ] From d9d8aebc69648a24ddd887582995dc9a18415a7f Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Thu, 1 Oct 2020 11:20:25 -0700 Subject: [PATCH 31/71] Fix broken link and reference in the repo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4c9d1462fa8..56e8861aa4a1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Last stable versions of packages that have been provided for usage with Azure an ### Management: New Releases A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more. -Documentation and code samples for these new libraries can be found [here](http://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://azure.github.io/azure-sdk-for-python/mgmt_preview_quickstart.html#migration-guide). +Documentation and code samples for these new libraries can be found [here](http://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/sphinx/mgmt_quickstart.rst#migration-guide). You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/mgmt/python.html) From fa6c1b8c33a8e46641731b5a7b26ecefaf166ce4 Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:23:53 -0700 Subject: [PATCH 32/71] addressing issues with docs and readme (#13988) Address #13977 --- sdk/tables/azure-data-tables/README.md | 8 +- .../sample_authentication_async.py | 21 +- .../sample_create_client_async.py | 7 +- .../sample_create_delete_table_async.py | 60 ++--- .../sample_insert_delete_entities_async.py | 49 ++-- .../async_samples/sample_query_table_async.py | 43 +-- .../sample_query_tables_async.py | 61 +++-- ...mple_update_upsert_merge_entities_async.py | 167 ++++++------ .../samples/sample_insert_delete_entities.py | 2 + .../sample_update_upsert_merge_entities.py | 7 +- .../test_table.test_query_tables.yaml | 210 --------------- ...t.test_request_callback_signed_header.yaml | 114 -------- ...le_entity.test_get_entity_with_select.yaml | 250 ------------------ .../test_table_entity.test_timezone.yaml | 245 ----------------- 14 files changed, 212 insertions(+), 1032 deletions(-) delete mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables.yaml delete mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_request_callback_signed_header.yaml delete mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml delete mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_timezone.yaml diff --git a/sdk/tables/azure-data-tables/README.md b/sdk/tables/azure-data-tables/README.md index cc055a7e3fc3..5001eb2a0ca5 100644 --- a/sdk/tables/azure-data-tables/README.md +++ b/sdk/tables/azure-data-tables/README.md @@ -242,7 +242,11 @@ When you interact with the Azure table library using the Python SDK, errors retu For examples, if you try to create a table that already exists, a `409` error is returned indicating "Conflict". ```python -service_client = TableServiceClient(connection_string) +from azure.data.tables import TableServiceClient +from azure.core.exceptions import HttpResponseError +table_name = 'YourTableName + +service_client = TableServiceClient.from_connection_string(connection_string) # Create the table if it does not already exist tc = service_client.create_table_if_not_exists(table_name) @@ -313,7 +317,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][msft_oss_co [source_code]:https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/tables/azure-data-tables [Tables_pypi]:https://aka.ms/azsdk/python/tablespypi -[Tables_ref_docs]:https://aka.ms/azsdk/python/tablesgitdocs +[Tables_ref_docs]:https://docs.microsoft.com/python/api/overview/azure/data-tables-readme-pre?view=azure-python-preview [Tables_product_doc]:https://docs.microsoft.com/azure/cosmos-db/table-introduction [Tables_samples]:https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/tables/azure-data-tables/samples diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py index e0318f236aee..221150b7d514 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py @@ -41,29 +41,27 @@ async def authentication_by_connection_string(self): # Instantiate a TableServiceClient using a connection string # [START auth_from_connection_string] from azure.data.tables.aio import TableServiceClient - table_service = TableServiceClient.from_connection_string(conn_str=self.connection_string) - properties = await table_service.get_service_properties() - print("Connection String: {}".format(properties)) + async with TableServiceClient.from_connection_string(conn_str=self.connection_string) as table_service: + properties = await table_service.get_service_properties() + print("Connection String: {}".format(properties)) # [END auth_from_connection_string] async def authentication_by_shared_key(self): # Instantiate a TableServiceClient using a shared access key # [START auth_from_shared_key] from azure.data.tables.aio import TableServiceClient - table_service = TableServiceClient(account_url=self.account_url, credential=self.access_key) - properties = await table_service.get_service_properties() - print("Shared Key: {}".format(properties)) + async with TableServiceClient.from_connection_string(conn_str=self.connection_string) as table_service: + properties = await table_service.get_service_properties() + print("Shared Key: {}".format(properties)) # [END auth_from_shared_key] async def authentication_by_shared_access_signature(self): # Instantiate a TableServiceClient using a connection string # [START auth_by_sas] from azure.data.tables.aio import TableServiceClient - table_service = TableServiceClient.from_connection_string(conn_str=self.connection_string) # Create a SAS token to use for authentication of a client from azure.data.tables import generate_account_sas, ResourceTypes, AccountSasPermissions - print(self.account_name) sas_token = generate_account_sas( self.account_name, self.access_key, @@ -72,12 +70,11 @@ async def authentication_by_shared_access_signature(self): expiry=datetime.utcnow() + timedelta(hours=1) ) - token_auth_table_service = TableServiceClient(account_url=self.account_url, credential=sas_token) + async with TableServiceClient(account_url=self.account_url, credential=sas_token) as token_auth_table_service: + properties = await table_service.get_service_properties() + print("Shared Access Signature: {}".format(properties)) # [END auth_by_sas] - properties = await table_service.get_service_properties() - print("Shared Access Signature: {}".format(properties)) - async def main(): sample = TableAuthSamples() diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_create_client_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_create_client_async.py index 01a6736b4fff..2d54c2981611 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_create_client_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_create_client_async.py @@ -43,11 +43,8 @@ async def create_table_client(self): # Instantiate a TableServiceClient using a connection string # [START create_table_client] from azure.data.tables.aio import TableClient - table_client = TableClient.from_connection_string( - conn_str=self.connection_string, - table_name="tableName" - ) - print("Table name: {}".format(table_client.table_name)) + async with TableClient.from_connection_string(conn_str=self.connection_string, table_name="tableName") as table_client: + print("Table name: {}".format(table_client.table_name)) # [END create_table_client] diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_create_delete_table_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_create_delete_table_async.py index 9c2f906f7133..e3d105d54460 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_create_delete_table_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_create_delete_table_async.py @@ -42,21 +42,21 @@ async def create_table(self): from azure.core.exceptions import ResourceExistsError # [START create_table] - table_service_client = TableServiceClient.from_connection_string(self.connection_string) - try: - table_item = await table_service_client.create_table(table_name=self.table_name) - print("Created table {}!".format(table_item.table_name)) - except ResourceExistsError: - print("Table already exists") + async with TableServiceClient.from_connection_string(self.connection_string) as table_service_client: + try: + table_item = await table_service_client.create_table(table_name=self.table_name) + print("Created table {}!".format(table_item.table_name)) + except ResourceExistsError: + print("Table already exists") # [END create_table] async def create_if_not_exists(self): from azure.data.tables.aio import TableServiceClient # [START create_if_not_exists] - table_service_client = TableServiceClient.from_connection_string(self.connection_string) - table_item = TableServiceClient.create_table_if_not_exists(table_name=self.table_name) - print("Table name: {}".format(table_item.table_name)) + async with TableServiceClient.from_connection_string(self.connection_string) as table_service_client: + table_item = TableServiceClient.create_table_if_not_exists(table_name=self.table_name) + print("Table name: {}".format(table_item.table_name)) # [END create_if_not_exists] async def delete_table(self): @@ -64,42 +64,36 @@ async def delete_table(self): from azure.core.exceptions import ResourceNotFoundError # [START delete_table] - table_service_client = TableServiceClient.from_connection_string(self.connection_string) - try: - await table_service_client.delete_table(table_name=self.table_name) - print("Deleted table {}!".format(self.table_name)) - except ResourceNotFoundError: - print("Table could not be found") + async with TableServiceClient.from_connection_string(self.connection_string) as table_service_client: + try: + await table_service_client.delete_table(table_name=self.table_name) + print("Deleted table {}!".format(self.table_name)) + except ResourceNotFoundError: + print("Table could not be found") # [END delete_table] async def create_from_table_client(self): from azure.data.table import TableClient # [START create_from_table_client] - table_client = TableClient.from_connection_string( - conn_str=self.connection_string, - table_name=self.table_name - ) - try: - table_item = await table_client.create_table() - print("Created table {}!".format(table_item.table_name)) - except ResourceExistsError: - print("Table already exists") + async with TableClient.from_connection_string(conn_str=self.connection_string, table_name=self.table_name) as table_client: + try: + table_item = await table_client.create_table() + print("Created table {}!".format(table_item.table_name)) + except ResourceExistsError: + print("Table already exists") # [END create_from_table_client] async def delete_from_table_client(self): from azure.data.table import TableClient # [START delete_from_table_client] - table_client = TableClient.from_connection_string( - conn_str=self.connection_string, - table_name=self.table_name - ) - try: - await table_client.delete_table() - print("Deleted table {}!".format(self.table_name)) - except ResourceExistsError: - print("Table already exists") + async with TableClient.from_connection_string(conn_str=self.connection_string, table_name=self.table_name) as table_client: + try: + await table_client.delete_table() + print("Deleted table {}!".format(self.table_name)) + except ResourceExistsError: + print("Table already exists") # [END delete_from_table_client] diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py index 486d1c62dd7d..e8d229d81d26 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_insert_delete_entities_async.py @@ -43,19 +43,19 @@ async def create_entity(self): from azure.core.exceptions import ResourceExistsError, HttpResponseError table_client = TableClient.from_connection_string(self.connection_string, self.table_name) - # Create a table in case it does not already exist # [START create_entity] - try: - await table_client.create_table() - except HttpResponseError: - print("Table already exists") - - try: - entity = await table_client.create_entity(entity=self.entity) - print(entity) - except ResourceExistsError: - print("Entity already exists") + async with table_client: + try: + await table_client.create_table() + except HttpResponseError: + print("Table already exists") + + try: + entity = await table_client.create_entity(entity=self.entity) + print(entity) + except ResourceExistsError: + print("Entity already exists") # [END create_entity] @@ -67,19 +67,20 @@ async def delete_entity(self): table_client = TableClient(account_url=self.account_url, credential=self.access_key, table_name=self.table_name) # [START delete_entity] - try: - resp = await table_client.create_entity(entity=self.entity) - except ResourceExistsError: - print("Entity already exists!") - - try: - await table_client.delete_entity( - row_key=self.entity["RowKey"], - partition_key=self.entity["PartitionKey"] - ) - print("Successfully deleted!") - except ResourceNotFoundError: - print("Entity does not exists") + async with table_client: + try: + resp = await table_client.create_entity(entity=self.entity) + except ResourceExistsError: + print("Entity already exists!") + + try: + await table_client.delete_entity( + row_key=self.entity["RowKey"], + partition_key=self.entity["PartitionKey"] + ) + print("Successfully deleted!") + except ResourceNotFoundError: + print("Entity does not exists") # [END delete_entity] diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_table_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_table_async.py index 5d9de777a132..04dedeccbbe3 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_table_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_table_async.py @@ -43,15 +43,16 @@ async def _insert_random_entities(self): } table_client = TableClient.from_connection_string(self.connection_string, self.table_name) - await table_client.create_table() + async with table_client: + await table_client.create_table() - for i in range(10): - e = copy.deepcopy(entity_template) - e["RowKey"] += str(i) - e["Name"] = random.choice(names) - e["Brand"] = random.choice(brands) - e["Color"] = random.choice(colors) - await table_client.create_entity(entity=e) + for i in range(10): + e = copy.deepcopy(entity_template) + e["RowKey"] += str(i) + e["Name"] = random.choice(names) + e["Brand"] = random.choice(brands) + e["Color"] = random.choice(colors) + await table_client.create_entity(entity=e) async def sample_query_entities(self): @@ -61,19 +62,19 @@ async def sample_query_entities(self): table_client = TableClient.from_connection_string(self.connection_string, self.table_name) # [START query_entities] - try: - entity_name = "marker" - name_filter = "Name eq '{}'".format(entity_name) - queried_entities = table_client.query_entities(filter=name_filter, select=["Brand","Color"]) - - for entity_chosen in queried_entities: - print(entity_chosen) - - except HttpResponseError as e: - pass - # [END query_entities] - finally: - await table_client.delete_table() + async with table_client: + try: + entity_name = "marker" + name_filter = "Name eq '{}'".format(entity_name) + + async for entity_chosen in table_client.query_entities(filter=name_filter, select=["Brand","Color"]): + print(entity_chosen) + + except HttpResponseError as e: + pass + # [END query_entities] + finally: + await table_client.delete_table() async def main(): diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py index 73256373ac0e..7a7048747566 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py @@ -32,41 +32,40 @@ async def tables_in_account(self): from azure.data.tables.aio import TableServiceClient table_service = TableServiceClient.from_connection_string(conn_str=self.connection_string) - await table_service.create_table("mytable1") - await table_service.create_table("mytable2") - - try: - # [START tsc_list_tables] - # List all the tables in the service - list_tables = table_service.list_tables() - print("Listing tables:") - for table in list_tables: - print("\t{}".format(table.table_name)) - # [END tsc_list_tables] - - # [START tsc_query_tables] - # Query for "table1" in the tables created - table_name = "mytable1" - name_filter = "TableName eq '{}'".format(table_name) - queried_tables = table_service.query_tables(filter=name_filter, results_per_page=10) - - print("Queried_tables") - for table in queried_tables: - print("\t{}".format(table.table_name)) - # [END tsc_query_tables] - - finally: - await self.delete_tables() + async with table_service: + await table_service.create_table("mytable1") + await table_service.create_table("mytable2") + + try: + # [START tsc_list_tables] + # List all the tables in the service + print("Listing tables:") + async for table in table_service.list_tables(): + print("\t{}".format(table.table_name)) + # [END tsc_list_tables] + + # [START tsc_query_tables] + # Query for "table1" in the tables created + table_name = "mytable1" + name_filter = "TableName eq '{}'".format(table_name) + print("Queried_tables") + async for table in table_service.query_tables(filter=name_filter): + print("\t{}".format(table.table_name)) + # [END tsc_query_tables] + + finally: + await self.delete_tables() async def delete_tables(self): from azure.data.tables.aio import TableServiceClient ts = TableServiceClient.from_connection_string(conn_str=self.connection_string) - tables = ["mytable1", "mytable2"] - for table in tables: - try: - await ts.delete_table(table_name=table) - except: - pass + async with ts: + tables = ["mytable1", "mytable2"] + for table in tables: + try: + await ts.delete_table(table_name=table) + except: + pass async def main(): diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py index 5df180ad7e06..ef1f83bd5961 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_update_upsert_merge_entities_async.py @@ -32,30 +32,29 @@ async def create_and_get_entities(self): from azure.data.tables.aio import TableClient table = TableClient.from_connection_string(self.connection_string, table_name="mytable3") - # Create the Table - await table.create_table() - - my_entity = { - 'PartitionKey': 'color', - 'RowKey': 'crayola', - 'text': 'Marker', - 'color': 'Purple', - 'price': '5' - } - try: - created_entity = await table.create_entity(entity=my_entity) - print("Created entity: {}".format(created_entity)) - - # [START get_entity] - # Get Entity by partition and row key - got_entity = await table.get_entity(partition_key=my_entity['PartitionKey'], - row_key=my_entity['RowKey']) - print("Received entity: {}".format(got_entity)) - # [END get_entity] - - finally: - # Delete the table - await table.delete_table() + async with table: + await table.create_table() + + my_entity = { + 'PartitionKey': 'color', + 'RowKey': 'crayola', + 'text': 'Marker', + 'color': 'Purple', + 'price': '5' + } + try: + created_entity = await table.create_entity(entity=my_entity) + print("Created entity: {}".format(created_entity)) + + # [START get_entity] + # Get Entity by partition and row key + got_entity = await table.get_entity(partition_key=my_entity['PartitionKey'], + row_key=my_entity['RowKey']) + print("Received entity: {}".format(got_entity)) + # [END get_entity] + + finally: + await table.delete_table() async def list_all_entities(self): # Instantiate a table service client @@ -63,26 +62,28 @@ async def list_all_entities(self): table = TableClient.from_connection_string(self.connection_string, table_name="mytable4") # Create the table - table.create_table() + async with table: + await table.create_table() - entity = {'PartitionKey': 'color2', 'RowKey': 'sharpie', 'text': 'Marker', 'color': 'Purple', 'price': '5'} - entity1 = {'PartitionKey': 'color2', 'RowKey': 'crayola', 'text': 'Marker', 'color': 'Red', 'price': '3'} + entity = {'PartitionKey': 'color2', 'RowKey': 'sharpie', 'text': 'Marker', 'color': 'Purple', 'price': '5'} + entity1 = {'PartitionKey': 'color2', 'RowKey': 'crayola', 'text': 'Marker', 'color': 'Red', 'price': '3'} - try: - # Create entities - await table.create_entity(entity=entity) - await table.create_entity(entity=entity1) - # [START list_entities] - # Query the entities in the table - entities = list(table.list_entities()) + try: + # Create entities + await table.create_entity(entity=entity) + await table.create_entity(entity=entity1) + # [START list_entities] + # Query the entities in the table + entities = [] + async for e in table.list_entities(): + entities.append(e) - for entity, i in enumerate(entities): - print("Entity #{}: {}".format(entity, i)) - # [END list_entities] + for entity, i in enumerate(entities): + print("Entity #{}: {}".format(entity, i)) + # [END list_entities] - finally: - # Delete the table - await table.delete_table() + finally: + await table.delete_table() async def update_entities(self): # Instantiate a table service client @@ -91,48 +92,50 @@ async def update_entities(self): table = TableClient.from_connection_string(self.connection_string, table_name="mytable6") # Create the table and Table Client - await table.create_table() - - entity = {'PartitionKey': 'color', 'RowKey': 'sharpie', 'text': 'Marker', 'color': 'Purple', 'price': '5'} - - try: - # Create entities - created = await table.create_entity(entity=entity) - - # [START upsert_entity] - # Try Replace and then Insert on Fail - insert_entity = await table.upsert_entity(mode=UpdateMode.REPLACE, entity=entity1) - print("Inserted entity: {}".format(insert_entity)) - - # Try merge, and merge since already in table - created.text = "NewMarker" - merged_entity = await table.upsert_entity(mode=UpdateMode.MERGE, entity=entity) - print("Merged entity: {}".format(merged_entity)) - # [END upsert_entity] - - # [START update_entity] - # Update the entity - created.text = "NewMarker" - await table.update_entity(mode=UpdateMode.REPLACE, entity=created) - - # Get the replaced entity - replaced = await table.get_entity( - partition_key=created.PartitionKey, row_key=created.RowKey) - print("Replaced entity: {}".format(replaced)) - - # Merge the entity - replaced.color = "Blue" - await table.update_entity(mode=UpdateMode.MERGE, entity=replaced) - - # Get the merged entity - merged = await table.get_entity( - partition_key=replaced.PartitionKey, row_key=replaced.RowKey) - print("Merged entity: {}".format(merged)) - # [END update_entity] - - finally: - # Delete the table - await table.delete_table() + async with table: + await table.create_table() + + entity = {'PartitionKey': 'color', 'RowKey': 'sharpie', 'text': 'Marker', 'color': 'Purple', 'price': '5'} + entity1 = {'PartitionKey': 'color2', 'RowKey': 'crayola', 'text': 'Marker', 'color': 'Red', 'price': '3'} + + try: + # Create entities + await table.create_entity(entity=entity) + created = await table.get_entity(partition_key=entity["PartitionKey"], row_key=entity["RowKey"]) + + # [START upsert_entity] + # Try Replace and then Insert on Fail + insert_entity = await table.upsert_entity(mode=UpdateMode.REPLACE, entity=entity1) + print("Inserted entity: {}".format(insert_entity)) + + # Try merge, and merge since already in table + created.text = "NewMarker" + merged_entity = await table.upsert_entity(mode=UpdateMode.MERGE, entity=entity) + print("Merged entity: {}".format(merged_entity)) + # [END upsert_entity] + + # [START update_entity] + # Update the entity + created.text = "NewMarker" + await table.update_entity(mode=UpdateMode.REPLACE, entity=created) + + # Get the replaced entity + replaced = await table.get_entity( + partition_key=created.PartitionKey, row_key=created.RowKey) + print("Replaced entity: {}".format(replaced)) + + # Merge the entity + replaced.color = "Blue" + await table.update_entity(mode=UpdateMode.MERGE, entity=replaced) + + # Get the merged entity + merged = await table.get_entity( + partition_key=replaced.PartitionKey, row_key=replaced.RowKey) + print("Merged entity: {}".format(merged)) + # [END update_entity] + + finally: + await table.delete_table() async def main(): diff --git a/sdk/tables/azure-data-tables/samples/sample_insert_delete_entities.py b/sdk/tables/azure-data-tables/samples/sample_insert_delete_entities.py index cb8bd2f4bcc8..24b98275d213 100644 --- a/sdk/tables/azure-data-tables/samples/sample_insert_delete_entities.py +++ b/sdk/tables/azure-data-tables/samples/sample_insert_delete_entities.py @@ -24,6 +24,8 @@ class InsertDeleteEntity(object): connection_string = os.getenv("AZURE_TABLES_CONNECTION_STRING") + access_key = os.getenv("AZURE_TABLES_KEY") + account_url = os.getenv("AZURE_TABLES_ACCOUNT_KEY") table_name = "OfficeSupplies" entity = { diff --git a/sdk/tables/azure-data-tables/samples/sample_update_upsert_merge_entities.py b/sdk/tables/azure-data-tables/samples/sample_update_upsert_merge_entities.py index 83a30569bac0..4000983092cb 100644 --- a/sdk/tables/azure-data-tables/samples/sample_update_upsert_merge_entities.py +++ b/sdk/tables/azure-data-tables/samples/sample_update_upsert_merge_entities.py @@ -25,6 +25,7 @@ class TableEntitySamples(object): + connection_string = os.getenv("AZURE_TABLES_CONNECTION_STRING") def create_and_get_entities(self): # Instantiate a table service client @@ -95,10 +96,12 @@ def update_entities(self): table.create_table() entity = {'PartitionKey': 'color', 'RowKey': 'sharpie', 'text': 'Marker', 'color': 'Purple', 'price': '5'} + entity1 = {'PartitionKey': 'color2', 'RowKey': 'crayola', 'text': 'Marker', 'color': 'Red', 'price': '3'} try: # Create entities - created = table.create_entity(entity=entity) + table.create_entity(entity=entity) + created = table.get_entity(partition_key=entity["PartitionKey"], row_key=entity["RowKey"]) # [START upsert_entity] # Try Replace and then Insert on Fail @@ -140,8 +143,6 @@ def update_entities(self): if __name__ == '__main__': sample = TableEntitySamples() - sample.set_access_policy() sample.create_and_get_entities() sample.list_all_entities() - sample.upsert_entities() sample.update_entities() diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables.yaml deleted file mode 100644 index 64156808523b..000000000000 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables.yaml +++ /dev/null @@ -1,210 +0,0 @@ -interactions: -- request: - body: '{"TableName": "pytablesynca68e0b85"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '36' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:48 GMT - User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 02 Sep 2020 21:16:48 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT - User-Agent: - - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - x-ms-version: - - '2019-02-02' - method: POST - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynca68e0b85"}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:47 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - location: - - https://storagename.table.core.windows.net/Tables('pytablesynca68e0b85') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-02-02' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:48 GMT - User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 02 Sep 2020 21:16:48 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT - User-Agent: - - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - x-ms-version: - - '2019-02-02' - method: GET - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesynca68e0b85"}]}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:47 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - DataServiceVersion: - - '3.0' - Date: - - Fri, 28 Aug 2020 15:07:23 GMT - User-Agent: - - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Fri, 28 Aug 2020 15:07:23 GMT - x-ms-version: - - '2019-07-07' - method: GET - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesynca68e0b85"}]}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-02-02' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:48 GMT - User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 02 Sep 2020 21:16:48 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT - User-Agent: - - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - x-ms-version: - - '2019-02-02' - method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesynca68e0b85') - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: -<<<<<<< HEAD - - Wed, 02 Sep 2020 21:16:47 GMT -======= - - Fri, 28 Aug 2020 15:07:23 GMT ->>>>>>> d32cfe4cfd2236cef594b5f013a80e80e9becdde - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - x-content-type-options: - - nosniff - x-ms-version: - - '2019-02-02' - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_request_callback_signed_header.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_request_callback_signed_header.yaml deleted file mode 100644 index 0c69b85c1fa5..000000000000 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_request_callback_signed_header.yaml +++ /dev/null @@ -1,114 +0,0 @@ -interactions: -- request: - body: '{"TableName": "cont48761589"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '29' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Wed, 15 Jul 2020 12:56:10 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 15 Jul 2020 12:56:10 GMT -======= - - Wed, 01 Jul 2020 18:18:37 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 01 Jul 2020 18:18:37 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: POST - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"cont48761589"}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Wed, 15 Jul 2020 12:56:10 GMT -======= - - Wed, 01 Jul 2020 18:18:35 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - location: - - https://storagename.table.core.windows.net/Tables('cont48761589') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: -<<<<<<< HEAD - - Wed, 15 Jul 2020 12:56:11 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 15 Jul 2020 12:56:11 GMT -======= - - Wed, 01 Jul 2020 18:18:37 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 01 Jul 2020 18:18:37 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: DELETE - uri: https://storagename.table.core.windows.net/Tables('cont48761589') - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: -<<<<<<< HEAD - - Wed, 15 Jul 2020 12:56:10 GMT -======= - - Wed, 01 Jul 2020 18:18:35 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml deleted file mode 100644 index 31ede325cf04..000000000000 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml +++ /dev/null @@ -1,250 +0,0 @@ -interactions: -- request: - body: '{"TableName": "uttableabfa12a7"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:09 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:09 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - x-ms-version: - - '2019-07-07' - method: POST - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableabfa12a7"}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:09 GMT -======= - - Wed, 22 Jul 2020 15:51:04 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - location: - - https://storagename.table.core.windows.net/Tables('uttableabfa12a7') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 201 - message: Created -- request: - body: '{"PartitionKey": "pkabfa12a7", "RowKey": "rkabfa12a7", "age": "39", "age@odata.type": - "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, - "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": - "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", - "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": - "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", - "clsid@odata.type": "Edm.Guid"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '537' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - x-ms-version: - - '2019-07-07' - method: POST - uri: https://storagename.table.core.windows.net/uttableabfa12a7 - response: - body: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableabfa12a7/@Element","odata.etag":"W/\"datetime''2020-07-23T14%3A40%3A10.5120215Z''\"","PartitionKey":"pkabfa12a7","RowKey":"rkabfa12a7","Timestamp":"2020-07-23T14:40:10.5120215Z","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' -======= - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableabfa12a7/@Element","odata.etag":"W/\"datetime''2020-07-22T15%3A51%3A05.1113456Z''\"","PartitionKey":"pkabfa12a7","RowKey":"rkabfa12a7","Timestamp":"2020-07-22T15:51:05.1113456Z","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:09 GMT - etag: - - W/"datetime'2020-07-23T14%3A40%3A10.5120215Z'" -======= - - Wed, 22 Jul 2020 15:51:04 GMT - etag: - - W/"datetime'2020-07-22T15%3A51%3A05.1113456Z'" ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - location: - - https://storagename.table.core.windows.net/uttableabfa12a7(PartitionKey='pkabfa12a7',RowKey='rkabfa12a7') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - x-ms-version: - - '2019-07-07' - method: GET - uri: https://storagename.table.core.windows.net/uttableabfa12a7(PartitionKey='pkabfa12a7',RowKey='rkabfa12a7')?$select=agesexxyz - response: - body: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableabfa12a7/@Element&$select=age,sex,xyz","odata.etag":"W/\"datetime''2020-07-23T14%3A40%3A10.5120215Z''\"","age@odata.type":"Edm.Int64","age":"39","sex":"male","xyz":null}' -======= - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableabfa12a7/@Element&$select=agesexxyz","odata.etag":"W/\"datetime''2020-07-22T15%3A51%3A05.1113456Z''\"","agesexxyz":null}' ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT - etag: - - W/"datetime'2020-07-23T14%3A40%3A10.5120215Z'" -======= - - Wed, 22 Jul 2020 15:51:04 GMT - etag: - - W/"datetime'2020-07-22T15%3A51%3A05.1113456Z'" ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - x-ms-version: - - '2019-07-07' - method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableabfa12a7') - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: -<<<<<<< HEAD:sdk/table/azure-table/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - - Thu, 23 Jul 2020 14:40:10 GMT -======= - - Wed, 22 Jul 2020 15:51:05 GMT ->>>>>>> 32dbb1125b174271baf26296ae51abef0bbcccfa:sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_select.yaml - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_timezone.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_timezone.yaml deleted file mode 100644 index 90d266e0bb83..000000000000 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_timezone.yaml +++ /dev/null @@ -1,245 +0,0 @@ -interactions: -- request: - body: '{"TableName": "uttablecd510cdc"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:55 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Mon, 20 Jul 2020 13:33:55 GMT -======= - - Thu, 02 Jul 2020 17:25:01 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Thu, 02 Jul 2020 17:25:01 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: POST - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablecd510cdc"}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:50 GMT -======= - - Thu, 02 Jul 2020 17:24:58 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - location: - - https://storagename.table.core.windows.net/Tables('uttablecd510cdc') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 201 - message: Created -- request: - body: '{"PartitionKey": "pkcd510cdc", "RowKey": "rkcd510cdc", "date": "2003-09-27T09:52:43Z", - "date@odata.type": "Edm.DateTime"}' - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '121' - Content-Type: - - application/json;odata=nometadata - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:55 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Mon, 20 Jul 2020 13:33:55 GMT -======= - - Thu, 02 Jul 2020 17:25:02 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Thu, 02 Jul 2020 17:25:02 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: POST - uri: https://storagename.table.core.windows.net/uttablecd510cdc - response: - body: -<<<<<<< HEAD - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecd510cdc/@Element","odata.etag":"W/\"datetime''2020-07-20T13%3A33%3A51.7472327Z''\"","PartitionKey":"pkcd510cdc","RowKey":"rkcd510cdc","Timestamp":"2020-07-20T13:33:51.7472327Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' -======= - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecd510cdc/@Element","odata.etag":"W/\"datetime''2020-07-02T17%3A24%3A59.5396317Z''\"","PartitionKey":"pkcd510cdc","RowKey":"rkcd510cdc","Timestamp":"2020-07-02T17:24:59.5396317Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:50 GMT - etag: - - W/"datetime'2020-07-20T13%3A33%3A51.7472327Z'" -======= - - Thu, 02 Jul 2020 17:24:58 GMT - etag: - - W/"datetime'2020-07-02T17%3A24%3A59.5396317Z'" ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - location: - - https://storagename.table.core.windows.net/uttablecd510cdc(PartitionKey='pkcd510cdc',RowKey='rkcd510cdc') - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - DataServiceVersion: - - '3.0' - Date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:56 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Mon, 20 Jul 2020 13:33:56 GMT -======= - - Thu, 02 Jul 2020 17:25:02 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Thu, 02 Jul 2020 17:25:02 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: GET - uri: https://storagename.table.core.windows.net/uttablecd510cdc(PartitionKey='pkcd510cdc',RowKey='rkcd510cdc') - response: - body: -<<<<<<< HEAD - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecd510cdc/@Element","odata.etag":"W/\"datetime''2020-07-20T13%3A33%3A51.7472327Z''\"","PartitionKey":"pkcd510cdc","RowKey":"rkcd510cdc","Timestamp":"2020-07-20T13:33:51.7472327Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' -======= - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecd510cdc/@Element","odata.etag":"W/\"datetime''2020-07-02T17%3A24%3A59.5396317Z''\"","PartitionKey":"pkcd510cdc","RowKey":"rkcd510cdc","Timestamp":"2020-07-02T17:24:59.5396317Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:50 GMT - etag: - - W/"datetime'2020-07-20T13%3A33%3A51.7472327Z'" -======= - - Thu, 02 Jul 2020 17:24:59 GMT - etag: - - W/"datetime'2020-07-02T17%3A24%3A59.5396317Z'" ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:56 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Mon, 20 Jul 2020 13:33:56 GMT -======= - - Thu, 02 Jul 2020 17:25:02 GMT - User-Agent: - - azsdk-python-storage-table/2019-07-07 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Thu, 02 Jul 2020 17:25:02 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - x-ms-version: - - '2019-07-07' - method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablecd510cdc') - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: -<<<<<<< HEAD - - Mon, 20 Jul 2020 13:33:50 GMT -======= - - Thu, 02 Jul 2020 17:24:59 GMT ->>>>>>> 8bdf4dab46b1d77ee840080c15bb142508964575 - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - x-content-type-options: - - nosniff - x-ms-version: - - '2019-07-07' - status: - code: 204 - message: No Content -version: 1 From 9257cfedf1b026f8cfd9271432b899390b7bf09a Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:08:37 -0700 Subject: [PATCH 33/71] Sync eng/common directory with azure-sdk-tools repository for Tools PR 1031 (#13897) --- eng/common/scripts/New-ReleaseAsset.ps1 | 62 +++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 eng/common/scripts/New-ReleaseAsset.ps1 diff --git a/eng/common/scripts/New-ReleaseAsset.ps1 b/eng/common/scripts/New-ReleaseAsset.ps1 new file mode 100644 index 000000000000..83efcc097e9b --- /dev/null +++ b/eng/common/scripts/New-ReleaseAsset.ps1 @@ -0,0 +1,62 @@ +<# +.SYNOPSIS +Uploads the release asset and returns the resulting object from the upload + +.PARAMETER ReleaseTag +Tag to look up release + +.PARAMETER AssetPath +Location of the asset file to upload + +.PARAMETER GitHubRepo +Name of the GitHub repo to search (of the form Azure/azure-sdk-for-cpp) + +#> + +param ( + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string] $ReleaseTag, + + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string] $AssetPath, + + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string] $GitHubRepo, + + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string] $GitHubPat +) + +# Get information about release at $ReleaseTag +$releaseInfoUrl = "https://api.github.com/repos/$GitHubRepo/releases/tags/$ReleaseTag" +Write-Verbose "Requesting release info from $releaseInfoUrl" +$release = Invoke-RestMethod ` + -Uri $releaseInfoUrl ` + -Method GET + +$assetFilename = Split-Path $AssetPath -Leaf + +# Upload URL comes in the literal form (yes, those curly braces) of: +# https://uploads.github.com/repos/Azure/azure-sdk-for-cpp/releases/123/assets{?name,label} +# Converts to something like: +# https://uploads.github.com/repos/Azure/azure-sdk-for-cpp/releases/123/assets?name=foo.tar.gz +# Docs: https://docs.github.com/en/rest/reference/repos#get-a-release-by-tag-name +$uploadUrl = $release.upload_url.Split('{')[0] + "?name=$assetFilename" + +Write-Verbose "Uploading $assetFilename to $uploadUrl" + +$asset = Invoke-RestMethod ` + -Uri $uploadUrl ` + -Method POST ` + -InFile $AssetPath ` + -Credential $credentials ` + -Headers @{ Authorization = "token $GitHubPat" } ` + -ContentType "application/gzip" + +Write-Verbose "Upload complete. Browser download URL: $($asset.browser_download_url)" + +return $asset From 0c4234f036f64a9736b6df36f939630d502c2380 Mon Sep 17 00:00:00 2001 From: turalf Date: Thu, 1 Oct 2020 12:52:48 -0700 Subject: [PATCH 34/71] azure-communication-administration - Update package Readme; Remove local swagger (#14115) * Add long_description_content_type to setup.py * Update readme with links and missing sections * Remove local swagger - regenerate code * Update recoding files based on swagger from remote Co-authored-by: tural farhadov --- .../README.md | 24 +- .../_communication_identity_operations.py | 18 +- .../_communication_identity_operations.py | 18 +- .../setup.py | 3 +- .../swagger/COMMUNICATION_IDENTITY.md | 2 +- .../swagger/CommunicationIdentity.json | 244 ------------------ ...toin_identity_client.test_create_user.yaml | 8 +- ...toin_identity_client.test_delete_user.yaml | 16 +- ...toin_identity_client.test_issue_token.yaml | 18 +- ...in_identity_client.test_revoke_tokens.yaml | 26 +- ...dentity_client_async.test_create_user.yaml | 8 +- ...dentity_client_async.test_delete_user.yaml | 16 +- ...dentity_client_async.test_issue_token.yaml | 18 +- ...ntity_client_async.test_revoke_tokens.yaml | 26 +- 14 files changed, 117 insertions(+), 328 deletions(-) delete mode 100644 sdk/communication/azure-communication-administration/swagger/CommunicationIdentity.json diff --git a/sdk/communication/azure-communication-administration/README.md b/sdk/communication/azure-communication-administration/README.md index a7c2fc093295..2eb861105c87 100644 --- a/sdk/communication/azure-communication-administration/README.md +++ b/sdk/communication/azure-communication-administration/README.md @@ -27,16 +27,32 @@ pip install azure-communication-administration # Examples The following section provides several code snippets covering some of the most common Azure Communication Services tasks, including: - +[Create/delete Azure Communication Service identities][identitysamples] - +[Create/revoke scoped user access tokens][identitysamples] # Troubleshooting +The Azure Communication Service Identity client will raise exceptions defined in [Azure Core][azure_core]. # Next steps +## More sample code + +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/communication/azure-communication-administration/samples) directory for detailed examples of how to use this library to manage identities and tokens. + +## Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) section of the project # Contributing +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the +PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. - -[identity_samples]: [] +[identitysamples]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/communication/azure-communication-administration/samples/identity_samples.py +[azure_core]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/README.md diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/aio/operations/_communication_identity_operations.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/aio/operations/_communication_identity_operations.py index 624b349e41de..9ff3934e2458 100644 --- a/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/aio/operations/_communication_identity_operations.py +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/aio/operations/_communication_identity_operations.py @@ -9,7 +9,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -54,7 +54,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CommunicationIdentity"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2020-07-20-preview2" accept = "application/json" @@ -107,7 +109,9 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2020-07-20-preview2" @@ -159,7 +163,9 @@ async def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _body = models.CommunicationIdentityUpdateRequest(tokens_valid_from=tokens_valid_from) @@ -218,7 +224,9 @@ async def issue_token( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CommunicationIdentityToken"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _body = models.CommunicationTokenRequest(scopes=scopes) diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/operations/_communication_identity_operations.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/operations/_communication_identity_operations.py index cb1b4508df54..26d1a86a88d2 100644 --- a/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/operations/_communication_identity_operations.py +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_identity/_generated/operations/_communication_identity_operations.py @@ -9,7 +9,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -59,7 +59,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CommunicationIdentity"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2020-07-20-preview2" accept = "application/json" @@ -113,7 +115,9 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) api_version = "2020-07-20-preview2" @@ -166,7 +170,9 @@ def update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _body = models.CommunicationIdentityUpdateRequest(tokens_valid_from=tokens_valid_from) @@ -226,7 +232,9 @@ def issue_token( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CommunicationIdentityToken"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _body = models.CommunicationTokenRequest(scopes=scopes) diff --git a/sdk/communication/azure-communication-administration/setup.py b/sdk/communication/azure-communication-administration/setup.py index 3966d3cd5ff2..4fa38abb553c 100644 --- a/sdk/communication/azure-communication-administration/setup.py +++ b/sdk/communication/azure-communication-administration/setup.py @@ -32,6 +32,7 @@ name=PACKAGE_NAME, version=version, description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), + long_description_content_type='text/markdown', # ensure that these are updated to reflect the package owners' information long_description=long_description, @@ -70,6 +71,6 @@ }, project_urls={ 'Bug Reports': 'https://github.com/Azure/azure-sdk-for-python/issues', - 'Source': 'https://github.com/Azure/azure-sdk-python', + 'Source': 'https://github.com/Azure/azure-sdk-for-python', } ) \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/swagger/COMMUNICATION_IDENTITY.md b/sdk/communication/azure-communication-administration/swagger/COMMUNICATION_IDENTITY.md index 197364bd08cc..0a5477c97638 100644 --- a/sdk/communication/azure-communication-administration/swagger/COMMUNICATION_IDENTITY.md +++ b/sdk/communication/azure-communication-administration/swagger/COMMUNICATION_IDENTITY.md @@ -15,7 +15,7 @@ autorest ./COMMUNICATION_IDENTITY.md ### Settings ``` yaml -input-file: ./CommunicationIdentity.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/8818a603b78a1355ba1647ab9cd4e3354cdc4b69/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/preview/2020-07-20-preview2/CommunicationIdentity.json output-folder: ../azure/communication/administration/_identity/_generated/ namespace: azure.communication.administration license-header: MICROSOFT_MIT_NO_VERSION diff --git a/sdk/communication/azure-communication-administration/swagger/CommunicationIdentity.json b/sdk/communication/azure-communication-administration/swagger/CommunicationIdentity.json deleted file mode 100644 index 74a172f81e9f..000000000000 --- a/sdk/communication/azure-communication-administration/swagger/CommunicationIdentity.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "CommunicationIdentityClient", - "description": "Azure Communication Identity Service", - "contact": { - "email": "acsdevexdisc@microsoft.com" - }, - "version": "2020-07-20-preview2" - }, - "paths": { - "/identities": { - "post": { - "tags": [ - "Identity" - ], - "summary": "Create a new identity.", - "operationId": "CommunicationIdentity_Create", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "api-version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK - Returns the created identity.", - "schema": { - "$ref": "#/definitions/CommunicationIdentity" - } - } - } - } - }, - "/identities/{id}": { - "delete": { - "tags": [ - "Identity" - ], - "summary": "Delete the identity, revoke all tokens of the identity and delete all associated data.", - "operationId": "CommunicationIdentity_Delete", - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier of the identity to be deleted.", - "required": true, - "type": "string" - }, - { - "in": "query", - "name": "api-version", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - } - } - }, - "patch": { - "tags": [ - "Identity" - ], - "summary": "Update an Identity.", - "operationId": "CommunicationIdentity_Update", - "consumes": [ - "application/merge-patch+json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier of the identity.", - "required": true, - "type": "string" - }, - { - "in": "query", - "name": "api-version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "The properties of the identity to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationIdentityUpdateRequest" - } - } - ], - "responses": { - "204": { - "description": "Success" - } - } - } - }, - "/identities/{id}/token": { - "post": { - "tags": [ - "Token" - ], - "summary": "Generate a new token for an identity.", - "operationId": "CommunicationIdentity_IssueToken", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "Identifier of the identity to issue token for.", - "required": true, - "type": "string" - }, - { - "in": "query", - "name": "api-version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Requesting scopes for the new token.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationTokenRequest" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CommunicationIdentityToken" - } - } - } - } - } - }, - "definitions": { - "CommunicationIdentity": { - "description": "A communication identity.", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "Identifier of the identity.", - "type": "string" - } - } - }, - "CommunicationIdentityUpdateRequest": { - "type": "object", - "properties": { - "tokensValidFrom": { - "format": "date-time", - "description": "All tokens that are issued prior to this time will be revoked.", - "type": "string" - } - } - }, - "CommunicationTokenRequest": { - "required": [ - "scopes" - ], - "type": "object", - "properties": { - "scopes": { - "description": "List of scopes attached to the token.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CommunicationIdentityToken": { - "required": [ - "expiresOn", - "id", - "token" - ], - "type": "object", - "properties": { - "id": { - "description": "Identifier of the identity owning the token.", - "type": "string" - }, - "token": { - "description": "The token issued for the identity.", - "type": "string" - }, - "expiresOn": { - "format": "date-time", - "description": "The expiry time of the token.", - "type": "string" - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "x-ms-parameterized-host": { - "hostTemplate": "{endpoint}", - "useSchemePrefix": false, - "parameters": [ - { - "name": "endpoint", - "description": "Auth and Identity endpoint", - "required": true, - "type": "string", - "in": "path", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "client" - } - ] - } -} diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml index d1f066a4bf62..e94f02384c4d 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_create_user.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 17 Sep 2020 21:13:25 GMT + - Tue, 29 Sep 2020 17:47:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:25 GMT + - Tue, 29 Sep 2020 17:47:50 GMT ms-cv: - - LDtutiVFNU2pjSvJZfJmJQ.0 + - CoE2LmTaiE+T/aECFj99Zg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 72ms + - 16ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml index d382fcca5c41..e7ac6b50b564 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_delete_user.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:50 GMT ms-cv: - - zj766AmVmkS4PU+uoNsKWw.0 + - FCvz8qTbwEuo51Sfsgj8Hg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 39ms + - 16ms status: code: 200 message: OK @@ -50,7 +50,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -64,13 +64,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - Ra/62E3Lz0aCeGUDTTdadQ.0 + - /Xzcq087nEObSeLTbe71Lw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 687ms + - 842ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml index d3d371a469b3..fb964f65453d 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_issue_token.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - /nPPoQNkp0aE6NFahgz9JA.0 + - yRWeRDZM3kG7EUXuSU6PRg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 28ms + - 16ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-18T21:13:26.2267827+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:51.1213055+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - z/1yHjfRPkudaNjjw18Xsg.0 + - dd0lZwCvoE6n7W5SIYKdKQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 56ms + - 29ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml index 8384d9996cba..518a9de87e74 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client.test_revoke_tokens.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - 5564VNFFY0yuAvfvWWqfcA.0 + - 13CtSCvWOkSCBqLSCMPsLg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 66ms + - 39ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-18T21:13:26.5960053+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:51.4855261+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Thu, 17 Sep 2020 21:13:26 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - toIdekp0X0q2ARm+LB9zrQ.0 + - rVSMb7bnp0m2VtkzCPQTkQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 39ms + - 61ms status: code: 200 message: OK @@ -93,7 +93,7 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -107,13 +107,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:51 GMT ms-cv: - - Vir5syak30CgaEWaPOcp1w.0 + - oF7mN2y00ESLDHxwtfOskw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 18ms + - 9ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_create_user.yaml index 9a7ab9140a91..758e65453f90 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_create_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_create_user.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -17,11 +17,11 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:26 GMT - ms-cv: f+p7XKJqY0+LtUFFQ1c5bg.0 + date: Tue, 29 Sep 2020 17:47:51 GMT + ms-cv: Fgg/naICR0SWfiXHYMnVzg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 16ms + x-processing-time: 23ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml index 385e720626ad..427b594f355c 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_delete_user.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 17 Sep 2020 21:13:27 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -17,11 +17,11 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:27 GMT - ms-cv: oOigvBTIKkq3ghPDkNeWQA.0 + date: Tue, 29 Sep 2020 17:47:52 GMT + ms-cv: PL5fkOr2Okeek8EYo2GXTQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 26ms + x-processing-time: 18ms status: code: 200 message: OK @@ -30,7 +30,7 @@ interactions: body: '' headers: Date: - - Thu, 17 Sep 2020 21:13:28 GMT + - Tue, 29 Sep 2020 17:47:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -42,10 +42,10 @@ interactions: string: '' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Thu, 17 Sep 2020 21:13:28 GMT - ms-cv: T6r18CtZYEetuR/ogDrflQ.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: 5OBTE6WyAkKVivRuMfMaQg.0 strict-transport-security: max-age=2592000 - x-processing-time: 1173ms + x-processing-time: 712ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml index 07fbd77f2f01..3966d10cb2ff 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_issue_token.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 17 Sep 2020 21:13:29 GMT + - Tue, 29 Sep 2020 17:47:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -17,11 +17,11 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:28 GMT - ms-cv: a23r/TKZoEqUmi6KuYK9XQ.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: ykEFqlAYvES0gdtBUkdluw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 15ms + x-processing-time: 17ms status: code: 200 message: OK @@ -36,7 +36,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 17 Sep 2020 21:13:29 GMT + - Tue, 29 Sep 2020 17:47:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -44,15 +44,15 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-18T21:13:28.3346806+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:52.9441915+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:29 GMT - ms-cv: m2ZudHejpk6Zy4x8gmlKaQ.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: 6tglideZmkSZjkqgD1FQOg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 26ms + x-processing-time: 24ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml index 3e2c9526ec03..0e6105db511e 100644 --- a/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_communicatoin_identity_client_async.test_revoke_tokens.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json Date: - - Thu, 17 Sep 2020 21:13:29 GMT + - Tue, 29 Sep 2020 17:47:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -17,11 +17,11 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:29 GMT - ms-cv: 25iRNPZeFUikdrLVyzXf1Q.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: uRSOsnLbfkq34EcscODY+Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 54ms + x-processing-time: 16ms status: code: 200 message: OK @@ -36,7 +36,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 17 Sep 2020 21:13:29 GMT + - Tue, 29 Sep 2020 17:47:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -44,15 +44,15 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-18T21:13:28.6535111+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-30T17:47:53.2009848+00:00"}' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 content-type: application/json; charset=utf-8 - date: Thu, 17 Sep 2020 21:13:29 GMT - ms-cv: TrMQHtFUCE2uZg/vZrFyeQ.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: x3L3l1+yv0mV76sVFQmHAQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 45ms + x-processing-time: 25ms status: code: 200 message: OK @@ -65,7 +65,7 @@ interactions: Content-Type: - application/merge-patch+json Date: - - Thu, 17 Sep 2020 21:13:29 GMT + - Tue, 29 Sep 2020 17:47:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.3 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -77,10 +77,10 @@ interactions: string: '' headers: api-supported-versions: 2020-07-20-preview1, 2020-07-20-preview2 - date: Thu, 17 Sep 2020 21:13:29 GMT - ms-cv: lW447Vs4BkmuKJdbPHxqPw.0 + date: Tue, 29 Sep 2020 17:47:53 GMT + ms-cv: /Q2xdsdd5kaMhjyamP46Og.0 strict-transport-security: max-age=2592000 - x-processing-time: 11ms + x-processing-time: 8ms status: code: 204 message: No Content From 891be83dedfd199a6c52d333e4eac5e9fa9b77cc Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Thu, 1 Oct 2020 13:00:28 -0700 Subject: [PATCH 35/71] remove aad support (#14174) --- .../_metrics_advisor_administration_client.py | 17 +++++ .../metricsadvisor/_metrics_advisor_client.py | 64 ++----------------- ...ics_advisor_administration_client_async.py | 16 +++++ .../aio/_metrics_advisor_client_async.py | 64 ++----------------- 4 files changed, 41 insertions(+), 120 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py index ee997b6289e6..9b64a56e60de 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py @@ -168,6 +168,17 @@ class MetricsAdvisorAdministrationClient(object): # pylint:disable=too-many-pub def __init__(self, endpoint, credential, **kwargs): # type: (str, MetricsAdvisorKeyCredential, Any) -> None + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Base URL must be a string.") + + if not credential: + raise ValueError("Missing credential") + + self._endpoint = endpoint + self._client = _Client( endpoint=endpoint, sdk_moniker=SDK_MONIKER, @@ -175,6 +186,12 @@ def __init__(self, endpoint, credential, **kwargs): **kwargs ) + def __repr__(self): + # type: () -> str + return "".format( + repr(self._endpoint) + )[:1024] + def close(self): # type: () -> None """Close the :class:`~azure.ai.metricsadvisor.MetricsAdvisorAdministrationClient` session. diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py index 6ec703944fce..513fbc5b8696 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -10,19 +10,8 @@ import datetime # pylint:disable=unused-import from azure.core.tracing.decorator import distributed_trace -from azure.core.pipeline import Pipeline -from azure.core.pipeline.policies import ( - UserAgentPolicy, - BearerTokenCredentialPolicy, - DistributedTracingPolicy, - RequestIdPolicy, - ContentDecodePolicy, - HttpLoggingPolicy, -) -from azure.core.pipeline.transport import RequestsTransport from ._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from ._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy -from ._generated._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration from ._generated.models import ( MetricFeedbackFilter, DetectionSeriesQuery, @@ -88,25 +77,13 @@ def __init__(self, endpoint, credential, **kwargs): if not credential: raise ValueError("Missing credential") - self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) self._endpoint = endpoint - self._credential = credential - self._config.user_agent_policy = UserAgentPolicy( - base_user_agent=None, sdk_moniker=SDK_MONIKER, **kwargs - ) - - pipeline = kwargs.get("pipeline") - - if pipeline is None: - aad_mode = not isinstance(credential, MetricsAdvisorKeyCredential) - pipeline = self._create_pipeline( - credential=credential, - aad_mode=aad_mode, - endpoint=endpoint, - **kwargs) self._client = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2( - endpoint=endpoint, pipeline=pipeline + endpoint=endpoint, + sdk_moniker=SDK_MONIKER, + authentication_policy=MetricsAdvisorKeyCredentialPolicy(credential), + **kwargs ) def __repr__(self): @@ -130,39 +107,6 @@ def close(self): """ return self._client.close() - def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): - transport = kwargs.get('transport') - policies = kwargs.get('policies') - - if policies is None: # [] is a valid policy list - if aad_mode: - scope = endpoint.strip("/") + "/.default" - if hasattr(credential, "get_token"): - credential_policy = BearerTokenCredentialPolicy(credential, scope) - else: - raise TypeError("Please provide an instance from azure-identity " - "or a class that implement the 'get_token protocol") - else: - credential_policy = MetricsAdvisorKeyCredentialPolicy(credential) - policies = [ - RequestIdPolicy(**kwargs), - self._config.headers_policy, - self._config.user_agent_policy, - self._config.proxy_policy, - ContentDecodePolicy(**kwargs), - self._config.redirect_policy, - self._config.retry_policy, - credential_policy, - self._config.logging_policy, # HTTP request/response log - DistributedTracingPolicy(**kwargs), - self._config.http_logging_policy or HttpLoggingPolicy(**kwargs) - ] - - if not transport: - transport = RequestsTransport(**kwargs) - - return Pipeline(transport, policies) - @distributed_trace def add_feedback(self, feedback, **kwargs): # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], Any) -> None diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py index d212babb197c..45522d755e6c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_administration_client_async.py @@ -77,6 +77,16 @@ class MetricsAdvisorAdministrationClient(object): # pylint:disable=too-many-pub :caption: Authenticate MetricsAdvisorAdministrationClient with a MetricsAdvisorKeyCredential """ def __init__(self, endpoint: str, credential: MetricsAdvisorKeyCredential, **kwargs: Any) -> None: + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Base URL must be a string.") + + if not credential: + raise ValueError("Missing credential") + + self._endpoint = endpoint self._client = _ClientAsync( endpoint=endpoint, @@ -85,6 +95,12 @@ def __init__(self, endpoint: str, credential: MetricsAdvisorKeyCredential, **kwa **kwargs ) + def __repr__(self): + # type: () -> str + return "".format( + repr(self._endpoint) + )[:1024] + async def __aenter__(self) -> "MetricsAdvisorAdministrationClient": await self._client.__aenter__() return self diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py index a382c2a991e8..4c1acbc8b831 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -11,19 +11,8 @@ from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async -from azure.core.pipeline import AsyncPipeline -from azure.core.pipeline.policies import ( - UserAgentPolicy, - AsyncBearerTokenCredentialPolicy, - DistributedTracingPolicy, - RequestIdPolicy, - ContentDecodePolicy, - HttpLoggingPolicy, -) -from azure.core.pipeline.transport import AioHttpTransport from .._metrics_advisor_key_credential import MetricsAdvisorKeyCredential from .._metrics_advisor_key_credential_policy import MetricsAdvisorKeyCredentialPolicy -from .._generated.aio._configuration import AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration from .._generated.models import ( MetricFeedbackFilter, DetectionSeriesQuery, @@ -88,25 +77,13 @@ def __init__(self, endpoint, credential, **kwargs): if not credential: raise ValueError("Missing credential") - self._config = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2Configuration(endpoint=endpoint, **kwargs) self._endpoint = endpoint - self._credential = credential - self._config.user_agent_policy = UserAgentPolicy( - base_user_agent=None, sdk_moniker=SDK_MONIKER, **kwargs - ) - - pipeline = kwargs.get("pipeline") - - if pipeline is None: - aad_mode = not isinstance(credential, MetricsAdvisorKeyCredential) - pipeline = self._create_pipeline( - credential=credential, - aad_mode=aad_mode, - endpoint=endpoint, - **kwargs) self._client = AzureCognitiveServiceMetricsAdvisorRESTAPIOpenAPIV2( - endpoint=endpoint, pipeline=pipeline + endpoint=endpoint, + sdk_moniker=SDK_MONIKER, + authentication_policy=MetricsAdvisorKeyCredentialPolicy(credential), + **kwargs ) def __repr__(self): @@ -129,39 +106,6 @@ async def close(self) -> None: """ await self._client.__aexit__() - def _create_pipeline(self, credential, endpoint=None, aad_mode=False, **kwargs): - transport = kwargs.get('transport') - policies = kwargs.get('policies') - - if policies is None: # [] is a valid policy list - if aad_mode: - scope = endpoint.strip("/") + "/.default" - if hasattr(credential, "get_token"): - credential_policy = AsyncBearerTokenCredentialPolicy(credential, scope) - else: - raise TypeError("Please provide an instance from azure-identity " - "or a class that implement the 'get_token protocol") - else: - credential_policy = MetricsAdvisorKeyCredentialPolicy(credential) - policies = [ - RequestIdPolicy(**kwargs), - self._config.headers_policy, - self._config.user_agent_policy, - self._config.proxy_policy, - ContentDecodePolicy(**kwargs), - self._config.redirect_policy, - self._config.retry_policy, - credential_policy, - self._config.logging_policy, # HTTP request/response log - DistributedTracingPolicy(**kwargs), - self._config.http_logging_policy or HttpLoggingPolicy(**kwargs) - ] - - if not transport: - transport = AioHttpTransport(**kwargs) - - return AsyncPipeline(transport, policies) - @distributed_trace_async async def add_feedback(self, feedback, **kwargs): # type: (Union[AnomalyFeedback, ChangePointFeedback, CommentFeedback, PeriodFeedback], Any) -> None From f49aa849394845c9796627551b3ce3f0178939bc Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Thu, 1 Oct 2020 13:43:39 -0700 Subject: [PATCH 36/71] regenerate code from preview/2020-06-30 (#14056) --- .../_internal/_generated/_configuration.py | 1 + .../_generated/_search_index_client.py | 2 +- .../_internal/_generated/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 1 + ...lient_async.py => _search_index_client.py} | 8 +- .../__init__.py | 2 +- .../_documents_operations.py} | 99 +- .../_internal/_generated/models/__init__.py | 2 + .../_internal/_generated/models/_models.py | 32 + .../_generated/models/_models_py3.py | 36 + .../models/_search_index_client_enums.py | 55 +- .../operations/_documents_operations.py | 99 +- .../_internal/_generated/_configuration.py | 1 + .../_generated/_search_service_client.py | 2 +- .../_internal/_generated/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 1 + ...ent_async.py => _search_service_client.py} | 26 +- .../__init__.py | 12 +- .../_data_sources_operations.py} | 38 +- .../_indexers_operations.py} | 57 +- .../_indexes_operations.py} | 53 +- .../_search_service_client_operations.py} | 9 +- .../_skillsets_operations.py} | 38 +- .../_synonym_maps_operations.py} | 38 +- .../_internal/_generated/models/__init__.py | 15 + .../_internal/_generated/models/_models.py | 127 +- .../_generated/models/_models_py3.py | 152 +- .../models/_search_service_client_enums.py | 1298 +++++++++-------- .../operations/_data_sources_operations.py | 38 +- .../operations/_indexers_operations.py | 57 +- .../operations/_indexes_operations.py | 53 +- .../_search_service_client_operations.py | 9 +- .../operations/_skillsets_operations.py | 38 +- .../operations/_synonym_maps_operations.py | 38 +- 34 files changed, 1551 insertions(+), 890 deletions(-) rename sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/{_configuration_async.py => _configuration.py} (95%) rename sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/{_search_index_client_async.py => _search_index_client.py} (85%) rename sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/{operations_async => operations}/__init__.py (89%) rename sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/{operations_async/_documents_operations_async.py => operations/_documents_operations.py} (91%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{_configuration_async.py => _configuration.py} (95%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{_search_service_client_async.py => _search_service_client.py} (80%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async => operations}/__init__.py (62%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_data_sources_operations_async.py => operations/_data_sources_operations.py} (92%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_indexers_operations_async.py => operations/_indexers_operations.py} (92%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_indexes_operations_async.py => operations/_indexes_operations.py} (93%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_search_service_client_operations_async.py => operations/_search_service_client_operations.py} (89%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_skillsets_operations_async.py => operations/_skillsets_operations.py} (92%) rename sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/{operations_async/_synonym_maps_operations_async.py => operations/_synonym_maps_operations.py} (92%) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py index f8e7961e2d76..eacf58f408d6 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py @@ -57,6 +57,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py index 9f9aa4fd4216..de84081939e3 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py @@ -29,7 +29,6 @@ class SearchIndexClient(object): :type endpoint: str :param index_name: The name of the index. :type index_name: str - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -45,6 +44,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.documents = DocumentsOperations( diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py index 8d58df3d101f..fa69578ea7f2 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._search_index_client_async import SearchIndexClient +from ._search_index_client import SearchIndexClient __all__ = ['SearchIndexClient'] diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration.py similarity index 95% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration.py index b1c7f2589cea..f575fb1e8765 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration.py @@ -51,6 +51,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client.py similarity index 85% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client.py index 36a2b40be44f..3cbf53d1be2c 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client.py @@ -11,8 +11,8 @@ from azure.core import AsyncPipelineClient from msrest import Deserializer, Serializer -from ._configuration_async import SearchIndexClientConfiguration -from .operations_async import DocumentsOperations +from ._configuration import SearchIndexClientConfiguration +from .operations import DocumentsOperations from .. import models @@ -20,12 +20,11 @@ class SearchIndexClient(object): """Client that can be used to query an index and upload, merge, or delete documents. :ivar documents: DocumentsOperations operations - :vartype documents: azure.search.documents.aio.operations_async.DocumentsOperations + :vartype documents: azure.search.documents.aio.operations.DocumentsOperations :param endpoint: The endpoint URL of the search service. :type endpoint: str :param index_name: The name of the index. :type index_name: str - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -40,6 +39,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.documents = DocumentsOperations( diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/__init__.py similarity index 89% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/__init__.py index f78fe2a3b285..76022eb9d305 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/__init__.py @@ -6,7 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._documents_operations_async import DocumentsOperations +from ._documents_operations import DocumentsOperations __all__ = [ 'DocumentsOperations', diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/_documents_operations.py similarity index 91% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/_documents_operations.py index a4ce707efdc5..d79ba97298e2 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations/_documents_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -54,13 +54,16 @@ async def count( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[int] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.count.metadata['url'] # type: ignore @@ -78,7 +81,7 @@ async def count( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -119,7 +122,9 @@ async def search_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _include_total_result_count = None @@ -135,6 +140,8 @@ async def search_get( _scoring_profile = None _search_fields = None _search_mode = None + _scoring_statistics = None + _session_id = None _select = None _skip = None _top = None @@ -155,10 +162,13 @@ async def search_get( _scoring_profile = search_options.scoring_profile _search_fields = search_options.search_fields _search_mode = search_options.search_mode + _scoring_statistics = search_options.scoring_statistics + _session_id = search_options.session_id _select = search_options.select _skip = search_options.skip _top = search_options.top api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.search_get.metadata['url'] # type: ignore @@ -175,11 +185,11 @@ async def search_get( if _include_total_result_count is not None: query_parameters['$count'] = self._serialize.query("include_total_result_count", _include_total_result_count, 'bool') if _facets is not None: - query_parameters['facet'] = self._serialize.query("facets", _facets, '[str]', div=',') + query_parameters['facet'] = [self._serialize.query("facets", q, 'str') if q is not None else '' for q in _facets] if _filter is not None: query_parameters['$filter'] = self._serialize.query("filter", _filter, 'str') if _highlight_fields is not None: - query_parameters['highlight'] = self._serialize.query("highlight_fields", _highlight_fields, '[str]') + query_parameters['highlight'] = self._serialize.query("highlight_fields", _highlight_fields, '[str]', div=',') if _highlight_post_tag is not None: query_parameters['highlightPostTag'] = self._serialize.query("highlight_post_tag", _highlight_post_tag, 'str') if _highlight_pre_tag is not None: @@ -187,19 +197,23 @@ async def search_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _order_by is not None: - query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]') + query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]', div=',') if _query_type is not None: query_parameters['queryType'] = self._serialize.query("query_type", _query_type, 'str') if _scoring_parameters is not None: - query_parameters['scoringParameter'] = self._serialize.query("scoring_parameters", _scoring_parameters, '[str]', div=',') + query_parameters['scoringParameter'] = [self._serialize.query("scoring_parameters", q, 'str') if q is not None else '' for q in _scoring_parameters] if _scoring_profile is not None: query_parameters['scoringProfile'] = self._serialize.query("scoring_profile", _scoring_profile, 'str') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _search_mode is not None: query_parameters['searchMode'] = self._serialize.query("search_mode", _search_mode, 'str') + if _scoring_statistics is not None: + query_parameters['scoringStatistics'] = self._serialize.query("scoring_statistics", _scoring_statistics, 'str') + if _session_id is not None: + query_parameters['sessionId'] = self._serialize.query("session_id", _session_id, 'str') if _select is not None: - query_parameters['$select'] = self._serialize.query("select", _select, '[str]') + query_parameters['$select'] = self._serialize.query("select", _select, '[str]', div=',') if _skip is not None: query_parameters['$skip'] = self._serialize.query("skip", _skip, 'int') if _top is not None: @@ -210,7 +224,7 @@ async def search_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -247,7 +261,9 @@ async def search_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -255,6 +271,7 @@ async def search_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.search_post.metadata['url'] # type: ignore @@ -273,13 +290,12 @@ async def search_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(search_request, 'SearchRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -318,13 +334,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[object] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -338,14 +357,14 @@ async def get( # Construct parameters query_parameters = {} # type: Dict[str, Any] if selected_fields is not None: - query_parameters['$select'] = self._serialize.query("selected_fields", selected_fields, '[str]') + query_parameters['$select'] = self._serialize.query("selected_fields", selected_fields, '[str]', div=',') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -390,7 +409,9 @@ async def suggest_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _filter = None @@ -416,6 +437,7 @@ async def suggest_get( _select = suggest_options.select _top = suggest_options.top api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.suggest_get.metadata['url'] # type: ignore @@ -440,11 +462,11 @@ async def suggest_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _order_by is not None: - query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]') + query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]', div=',') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _select is not None: - query_parameters['$select'] = self._serialize.query("select", _select, '[str]') + query_parameters['$select'] = self._serialize.query("select", _select, '[str]', div=',') if _top is not None: query_parameters['$top'] = self._serialize.query("top", _top, 'int') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') @@ -453,7 +475,7 @@ async def suggest_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -490,7 +512,9 @@ async def suggest_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -498,6 +522,7 @@ async def suggest_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.suggest_post.metadata['url'] # type: ignore @@ -516,13 +541,12 @@ async def suggest_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(suggest_request, 'SuggestRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -557,7 +581,9 @@ async def index( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IndexDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -565,6 +591,7 @@ async def index( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.index.metadata['url'] # type: ignore @@ -583,13 +610,12 @@ async def index( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(batch, 'IndexBatch') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -635,7 +661,9 @@ async def autocomplete_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -659,6 +687,7 @@ async def autocomplete_get( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.autocomplete_get.metadata['url'] # type: ignore @@ -686,7 +715,7 @@ async def autocomplete_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _top is not None: query_parameters['$top'] = self._serialize.query("top", _top, 'int') @@ -694,7 +723,7 @@ async def autocomplete_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -731,7 +760,9 @@ async def autocomplete_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -739,6 +770,7 @@ async def autocomplete_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.autocomplete_post.metadata['url'] # type: ignore @@ -757,13 +789,12 @@ async def autocomplete_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(autocomplete_request, 'AutocompleteRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py index 9e82c5c3a696..7e7868e35d0b 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py @@ -51,6 +51,7 @@ AutocompleteMode, IndexActionType, QueryType, + ScoringStatistics, SearchMode, ) @@ -77,5 +78,6 @@ 'AutocompleteMode', 'IndexActionType', 'QueryType', + 'ScoringStatistics', 'SearchMode', ] diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py index adf699024250..bae135ecee3a 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py @@ -541,6 +541,17 @@ class SearchOptions(msrest.serialization.Model): :param search_mode: A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. Possible values include: "any", "all". :type search_mode: str or ~azure.search.documents.models.SearchMode + :param scoring_statistics: A value that specifies whether we want to calculate scoring + statistics (such as document frequency) globally for more consistent scoring, or locally, for + lower latency. Possible values include: "local", "global". + :type scoring_statistics: str or ~azure.search.documents.models.ScoringStatistics + :param session_id: A value to be used to create a sticky session, which can help to get more + consistent results. As long as the same sessionId is used, a best-effort attempt will be made + to target the same replica set. Be wary that reusing the same sessionID values repeatedly can + interfere with the load balancing of the requests across replicas and adversely affect the + performance of the search service. The value used as sessionId cannot start with a '_' + character. + :type session_id: str :param select: The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: list[str] @@ -569,6 +580,8 @@ class SearchOptions(msrest.serialization.Model): 'scoring_profile': {'key': 'scoringProfile', 'type': 'str'}, 'search_fields': {'key': 'searchFields', 'type': '[str]'}, 'search_mode': {'key': 'searchMode', 'type': 'str'}, + 'scoring_statistics': {'key': 'scoringStatistics', 'type': 'str'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, 'select': {'key': '$select', 'type': '[str]'}, 'skip': {'key': '$skip', 'type': 'int'}, 'top': {'key': '$top', 'type': 'int'}, @@ -592,6 +605,8 @@ def __init__( self.scoring_profile = kwargs.get('scoring_profile', None) self.search_fields = kwargs.get('search_fields', None) self.search_mode = kwargs.get('search_mode', None) + self.scoring_statistics = kwargs.get('scoring_statistics', None) + self.session_id = kwargs.get('session_id', None) self.select = kwargs.get('select', None) self.skip = kwargs.get('skip', None) self.top = kwargs.get('top', None) @@ -635,6 +650,19 @@ class SearchRequest(msrest.serialization.Model): 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: "simple", "full". :type query_type: str or ~azure.search.documents.models.QueryType + :param scoring_statistics: A value that specifies whether we want to calculate scoring + statistics (such as document frequency) globally for more consistent scoring, or locally, for + lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally + before scoring. Using global scoring statistics can increase latency of search queries. + Possible values include: "local", "global". + :type scoring_statistics: str or ~azure.search.documents.models.ScoringStatistics + :param session_id: A value to be used to create a sticky session, which can help getting more + consistent results. As long as the same sessionId is used, a best-effort attempt will be made + to target the same replica set. Be wary that reusing the same sessionID values repeatedly can + interfere with the load balancing of the requests across replicas and adversely affect the + performance of the search service. The value used as sessionId cannot start with a '_' + character. + :type session_id: str :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -678,6 +706,8 @@ class SearchRequest(msrest.serialization.Model): 'minimum_coverage': {'key': 'minimumCoverage', 'type': 'float'}, 'order_by': {'key': 'orderby', 'type': 'str'}, 'query_type': {'key': 'queryType', 'type': 'str'}, + 'scoring_statistics': {'key': 'scoringStatistics', 'type': 'str'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, 'scoring_parameters': {'key': 'scoringParameters', 'type': '[str]'}, 'scoring_profile': {'key': 'scoringProfile', 'type': 'str'}, 'search_text': {'key': 'search', 'type': 'str'}, @@ -702,6 +732,8 @@ def __init__( self.minimum_coverage = kwargs.get('minimum_coverage', None) self.order_by = kwargs.get('order_by', None) self.query_type = kwargs.get('query_type', None) + self.scoring_statistics = kwargs.get('scoring_statistics', None) + self.session_id = kwargs.get('session_id', None) self.scoring_parameters = kwargs.get('scoring_parameters', None) self.scoring_profile = kwargs.get('scoring_profile', None) self.search_text = kwargs.get('search_text', None) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py index cda94fd710cd..9537269b6ee1 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py @@ -574,6 +574,17 @@ class SearchOptions(msrest.serialization.Model): :param search_mode: A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. Possible values include: "any", "all". :type search_mode: str or ~azure.search.documents.models.SearchMode + :param scoring_statistics: A value that specifies whether we want to calculate scoring + statistics (such as document frequency) globally for more consistent scoring, or locally, for + lower latency. Possible values include: "local", "global". + :type scoring_statistics: str or ~azure.search.documents.models.ScoringStatistics + :param session_id: A value to be used to create a sticky session, which can help to get more + consistent results. As long as the same sessionId is used, a best-effort attempt will be made + to target the same replica set. Be wary that reusing the same sessionID values repeatedly can + interfere with the load balancing of the requests across replicas and adversely affect the + performance of the search service. The value used as sessionId cannot start with a '_' + character. + :type session_id: str :param select: The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: list[str] @@ -602,6 +613,8 @@ class SearchOptions(msrest.serialization.Model): 'scoring_profile': {'key': 'scoringProfile', 'type': 'str'}, 'search_fields': {'key': 'searchFields', 'type': '[str]'}, 'search_mode': {'key': 'searchMode', 'type': 'str'}, + 'scoring_statistics': {'key': 'scoringStatistics', 'type': 'str'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, 'select': {'key': '$select', 'type': '[str]'}, 'skip': {'key': '$skip', 'type': 'int'}, 'top': {'key': '$top', 'type': 'int'}, @@ -623,6 +636,8 @@ def __init__( scoring_profile: Optional[str] = None, search_fields: Optional[List[str]] = None, search_mode: Optional[Union[str, "SearchMode"]] = None, + scoring_statistics: Optional[Union[str, "ScoringStatistics"]] = None, + session_id: Optional[str] = None, select: Optional[List[str]] = None, skip: Optional[int] = None, top: Optional[int] = None, @@ -642,6 +657,8 @@ def __init__( self.scoring_profile = scoring_profile self.search_fields = search_fields self.search_mode = search_mode + self.scoring_statistics = scoring_statistics + self.session_id = session_id self.select = select self.skip = skip self.top = top @@ -685,6 +702,19 @@ class SearchRequest(msrest.serialization.Model): 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: "simple", "full". :type query_type: str or ~azure.search.documents.models.QueryType + :param scoring_statistics: A value that specifies whether we want to calculate scoring + statistics (such as document frequency) globally for more consistent scoring, or locally, for + lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally + before scoring. Using global scoring statistics can increase latency of search queries. + Possible values include: "local", "global". + :type scoring_statistics: str or ~azure.search.documents.models.ScoringStatistics + :param session_id: A value to be used to create a sticky session, which can help getting more + consistent results. As long as the same sessionId is used, a best-effort attempt will be made + to target the same replica set. Be wary that reusing the same sessionID values repeatedly can + interfere with the load balancing of the requests across replicas and adversely affect the + performance of the search service. The value used as sessionId cannot start with a '_' + character. + :type session_id: str :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -728,6 +758,8 @@ class SearchRequest(msrest.serialization.Model): 'minimum_coverage': {'key': 'minimumCoverage', 'type': 'float'}, 'order_by': {'key': 'orderby', 'type': 'str'}, 'query_type': {'key': 'queryType', 'type': 'str'}, + 'scoring_statistics': {'key': 'scoringStatistics', 'type': 'str'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, 'scoring_parameters': {'key': 'scoringParameters', 'type': '[str]'}, 'scoring_profile': {'key': 'scoringProfile', 'type': 'str'}, 'search_text': {'key': 'search', 'type': 'str'}, @@ -750,6 +782,8 @@ def __init__( minimum_coverage: Optional[float] = None, order_by: Optional[str] = None, query_type: Optional[Union[str, "QueryType"]] = None, + scoring_statistics: Optional[Union[str, "ScoringStatistics"]] = None, + session_id: Optional[str] = None, scoring_parameters: Optional[List[str]] = None, scoring_profile: Optional[str] = None, search_text: Optional[str] = None, @@ -770,6 +804,8 @@ def __init__( self.minimum_coverage = minimum_coverage self.order_by = order_by self.query_type = query_type + self.scoring_statistics = scoring_statistics + self.session_id = session_id self.scoring_parameters = scoring_parameters self.scoring_profile = scoring_profile self.search_text = search_text diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py index cf7a2fea4790..67a7616f4f51 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py @@ -6,29 +6,52 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum +from enum import Enum, EnumMeta +from six import with_metaclass -class AutocompleteMode(str, Enum): +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) - one_term = "oneTerm" #: Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'. - two_terms = "twoTerms" #: Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'. - one_term_with_context = "oneTermWithContext" #: Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'. + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) -class IndexActionType(str, Enum): + +class AutocompleteMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + ONE_TERM = "oneTerm" #: Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'. + TWO_TERMS = "twoTerms" #: Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'. + ONE_TERM_WITH_CONTEXT = "oneTermWithContext" #: Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'. + +class IndexActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The operation to perform on a document in an indexing batch. """ - upload = "upload" #: Inserts the document into the index if it is new and updates it if it exists. All fields are replaced in the update case. - merge = "merge" #: Merges the specified field values with an existing document. If the document does not exist, the merge will fail. Any field you specify in a merge will replace the existing field in the document. This also applies to collections of primitive and complex types. - merge_or_upload = "mergeOrUpload" #: Behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document. - delete = "delete" #: Removes the specified document from the index. Any field you specify in a delete operation other than the key field will be ignored. If you want to remove an individual field from a document, use merge instead and set the field explicitly to null. + UPLOAD = "upload" #: Inserts the document into the index if it is new and updates it if it exists. All fields are replaced in the update case. + MERGE = "merge" #: Merges the specified field values with an existing document. If the document does not exist, the merge will fail. Any field you specify in a merge will replace the existing field in the document. This also applies to collections of primitive and complex types. + MERGE_OR_UPLOAD = "mergeOrUpload" #: Behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document. + DELETE = "delete" #: Removes the specified document from the index. Any field you specify in a delete operation other than the key field will be ignored. If you want to remove an individual field from a document, use merge instead and set the field explicitly to null. + +class QueryType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SIMPLE = "simple" #: Uses the simple query syntax for searches. Search text is interpreted using a simple query language that allows for symbols such as +, * and "". Queries are evaluated across all searchable fields by default, unless the searchFields parameter is specified. + FULL = "full" #: Uses the full Lucene query syntax for searches. Search text is interpreted using the Lucene query language which allows field-specific and weighted searches, as well as other advanced features. -class QueryType(str, Enum): +class ScoringStatistics(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - simple = "simple" #: Uses the simple query syntax for searches. Search text is interpreted using a simple query language that allows for symbols such as +, * and "". Queries are evaluated across all searchable fields by default, unless the searchFields parameter is specified. - full = "full" #: Uses the full Lucene query syntax for searches. Search text is interpreted using the Lucene query language which allows field-specific and weighted searches, as well as other advanced features. + LOCAL = "local" #: The scoring statistics will be calculated locally for lower latency. + GLOBAL_ENUM = "global" #: The scoring statistics will be calculated globally for more consistent scoring. -class SearchMode(str, Enum): +class SearchMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - any = "any" #: Any of the search terms must be matched in order to count the document as a match. - all = "all" #: All of the search terms must be matched in order to count the document as a match. + ANY = "any" #: Any of the search terms must be matched in order to count the document as a match. + ALL = "all" #: All of the search terms must be matched in order to count the document as a match. diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py index dbd911f08ff3..cb2337bcf788 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -59,13 +59,16 @@ def count( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[int] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.count.metadata['url'] # type: ignore @@ -83,7 +86,7 @@ def count( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -125,7 +128,9 @@ def search_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _include_total_result_count = None @@ -141,6 +146,8 @@ def search_get( _scoring_profile = None _search_fields = None _search_mode = None + _scoring_statistics = None + _session_id = None _select = None _skip = None _top = None @@ -161,10 +168,13 @@ def search_get( _scoring_profile = search_options.scoring_profile _search_fields = search_options.search_fields _search_mode = search_options.search_mode + _scoring_statistics = search_options.scoring_statistics + _session_id = search_options.session_id _select = search_options.select _skip = search_options.skip _top = search_options.top api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.search_get.metadata['url'] # type: ignore @@ -181,11 +191,11 @@ def search_get( if _include_total_result_count is not None: query_parameters['$count'] = self._serialize.query("include_total_result_count", _include_total_result_count, 'bool') if _facets is not None: - query_parameters['facet'] = self._serialize.query("facets", _facets, '[str]', div=',') + query_parameters['facet'] = [self._serialize.query("facets", q, 'str') if q is not None else '' for q in _facets] if _filter is not None: query_parameters['$filter'] = self._serialize.query("filter", _filter, 'str') if _highlight_fields is not None: - query_parameters['highlight'] = self._serialize.query("highlight_fields", _highlight_fields, '[str]') + query_parameters['highlight'] = self._serialize.query("highlight_fields", _highlight_fields, '[str]', div=',') if _highlight_post_tag is not None: query_parameters['highlightPostTag'] = self._serialize.query("highlight_post_tag", _highlight_post_tag, 'str') if _highlight_pre_tag is not None: @@ -193,19 +203,23 @@ def search_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _order_by is not None: - query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]') + query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]', div=',') if _query_type is not None: query_parameters['queryType'] = self._serialize.query("query_type", _query_type, 'str') if _scoring_parameters is not None: - query_parameters['scoringParameter'] = self._serialize.query("scoring_parameters", _scoring_parameters, '[str]', div=',') + query_parameters['scoringParameter'] = [self._serialize.query("scoring_parameters", q, 'str') if q is not None else '' for q in _scoring_parameters] if _scoring_profile is not None: query_parameters['scoringProfile'] = self._serialize.query("scoring_profile", _scoring_profile, 'str') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _search_mode is not None: query_parameters['searchMode'] = self._serialize.query("search_mode", _search_mode, 'str') + if _scoring_statistics is not None: + query_parameters['scoringStatistics'] = self._serialize.query("scoring_statistics", _scoring_statistics, 'str') + if _session_id is not None: + query_parameters['sessionId'] = self._serialize.query("session_id", _session_id, 'str') if _select is not None: - query_parameters['$select'] = self._serialize.query("select", _select, '[str]') + query_parameters['$select'] = self._serialize.query("select", _select, '[str]', div=',') if _skip is not None: query_parameters['$skip'] = self._serialize.query("skip", _skip, 'int') if _top is not None: @@ -216,7 +230,7 @@ def search_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -254,7 +268,9 @@ def search_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -262,6 +278,7 @@ def search_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.search_post.metadata['url'] # type: ignore @@ -280,13 +297,12 @@ def search_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(search_request, 'SearchRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,13 +342,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[object] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -346,14 +365,14 @@ def get( # Construct parameters query_parameters = {} # type: Dict[str, Any] if selected_fields is not None: - query_parameters['$select'] = self._serialize.query("selected_fields", selected_fields, '[str]') + query_parameters['$select'] = self._serialize.query("selected_fields", selected_fields, '[str]', div=',') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -399,7 +418,9 @@ def suggest_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _filter = None @@ -425,6 +446,7 @@ def suggest_get( _select = suggest_options.select _top = suggest_options.top api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.suggest_get.metadata['url'] # type: ignore @@ -449,11 +471,11 @@ def suggest_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _order_by is not None: - query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]') + query_parameters['$orderby'] = self._serialize.query("order_by", _order_by, '[str]', div=',') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _select is not None: - query_parameters['$select'] = self._serialize.query("select", _select, '[str]') + query_parameters['$select'] = self._serialize.query("select", _select, '[str]', div=',') if _top is not None: query_parameters['$top'] = self._serialize.query("top", _top, 'int') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') @@ -462,7 +484,7 @@ def suggest_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -500,7 +522,9 @@ def suggest_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -508,6 +532,7 @@ def suggest_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.suggest_post.metadata['url'] # type: ignore @@ -526,13 +551,12 @@ def suggest_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(suggest_request, 'SuggestRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -568,7 +592,9 @@ def index( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IndexDocumentsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -576,6 +602,7 @@ def index( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.index.metadata['url'] # type: ignore @@ -594,13 +621,12 @@ def index( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(batch, 'IndexBatch') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -647,7 +673,9 @@ def autocomplete_get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -671,6 +699,7 @@ def autocomplete_get( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.autocomplete_get.metadata['url'] # type: ignore @@ -698,7 +727,7 @@ def autocomplete_get( if _minimum_coverage is not None: query_parameters['minimumCoverage'] = self._serialize.query("minimum_coverage", _minimum_coverage, 'float') if _search_fields is not None: - query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]') + query_parameters['searchFields'] = self._serialize.query("search_fields", _search_fields, '[str]', div=',') if _top is not None: query_parameters['$top'] = self._serialize.query("top", _top, 'int') @@ -706,7 +735,7 @@ def autocomplete_get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -744,7 +773,9 @@ def autocomplete_post( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -752,6 +783,7 @@ def autocomplete_post( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.autocomplete_post.metadata['url'] # type: ignore @@ -770,13 +802,12 @@ def autocomplete_post( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(autocomplete_request, 'AutocompleteRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py index 2a23ee76017d..3f3c3aa8bbd3 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py @@ -51,6 +51,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_search_service_client.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_search_service_client.py index b1d72b617439..6c23018e9348 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_search_service_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_search_service_client.py @@ -40,7 +40,6 @@ class SearchServiceClient(SearchServiceClientOperationsMixin): :vartype indexes: azure.search.documents.indexes.operations.IndexesOperations :param endpoint: The endpoint URL of the search service. :type endpoint: str - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -55,6 +54,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.data_sources = DataSourcesOperations( diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/__init__.py index bc2235f978a0..9dcd2fa08424 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._search_service_client_async import SearchServiceClient +from ._search_service_client import SearchServiceClient __all__ = ['SearchServiceClient'] diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration.py similarity index 95% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration.py index 8d0da5ed7352..5a3d20f4e148 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration.py @@ -45,6 +45,7 @@ def _configure( self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client.py similarity index 80% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client.py index a71bdf2c88bd..2e830740a4fb 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_search_service_client.py @@ -11,13 +11,13 @@ from azure.core import AsyncPipelineClient from msrest import Deserializer, Serializer -from ._configuration_async import SearchServiceClientConfiguration -from .operations_async import DataSourcesOperations -from .operations_async import IndexersOperations -from .operations_async import SkillsetsOperations -from .operations_async import SynonymMapsOperations -from .operations_async import IndexesOperations -from .operations_async import SearchServiceClientOperationsMixin +from ._configuration import SearchServiceClientConfiguration +from .operations import DataSourcesOperations +from .operations import IndexersOperations +from .operations import SkillsetsOperations +from .operations import SynonymMapsOperations +from .operations import IndexesOperations +from .operations import SearchServiceClientOperationsMixin from .. import models @@ -25,18 +25,17 @@ class SearchServiceClient(SearchServiceClientOperationsMixin): """Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service. :ivar data_sources: DataSourcesOperations operations - :vartype data_sources: azure.search.documents.indexes.aio.operations_async.DataSourcesOperations + :vartype data_sources: azure.search.documents.indexes.aio.operations.DataSourcesOperations :ivar indexers: IndexersOperations operations - :vartype indexers: azure.search.documents.indexes.aio.operations_async.IndexersOperations + :vartype indexers: azure.search.documents.indexes.aio.operations.IndexersOperations :ivar skillsets: SkillsetsOperations operations - :vartype skillsets: azure.search.documents.indexes.aio.operations_async.SkillsetsOperations + :vartype skillsets: azure.search.documents.indexes.aio.operations.SkillsetsOperations :ivar synonym_maps: SynonymMapsOperations operations - :vartype synonym_maps: azure.search.documents.indexes.aio.operations_async.SynonymMapsOperations + :vartype synonym_maps: azure.search.documents.indexes.aio.operations.SynonymMapsOperations :ivar indexes: IndexesOperations operations - :vartype indexes: azure.search.documents.indexes.aio.operations_async.IndexesOperations + :vartype indexes: azure.search.documents.indexes.aio.operations.IndexesOperations :param endpoint: The endpoint URL of the search service. :type endpoint: str - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( @@ -50,6 +49,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.data_sources = DataSourcesOperations( diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/__init__.py similarity index 62% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/__init__.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/__init__.py index 7f552e89248c..83a82e8a47f0 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/__init__.py @@ -6,12 +6,12 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._data_sources_operations_async import DataSourcesOperations -from ._indexers_operations_async import IndexersOperations -from ._skillsets_operations_async import SkillsetsOperations -from ._synonym_maps_operations_async import SynonymMapsOperations -from ._indexes_operations_async import IndexesOperations -from ._search_service_client_operations_async import SearchServiceClientOperationsMixin +from ._data_sources_operations import DataSourcesOperations +from ._indexers_operations import IndexersOperations +from ._skillsets_operations import SkillsetsOperations +from ._synonym_maps_operations import SynonymMapsOperations +from ._indexes_operations import IndexesOperations +from ._search_service_client_operations import SearchServiceClientOperationsMixin __all__ = [ 'DataSourcesOperations', diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_data_sources_operations.py similarity index 92% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_data_sources_operations.py index f8c11475256e..244741270f3c 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_data_sources_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -68,7 +68,9 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -77,6 +79,7 @@ async def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -100,13 +103,12 @@ async def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -153,13 +155,16 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -181,6 +186,7 @@ async def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -214,13 +220,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -238,7 +247,7 @@ async def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -277,13 +286,16 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListDataSourcesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -302,7 +314,7 @@ async def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -339,7 +351,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -347,6 +361,7 @@ async def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -364,13 +379,12 @@ async def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexers_operations.py similarity index 92% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexers_operations.py index 17d302274546..f71e272f3182 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexers_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -57,13 +57,16 @@ async def reset( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.reset.metadata['url'] # type: ignore @@ -81,6 +84,7 @@ async def reset( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -114,13 +118,16 @@ async def run( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.run.metadata['url'] # type: ignore @@ -138,6 +145,7 @@ async def run( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -182,7 +190,9 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -191,6 +201,7 @@ async def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -214,13 +225,12 @@ async def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -267,13 +277,16 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -295,6 +308,7 @@ async def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -328,13 +342,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -352,7 +369,7 @@ async def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -391,13 +408,16 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexersResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -416,7 +436,7 @@ async def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -453,7 +473,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -461,6 +483,7 @@ async def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -478,13 +501,12 @@ async def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -519,13 +541,16 @@ async def get_status( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_status.metadata['url'] # type: ignore @@ -543,7 +568,7 @@ async def get_status( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexes_operations.py similarity index 93% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexes_operations.py index 132b2842f63a..83a069252d8d 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_indexes_operations.py @@ -9,7 +9,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -58,7 +58,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -66,6 +68,7 @@ async def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -83,13 +86,12 @@ async def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -126,20 +128,23 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -226,7 +231,9 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -235,6 +242,7 @@ async def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -260,13 +268,12 @@ async def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -315,13 +322,16 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -343,6 +353,7 @@ async def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -376,13 +387,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -400,7 +414,7 @@ async def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -437,13 +451,16 @@ async def get_statistics( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GetIndexStatisticsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_statistics.metadata['url'] # type: ignore @@ -461,7 +478,7 @@ async def get_statistics( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -501,7 +518,9 @@ async def analyze( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -509,6 +528,7 @@ async def analyze( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.analyze.metadata['url'] # type: ignore @@ -527,13 +547,12 @@ async def analyze( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(request, 'AnalyzeRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_search_service_client_operations.py similarity index 89% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_search_service_client_operations.py index 026130f2a428..fcc65c1d510f 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_search_service_client_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -34,13 +34,16 @@ async def get_service_statistics( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceStatistics"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_service_statistics.metadata['url'] # type: ignore @@ -57,7 +60,7 @@ async def get_service_statistics( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_skillsets_operations.py similarity index 92% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_skillsets_operations.py index e1527ffa8ff6..57432fc9ada6 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_skillsets_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -69,7 +69,9 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -78,6 +80,7 @@ async def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -101,13 +104,12 @@ async def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -154,13 +156,16 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -182,6 +187,7 @@ async def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -215,13 +221,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -239,7 +248,7 @@ async def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -278,13 +287,16 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListSkillsetsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -303,7 +315,7 @@ async def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -340,7 +352,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -348,6 +362,7 @@ async def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -365,13 +380,12 @@ async def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_synonym_maps_operations.py similarity index 92% rename from sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py rename to sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_synonym_maps_operations.py index 1663e7259b7b..b8b617816d6c 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations/_synonym_maps_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -68,7 +68,9 @@ async def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -77,6 +79,7 @@ async def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -100,13 +103,12 @@ async def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -153,13 +155,16 @@ async def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -181,6 +186,7 @@ async def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -214,13 +220,16 @@ async def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -238,7 +247,7 @@ async def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -277,13 +286,16 @@ async def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListSynonymMapsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -302,7 +314,7 @@ async def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -339,7 +351,9 @@ async def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -347,6 +361,7 @@ async def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -364,13 +379,12 @@ async def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py index db5a2694d201..f65ff0d42767 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py @@ -44,6 +44,7 @@ from ._models_py3 import ImageAnalysisSkill from ._models_py3 import IndexerExecutionResult from ._models_py3 import IndexingParameters + from ._models_py3 import IndexingParametersConfiguration from ._models_py3 import IndexingSchedule from ._models_py3 import InputFieldMappingEntry from ._models_py3 import KeepTokenFilter @@ -165,6 +166,7 @@ from ._models import ImageAnalysisSkill # type: ignore from ._models import IndexerExecutionResult # type: ignore from ._models import IndexingParameters # type: ignore + from ._models import IndexingParametersConfiguration # type: ignore from ._models import IndexingSchedule # type: ignore from ._models import InputFieldMappingEntry # type: ignore from ._models import KeepTokenFilter # type: ignore @@ -250,12 +252,18 @@ from ._models import WordDelimiterTokenFilter # type: ignore from ._search_service_client_enums import ( + BlobIndexerDataToExtract, + BlobIndexerImageAction, + BlobIndexerPDFTextRotationAlgorithm, + BlobIndexerParsingMode, + CharFilterName, CjkBigramTokenFilterScripts, EdgeNGramTokenFilterSide, EntityCategory, EntityRecognitionSkillLanguage, ImageAnalysisSkillLanguage, ImageDetail, + IndexerExecutionEnvironment, IndexerExecutionStatus, IndexerStatus, KeyPhraseExtractionSkillLanguage, @@ -320,6 +328,7 @@ 'ImageAnalysisSkill', 'IndexerExecutionResult', 'IndexingParameters', + 'IndexingParametersConfiguration', 'IndexingSchedule', 'InputFieldMappingEntry', 'KeepTokenFilter', @@ -403,12 +412,18 @@ 'UniqueTokenFilter', 'WebApiSkill', 'WordDelimiterTokenFilter', + 'BlobIndexerDataToExtract', + 'BlobIndexerImageAction', + 'BlobIndexerPDFTextRotationAlgorithm', + 'BlobIndexerParsingMode', + 'CharFilterName', 'CjkBigramTokenFilterScripts', 'EdgeNGramTokenFilterSide', 'EntityCategory', 'EntityRecognitionSkillLanguage', 'ImageAnalysisSkillLanguage', 'ImageDetail', + 'IndexerExecutionEnvironment', 'IndexerExecutionStatus', 'IndexerStatus', 'KeyPhraseExtractionSkillLanguage', diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py index e8ca9eb0aafa..043b82047001 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py @@ -93,7 +93,7 @@ class AnalyzeRequest(msrest.serialization.Model): :type token_filters: list[str or ~azure.search.documents.indexes.models.TokenFilterName] :param char_filters: An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter. - :type char_filters: list[str] + :type char_filters: list[str or ~azure.search.documents.indexes.models.CharFilterName] """ _validation = { @@ -834,7 +834,7 @@ class CustomAnalyzer(LexicalAnalyzer): :param char_filters: A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed. - :type char_filters: list[str] + :type char_filters: list[str or ~azure.search.documents.indexes.models.CharFilterName] """ _validation = { @@ -1764,14 +1764,14 @@ class IndexingParameters(msrest.serialization.Model): :type max_failed_items_per_batch: int :param configuration: A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. - :type configuration: dict[str, object] + :type configuration: ~azure.search.documents.indexes.models.IndexingParametersConfiguration """ _attribute_map = { 'batch_size': {'key': 'batchSize', 'type': 'int'}, 'max_failed_items': {'key': 'maxFailedItems', 'type': 'int'}, 'max_failed_items_per_batch': {'key': 'maxFailedItemsPerBatch', 'type': 'int'}, - 'configuration': {'key': 'configuration', 'type': '{object}'}, + 'configuration': {'key': 'configuration', 'type': 'IndexingParametersConfiguration'}, } def __init__( @@ -1785,6 +1785,121 @@ def __init__( self.configuration = kwargs.get('configuration', None) +class IndexingParametersConfiguration(msrest.serialization.Model): + """A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param parsing_mode: Represents the parsing mode for indexing from an Azure blob data source. + Possible values include: "default", "text", "delimitedText", "json", "jsonArray", "jsonLines". + Default value: "default". + :type parsing_mode: str or ~azure.search.documents.indexes.models.BlobIndexerParsingMode + :param excluded_file_name_extensions: Comma-delimited list of filename extensions to ignore + when processing from Azure blob storage. For example, you could exclude ".png, .mp4" to skip + over those files during indexing. + :type excluded_file_name_extensions: str + :param indexed_file_name_extensions: Comma-delimited list of filename extensions to select when + processing from Azure blob storage. For example, you could focus indexing on specific + application files ".docx, .pptx, .msg" to specifically include those file types. + :type indexed_file_name_extensions: str + :param fail_on_unsupported_content_type: For Azure blobs, set to false if you want to continue + indexing when an unsupported content type is encountered, and you don't know all the content + types (file extensions) in advance. + :type fail_on_unsupported_content_type: bool + :param fail_on_unprocessable_document: For Azure blobs, set to false if you want to continue + indexing if a document fails indexing. + :type fail_on_unprocessable_document: bool + :param index_storage_metadata_only_for_oversized_documents: For Azure blobs, set this property + to true to still index storage metadata for blob content that is too large to process. + Oversized blobs are treated as errors by default. For limits on blob size, see + https://docs.microsoft.com/azure/search/search-limits-quotas-capacity. + :type index_storage_metadata_only_for_oversized_documents: bool + :param delimited_text_headers: For CSV blobs, specifies a comma-delimited list of column + headers, useful for mapping source fields to destination fields in an index. + :type delimited_text_headers: str + :param delimited_text_delimiter: For CSV blobs, specifies the end-of-line single-character + delimiter for CSV files where each line starts a new document (for example, "|"). + :type delimited_text_delimiter: str + :param first_line_contains_headers: For CSV blobs, indicates that the first (non-blank) line of + each blob contains headers. + :type first_line_contains_headers: bool + :param document_root: For JSON arrays, given a structured or semi-structured document, you can + specify a path to the array using this property. + :type document_root: str + :param data_to_extract: Specifies the data to extract from Azure blob storage and tells the + indexer which data to extract from image content when "imageAction" is set to a value other + than "none". This applies to embedded image content in a .PDF or other application, or image + files such as .jpg and .png, in Azure blobs. Possible values include: "storageMetadata", + "allMetadata", "contentAndMetadata". Default value: "contentAndMetadata". + :type data_to_extract: str or ~azure.search.documents.indexes.models.BlobIndexerDataToExtract + :param image_action: Determines how to process embedded images and image files in Azure blob + storage. Setting the "imageAction" configuration to any value other than "none" requires that + a skillset also be attached to that indexer. Possible values include: "none", + "generateNormalizedImages", "generateNormalizedImagePerPage". Default value: "none". + :type image_action: str or ~azure.search.documents.indexes.models.BlobIndexerImageAction + :param allow_skillset_to_read_file_data: If true, will create a path //document//file_data that + is an object representing the original file data downloaded from your blob data source. This + allows you to pass the original file data to a custom skill for processing within the + enrichment pipeline, or to the Document Extraction skill. + :type allow_skillset_to_read_file_data: bool + :param pdf_text_rotation_algorithm: Determines algorithm for text extraction from PDF files in + Azure blob storage. Possible values include: "none", "detectAngles". Default value: "none". + :type pdf_text_rotation_algorithm: str or + ~azure.search.documents.indexes.models.BlobIndexerPDFTextRotationAlgorithm + :param execution_environment: Specifies the environment in which the indexer should execute. + Possible values include: "standard", "private". Default value: "standard". + :type execution_environment: str or + ~azure.search.documents.indexes.models.IndexerExecutionEnvironment + :param query_timeout: Increases the timeout beyond the 5-minute default for Azure SQL database + data sources, specified in the format "hh:mm:ss". + :type query_timeout: str + """ + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'parsing_mode': {'key': 'parsingMode', 'type': 'str'}, + 'excluded_file_name_extensions': {'key': 'excludedFileNameExtensions', 'type': 'str'}, + 'indexed_file_name_extensions': {'key': 'indexedFileNameExtensions', 'type': 'str'}, + 'fail_on_unsupported_content_type': {'key': 'failOnUnsupportedContentType', 'type': 'bool'}, + 'fail_on_unprocessable_document': {'key': 'failOnUnprocessableDocument', 'type': 'bool'}, + 'index_storage_metadata_only_for_oversized_documents': {'key': 'indexStorageMetadataOnlyForOversizedDocuments', 'type': 'bool'}, + 'delimited_text_headers': {'key': 'delimitedTextHeaders', 'type': 'str'}, + 'delimited_text_delimiter': {'key': 'delimitedTextDelimiter', 'type': 'str'}, + 'first_line_contains_headers': {'key': 'firstLineContainsHeaders', 'type': 'bool'}, + 'document_root': {'key': 'documentRoot', 'type': 'str'}, + 'data_to_extract': {'key': 'dataToExtract', 'type': 'str'}, + 'image_action': {'key': 'imageAction', 'type': 'str'}, + 'allow_skillset_to_read_file_data': {'key': 'allowSkillsetToReadFileData', 'type': 'bool'}, + 'pdf_text_rotation_algorithm': {'key': 'pdfTextRotationAlgorithm', 'type': 'str'}, + 'execution_environment': {'key': 'executionEnvironment', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IndexingParametersConfiguration, self).__init__(**kwargs) + self.additional_properties = kwargs.get('additional_properties', None) + self.parsing_mode = kwargs.get('parsing_mode', "default") + self.excluded_file_name_extensions = kwargs.get('excluded_file_name_extensions', "") + self.indexed_file_name_extensions = kwargs.get('indexed_file_name_extensions', "") + self.fail_on_unsupported_content_type = kwargs.get('fail_on_unsupported_content_type', False) + self.fail_on_unprocessable_document = kwargs.get('fail_on_unprocessable_document', False) + self.index_storage_metadata_only_for_oversized_documents = kwargs.get('index_storage_metadata_only_for_oversized_documents', False) + self.delimited_text_headers = kwargs.get('delimited_text_headers', None) + self.delimited_text_delimiter = kwargs.get('delimited_text_delimiter', None) + self.first_line_contains_headers = kwargs.get('first_line_contains_headers', True) + self.document_root = kwargs.get('document_root', None) + self.data_to_extract = kwargs.get('data_to_extract', "contentAndMetadata") + self.image_action = kwargs.get('image_action', "none") + self.allow_skillset_to_read_file_data = kwargs.get('allow_skillset_to_read_file_data', False) + self.pdf_text_rotation_algorithm = kwargs.get('pdf_text_rotation_algorithm', "none") + self.execution_environment = kwargs.get('execution_environment', "standard") + self.query_timeout = kwargs.get('query_timeout', "00:05:00") + + class IndexingSchedule(msrest.serialization.Model): """Represents a schedule for indexer execution. @@ -4190,8 +4305,6 @@ class ServiceCounters(msrest.serialization.Model): :type storage_size_counter: ~azure.search.documents.indexes.models.ResourceCounter :param synonym_map_counter: Required. Total number of synonym maps. :type synonym_map_counter: ~azure.search.documents.indexes.models.ResourceCounter - :param skillset_counter: Total number of skillsets. - :type skillset_counter: ~azure.search.documents.indexes.models.ResourceCounter """ _validation = { @@ -4210,7 +4323,6 @@ class ServiceCounters(msrest.serialization.Model): 'data_source_counter': {'key': 'dataSourcesCount', 'type': 'ResourceCounter'}, 'storage_size_counter': {'key': 'storageSize', 'type': 'ResourceCounter'}, 'synonym_map_counter': {'key': 'synonymMaps', 'type': 'ResourceCounter'}, - 'skillset_counter': {'key': 'skillsetCount', 'type': 'ResourceCounter'}, } def __init__( @@ -4224,7 +4336,6 @@ def __init__( self.data_source_counter = kwargs['data_source_counter'] self.storage_size_counter = kwargs['storage_size_counter'] self.synonym_map_counter = kwargs['synonym_map_counter'] - self.skillset_counter = kwargs.get('skillset_counter', None) class ServiceLimits(msrest.serialization.Model): diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py index 3e87f5fe3811..6400646b30c7 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py @@ -98,7 +98,7 @@ class AnalyzeRequest(msrest.serialization.Model): :type token_filters: list[str or ~azure.search.documents.indexes.models.TokenFilterName] :param char_filters: An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter. - :type char_filters: list[str] + :type char_filters: list[str or ~azure.search.documents.indexes.models.CharFilterName] """ _validation = { @@ -120,7 +120,7 @@ def __init__( analyzer: Optional[Union[str, "LexicalAnalyzerName"]] = None, tokenizer: Optional[Union[str, "LexicalTokenizerName"]] = None, token_filters: Optional[List[Union[str, "TokenFilterName"]]] = None, - char_filters: Optional[List[str]] = None, + char_filters: Optional[List[Union[str, "CharFilterName"]]] = None, **kwargs ): super(AnalyzeRequest, self).__init__(**kwargs) @@ -896,7 +896,7 @@ class CustomAnalyzer(LexicalAnalyzer): :param char_filters: A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed. - :type char_filters: list[str] + :type char_filters: list[str or ~azure.search.documents.indexes.models.CharFilterName] """ _validation = { @@ -919,7 +919,7 @@ def __init__( name: str, tokenizer: Union[str, "LexicalTokenizerName"], token_filters: Optional[List[Union[str, "TokenFilterName"]]] = None, - char_filters: Optional[List[str]] = None, + char_filters: Optional[List[Union[str, "CharFilterName"]]] = None, **kwargs ): super(CustomAnalyzer, self).__init__(name=name, **kwargs) @@ -1907,14 +1907,14 @@ class IndexingParameters(msrest.serialization.Model): :type max_failed_items_per_batch: int :param configuration: A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. - :type configuration: dict[str, object] + :type configuration: ~azure.search.documents.indexes.models.IndexingParametersConfiguration """ _attribute_map = { 'batch_size': {'key': 'batchSize', 'type': 'int'}, 'max_failed_items': {'key': 'maxFailedItems', 'type': 'int'}, 'max_failed_items_per_batch': {'key': 'maxFailedItemsPerBatch', 'type': 'int'}, - 'configuration': {'key': 'configuration', 'type': '{object}'}, + 'configuration': {'key': 'configuration', 'type': 'IndexingParametersConfiguration'}, } def __init__( @@ -1923,7 +1923,7 @@ def __init__( batch_size: Optional[int] = None, max_failed_items: Optional[int] = 0, max_failed_items_per_batch: Optional[int] = 0, - configuration: Optional[Dict[str, object]] = None, + configuration: Optional["IndexingParametersConfiguration"] = None, **kwargs ): super(IndexingParameters, self).__init__(**kwargs) @@ -1933,6 +1933,139 @@ def __init__( self.configuration = configuration +class IndexingParametersConfiguration(msrest.serialization.Model): + """A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param parsing_mode: Represents the parsing mode for indexing from an Azure blob data source. + Possible values include: "default", "text", "delimitedText", "json", "jsonArray", "jsonLines". + Default value: "default". + :type parsing_mode: str or ~azure.search.documents.indexes.models.BlobIndexerParsingMode + :param excluded_file_name_extensions: Comma-delimited list of filename extensions to ignore + when processing from Azure blob storage. For example, you could exclude ".png, .mp4" to skip + over those files during indexing. + :type excluded_file_name_extensions: str + :param indexed_file_name_extensions: Comma-delimited list of filename extensions to select when + processing from Azure blob storage. For example, you could focus indexing on specific + application files ".docx, .pptx, .msg" to specifically include those file types. + :type indexed_file_name_extensions: str + :param fail_on_unsupported_content_type: For Azure blobs, set to false if you want to continue + indexing when an unsupported content type is encountered, and you don't know all the content + types (file extensions) in advance. + :type fail_on_unsupported_content_type: bool + :param fail_on_unprocessable_document: For Azure blobs, set to false if you want to continue + indexing if a document fails indexing. + :type fail_on_unprocessable_document: bool + :param index_storage_metadata_only_for_oversized_documents: For Azure blobs, set this property + to true to still index storage metadata for blob content that is too large to process. + Oversized blobs are treated as errors by default. For limits on blob size, see + https://docs.microsoft.com/azure/search/search-limits-quotas-capacity. + :type index_storage_metadata_only_for_oversized_documents: bool + :param delimited_text_headers: For CSV blobs, specifies a comma-delimited list of column + headers, useful for mapping source fields to destination fields in an index. + :type delimited_text_headers: str + :param delimited_text_delimiter: For CSV blobs, specifies the end-of-line single-character + delimiter for CSV files where each line starts a new document (for example, "|"). + :type delimited_text_delimiter: str + :param first_line_contains_headers: For CSV blobs, indicates that the first (non-blank) line of + each blob contains headers. + :type first_line_contains_headers: bool + :param document_root: For JSON arrays, given a structured or semi-structured document, you can + specify a path to the array using this property. + :type document_root: str + :param data_to_extract: Specifies the data to extract from Azure blob storage and tells the + indexer which data to extract from image content when "imageAction" is set to a value other + than "none". This applies to embedded image content in a .PDF or other application, or image + files such as .jpg and .png, in Azure blobs. Possible values include: "storageMetadata", + "allMetadata", "contentAndMetadata". Default value: "contentAndMetadata". + :type data_to_extract: str or ~azure.search.documents.indexes.models.BlobIndexerDataToExtract + :param image_action: Determines how to process embedded images and image files in Azure blob + storage. Setting the "imageAction" configuration to any value other than "none" requires that + a skillset also be attached to that indexer. Possible values include: "none", + "generateNormalizedImages", "generateNormalizedImagePerPage". Default value: "none". + :type image_action: str or ~azure.search.documents.indexes.models.BlobIndexerImageAction + :param allow_skillset_to_read_file_data: If true, will create a path //document//file_data that + is an object representing the original file data downloaded from your blob data source. This + allows you to pass the original file data to a custom skill for processing within the + enrichment pipeline, or to the Document Extraction skill. + :type allow_skillset_to_read_file_data: bool + :param pdf_text_rotation_algorithm: Determines algorithm for text extraction from PDF files in + Azure blob storage. Possible values include: "none", "detectAngles". Default value: "none". + :type pdf_text_rotation_algorithm: str or + ~azure.search.documents.indexes.models.BlobIndexerPDFTextRotationAlgorithm + :param execution_environment: Specifies the environment in which the indexer should execute. + Possible values include: "standard", "private". Default value: "standard". + :type execution_environment: str or + ~azure.search.documents.indexes.models.IndexerExecutionEnvironment + :param query_timeout: Increases the timeout beyond the 5-minute default for Azure SQL database + data sources, specified in the format "hh:mm:ss". + :type query_timeout: str + """ + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'parsing_mode': {'key': 'parsingMode', 'type': 'str'}, + 'excluded_file_name_extensions': {'key': 'excludedFileNameExtensions', 'type': 'str'}, + 'indexed_file_name_extensions': {'key': 'indexedFileNameExtensions', 'type': 'str'}, + 'fail_on_unsupported_content_type': {'key': 'failOnUnsupportedContentType', 'type': 'bool'}, + 'fail_on_unprocessable_document': {'key': 'failOnUnprocessableDocument', 'type': 'bool'}, + 'index_storage_metadata_only_for_oversized_documents': {'key': 'indexStorageMetadataOnlyForOversizedDocuments', 'type': 'bool'}, + 'delimited_text_headers': {'key': 'delimitedTextHeaders', 'type': 'str'}, + 'delimited_text_delimiter': {'key': 'delimitedTextDelimiter', 'type': 'str'}, + 'first_line_contains_headers': {'key': 'firstLineContainsHeaders', 'type': 'bool'}, + 'document_root': {'key': 'documentRoot', 'type': 'str'}, + 'data_to_extract': {'key': 'dataToExtract', 'type': 'str'}, + 'image_action': {'key': 'imageAction', 'type': 'str'}, + 'allow_skillset_to_read_file_data': {'key': 'allowSkillsetToReadFileData', 'type': 'bool'}, + 'pdf_text_rotation_algorithm': {'key': 'pdfTextRotationAlgorithm', 'type': 'str'}, + 'execution_environment': {'key': 'executionEnvironment', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'str'}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + parsing_mode: Optional[Union[str, "BlobIndexerParsingMode"]] = "default", + excluded_file_name_extensions: Optional[str] = "", + indexed_file_name_extensions: Optional[str] = "", + fail_on_unsupported_content_type: Optional[bool] = False, + fail_on_unprocessable_document: Optional[bool] = False, + index_storage_metadata_only_for_oversized_documents: Optional[bool] = False, + delimited_text_headers: Optional[str] = None, + delimited_text_delimiter: Optional[str] = None, + first_line_contains_headers: Optional[bool] = True, + document_root: Optional[str] = None, + data_to_extract: Optional[Union[str, "BlobIndexerDataToExtract"]] = "contentAndMetadata", + image_action: Optional[Union[str, "BlobIndexerImageAction"]] = "none", + allow_skillset_to_read_file_data: Optional[bool] = False, + pdf_text_rotation_algorithm: Optional[Union[str, "BlobIndexerPDFTextRotationAlgorithm"]] = "none", + execution_environment: Optional[Union[str, "IndexerExecutionEnvironment"]] = "standard", + query_timeout: Optional[str] = "00:05:00", + **kwargs + ): + super(IndexingParametersConfiguration, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.parsing_mode = parsing_mode + self.excluded_file_name_extensions = excluded_file_name_extensions + self.indexed_file_name_extensions = indexed_file_name_extensions + self.fail_on_unsupported_content_type = fail_on_unsupported_content_type + self.fail_on_unprocessable_document = fail_on_unprocessable_document + self.index_storage_metadata_only_for_oversized_documents = index_storage_metadata_only_for_oversized_documents + self.delimited_text_headers = delimited_text_headers + self.delimited_text_delimiter = delimited_text_delimiter + self.first_line_contains_headers = first_line_contains_headers + self.document_root = document_root + self.data_to_extract = data_to_extract + self.image_action = image_action + self.allow_skillset_to_read_file_data = allow_skillset_to_read_file_data + self.pdf_text_rotation_algorithm = pdf_text_rotation_algorithm + self.execution_environment = execution_environment + self.query_timeout = query_timeout + + class IndexingSchedule(msrest.serialization.Model): """Represents a schedule for indexer execution. @@ -4560,8 +4693,6 @@ class ServiceCounters(msrest.serialization.Model): :type storage_size_counter: ~azure.search.documents.indexes.models.ResourceCounter :param synonym_map_counter: Required. Total number of synonym maps. :type synonym_map_counter: ~azure.search.documents.indexes.models.ResourceCounter - :param skillset_counter: Total number of skillsets. - :type skillset_counter: ~azure.search.documents.indexes.models.ResourceCounter """ _validation = { @@ -4580,7 +4711,6 @@ class ServiceCounters(msrest.serialization.Model): 'data_source_counter': {'key': 'dataSourcesCount', 'type': 'ResourceCounter'}, 'storage_size_counter': {'key': 'storageSize', 'type': 'ResourceCounter'}, 'synonym_map_counter': {'key': 'synonymMaps', 'type': 'ResourceCounter'}, - 'skillset_counter': {'key': 'skillsetCount', 'type': 'ResourceCounter'}, } def __init__( @@ -4592,7 +4722,6 @@ def __init__( data_source_counter: "ResourceCounter", storage_size_counter: "ResourceCounter", synonym_map_counter: "ResourceCounter", - skillset_counter: Optional["ResourceCounter"] = None, **kwargs ): super(ServiceCounters, self).__init__(**kwargs) @@ -4602,7 +4731,6 @@ def __init__( self.data_source_counter = data_source_counter self.storage_size_counter = storage_size_counter self.synonym_map_counter = synonym_map_counter - self.skillset_counter = skillset_counter class ServiceLimits(msrest.serialization.Model): diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py index a5c5646c7ef7..b350b8c08008 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py @@ -6,724 +6,794 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class BlobIndexerDataToExtract(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Specifies the data to extract from Azure blob storage and tells the indexer which data to + extract from image content when "imageAction" is set to a value other than "none". This + applies to embedded image content in a .PDF or other application, or image files such as .jpg + and .png, in Azure blobs. + """ + + STORAGE_METADATA = "storageMetadata" #: Indexes just the standard blob properties and user-specified metadata. + ALL_METADATA = "allMetadata" #: Extracts metadata provided by the Azure blob storage subsystem and the content-type specific metadata (for example, metadata unique to just .png files are indexed). + CONTENT_AND_METADATA = "contentAndMetadata" #: Extracts all metadata and textual content from each blob. + +class BlobIndexerImageAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Determines how to process embedded images and image files in Azure blob storage. Setting the + "imageAction" configuration to any value other than "none" requires that a skillset also be + attached to that indexer. + """ + + NONE = "none" #: Ignores embedded images or image files in the data set. This is the default. + GENERATE_NORMALIZED_IMAGES = "generateNormalizedImages" #: Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field. This action requires that "dataToExtract" is set to "contentAndMetadata". A normalized image refers to additional processing resulting in uniform image output, sized and rotated to promote consistent rendering when you include images in visual search results. This information is generated for each image when you use this option. + GENERATE_NORMALIZED_IMAGE_PER_PAGE = "generateNormalizedImagePerPage" #: Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images. Non-PDF file types will be treated the same as if "generateNormalizedImages" was set. + +class BlobIndexerParsingMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Represents the parsing mode for indexing from an Azure blob data source. + """ + + DEFAULT = "default" #: Set to default for normal file processing. + TEXT = "text" #: Set to text to improve indexing performance on plain text files in blob storage. + DELIMITED_TEXT = "delimitedText" #: Set to delimitedText when blobs are plain CSV files. + JSON = "json" #: Set to json to extract structured content from JSON files. + JSON_ARRAY = "jsonArray" #: Set to jsonArray to extract individual elements of a JSON array as separate documents in Azure Cognitive Search. + JSON_LINES = "jsonLines" #: Set to jsonLines to extract individual JSON entities, separated by a new line, as separate documents in Azure Cognitive Search. + +class BlobIndexerPDFTextRotationAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Determines algorithm for text extraction from PDF files in Azure blob storage. + """ -class CjkBigramTokenFilterScripts(str, Enum): + NONE = "none" #: Leverages normal text extraction. This is the default. + DETECT_ANGLES = "detectAngles" #: May produce better and more readable text extraction from PDF files that have rotated text within them. Note that there may be a small performance speed impact when this parameter is used. This parameter only applies to PDF files, and only to PDFs with embedded text. If the rotated text appears within an embedded image in the PDF, this parameter does not apply. + +class CharFilterName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Defines the names of all character filters supported by Azure Cognitive Search. + """ + + HTML_STRIP = "html_strip" #: A character filter that attempts to strip out HTML constructs. See https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.html. + +class CjkBigramTokenFilterScripts(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Scripts that can be ignored by CjkBigramTokenFilter. """ - han = "han" #: Ignore Han script when forming bigrams of CJK terms. - hiragana = "hiragana" #: Ignore Hiragana script when forming bigrams of CJK terms. - katakana = "katakana" #: Ignore Katakana script when forming bigrams of CJK terms. - hangul = "hangul" #: Ignore Hangul script when forming bigrams of CJK terms. + HAN = "han" #: Ignore Han script when forming bigrams of CJK terms. + HIRAGANA = "hiragana" #: Ignore Hiragana script when forming bigrams of CJK terms. + KATAKANA = "katakana" #: Ignore Katakana script when forming bigrams of CJK terms. + HANGUL = "hangul" #: Ignore Hangul script when forming bigrams of CJK terms. -class EdgeNGramTokenFilterSide(str, Enum): +class EdgeNGramTokenFilterSide(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Specifies which side of the input an n-gram should be generated from. """ - front = "front" #: Specifies that the n-gram should be generated from the front of the input. - back = "back" #: Specifies that the n-gram should be generated from the back of the input. + FRONT = "front" #: Specifies that the n-gram should be generated from the front of the input. + BACK = "back" #: Specifies that the n-gram should be generated from the back of the input. -class EntityCategory(str, Enum): +class EntityCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """A string indicating what entity categories to return. """ - location = "location" #: Entities describing a physical location. - organization = "organization" #: Entities describing an organization. - person = "person" #: Entities describing a person. - quantity = "quantity" #: Entities describing a quantity. - datetime = "datetime" #: Entities describing a date and time. - url = "url" #: Entities describing a URL. - email = "email" #: Entities describing an email address. + LOCATION = "location" #: Entities describing a physical location. + ORGANIZATION = "organization" #: Entities describing an organization. + PERSON = "person" #: Entities describing a person. + QUANTITY = "quantity" #: Entities describing a quantity. + DATETIME = "datetime" #: Entities describing a date and time. + URL = "url" #: Entities describing a URL. + EMAIL = "email" #: Entities describing an email address. -class EntityRecognitionSkillLanguage(str, Enum): +class EntityRecognitionSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input text by EntityRecognitionSkill. """ - ar = "ar" #: Arabic. - cs = "cs" #: Czech. - zh_hans = "zh-Hans" #: Chinese-Simplified. - zh_hant = "zh-Hant" #: Chinese-Traditional. - da = "da" #: Danish. - nl = "nl" #: Dutch. - en = "en" #: English. - fi = "fi" #: Finnish. - fr = "fr" #: French. - de = "de" #: German. - el = "el" #: Greek. - hu = "hu" #: Hungarian. - it = "it" #: Italian. - ja = "ja" #: Japanese. - ko = "ko" #: Korean. - no = "no" #: Norwegian (Bokmaal). - pl = "pl" #: Polish. - pt_pt = "pt-PT" #: Portuguese (Portugal). - pt_br = "pt-BR" #: Portuguese (Brazil). - ru = "ru" #: Russian. - es = "es" #: Spanish. - sv = "sv" #: Swedish. - tr = "tr" #: Turkish. - -class ImageAnalysisSkillLanguage(str, Enum): + AR = "ar" #: Arabic. + CS = "cs" #: Czech. + ZH_HANS = "zh-Hans" #: Chinese-Simplified. + ZH_HANT = "zh-Hant" #: Chinese-Traditional. + DA = "da" #: Danish. + NL = "nl" #: Dutch. + EN = "en" #: English. + FI = "fi" #: Finnish. + FR = "fr" #: French. + DE = "de" #: German. + EL = "el" #: Greek. + HU = "hu" #: Hungarian. + IT = "it" #: Italian. + JA = "ja" #: Japanese. + KO = "ko" #: Korean. + NO = "no" #: Norwegian (Bokmaal). + PL = "pl" #: Polish. + PT_PT = "pt-PT" #: Portuguese (Portugal). + PT_BR = "pt-BR" #: Portuguese (Brazil). + RU = "ru" #: Russian. + ES = "es" #: Spanish. + SV = "sv" #: Swedish. + TR = "tr" #: Turkish. + +class ImageAnalysisSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input by ImageAnalysisSkill. """ - en = "en" #: English. - es = "es" #: Spanish. - ja = "ja" #: Japanese. - pt = "pt" #: Portuguese. - zh = "zh" #: Chinese. + EN = "en" #: English. + ES = "es" #: Spanish. + JA = "ja" #: Japanese. + PT = "pt" #: Portuguese. + ZH = "zh" #: Chinese. -class ImageDetail(str, Enum): +class ImageDetail(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """A string indicating which domain-specific details to return. """ - celebrities = "celebrities" #: Details recognized as celebrities. - landmarks = "landmarks" #: Details recognized as landmarks. + CELEBRITIES = "celebrities" #: Details recognized as celebrities. + LANDMARKS = "landmarks" #: Details recognized as landmarks. -class IndexerExecutionStatus(str, Enum): +class IndexerExecutionEnvironment(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Specifies the environment in which the indexer should execute. + """ + + STANDARD = "standard" #: Indicates that Azure Cognitive Search can determine where the indexer should execute. This is the default environment when nothing is specified and is the recommended value. + PRIVATE = "private" #: Indicates that the indexer should run with the environment provisioned specifically for the search service. This should only be specified as the execution environment if the indexer needs to access resources securely over shared private link resources. + +class IndexerExecutionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Represents the status of an individual indexer execution. """ - transient_failure = "transientFailure" #: An indexer invocation has failed, but the failure may be transient. Indexer invocations will continue per schedule. - success = "success" #: Indexer execution completed successfully. - in_progress = "inProgress" #: Indexer execution is in progress. - reset = "reset" #: Indexer has been reset. + TRANSIENT_FAILURE = "transientFailure" #: An indexer invocation has failed, but the failure may be transient. Indexer invocations will continue per schedule. + SUCCESS = "success" #: Indexer execution completed successfully. + IN_PROGRESS = "inProgress" #: Indexer execution is in progress. + RESET = "reset" #: Indexer has been reset. -class IndexerStatus(str, Enum): +class IndexerStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Represents the overall indexer status. """ - unknown = "unknown" #: Indicates that the indexer is in an unknown state. - error = "error" #: Indicates that the indexer experienced an error that cannot be corrected without human intervention. - running = "running" #: Indicates that the indexer is running normally. + UNKNOWN = "unknown" #: Indicates that the indexer is in an unknown state. + ERROR = "error" #: Indicates that the indexer experienced an error that cannot be corrected without human intervention. + RUNNING = "running" #: Indicates that the indexer is running normally. -class KeyPhraseExtractionSkillLanguage(str, Enum): +class KeyPhraseExtractionSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input text by KeyPhraseExtractionSkill. """ - da = "da" #: Danish. - nl = "nl" #: Dutch. - en = "en" #: English. - fi = "fi" #: Finnish. - fr = "fr" #: French. - de = "de" #: German. - it = "it" #: Italian. - ja = "ja" #: Japanese. - ko = "ko" #: Korean. - no = "no" #: Norwegian (Bokmaal). - pl = "pl" #: Polish. - pt_pt = "pt-PT" #: Portuguese (Portugal). - pt_br = "pt-BR" #: Portuguese (Brazil). - ru = "ru" #: Russian. - es = "es" #: Spanish. - sv = "sv" #: Swedish. - -class LexicalAnalyzerName(str, Enum): + DA = "da" #: Danish. + NL = "nl" #: Dutch. + EN = "en" #: English. + FI = "fi" #: Finnish. + FR = "fr" #: French. + DE = "de" #: German. + IT = "it" #: Italian. + JA = "ja" #: Japanese. + KO = "ko" #: Korean. + NO = "no" #: Norwegian (Bokmaal). + PL = "pl" #: Polish. + PT_PT = "pt-PT" #: Portuguese (Portugal). + PT_BR = "pt-BR" #: Portuguese (Brazil). + RU = "ru" #: Russian. + ES = "es" #: Spanish. + SV = "sv" #: Swedish. + +class LexicalAnalyzerName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the names of all text analyzers supported by Azure Cognitive Search. """ - ar_microsoft = "ar.microsoft" #: Microsoft analyzer for Arabic. - ar_lucene = "ar.lucene" #: Lucene analyzer for Arabic. - hy_lucene = "hy.lucene" #: Lucene analyzer for Armenian. - bn_microsoft = "bn.microsoft" #: Microsoft analyzer for Bangla. - eu_lucene = "eu.lucene" #: Lucene analyzer for Basque. - bg_microsoft = "bg.microsoft" #: Microsoft analyzer for Bulgarian. - bg_lucene = "bg.lucene" #: Lucene analyzer for Bulgarian. - ca_microsoft = "ca.microsoft" #: Microsoft analyzer for Catalan. - ca_lucene = "ca.lucene" #: Lucene analyzer for Catalan. - zh_hans_microsoft = "zh-Hans.microsoft" #: Microsoft analyzer for Chinese (Simplified). - zh_hans_lucene = "zh-Hans.lucene" #: Lucene analyzer for Chinese (Simplified). - zh_hant_microsoft = "zh-Hant.microsoft" #: Microsoft analyzer for Chinese (Traditional). - zh_hant_lucene = "zh-Hant.lucene" #: Lucene analyzer for Chinese (Traditional). - hr_microsoft = "hr.microsoft" #: Microsoft analyzer for Croatian. - cs_microsoft = "cs.microsoft" #: Microsoft analyzer for Czech. - cs_lucene = "cs.lucene" #: Lucene analyzer for Czech. - da_microsoft = "da.microsoft" #: Microsoft analyzer for Danish. - da_lucene = "da.lucene" #: Lucene analyzer for Danish. - nl_microsoft = "nl.microsoft" #: Microsoft analyzer for Dutch. - nl_lucene = "nl.lucene" #: Lucene analyzer for Dutch. - en_microsoft = "en.microsoft" #: Microsoft analyzer for English. - en_lucene = "en.lucene" #: Lucene analyzer for English. - et_microsoft = "et.microsoft" #: Microsoft analyzer for Estonian. - fi_microsoft = "fi.microsoft" #: Microsoft analyzer for Finnish. - fi_lucene = "fi.lucene" #: Lucene analyzer for Finnish. - fr_microsoft = "fr.microsoft" #: Microsoft analyzer for French. - fr_lucene = "fr.lucene" #: Lucene analyzer for French. - gl_lucene = "gl.lucene" #: Lucene analyzer for Galician. - de_microsoft = "de.microsoft" #: Microsoft analyzer for German. - de_lucene = "de.lucene" #: Lucene analyzer for German. - el_microsoft = "el.microsoft" #: Microsoft analyzer for Greek. - el_lucene = "el.lucene" #: Lucene analyzer for Greek. - gu_microsoft = "gu.microsoft" #: Microsoft analyzer for Gujarati. - he_microsoft = "he.microsoft" #: Microsoft analyzer for Hebrew. - hi_microsoft = "hi.microsoft" #: Microsoft analyzer for Hindi. - hi_lucene = "hi.lucene" #: Lucene analyzer for Hindi. - hu_microsoft = "hu.microsoft" #: Microsoft analyzer for Hungarian. - hu_lucene = "hu.lucene" #: Lucene analyzer for Hungarian. - is_microsoft = "is.microsoft" #: Microsoft analyzer for Icelandic. - id_microsoft = "id.microsoft" #: Microsoft analyzer for Indonesian (Bahasa). - id_lucene = "id.lucene" #: Lucene analyzer for Indonesian. - ga_lucene = "ga.lucene" #: Lucene analyzer for Irish. - it_microsoft = "it.microsoft" #: Microsoft analyzer for Italian. - it_lucene = "it.lucene" #: Lucene analyzer for Italian. - ja_microsoft = "ja.microsoft" #: Microsoft analyzer for Japanese. - ja_lucene = "ja.lucene" #: Lucene analyzer for Japanese. - kn_microsoft = "kn.microsoft" #: Microsoft analyzer for Kannada. - ko_microsoft = "ko.microsoft" #: Microsoft analyzer for Korean. - ko_lucene = "ko.lucene" #: Lucene analyzer for Korean. - lv_microsoft = "lv.microsoft" #: Microsoft analyzer for Latvian. - lv_lucene = "lv.lucene" #: Lucene analyzer for Latvian. - lt_microsoft = "lt.microsoft" #: Microsoft analyzer for Lithuanian. - ml_microsoft = "ml.microsoft" #: Microsoft analyzer for Malayalam. - ms_microsoft = "ms.microsoft" #: Microsoft analyzer for Malay (Latin). - mr_microsoft = "mr.microsoft" #: Microsoft analyzer for Marathi. - nb_microsoft = "nb.microsoft" #: Microsoft analyzer for Norwegian (BokmÃ¥l). - no_lucene = "no.lucene" #: Lucene analyzer for Norwegian. - fa_lucene = "fa.lucene" #: Lucene analyzer for Persian. - pl_microsoft = "pl.microsoft" #: Microsoft analyzer for Polish. - pl_lucene = "pl.lucene" #: Lucene analyzer for Polish. - pt_br_microsoft = "pt-BR.microsoft" #: Microsoft analyzer for Portuguese (Brazil). - pt_br_lucene = "pt-BR.lucene" #: Lucene analyzer for Portuguese (Brazil). - pt_pt_microsoft = "pt-PT.microsoft" #: Microsoft analyzer for Portuguese (Portugal). - pt_pt_lucene = "pt-PT.lucene" #: Lucene analyzer for Portuguese (Portugal). - pa_microsoft = "pa.microsoft" #: Microsoft analyzer for Punjabi. - ro_microsoft = "ro.microsoft" #: Microsoft analyzer for Romanian. - ro_lucene = "ro.lucene" #: Lucene analyzer for Romanian. - ru_microsoft = "ru.microsoft" #: Microsoft analyzer for Russian. - ru_lucene = "ru.lucene" #: Lucene analyzer for Russian. - sr_cyrillic_microsoft = "sr-cyrillic.microsoft" #: Microsoft analyzer for Serbian (Cyrillic). - sr_latin_microsoft = "sr-latin.microsoft" #: Microsoft analyzer for Serbian (Latin). - sk_microsoft = "sk.microsoft" #: Microsoft analyzer for Slovak. - sl_microsoft = "sl.microsoft" #: Microsoft analyzer for Slovenian. - es_microsoft = "es.microsoft" #: Microsoft analyzer for Spanish. - es_lucene = "es.lucene" #: Lucene analyzer for Spanish. - sv_microsoft = "sv.microsoft" #: Microsoft analyzer for Swedish. - sv_lucene = "sv.lucene" #: Lucene analyzer for Swedish. - ta_microsoft = "ta.microsoft" #: Microsoft analyzer for Tamil. - te_microsoft = "te.microsoft" #: Microsoft analyzer for Telugu. - th_microsoft = "th.microsoft" #: Microsoft analyzer for Thai. - th_lucene = "th.lucene" #: Lucene analyzer for Thai. - tr_microsoft = "tr.microsoft" #: Microsoft analyzer for Turkish. - tr_lucene = "tr.lucene" #: Lucene analyzer for Turkish. - uk_microsoft = "uk.microsoft" #: Microsoft analyzer for Ukrainian. - ur_microsoft = "ur.microsoft" #: Microsoft analyzer for Urdu. - vi_microsoft = "vi.microsoft" #: Microsoft analyzer for Vietnamese. - standard_lucene = "standard.lucene" #: Standard Lucene analyzer. - standard_ascii_folding_lucene = "standardasciifolding.lucene" #: Standard ASCII Folding Lucene analyzer. See https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#Analyzers. - keyword = "keyword" #: Treats the entire content of a field as a single token. This is useful for data like zip codes, ids, and some product names. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordAnalyzer.html. - pattern = "pattern" #: Flexibly separates text into terms via a regular expression pattern. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html. - simple = "simple" #: Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/SimpleAnalyzer.html. - stop = "stop" #: Divides text at non-letters; Applies the lowercase and stopword token filters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html. - whitespace = "whitespace" #: An analyzer that uses the whitespace tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceAnalyzer.html. - -class LexicalTokenizerName(str, Enum): + AR_MICROSOFT = "ar.microsoft" #: Microsoft analyzer for Arabic. + AR_LUCENE = "ar.lucene" #: Lucene analyzer for Arabic. + HY_LUCENE = "hy.lucene" #: Lucene analyzer for Armenian. + BN_MICROSOFT = "bn.microsoft" #: Microsoft analyzer for Bangla. + EU_LUCENE = "eu.lucene" #: Lucene analyzer for Basque. + BG_MICROSOFT = "bg.microsoft" #: Microsoft analyzer for Bulgarian. + BG_LUCENE = "bg.lucene" #: Lucene analyzer for Bulgarian. + CA_MICROSOFT = "ca.microsoft" #: Microsoft analyzer for Catalan. + CA_LUCENE = "ca.lucene" #: Lucene analyzer for Catalan. + ZH_HANS_MICROSOFT = "zh-Hans.microsoft" #: Microsoft analyzer for Chinese (Simplified). + ZH_HANS_LUCENE = "zh-Hans.lucene" #: Lucene analyzer for Chinese (Simplified). + ZH_HANT_MICROSOFT = "zh-Hant.microsoft" #: Microsoft analyzer for Chinese (Traditional). + ZH_HANT_LUCENE = "zh-Hant.lucene" #: Lucene analyzer for Chinese (Traditional). + HR_MICROSOFT = "hr.microsoft" #: Microsoft analyzer for Croatian. + CS_MICROSOFT = "cs.microsoft" #: Microsoft analyzer for Czech. + CS_LUCENE = "cs.lucene" #: Lucene analyzer for Czech. + DA_MICROSOFT = "da.microsoft" #: Microsoft analyzer for Danish. + DA_LUCENE = "da.lucene" #: Lucene analyzer for Danish. + NL_MICROSOFT = "nl.microsoft" #: Microsoft analyzer for Dutch. + NL_LUCENE = "nl.lucene" #: Lucene analyzer for Dutch. + EN_MICROSOFT = "en.microsoft" #: Microsoft analyzer for English. + EN_LUCENE = "en.lucene" #: Lucene analyzer for English. + ET_MICROSOFT = "et.microsoft" #: Microsoft analyzer for Estonian. + FI_MICROSOFT = "fi.microsoft" #: Microsoft analyzer for Finnish. + FI_LUCENE = "fi.lucene" #: Lucene analyzer for Finnish. + FR_MICROSOFT = "fr.microsoft" #: Microsoft analyzer for French. + FR_LUCENE = "fr.lucene" #: Lucene analyzer for French. + GL_LUCENE = "gl.lucene" #: Lucene analyzer for Galician. + DE_MICROSOFT = "de.microsoft" #: Microsoft analyzer for German. + DE_LUCENE = "de.lucene" #: Lucene analyzer for German. + EL_MICROSOFT = "el.microsoft" #: Microsoft analyzer for Greek. + EL_LUCENE = "el.lucene" #: Lucene analyzer for Greek. + GU_MICROSOFT = "gu.microsoft" #: Microsoft analyzer for Gujarati. + HE_MICROSOFT = "he.microsoft" #: Microsoft analyzer for Hebrew. + HI_MICROSOFT = "hi.microsoft" #: Microsoft analyzer for Hindi. + HI_LUCENE = "hi.lucene" #: Lucene analyzer for Hindi. + HU_MICROSOFT = "hu.microsoft" #: Microsoft analyzer for Hungarian. + HU_LUCENE = "hu.lucene" #: Lucene analyzer for Hungarian. + IS_MICROSOFT = "is.microsoft" #: Microsoft analyzer for Icelandic. + ID_MICROSOFT = "id.microsoft" #: Microsoft analyzer for Indonesian (Bahasa). + ID_LUCENE = "id.lucene" #: Lucene analyzer for Indonesian. + GA_LUCENE = "ga.lucene" #: Lucene analyzer for Irish. + IT_MICROSOFT = "it.microsoft" #: Microsoft analyzer for Italian. + IT_LUCENE = "it.lucene" #: Lucene analyzer for Italian. + JA_MICROSOFT = "ja.microsoft" #: Microsoft analyzer for Japanese. + JA_LUCENE = "ja.lucene" #: Lucene analyzer for Japanese. + KN_MICROSOFT = "kn.microsoft" #: Microsoft analyzer for Kannada. + KO_MICROSOFT = "ko.microsoft" #: Microsoft analyzer for Korean. + KO_LUCENE = "ko.lucene" #: Lucene analyzer for Korean. + LV_MICROSOFT = "lv.microsoft" #: Microsoft analyzer for Latvian. + LV_LUCENE = "lv.lucene" #: Lucene analyzer for Latvian. + LT_MICROSOFT = "lt.microsoft" #: Microsoft analyzer for Lithuanian. + ML_MICROSOFT = "ml.microsoft" #: Microsoft analyzer for Malayalam. + MS_MICROSOFT = "ms.microsoft" #: Microsoft analyzer for Malay (Latin). + MR_MICROSOFT = "mr.microsoft" #: Microsoft analyzer for Marathi. + NB_MICROSOFT = "nb.microsoft" #: Microsoft analyzer for Norwegian (BokmÃ¥l). + NO_LUCENE = "no.lucene" #: Lucene analyzer for Norwegian. + FA_LUCENE = "fa.lucene" #: Lucene analyzer for Persian. + PL_MICROSOFT = "pl.microsoft" #: Microsoft analyzer for Polish. + PL_LUCENE = "pl.lucene" #: Lucene analyzer for Polish. + PT_BR_MICROSOFT = "pt-BR.microsoft" #: Microsoft analyzer for Portuguese (Brazil). + PT_BR_LUCENE = "pt-BR.lucene" #: Lucene analyzer for Portuguese (Brazil). + PT_PT_MICROSOFT = "pt-PT.microsoft" #: Microsoft analyzer for Portuguese (Portugal). + PT_PT_LUCENE = "pt-PT.lucene" #: Lucene analyzer for Portuguese (Portugal). + PA_MICROSOFT = "pa.microsoft" #: Microsoft analyzer for Punjabi. + RO_MICROSOFT = "ro.microsoft" #: Microsoft analyzer for Romanian. + RO_LUCENE = "ro.lucene" #: Lucene analyzer for Romanian. + RU_MICROSOFT = "ru.microsoft" #: Microsoft analyzer for Russian. + RU_LUCENE = "ru.lucene" #: Lucene analyzer for Russian. + SR_CYRILLIC_MICROSOFT = "sr-cyrillic.microsoft" #: Microsoft analyzer for Serbian (Cyrillic). + SR_LATIN_MICROSOFT = "sr-latin.microsoft" #: Microsoft analyzer for Serbian (Latin). + SK_MICROSOFT = "sk.microsoft" #: Microsoft analyzer for Slovak. + SL_MICROSOFT = "sl.microsoft" #: Microsoft analyzer for Slovenian. + ES_MICROSOFT = "es.microsoft" #: Microsoft analyzer for Spanish. + ES_LUCENE = "es.lucene" #: Lucene analyzer for Spanish. + SV_MICROSOFT = "sv.microsoft" #: Microsoft analyzer for Swedish. + SV_LUCENE = "sv.lucene" #: Lucene analyzer for Swedish. + TA_MICROSOFT = "ta.microsoft" #: Microsoft analyzer for Tamil. + TE_MICROSOFT = "te.microsoft" #: Microsoft analyzer for Telugu. + TH_MICROSOFT = "th.microsoft" #: Microsoft analyzer for Thai. + TH_LUCENE = "th.lucene" #: Lucene analyzer for Thai. + TR_MICROSOFT = "tr.microsoft" #: Microsoft analyzer for Turkish. + TR_LUCENE = "tr.lucene" #: Lucene analyzer for Turkish. + UK_MICROSOFT = "uk.microsoft" #: Microsoft analyzer for Ukrainian. + UR_MICROSOFT = "ur.microsoft" #: Microsoft analyzer for Urdu. + VI_MICROSOFT = "vi.microsoft" #: Microsoft analyzer for Vietnamese. + STANDARD_LUCENE = "standard.lucene" #: Standard Lucene analyzer. + STANDARD_ASCII_FOLDING_LUCENE = "standardasciifolding.lucene" #: Standard ASCII Folding Lucene analyzer. See https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#Analyzers. + KEYWORD = "keyword" #: Treats the entire content of a field as a single token. This is useful for data like zip codes, ids, and some product names. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordAnalyzer.html. + PATTERN = "pattern" #: Flexibly separates text into terms via a regular expression pattern. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html. + SIMPLE = "simple" #: Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/SimpleAnalyzer.html. + STOP = "stop" #: Divides text at non-letters; Applies the lowercase and stopword token filters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html. + WHITESPACE = "whitespace" #: An analyzer that uses the whitespace tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceAnalyzer.html. + +class LexicalTokenizerName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the names of all tokenizers supported by Azure Cognitive Search. """ - classic = "classic" #: Grammar-based tokenizer that is suitable for processing most European-language documents. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html. - edge_n_gram = "edgeNGram" #: Tokenizes the input from an edge into n-grams of the given size(s). See https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html. - keyword = "keyword_v2" #: Emits the entire input as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html. - letter = "letter" #: Divides text at non-letters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LetterTokenizer.html. - lowercase = "lowercase" #: Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseTokenizer.html. - microsoft_language_tokenizer = "microsoft_language_tokenizer" #: Divides text using language-specific rules. - microsoft_language_stemming_tokenizer = "microsoft_language_stemming_tokenizer" #: Divides text using language-specific rules and reduces words to their base forms. - n_gram = "nGram" #: Tokenizes the input into n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html. - path_hierarchy = "path_hierarchy_v2" #: Tokenizer for path-like hierarchies. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html. - pattern = "pattern" #: Tokenizer that uses regex pattern matching to construct distinct tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html. - standard = "standard_v2" #: Standard Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html. - uax_url_email = "uax_url_email" #: Tokenizes urls and emails as one token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html. - whitespace = "whitespace" #: Divides text at whitespace. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceTokenizer.html. - -class MicrosoftStemmingTokenizerLanguage(str, Enum): + CLASSIC = "classic" #: Grammar-based tokenizer that is suitable for processing most European-language documents. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html. + EDGE_N_GRAM = "edgeNGram" #: Tokenizes the input from an edge into n-grams of the given size(s). See https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html. + KEYWORD = "keyword_v2" #: Emits the entire input as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html. + LETTER = "letter" #: Divides text at non-letters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LetterTokenizer.html. + LOWERCASE = "lowercase" #: Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseTokenizer.html. + MICROSOFT_LANGUAGE_TOKENIZER = "microsoft_language_tokenizer" #: Divides text using language-specific rules. + MICROSOFT_LANGUAGE_STEMMING_TOKENIZER = "microsoft_language_stemming_tokenizer" #: Divides text using language-specific rules and reduces words to their base forms. + N_GRAM = "nGram" #: Tokenizes the input into n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html. + PATH_HIERARCHY = "path_hierarchy_v2" #: Tokenizer for path-like hierarchies. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html. + PATTERN = "pattern" #: Tokenizer that uses regex pattern matching to construct distinct tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html. + STANDARD = "standard_v2" #: Standard Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html. + UAX_URL_EMAIL = "uax_url_email" #: Tokenizes urls and emails as one token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html. + WHITESPACE = "whitespace" #: Divides text at whitespace. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceTokenizer.html. + +class MicrosoftStemmingTokenizerLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lists the languages supported by the Microsoft language stemming tokenizer. """ - arabic = "arabic" #: Selects the Microsoft stemming tokenizer for Arabic. - bangla = "bangla" #: Selects the Microsoft stemming tokenizer for Bangla. - bulgarian = "bulgarian" #: Selects the Microsoft stemming tokenizer for Bulgarian. - catalan = "catalan" #: Selects the Microsoft stemming tokenizer for Catalan. - croatian = "croatian" #: Selects the Microsoft stemming tokenizer for Croatian. - czech = "czech" #: Selects the Microsoft stemming tokenizer for Czech. - danish = "danish" #: Selects the Microsoft stemming tokenizer for Danish. - dutch = "dutch" #: Selects the Microsoft stemming tokenizer for Dutch. - english = "english" #: Selects the Microsoft stemming tokenizer for English. - estonian = "estonian" #: Selects the Microsoft stemming tokenizer for Estonian. - finnish = "finnish" #: Selects the Microsoft stemming tokenizer for Finnish. - french = "french" #: Selects the Microsoft stemming tokenizer for French. - german = "german" #: Selects the Microsoft stemming tokenizer for German. - greek = "greek" #: Selects the Microsoft stemming tokenizer for Greek. - gujarati = "gujarati" #: Selects the Microsoft stemming tokenizer for Gujarati. - hebrew = "hebrew" #: Selects the Microsoft stemming tokenizer for Hebrew. - hindi = "hindi" #: Selects the Microsoft stemming tokenizer for Hindi. - hungarian = "hungarian" #: Selects the Microsoft stemming tokenizer for Hungarian. - icelandic = "icelandic" #: Selects the Microsoft stemming tokenizer for Icelandic. - indonesian = "indonesian" #: Selects the Microsoft stemming tokenizer for Indonesian. - italian = "italian" #: Selects the Microsoft stemming tokenizer for Italian. - kannada = "kannada" #: Selects the Microsoft stemming tokenizer for Kannada. - latvian = "latvian" #: Selects the Microsoft stemming tokenizer for Latvian. - lithuanian = "lithuanian" #: Selects the Microsoft stemming tokenizer for Lithuanian. - malay = "malay" #: Selects the Microsoft stemming tokenizer for Malay. - malayalam = "malayalam" #: Selects the Microsoft stemming tokenizer for Malayalam. - marathi = "marathi" #: Selects the Microsoft stemming tokenizer for Marathi. - norwegian_bokmaal = "norwegianBokmaal" #: Selects the Microsoft stemming tokenizer for Norwegian (BokmÃ¥l). - polish = "polish" #: Selects the Microsoft stemming tokenizer for Polish. - portuguese = "portuguese" #: Selects the Microsoft stemming tokenizer for Portuguese. - portuguese_brazilian = "portugueseBrazilian" #: Selects the Microsoft stemming tokenizer for Portuguese (Brazil). - punjabi = "punjabi" #: Selects the Microsoft stemming tokenizer for Punjabi. - romanian = "romanian" #: Selects the Microsoft stemming tokenizer for Romanian. - russian = "russian" #: Selects the Microsoft stemming tokenizer for Russian. - serbian_cyrillic = "serbianCyrillic" #: Selects the Microsoft stemming tokenizer for Serbian (Cyrillic). - serbian_latin = "serbianLatin" #: Selects the Microsoft stemming tokenizer for Serbian (Latin). - slovak = "slovak" #: Selects the Microsoft stemming tokenizer for Slovak. - slovenian = "slovenian" #: Selects the Microsoft stemming tokenizer for Slovenian. - spanish = "spanish" #: Selects the Microsoft stemming tokenizer for Spanish. - swedish = "swedish" #: Selects the Microsoft stemming tokenizer for Swedish. - tamil = "tamil" #: Selects the Microsoft stemming tokenizer for Tamil. - telugu = "telugu" #: Selects the Microsoft stemming tokenizer for Telugu. - turkish = "turkish" #: Selects the Microsoft stemming tokenizer for Turkish. - ukrainian = "ukrainian" #: Selects the Microsoft stemming tokenizer for Ukrainian. - urdu = "urdu" #: Selects the Microsoft stemming tokenizer for Urdu. - -class MicrosoftTokenizerLanguage(str, Enum): + ARABIC = "arabic" #: Selects the Microsoft stemming tokenizer for Arabic. + BANGLA = "bangla" #: Selects the Microsoft stemming tokenizer for Bangla. + BULGARIAN = "bulgarian" #: Selects the Microsoft stemming tokenizer for Bulgarian. + CATALAN = "catalan" #: Selects the Microsoft stemming tokenizer for Catalan. + CROATIAN = "croatian" #: Selects the Microsoft stemming tokenizer for Croatian. + CZECH = "czech" #: Selects the Microsoft stemming tokenizer for Czech. + DANISH = "danish" #: Selects the Microsoft stemming tokenizer for Danish. + DUTCH = "dutch" #: Selects the Microsoft stemming tokenizer for Dutch. + ENGLISH = "english" #: Selects the Microsoft stemming tokenizer for English. + ESTONIAN = "estonian" #: Selects the Microsoft stemming tokenizer for Estonian. + FINNISH = "finnish" #: Selects the Microsoft stemming tokenizer for Finnish. + FRENCH = "french" #: Selects the Microsoft stemming tokenizer for French. + GERMAN = "german" #: Selects the Microsoft stemming tokenizer for German. + GREEK = "greek" #: Selects the Microsoft stemming tokenizer for Greek. + GUJARATI = "gujarati" #: Selects the Microsoft stemming tokenizer for Gujarati. + HEBREW = "hebrew" #: Selects the Microsoft stemming tokenizer for Hebrew. + HINDI = "hindi" #: Selects the Microsoft stemming tokenizer for Hindi. + HUNGARIAN = "hungarian" #: Selects the Microsoft stemming tokenizer for Hungarian. + ICELANDIC = "icelandic" #: Selects the Microsoft stemming tokenizer for Icelandic. + INDONESIAN = "indonesian" #: Selects the Microsoft stemming tokenizer for Indonesian. + ITALIAN = "italian" #: Selects the Microsoft stemming tokenizer for Italian. + KANNADA = "kannada" #: Selects the Microsoft stemming tokenizer for Kannada. + LATVIAN = "latvian" #: Selects the Microsoft stemming tokenizer for Latvian. + LITHUANIAN = "lithuanian" #: Selects the Microsoft stemming tokenizer for Lithuanian. + MALAY = "malay" #: Selects the Microsoft stemming tokenizer for Malay. + MALAYALAM = "malayalam" #: Selects the Microsoft stemming tokenizer for Malayalam. + MARATHI = "marathi" #: Selects the Microsoft stemming tokenizer for Marathi. + NORWEGIAN_BOKMAAL = "norwegianBokmaal" #: Selects the Microsoft stemming tokenizer for Norwegian (BokmÃ¥l). + POLISH = "polish" #: Selects the Microsoft stemming tokenizer for Polish. + PORTUGUESE = "portuguese" #: Selects the Microsoft stemming tokenizer for Portuguese. + PORTUGUESE_BRAZILIAN = "portugueseBrazilian" #: Selects the Microsoft stemming tokenizer for Portuguese (Brazil). + PUNJABI = "punjabi" #: Selects the Microsoft stemming tokenizer for Punjabi. + ROMANIAN = "romanian" #: Selects the Microsoft stemming tokenizer for Romanian. + RUSSIAN = "russian" #: Selects the Microsoft stemming tokenizer for Russian. + SERBIAN_CYRILLIC = "serbianCyrillic" #: Selects the Microsoft stemming tokenizer for Serbian (Cyrillic). + SERBIAN_LATIN = "serbianLatin" #: Selects the Microsoft stemming tokenizer for Serbian (Latin). + SLOVAK = "slovak" #: Selects the Microsoft stemming tokenizer for Slovak. + SLOVENIAN = "slovenian" #: Selects the Microsoft stemming tokenizer for Slovenian. + SPANISH = "spanish" #: Selects the Microsoft stemming tokenizer for Spanish. + SWEDISH = "swedish" #: Selects the Microsoft stemming tokenizer for Swedish. + TAMIL = "tamil" #: Selects the Microsoft stemming tokenizer for Tamil. + TELUGU = "telugu" #: Selects the Microsoft stemming tokenizer for Telugu. + TURKISH = "turkish" #: Selects the Microsoft stemming tokenizer for Turkish. + UKRAINIAN = "ukrainian" #: Selects the Microsoft stemming tokenizer for Ukrainian. + URDU = "urdu" #: Selects the Microsoft stemming tokenizer for Urdu. + +class MicrosoftTokenizerLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Lists the languages supported by the Microsoft language tokenizer. """ - bangla = "bangla" #: Selects the Microsoft tokenizer for Bangla. - bulgarian = "bulgarian" #: Selects the Microsoft tokenizer for Bulgarian. - catalan = "catalan" #: Selects the Microsoft tokenizer for Catalan. - chinese_simplified = "chineseSimplified" #: Selects the Microsoft tokenizer for Chinese (Simplified). - chinese_traditional = "chineseTraditional" #: Selects the Microsoft tokenizer for Chinese (Traditional). - croatian = "croatian" #: Selects the Microsoft tokenizer for Croatian. - czech = "czech" #: Selects the Microsoft tokenizer for Czech. - danish = "danish" #: Selects the Microsoft tokenizer for Danish. - dutch = "dutch" #: Selects the Microsoft tokenizer for Dutch. - english = "english" #: Selects the Microsoft tokenizer for English. - french = "french" #: Selects the Microsoft tokenizer for French. - german = "german" #: Selects the Microsoft tokenizer for German. - greek = "greek" #: Selects the Microsoft tokenizer for Greek. - gujarati = "gujarati" #: Selects the Microsoft tokenizer for Gujarati. - hindi = "hindi" #: Selects the Microsoft tokenizer for Hindi. - icelandic = "icelandic" #: Selects the Microsoft tokenizer for Icelandic. - indonesian = "indonesian" #: Selects the Microsoft tokenizer for Indonesian. - italian = "italian" #: Selects the Microsoft tokenizer for Italian. - japanese = "japanese" #: Selects the Microsoft tokenizer for Japanese. - kannada = "kannada" #: Selects the Microsoft tokenizer for Kannada. - korean = "korean" #: Selects the Microsoft tokenizer for Korean. - malay = "malay" #: Selects the Microsoft tokenizer for Malay. - malayalam = "malayalam" #: Selects the Microsoft tokenizer for Malayalam. - marathi = "marathi" #: Selects the Microsoft tokenizer for Marathi. - norwegian_bokmaal = "norwegianBokmaal" #: Selects the Microsoft tokenizer for Norwegian (BokmÃ¥l). - polish = "polish" #: Selects the Microsoft tokenizer for Polish. - portuguese = "portuguese" #: Selects the Microsoft tokenizer for Portuguese. - portuguese_brazilian = "portugueseBrazilian" #: Selects the Microsoft tokenizer for Portuguese (Brazil). - punjabi = "punjabi" #: Selects the Microsoft tokenizer for Punjabi. - romanian = "romanian" #: Selects the Microsoft tokenizer for Romanian. - russian = "russian" #: Selects the Microsoft tokenizer for Russian. - serbian_cyrillic = "serbianCyrillic" #: Selects the Microsoft tokenizer for Serbian (Cyrillic). - serbian_latin = "serbianLatin" #: Selects the Microsoft tokenizer for Serbian (Latin). - slovenian = "slovenian" #: Selects the Microsoft tokenizer for Slovenian. - spanish = "spanish" #: Selects the Microsoft tokenizer for Spanish. - swedish = "swedish" #: Selects the Microsoft tokenizer for Swedish. - tamil = "tamil" #: Selects the Microsoft tokenizer for Tamil. - telugu = "telugu" #: Selects the Microsoft tokenizer for Telugu. - thai = "thai" #: Selects the Microsoft tokenizer for Thai. - ukrainian = "ukrainian" #: Selects the Microsoft tokenizer for Ukrainian. - urdu = "urdu" #: Selects the Microsoft tokenizer for Urdu. - vietnamese = "vietnamese" #: Selects the Microsoft tokenizer for Vietnamese. - -class OcrSkillLanguage(str, Enum): + BANGLA = "bangla" #: Selects the Microsoft tokenizer for Bangla. + BULGARIAN = "bulgarian" #: Selects the Microsoft tokenizer for Bulgarian. + CATALAN = "catalan" #: Selects the Microsoft tokenizer for Catalan. + CHINESE_SIMPLIFIED = "chineseSimplified" #: Selects the Microsoft tokenizer for Chinese (Simplified). + CHINESE_TRADITIONAL = "chineseTraditional" #: Selects the Microsoft tokenizer for Chinese (Traditional). + CROATIAN = "croatian" #: Selects the Microsoft tokenizer for Croatian. + CZECH = "czech" #: Selects the Microsoft tokenizer for Czech. + DANISH = "danish" #: Selects the Microsoft tokenizer for Danish. + DUTCH = "dutch" #: Selects the Microsoft tokenizer for Dutch. + ENGLISH = "english" #: Selects the Microsoft tokenizer for English. + FRENCH = "french" #: Selects the Microsoft tokenizer for French. + GERMAN = "german" #: Selects the Microsoft tokenizer for German. + GREEK = "greek" #: Selects the Microsoft tokenizer for Greek. + GUJARATI = "gujarati" #: Selects the Microsoft tokenizer for Gujarati. + HINDI = "hindi" #: Selects the Microsoft tokenizer for Hindi. + ICELANDIC = "icelandic" #: Selects the Microsoft tokenizer for Icelandic. + INDONESIAN = "indonesian" #: Selects the Microsoft tokenizer for Indonesian. + ITALIAN = "italian" #: Selects the Microsoft tokenizer for Italian. + JAPANESE = "japanese" #: Selects the Microsoft tokenizer for Japanese. + KANNADA = "kannada" #: Selects the Microsoft tokenizer for Kannada. + KOREAN = "korean" #: Selects the Microsoft tokenizer for Korean. + MALAY = "malay" #: Selects the Microsoft tokenizer for Malay. + MALAYALAM = "malayalam" #: Selects the Microsoft tokenizer for Malayalam. + MARATHI = "marathi" #: Selects the Microsoft tokenizer for Marathi. + NORWEGIAN_BOKMAAL = "norwegianBokmaal" #: Selects the Microsoft tokenizer for Norwegian (BokmÃ¥l). + POLISH = "polish" #: Selects the Microsoft tokenizer for Polish. + PORTUGUESE = "portuguese" #: Selects the Microsoft tokenizer for Portuguese. + PORTUGUESE_BRAZILIAN = "portugueseBrazilian" #: Selects the Microsoft tokenizer for Portuguese (Brazil). + PUNJABI = "punjabi" #: Selects the Microsoft tokenizer for Punjabi. + ROMANIAN = "romanian" #: Selects the Microsoft tokenizer for Romanian. + RUSSIAN = "russian" #: Selects the Microsoft tokenizer for Russian. + SERBIAN_CYRILLIC = "serbianCyrillic" #: Selects the Microsoft tokenizer for Serbian (Cyrillic). + SERBIAN_LATIN = "serbianLatin" #: Selects the Microsoft tokenizer for Serbian (Latin). + SLOVENIAN = "slovenian" #: Selects the Microsoft tokenizer for Slovenian. + SPANISH = "spanish" #: Selects the Microsoft tokenizer for Spanish. + SWEDISH = "swedish" #: Selects the Microsoft tokenizer for Swedish. + TAMIL = "tamil" #: Selects the Microsoft tokenizer for Tamil. + TELUGU = "telugu" #: Selects the Microsoft tokenizer for Telugu. + THAI = "thai" #: Selects the Microsoft tokenizer for Thai. + UKRAINIAN = "ukrainian" #: Selects the Microsoft tokenizer for Ukrainian. + URDU = "urdu" #: Selects the Microsoft tokenizer for Urdu. + VIETNAMESE = "vietnamese" #: Selects the Microsoft tokenizer for Vietnamese. + +class OcrSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input by OcrSkill. """ - zh_hans = "zh-Hans" #: Chinese-Simplified. - zh_hant = "zh-Hant" #: Chinese-Traditional. - cs = "cs" #: Czech. - da = "da" #: Danish. - nl = "nl" #: Dutch. - en = "en" #: English. - fi = "fi" #: Finnish. - fr = "fr" #: French. - de = "de" #: German. - el = "el" #: Greek. - hu = "hu" #: Hungarian. - it = "it" #: Italian. - ja = "ja" #: Japanese. - ko = "ko" #: Korean. - nb = "nb" #: Norwegian (Bokmaal). - pl = "pl" #: Polish. - pt = "pt" #: Portuguese. - ru = "ru" #: Russian. - es = "es" #: Spanish. - sv = "sv" #: Swedish. - tr = "tr" #: Turkish. - ar = "ar" #: Arabic. - ro = "ro" #: Romanian. - sr_cyrl = "sr-Cyrl" #: Serbian (Cyrillic, Serbia). - sr_latn = "sr-Latn" #: Serbian (Latin, Serbia). - sk = "sk" #: Slovak. - -class PhoneticEncoder(str, Enum): + ZH_HANS = "zh-Hans" #: Chinese-Simplified. + ZH_HANT = "zh-Hant" #: Chinese-Traditional. + CS = "cs" #: Czech. + DA = "da" #: Danish. + NL = "nl" #: Dutch. + EN = "en" #: English. + FI = "fi" #: Finnish. + FR = "fr" #: French. + DE = "de" #: German. + EL = "el" #: Greek. + HU = "hu" #: Hungarian. + IT = "it" #: Italian. + JA = "ja" #: Japanese. + KO = "ko" #: Korean. + NB = "nb" #: Norwegian (Bokmaal). + PL = "pl" #: Polish. + PT = "pt" #: Portuguese. + RU = "ru" #: Russian. + ES = "es" #: Spanish. + SV = "sv" #: Swedish. + TR = "tr" #: Turkish. + AR = "ar" #: Arabic. + RO = "ro" #: Romanian. + SR_CYRL = "sr-Cyrl" #: Serbian (Cyrillic, Serbia). + SR_LATN = "sr-Latn" #: Serbian (Latin, Serbia). + SK = "sk" #: Slovak. + +class PhoneticEncoder(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Identifies the type of phonetic encoder to use with a PhoneticTokenFilter. """ - metaphone = "metaphone" #: Encodes a token into a Metaphone value. - double_metaphone = "doubleMetaphone" #: Encodes a token into a double metaphone value. - soundex = "soundex" #: Encodes a token into a Soundex value. - refined_soundex = "refinedSoundex" #: Encodes a token into a Refined Soundex value. - caverphone1 = "caverphone1" #: Encodes a token into a Caverphone 1.0 value. - caverphone2 = "caverphone2" #: Encodes a token into a Caverphone 2.0 value. - cologne = "cologne" #: Encodes a token into a Cologne Phonetic value. - nysiis = "nysiis" #: Encodes a token into a NYSIIS value. - koelner_phonetik = "koelnerPhonetik" #: Encodes a token using the Kölner Phonetik algorithm. - haase_phonetik = "haasePhonetik" #: Encodes a token using the Haase refinement of the Kölner Phonetik algorithm. - beider_morse = "beiderMorse" #: Encodes a token into a Beider-Morse value. - -class RegexFlags(str, Enum): + METAPHONE = "metaphone" #: Encodes a token into a Metaphone value. + DOUBLE_METAPHONE = "doubleMetaphone" #: Encodes a token into a double metaphone value. + SOUNDEX = "soundex" #: Encodes a token into a Soundex value. + REFINED_SOUNDEX = "refinedSoundex" #: Encodes a token into a Refined Soundex value. + CAVERPHONE1 = "caverphone1" #: Encodes a token into a Caverphone 1.0 value. + CAVERPHONE2 = "caverphone2" #: Encodes a token into a Caverphone 2.0 value. + COLOGNE = "cologne" #: Encodes a token into a Cologne Phonetic value. + NYSIIS = "nysiis" #: Encodes a token into a NYSIIS value. + KOELNER_PHONETIK = "koelnerPhonetik" #: Encodes a token using the Kölner Phonetik algorithm. + HAASE_PHONETIK = "haasePhonetik" #: Encodes a token using the Haase refinement of the Kölner Phonetik algorithm. + BEIDER_MORSE = "beiderMorse" #: Encodes a token into a Beider-Morse value. + +class RegexFlags(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer. """ - canon_eq = "CANON_EQ" #: Enables canonical equivalence. - case_insensitive = "CASE_INSENSITIVE" #: Enables case-insensitive matching. - comments = "COMMENTS" #: Permits whitespace and comments in the pattern. - dot_all = "DOTALL" #: Enables dotall mode. - literal = "LITERAL" #: Enables literal parsing of the pattern. - multiline = "MULTILINE" #: Enables multiline mode. - unicode_case = "UNICODE_CASE" #: Enables Unicode-aware case folding. - unix_lines = "UNIX_LINES" #: Enables Unix lines mode. + CANON_EQ = "CANON_EQ" #: Enables canonical equivalence. + CASE_INSENSITIVE = "CASE_INSENSITIVE" #: Enables case-insensitive matching. + COMMENTS = "COMMENTS" #: Permits whitespace and comments in the pattern. + DOT_ALL = "DOTALL" #: Enables dotall mode. + LITERAL = "LITERAL" #: Enables literal parsing of the pattern. + MULTILINE = "MULTILINE" #: Enables multiline mode. + UNICODE_CASE = "UNICODE_CASE" #: Enables Unicode-aware case folding. + UNIX_LINES = "UNIX_LINES" #: Enables Unix lines mode. -class ScoringFunctionAggregation(str, Enum): +class ScoringFunctionAggregation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile. """ - sum = "sum" #: Boost scores by the sum of all scoring function results. - average = "average" #: Boost scores by the average of all scoring function results. - minimum = "minimum" #: Boost scores by the minimum of all scoring function results. - maximum = "maximum" #: Boost scores by the maximum of all scoring function results. - first_matching = "firstMatching" #: Boost scores using the first applicable scoring function in the scoring profile. + SUM = "sum" #: Boost scores by the sum of all scoring function results. + AVERAGE = "average" #: Boost scores by the average of all scoring function results. + MINIMUM = "minimum" #: Boost scores by the minimum of all scoring function results. + MAXIMUM = "maximum" #: Boost scores by the maximum of all scoring function results. + FIRST_MATCHING = "firstMatching" #: Boost scores using the first applicable scoring function in the scoring profile. -class ScoringFunctionInterpolation(str, Enum): +class ScoringFunctionInterpolation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the function used to interpolate score boosting across a range of documents. """ - linear = "linear" #: Boosts scores by a linearly decreasing amount. This is the default interpolation for scoring functions. - constant = "constant" #: Boosts scores by a constant factor. - quadratic = "quadratic" #: Boosts scores by an amount that decreases quadratically. Boosts decrease slowly for higher scores, and more quickly as the scores decrease. This interpolation option is not allowed in tag scoring functions. - logarithmic = "logarithmic" #: Boosts scores by an amount that decreases logarithmically. Boosts decrease quickly for higher scores, and more slowly as the scores decrease. This interpolation option is not allowed in tag scoring functions. + LINEAR = "linear" #: Boosts scores by a linearly decreasing amount. This is the default interpolation for scoring functions. + CONSTANT = "constant" #: Boosts scores by a constant factor. + QUADRATIC = "quadratic" #: Boosts scores by an amount that decreases quadratically. Boosts decrease slowly for higher scores, and more quickly as the scores decrease. This interpolation option is not allowed in tag scoring functions. + LOGARITHMIC = "logarithmic" #: Boosts scores by an amount that decreases logarithmically. Boosts decrease quickly for higher scores, and more slowly as the scores decrease. This interpolation option is not allowed in tag scoring functions. -class SearchFieldDataType(str, Enum): +class SearchFieldDataType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the data type of a field in a search index. """ - string = "Edm.String" #: Indicates that a field contains a string. - int32 = "Edm.Int32" #: Indicates that a field contains a 32-bit signed integer. - int64 = "Edm.Int64" #: Indicates that a field contains a 64-bit signed integer. - double = "Edm.Double" #: Indicates that a field contains an IEEE double-precision floating point number. - boolean = "Edm.Boolean" #: Indicates that a field contains a Boolean value (true or false). - date_time_offset = "Edm.DateTimeOffset" #: Indicates that a field contains a date/time value, including timezone information. - geography_point = "Edm.GeographyPoint" #: Indicates that a field contains a geo-location in terms of longitude and latitude. - complex = "Edm.ComplexType" #: Indicates that a field contains one or more complex objects that in turn have sub-fields of other types. + STRING = "Edm.String" #: Indicates that a field contains a string. + INT32 = "Edm.Int32" #: Indicates that a field contains a 32-bit signed integer. + INT64 = "Edm.Int64" #: Indicates that a field contains a 64-bit signed integer. + DOUBLE = "Edm.Double" #: Indicates that a field contains an IEEE double-precision floating point number. + BOOLEAN = "Edm.Boolean" #: Indicates that a field contains a Boolean value (true or false). + DATE_TIME_OFFSET = "Edm.DateTimeOffset" #: Indicates that a field contains a date/time value, including timezone information. + GEOGRAPHY_POINT = "Edm.GeographyPoint" #: Indicates that a field contains a geo-location in terms of longitude and latitude. + COMPLEX = "Edm.ComplexType" #: Indicates that a field contains one or more complex objects that in turn have sub-fields of other types. -class SearchIndexerDataSourceType(str, Enum): +class SearchIndexerDataSourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the type of a datasource. """ - azure_sql = "azuresql" #: Indicates an Azure SQL datasource. - cosmos_db = "cosmosdb" #: Indicates a CosmosDB datasource. - azure_blob = "azureblob" #: Indicates a Azure Blob datasource. - azure_table = "azuretable" #: Indicates a Azure Table datasource. - my_sql = "mysql" #: Indicates a MySql datasource. + AZURE_SQL = "azuresql" #: Indicates an Azure SQL datasource. + COSMOS_DB = "cosmosdb" #: Indicates a CosmosDB datasource. + AZURE_BLOB = "azureblob" #: Indicates a Azure Blob datasource. + AZURE_TABLE = "azuretable" #: Indicates a Azure Table datasource. + MY_SQL = "mysql" #: Indicates a MySql datasource. -class SentimentSkillLanguage(str, Enum): +class SentimentSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input text by SentimentSkill. """ - da = "da" #: Danish. - nl = "nl" #: Dutch. - en = "en" #: English. - fi = "fi" #: Finnish. - fr = "fr" #: French. - de = "de" #: German. - el = "el" #: Greek. - it = "it" #: Italian. - no = "no" #: Norwegian (Bokmaal). - pl = "pl" #: Polish. - pt_pt = "pt-PT" #: Portuguese (Portugal). - ru = "ru" #: Russian. - es = "es" #: Spanish. - sv = "sv" #: Swedish. - tr = "tr" #: Turkish. - -class SnowballTokenFilterLanguage(str, Enum): + DA = "da" #: Danish. + NL = "nl" #: Dutch. + EN = "en" #: English. + FI = "fi" #: Finnish. + FR = "fr" #: French. + DE = "de" #: German. + EL = "el" #: Greek. + IT = "it" #: Italian. + NO = "no" #: Norwegian (Bokmaal). + PL = "pl" #: Polish. + PT_PT = "pt-PT" #: Portuguese (Portugal). + RU = "ru" #: Russian. + ES = "es" #: Spanish. + SV = "sv" #: Swedish. + TR = "tr" #: Turkish. + +class SnowballTokenFilterLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language to use for a Snowball token filter. """ - armenian = "armenian" #: Selects the Lucene Snowball stemming tokenizer for Armenian. - basque = "basque" #: Selects the Lucene Snowball stemming tokenizer for Basque. - catalan = "catalan" #: Selects the Lucene Snowball stemming tokenizer for Catalan. - danish = "danish" #: Selects the Lucene Snowball stemming tokenizer for Danish. - dutch = "dutch" #: Selects the Lucene Snowball stemming tokenizer for Dutch. - english = "english" #: Selects the Lucene Snowball stemming tokenizer for English. - finnish = "finnish" #: Selects the Lucene Snowball stemming tokenizer for Finnish. - french = "french" #: Selects the Lucene Snowball stemming tokenizer for French. - german = "german" #: Selects the Lucene Snowball stemming tokenizer for German. - german2 = "german2" #: Selects the Lucene Snowball stemming tokenizer that uses the German variant algorithm. - hungarian = "hungarian" #: Selects the Lucene Snowball stemming tokenizer for Hungarian. - italian = "italian" #: Selects the Lucene Snowball stemming tokenizer for Italian. - kp = "kp" #: Selects the Lucene Snowball stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm. - lovins = "lovins" #: Selects the Lucene Snowball stemming tokenizer for English that uses the Lovins stemming algorithm. - norwegian = "norwegian" #: Selects the Lucene Snowball stemming tokenizer for Norwegian. - porter = "porter" #: Selects the Lucene Snowball stemming tokenizer for English that uses the Porter stemming algorithm. - portuguese = "portuguese" #: Selects the Lucene Snowball stemming tokenizer for Portuguese. - romanian = "romanian" #: Selects the Lucene Snowball stemming tokenizer for Romanian. - russian = "russian" #: Selects the Lucene Snowball stemming tokenizer for Russian. - spanish = "spanish" #: Selects the Lucene Snowball stemming tokenizer for Spanish. - swedish = "swedish" #: Selects the Lucene Snowball stemming tokenizer for Swedish. - turkish = "turkish" #: Selects the Lucene Snowball stemming tokenizer for Turkish. - -class SplitSkillLanguage(str, Enum): + ARMENIAN = "armenian" #: Selects the Lucene Snowball stemming tokenizer for Armenian. + BASQUE = "basque" #: Selects the Lucene Snowball stemming tokenizer for Basque. + CATALAN = "catalan" #: Selects the Lucene Snowball stemming tokenizer for Catalan. + DANISH = "danish" #: Selects the Lucene Snowball stemming tokenizer for Danish. + DUTCH = "dutch" #: Selects the Lucene Snowball stemming tokenizer for Dutch. + ENGLISH = "english" #: Selects the Lucene Snowball stemming tokenizer for English. + FINNISH = "finnish" #: Selects the Lucene Snowball stemming tokenizer for Finnish. + FRENCH = "french" #: Selects the Lucene Snowball stemming tokenizer for French. + GERMAN = "german" #: Selects the Lucene Snowball stemming tokenizer for German. + GERMAN2 = "german2" #: Selects the Lucene Snowball stemming tokenizer that uses the German variant algorithm. + HUNGARIAN = "hungarian" #: Selects the Lucene Snowball stemming tokenizer for Hungarian. + ITALIAN = "italian" #: Selects the Lucene Snowball stemming tokenizer for Italian. + KP = "kp" #: Selects the Lucene Snowball stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm. + LOVINS = "lovins" #: Selects the Lucene Snowball stemming tokenizer for English that uses the Lovins stemming algorithm. + NORWEGIAN = "norwegian" #: Selects the Lucene Snowball stemming tokenizer for Norwegian. + PORTER = "porter" #: Selects the Lucene Snowball stemming tokenizer for English that uses the Porter stemming algorithm. + PORTUGUESE = "portuguese" #: Selects the Lucene Snowball stemming tokenizer for Portuguese. + ROMANIAN = "romanian" #: Selects the Lucene Snowball stemming tokenizer for Romanian. + RUSSIAN = "russian" #: Selects the Lucene Snowball stemming tokenizer for Russian. + SPANISH = "spanish" #: Selects the Lucene Snowball stemming tokenizer for Spanish. + SWEDISH = "swedish" #: Selects the Lucene Snowball stemming tokenizer for Swedish. + TURKISH = "turkish" #: Selects the Lucene Snowball stemming tokenizer for Turkish. + +class SplitSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input text by SplitSkill. """ - da = "da" #: Danish. - de = "de" #: German. - en = "en" #: English. - es = "es" #: Spanish. - fi = "fi" #: Finnish. - fr = "fr" #: French. - it = "it" #: Italian. - ko = "ko" #: Korean. - pt = "pt" #: Portuguese. - -class StemmerTokenFilterLanguage(str, Enum): + DA = "da" #: Danish. + DE = "de" #: German. + EN = "en" #: English. + ES = "es" #: Spanish. + FI = "fi" #: Finnish. + FR = "fr" #: French. + IT = "it" #: Italian. + KO = "ko" #: Korean. + PT = "pt" #: Portuguese. + +class StemmerTokenFilterLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language to use for a stemmer token filter. """ - arabic = "arabic" #: Selects the Lucene stemming tokenizer for Arabic. - armenian = "armenian" #: Selects the Lucene stemming tokenizer for Armenian. - basque = "basque" #: Selects the Lucene stemming tokenizer for Basque. - brazilian = "brazilian" #: Selects the Lucene stemming tokenizer for Portuguese (Brazil). - bulgarian = "bulgarian" #: Selects the Lucene stemming tokenizer for Bulgarian. - catalan = "catalan" #: Selects the Lucene stemming tokenizer for Catalan. - czech = "czech" #: Selects the Lucene stemming tokenizer for Czech. - danish = "danish" #: Selects the Lucene stemming tokenizer for Danish. - dutch = "dutch" #: Selects the Lucene stemming tokenizer for Dutch. - dutch_kp = "dutchKp" #: Selects the Lucene stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm. - english = "english" #: Selects the Lucene stemming tokenizer for English. - light_english = "lightEnglish" #: Selects the Lucene stemming tokenizer for English that does light stemming. - minimal_english = "minimalEnglish" #: Selects the Lucene stemming tokenizer for English that does minimal stemming. - possessive_english = "possessiveEnglish" #: Selects the Lucene stemming tokenizer for English that removes trailing possessives from words. - porter2 = "porter2" #: Selects the Lucene stemming tokenizer for English that uses the Porter2 stemming algorithm. - lovins = "lovins" #: Selects the Lucene stemming tokenizer for English that uses the Lovins stemming algorithm. - finnish = "finnish" #: Selects the Lucene stemming tokenizer for Finnish. - light_finnish = "lightFinnish" #: Selects the Lucene stemming tokenizer for Finnish that does light stemming. - french = "french" #: Selects the Lucene stemming tokenizer for French. - light_french = "lightFrench" #: Selects the Lucene stemming tokenizer for French that does light stemming. - minimal_french = "minimalFrench" #: Selects the Lucene stemming tokenizer for French that does minimal stemming. - galician = "galician" #: Selects the Lucene stemming tokenizer for Galician. - minimal_galician = "minimalGalician" #: Selects the Lucene stemming tokenizer for Galician that does minimal stemming. - german = "german" #: Selects the Lucene stemming tokenizer for German. - german2 = "german2" #: Selects the Lucene stemming tokenizer that uses the German variant algorithm. - light_german = "lightGerman" #: Selects the Lucene stemming tokenizer for German that does light stemming. - minimal_german = "minimalGerman" #: Selects the Lucene stemming tokenizer for German that does minimal stemming. - greek = "greek" #: Selects the Lucene stemming tokenizer for Greek. - hindi = "hindi" #: Selects the Lucene stemming tokenizer for Hindi. - hungarian = "hungarian" #: Selects the Lucene stemming tokenizer for Hungarian. - light_hungarian = "lightHungarian" #: Selects the Lucene stemming tokenizer for Hungarian that does light stemming. - indonesian = "indonesian" #: Selects the Lucene stemming tokenizer for Indonesian. - irish = "irish" #: Selects the Lucene stemming tokenizer for Irish. - italian = "italian" #: Selects the Lucene stemming tokenizer for Italian. - light_italian = "lightItalian" #: Selects the Lucene stemming tokenizer for Italian that does light stemming. - sorani = "sorani" #: Selects the Lucene stemming tokenizer for Sorani. - latvian = "latvian" #: Selects the Lucene stemming tokenizer for Latvian. - norwegian = "norwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l). - light_norwegian = "lightNorwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l) that does light stemming. - minimal_norwegian = "minimalNorwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l) that does minimal stemming. - light_nynorsk = "lightNynorsk" #: Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does light stemming. - minimal_nynorsk = "minimalNynorsk" #: Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does minimal stemming. - portuguese = "portuguese" #: Selects the Lucene stemming tokenizer for Portuguese. - light_portuguese = "lightPortuguese" #: Selects the Lucene stemming tokenizer for Portuguese that does light stemming. - minimal_portuguese = "minimalPortuguese" #: Selects the Lucene stemming tokenizer for Portuguese that does minimal stemming. - portuguese_rslp = "portugueseRslp" #: Selects the Lucene stemming tokenizer for Portuguese that uses the RSLP stemming algorithm. - romanian = "romanian" #: Selects the Lucene stemming tokenizer for Romanian. - russian = "russian" #: Selects the Lucene stemming tokenizer for Russian. - light_russian = "lightRussian" #: Selects the Lucene stemming tokenizer for Russian that does light stemming. - spanish = "spanish" #: Selects the Lucene stemming tokenizer for Spanish. - light_spanish = "lightSpanish" #: Selects the Lucene stemming tokenizer for Spanish that does light stemming. - swedish = "swedish" #: Selects the Lucene stemming tokenizer for Swedish. - light_swedish = "lightSwedish" #: Selects the Lucene stemming tokenizer for Swedish that does light stemming. - turkish = "turkish" #: Selects the Lucene stemming tokenizer for Turkish. - -class StopwordsList(str, Enum): + ARABIC = "arabic" #: Selects the Lucene stemming tokenizer for Arabic. + ARMENIAN = "armenian" #: Selects the Lucene stemming tokenizer for Armenian. + BASQUE = "basque" #: Selects the Lucene stemming tokenizer for Basque. + BRAZILIAN = "brazilian" #: Selects the Lucene stemming tokenizer for Portuguese (Brazil). + BULGARIAN = "bulgarian" #: Selects the Lucene stemming tokenizer for Bulgarian. + CATALAN = "catalan" #: Selects the Lucene stemming tokenizer for Catalan. + CZECH = "czech" #: Selects the Lucene stemming tokenizer for Czech. + DANISH = "danish" #: Selects the Lucene stemming tokenizer for Danish. + DUTCH = "dutch" #: Selects the Lucene stemming tokenizer for Dutch. + DUTCH_KP = "dutchKp" #: Selects the Lucene stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm. + ENGLISH = "english" #: Selects the Lucene stemming tokenizer for English. + LIGHT_ENGLISH = "lightEnglish" #: Selects the Lucene stemming tokenizer for English that does light stemming. + MINIMAL_ENGLISH = "minimalEnglish" #: Selects the Lucene stemming tokenizer for English that does minimal stemming. + POSSESSIVE_ENGLISH = "possessiveEnglish" #: Selects the Lucene stemming tokenizer for English that removes trailing possessives from words. + PORTER2 = "porter2" #: Selects the Lucene stemming tokenizer for English that uses the Porter2 stemming algorithm. + LOVINS = "lovins" #: Selects the Lucene stemming tokenizer for English that uses the Lovins stemming algorithm. + FINNISH = "finnish" #: Selects the Lucene stemming tokenizer for Finnish. + LIGHT_FINNISH = "lightFinnish" #: Selects the Lucene stemming tokenizer for Finnish that does light stemming. + FRENCH = "french" #: Selects the Lucene stemming tokenizer for French. + LIGHT_FRENCH = "lightFrench" #: Selects the Lucene stemming tokenizer for French that does light stemming. + MINIMAL_FRENCH = "minimalFrench" #: Selects the Lucene stemming tokenizer for French that does minimal stemming. + GALICIAN = "galician" #: Selects the Lucene stemming tokenizer for Galician. + MINIMAL_GALICIAN = "minimalGalician" #: Selects the Lucene stemming tokenizer for Galician that does minimal stemming. + GERMAN = "german" #: Selects the Lucene stemming tokenizer for German. + GERMAN2 = "german2" #: Selects the Lucene stemming tokenizer that uses the German variant algorithm. + LIGHT_GERMAN = "lightGerman" #: Selects the Lucene stemming tokenizer for German that does light stemming. + MINIMAL_GERMAN = "minimalGerman" #: Selects the Lucene stemming tokenizer for German that does minimal stemming. + GREEK = "greek" #: Selects the Lucene stemming tokenizer for Greek. + HINDI = "hindi" #: Selects the Lucene stemming tokenizer for Hindi. + HUNGARIAN = "hungarian" #: Selects the Lucene stemming tokenizer for Hungarian. + LIGHT_HUNGARIAN = "lightHungarian" #: Selects the Lucene stemming tokenizer for Hungarian that does light stemming. + INDONESIAN = "indonesian" #: Selects the Lucene stemming tokenizer for Indonesian. + IRISH = "irish" #: Selects the Lucene stemming tokenizer for Irish. + ITALIAN = "italian" #: Selects the Lucene stemming tokenizer for Italian. + LIGHT_ITALIAN = "lightItalian" #: Selects the Lucene stemming tokenizer for Italian that does light stemming. + SORANI = "sorani" #: Selects the Lucene stemming tokenizer for Sorani. + LATVIAN = "latvian" #: Selects the Lucene stemming tokenizer for Latvian. + NORWEGIAN = "norwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l). + LIGHT_NORWEGIAN = "lightNorwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l) that does light stemming. + MINIMAL_NORWEGIAN = "minimalNorwegian" #: Selects the Lucene stemming tokenizer for Norwegian (BokmÃ¥l) that does minimal stemming. + LIGHT_NYNORSK = "lightNynorsk" #: Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does light stemming. + MINIMAL_NYNORSK = "minimalNynorsk" #: Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does minimal stemming. + PORTUGUESE = "portuguese" #: Selects the Lucene stemming tokenizer for Portuguese. + LIGHT_PORTUGUESE = "lightPortuguese" #: Selects the Lucene stemming tokenizer for Portuguese that does light stemming. + MINIMAL_PORTUGUESE = "minimalPortuguese" #: Selects the Lucene stemming tokenizer for Portuguese that does minimal stemming. + PORTUGUESE_RSLP = "portugueseRslp" #: Selects the Lucene stemming tokenizer for Portuguese that uses the RSLP stemming algorithm. + ROMANIAN = "romanian" #: Selects the Lucene stemming tokenizer for Romanian. + RUSSIAN = "russian" #: Selects the Lucene stemming tokenizer for Russian. + LIGHT_RUSSIAN = "lightRussian" #: Selects the Lucene stemming tokenizer for Russian that does light stemming. + SPANISH = "spanish" #: Selects the Lucene stemming tokenizer for Spanish. + LIGHT_SPANISH = "lightSpanish" #: Selects the Lucene stemming tokenizer for Spanish that does light stemming. + SWEDISH = "swedish" #: Selects the Lucene stemming tokenizer for Swedish. + LIGHT_SWEDISH = "lightSwedish" #: Selects the Lucene stemming tokenizer for Swedish that does light stemming. + TURKISH = "turkish" #: Selects the Lucene stemming tokenizer for Turkish. + +class StopwordsList(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Identifies a predefined list of language-specific stopwords. """ - arabic = "arabic" #: Selects the stopword list for Arabic. - armenian = "armenian" #: Selects the stopword list for Armenian. - basque = "basque" #: Selects the stopword list for Basque. - brazilian = "brazilian" #: Selects the stopword list for Portuguese (Brazil). - bulgarian = "bulgarian" #: Selects the stopword list for Bulgarian. - catalan = "catalan" #: Selects the stopword list for Catalan. - czech = "czech" #: Selects the stopword list for Czech. - danish = "danish" #: Selects the stopword list for Danish. - dutch = "dutch" #: Selects the stopword list for Dutch. - english = "english" #: Selects the stopword list for English. - finnish = "finnish" #: Selects the stopword list for Finnish. - french = "french" #: Selects the stopword list for French. - galician = "galician" #: Selects the stopword list for Galician. - german = "german" #: Selects the stopword list for German. - greek = "greek" #: Selects the stopword list for Greek. - hindi = "hindi" #: Selects the stopword list for Hindi. - hungarian = "hungarian" #: Selects the stopword list for Hungarian. - indonesian = "indonesian" #: Selects the stopword list for Indonesian. - irish = "irish" #: Selects the stopword list for Irish. - italian = "italian" #: Selects the stopword list for Italian. - latvian = "latvian" #: Selects the stopword list for Latvian. - norwegian = "norwegian" #: Selects the stopword list for Norwegian. - persian = "persian" #: Selects the stopword list for Persian. - portuguese = "portuguese" #: Selects the stopword list for Portuguese. - romanian = "romanian" #: Selects the stopword list for Romanian. - russian = "russian" #: Selects the stopword list for Russian. - sorani = "sorani" #: Selects the stopword list for Sorani. - spanish = "spanish" #: Selects the stopword list for Spanish. - swedish = "swedish" #: Selects the stopword list for Swedish. - thai = "thai" #: Selects the stopword list for Thai. - turkish = "turkish" #: Selects the stopword list for Turkish. - -class TextSplitMode(str, Enum): + ARABIC = "arabic" #: Selects the stopword list for Arabic. + ARMENIAN = "armenian" #: Selects the stopword list for Armenian. + BASQUE = "basque" #: Selects the stopword list for Basque. + BRAZILIAN = "brazilian" #: Selects the stopword list for Portuguese (Brazil). + BULGARIAN = "bulgarian" #: Selects the stopword list for Bulgarian. + CATALAN = "catalan" #: Selects the stopword list for Catalan. + CZECH = "czech" #: Selects the stopword list for Czech. + DANISH = "danish" #: Selects the stopword list for Danish. + DUTCH = "dutch" #: Selects the stopword list for Dutch. + ENGLISH = "english" #: Selects the stopword list for English. + FINNISH = "finnish" #: Selects the stopword list for Finnish. + FRENCH = "french" #: Selects the stopword list for French. + GALICIAN = "galician" #: Selects the stopword list for Galician. + GERMAN = "german" #: Selects the stopword list for German. + GREEK = "greek" #: Selects the stopword list for Greek. + HINDI = "hindi" #: Selects the stopword list for Hindi. + HUNGARIAN = "hungarian" #: Selects the stopword list for Hungarian. + INDONESIAN = "indonesian" #: Selects the stopword list for Indonesian. + IRISH = "irish" #: Selects the stopword list for Irish. + ITALIAN = "italian" #: Selects the stopword list for Italian. + LATVIAN = "latvian" #: Selects the stopword list for Latvian. + NORWEGIAN = "norwegian" #: Selects the stopword list for Norwegian. + PERSIAN = "persian" #: Selects the stopword list for Persian. + PORTUGUESE = "portuguese" #: Selects the stopword list for Portuguese. + ROMANIAN = "romanian" #: Selects the stopword list for Romanian. + RUSSIAN = "russian" #: Selects the stopword list for Russian. + SORANI = "sorani" #: Selects the stopword list for Sorani. + SPANISH = "spanish" #: Selects the stopword list for Spanish. + SWEDISH = "swedish" #: Selects the stopword list for Swedish. + THAI = "thai" #: Selects the stopword list for Thai. + TURKISH = "turkish" #: Selects the stopword list for Turkish. + +class TextSplitMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """A value indicating which split mode to perform. """ - pages = "pages" #: Split the text into individual pages. - sentences = "sentences" #: Split the text into individual sentences. + PAGES = "pages" #: Split the text into individual pages. + SENTENCES = "sentences" #: Split the text into individual sentences. -class TextTranslationSkillLanguage(str, Enum): +class TextTranslationSkillLanguage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The language codes supported for input text by TextTranslationSkill. """ - af = "af" #: Afrikaans. - ar = "ar" #: Arabic. - bn = "bn" #: Bangla. - bs = "bs" #: Bosnian (Latin). - bg = "bg" #: Bulgarian. - yue = "yue" #: Cantonese (Traditional). - ca = "ca" #: Catalan. - zh_hans = "zh-Hans" #: Chinese Simplified. - zh_hant = "zh-Hant" #: Chinese Traditional. - hr = "hr" #: Croatian. - cs = "cs" #: Czech. - da = "da" #: Danish. - nl = "nl" #: Dutch. - en = "en" #: English. - et = "et" #: Estonian. - fj = "fj" #: Fijian. - fil = "fil" #: Filipino. - fi = "fi" #: Finnish. - fr = "fr" #: French. - de = "de" #: German. - el = "el" #: Greek. - ht = "ht" #: Haitian Creole. - he = "he" #: Hebrew. - hi = "hi" #: Hindi. - mww = "mww" #: Hmong Daw. - hu = "hu" #: Hungarian. - is_enum = "is" #: Icelandic. - id = "id" #: Indonesian. - it = "it" #: Italian. - ja = "ja" #: Japanese. - sw = "sw" #: Kiswahili. - tlh = "tlh" #: Klingon. - ko = "ko" #: Korean. - lv = "lv" #: Latvian. - lt = "lt" #: Lithuanian. - mg = "mg" #: Malagasy. - ms = "ms" #: Malay. - mt = "mt" #: Maltese. - nb = "nb" #: Norwegian. - fa = "fa" #: Persian. - pl = "pl" #: Polish. - pt = "pt" #: Portuguese. - otq = "otq" #: Queretaro Otomi. - ro = "ro" #: Romanian. - ru = "ru" #: Russian. - sm = "sm" #: Samoan. - sr_cyrl = "sr-Cyrl" #: Serbian (Cyrillic). - sr_latn = "sr-Latn" #: Serbian (Latin). - sk = "sk" #: Slovak. - sl = "sl" #: Slovenian. - es = "es" #: Spanish. - sv = "sv" #: Swedish. - ty = "ty" #: Tahitian. - ta = "ta" #: Tamil. - te = "te" #: Telugu. - th = "th" #: Thai. - to = "to" #: Tongan. - tr = "tr" #: Turkish. - uk = "uk" #: Ukrainian. - ur = "ur" #: Urdu. - vi = "vi" #: Vietnamese. - cy = "cy" #: Welsh. - yua = "yua" #: Yucatec Maya. - -class TokenCharacterKind(str, Enum): + AF = "af" #: Afrikaans. + AR = "ar" #: Arabic. + BN = "bn" #: Bangla. + BS = "bs" #: Bosnian (Latin). + BG = "bg" #: Bulgarian. + YUE = "yue" #: Cantonese (Traditional). + CA = "ca" #: Catalan. + ZH_HANS = "zh-Hans" #: Chinese Simplified. + ZH_HANT = "zh-Hant" #: Chinese Traditional. + HR = "hr" #: Croatian. + CS = "cs" #: Czech. + DA = "da" #: Danish. + NL = "nl" #: Dutch. + EN = "en" #: English. + ET = "et" #: Estonian. + FJ = "fj" #: Fijian. + FIL = "fil" #: Filipino. + FI = "fi" #: Finnish. + FR = "fr" #: French. + DE = "de" #: German. + EL = "el" #: Greek. + HT = "ht" #: Haitian Creole. + HE = "he" #: Hebrew. + HI = "hi" #: Hindi. + MWW = "mww" #: Hmong Daw. + HU = "hu" #: Hungarian. + IS_ENUM = "is" #: Icelandic. + ID = "id" #: Indonesian. + IT = "it" #: Italian. + JA = "ja" #: Japanese. + SW = "sw" #: Kiswahili. + TLH = "tlh" #: Klingon. + KO = "ko" #: Korean. + LV = "lv" #: Latvian. + LT = "lt" #: Lithuanian. + MG = "mg" #: Malagasy. + MS = "ms" #: Malay. + MT = "mt" #: Maltese. + NB = "nb" #: Norwegian. + FA = "fa" #: Persian. + PL = "pl" #: Polish. + PT = "pt" #: Portuguese. + OTQ = "otq" #: Queretaro Otomi. + RO = "ro" #: Romanian. + RU = "ru" #: Russian. + SM = "sm" #: Samoan. + SR_CYRL = "sr-Cyrl" #: Serbian (Cyrillic). + SR_LATN = "sr-Latn" #: Serbian (Latin). + SK = "sk" #: Slovak. + SL = "sl" #: Slovenian. + ES = "es" #: Spanish. + SV = "sv" #: Swedish. + TY = "ty" #: Tahitian. + TA = "ta" #: Tamil. + TE = "te" #: Telugu. + TH = "th" #: Thai. + TO = "to" #: Tongan. + TR = "tr" #: Turkish. + UK = "uk" #: Ukrainian. + UR = "ur" #: Urdu. + VI = "vi" #: Vietnamese. + CY = "cy" #: Welsh. + YUA = "yua" #: Yucatec Maya. + +class TokenCharacterKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Represents classes of characters on which a token filter can operate. """ - letter = "letter" #: Keeps letters in tokens. - digit = "digit" #: Keeps digits in tokens. - whitespace = "whitespace" #: Keeps whitespace in tokens. - punctuation = "punctuation" #: Keeps punctuation in tokens. - symbol = "symbol" #: Keeps symbols in tokens. + LETTER = "letter" #: Keeps letters in tokens. + DIGIT = "digit" #: Keeps digits in tokens. + WHITESPACE = "whitespace" #: Keeps whitespace in tokens. + PUNCTUATION = "punctuation" #: Keeps punctuation in tokens. + SYMBOL = "symbol" #: Keeps symbols in tokens. -class TokenFilterName(str, Enum): +class TokenFilterName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines the names of all token filters supported by Azure Cognitive Search. """ - arabic_normalization = "arabic_normalization" #: A token filter that applies the Arabic normalizer to normalize the orthography. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ar/ArabicNormalizationFilter.html. - apostrophe = "apostrophe" #: Strips all characters after an apostrophe (including the apostrophe itself). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/tr/ApostropheFilter.html. - ascii_folding = "asciifolding" #: Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html. - cjk_bigram = "cjk_bigram" #: Forms bigrams of CJK terms that are generated from the standard tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html. - cjk_width = "cjk_width" #: Normalizes CJK width differences. Folds fullwidth ASCII variants into the equivalent basic Latin, and half-width Katakana variants into the equivalent Kana. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKWidthFilter.html. - classic = "classic" #: Removes English possessives, and dots from acronyms. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicFilter.html. - common_gram = "common_grams" #: Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html. - edge_n_gram = "edgeNGram_v2" #: Generates n-grams of the given size(s) starting from the front or the back of an input token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html. - elision = "elision" #: Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html. - german_normalization = "german_normalization" #: Normalizes German characters according to the heuristics of the German2 snowball algorithm. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/de/GermanNormalizationFilter.html. - hindi_normalization = "hindi_normalization" #: Normalizes text in Hindi to remove some differences in spelling variations. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/hi/HindiNormalizationFilter.html. - indic_normalization = "indic_normalization" #: Normalizes the Unicode representation of text in Indian languages. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/in/IndicNormalizationFilter.html. - keyword_repeat = "keyword_repeat" #: Emits each incoming token twice, once as keyword and once as non-keyword. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordRepeatFilter.html. - k_stem = "kstem" #: A high-performance kstem filter for English. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/en/KStemFilter.html. - length = "length" #: Removes words that are too long or too short. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html. - limit = "limit" #: Limits the number of tokens while indexing. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html. - lowercase = "lowercase" #: Normalizes token text to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.htm. - n_gram = "nGram_v2" #: Generates n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html. - persian_normalization = "persian_normalization" #: Applies normalization for Persian. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/fa/PersianNormalizationFilter.html. - phonetic = "phonetic" #: Create tokens for phonetic matches. See https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html. - porter_stem = "porter_stem" #: Uses the Porter stemming algorithm to transform the token stream. See http://tartarus.org/~martin/PorterStemmer. - reverse = "reverse" #: Reverses the token string. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html. - scandinavian_normalization = "scandinavian_normalization" #: Normalizes use of the interchangeable Scandinavian characters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianNormalizationFilter.html. - scandinavian_folding_normalization = "scandinavian_folding" #: Folds Scandinavian characters åÅäæÄÆ->a and öÖøØ->o. It also discriminates against use of double vowels aa, ae, ao, oe and oo, leaving just the first one. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilter.html. - shingle = "shingle" #: Creates combinations of tokens as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html. - snowball = "snowball" #: A filter that stems words using a Snowball-generated stemmer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html. - sorani_normalization = "sorani_normalization" #: Normalizes the Unicode representation of Sorani text. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ckb/SoraniNormalizationFilter.html. - stemmer = "stemmer" #: Language specific stemming filter. See https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters. - stopwords = "stopwords" #: Removes stop words from a token stream. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html. - trim = "trim" #: Trims leading and trailing whitespace from tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TrimFilter.html. - truncate = "truncate" #: Truncates the terms to a specific length. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html. - unique = "unique" #: Filters out tokens with same text as the previous token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html. - uppercase = "uppercase" #: Normalizes token text to upper case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html. - word_delimiter = "word_delimiter" #: Splits words into subwords and performs optional transformations on subword groups. - -class VisualFeature(str, Enum): + ARABIC_NORMALIZATION = "arabic_normalization" #: A token filter that applies the Arabic normalizer to normalize the orthography. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ar/ArabicNormalizationFilter.html. + APOSTROPHE = "apostrophe" #: Strips all characters after an apostrophe (including the apostrophe itself). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/tr/ApostropheFilter.html. + ASCII_FOLDING = "asciifolding" #: Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html. + CJK_BIGRAM = "cjk_bigram" #: Forms bigrams of CJK terms that are generated from the standard tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html. + CJK_WIDTH = "cjk_width" #: Normalizes CJK width differences. Folds fullwidth ASCII variants into the equivalent basic Latin, and half-width Katakana variants into the equivalent Kana. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKWidthFilter.html. + CLASSIC = "classic" #: Removes English possessives, and dots from acronyms. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicFilter.html. + COMMON_GRAM = "common_grams" #: Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html. + EDGE_N_GRAM = "edgeNGram_v2" #: Generates n-grams of the given size(s) starting from the front or the back of an input token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html. + ELISION = "elision" #: Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html. + GERMAN_NORMALIZATION = "german_normalization" #: Normalizes German characters according to the heuristics of the German2 snowball algorithm. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/de/GermanNormalizationFilter.html. + HINDI_NORMALIZATION = "hindi_normalization" #: Normalizes text in Hindi to remove some differences in spelling variations. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/hi/HindiNormalizationFilter.html. + INDIC_NORMALIZATION = "indic_normalization" #: Normalizes the Unicode representation of text in Indian languages. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/in/IndicNormalizationFilter.html. + KEYWORD_REPEAT = "keyword_repeat" #: Emits each incoming token twice, once as keyword and once as non-keyword. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordRepeatFilter.html. + K_STEM = "kstem" #: A high-performance kstem filter for English. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/en/KStemFilter.html. + LENGTH = "length" #: Removes words that are too long or too short. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html. + LIMIT = "limit" #: Limits the number of tokens while indexing. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html. + LOWERCASE = "lowercase" #: Normalizes token text to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.htm. + N_GRAM = "nGram_v2" #: Generates n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html. + PERSIAN_NORMALIZATION = "persian_normalization" #: Applies normalization for Persian. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/fa/PersianNormalizationFilter.html. + PHONETIC = "phonetic" #: Create tokens for phonetic matches. See https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html. + PORTER_STEM = "porter_stem" #: Uses the Porter stemming algorithm to transform the token stream. See http://tartarus.org/~martin/PorterStemmer. + REVERSE = "reverse" #: Reverses the token string. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html. + SCANDINAVIAN_NORMALIZATION = "scandinavian_normalization" #: Normalizes use of the interchangeable Scandinavian characters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianNormalizationFilter.html. + SCANDINAVIAN_FOLDING_NORMALIZATION = "scandinavian_folding" #: Folds Scandinavian characters åÅäæÄÆ->a and öÖøØ->o. It also discriminates against use of double vowels aa, ae, ao, oe and oo, leaving just the first one. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilter.html. + SHINGLE = "shingle" #: Creates combinations of tokens as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html. + SNOWBALL = "snowball" #: A filter that stems words using a Snowball-generated stemmer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html. + SORANI_NORMALIZATION = "sorani_normalization" #: Normalizes the Unicode representation of Sorani text. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ckb/SoraniNormalizationFilter.html. + STEMMER = "stemmer" #: Language specific stemming filter. See https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters. + STOPWORDS = "stopwords" #: Removes stop words from a token stream. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html. + TRIM = "trim" #: Trims leading and trailing whitespace from tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TrimFilter.html. + TRUNCATE = "truncate" #: Truncates the terms to a specific length. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html. + UNIQUE = "unique" #: Filters out tokens with same text as the previous token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html. + UPPERCASE = "uppercase" #: Normalizes token text to upper case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html. + WORD_DELIMITER = "word_delimiter" #: Splits words into subwords and performs optional transformations on subword groups. + +class VisualFeature(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The strings indicating what visual feature types to return. """ - adult = "adult" #: Visual features recognized as adult persons. - brands = "brands" #: Visual features recognized as commercial brands. - categories = "categories" #: Categories. - description = "description" #: Description. - faces = "faces" #: Visual features recognized as people faces. - objects = "objects" #: Visual features recognized as objects. - tags = "tags" #: Tags. + ADULT = "adult" #: Visual features recognized as adult persons. + BRANDS = "brands" #: Visual features recognized as commercial brands. + CATEGORIES = "categories" #: Categories. + DESCRIPTION = "description" #: Description. + FACES = "faces" #: Visual features recognized as people faces. + OBJECTS = "objects" #: Visual features recognized as objects. + TAGS = "tags" #: Tags. diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py index 73ef675a37a5..31e3a2c98c68 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -73,7 +73,9 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -82,6 +84,7 @@ def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -105,13 +108,12 @@ def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -159,13 +161,16 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -187,6 +192,7 @@ def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -221,13 +227,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -245,7 +254,7 @@ def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -285,13 +294,16 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListDataSourcesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -310,7 +322,7 @@ def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -348,7 +360,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerDataSource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -356,6 +370,7 @@ def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -373,13 +388,12 @@ def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py index 816353c65d4c..af8698c69151 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -62,13 +62,16 @@ def reset( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.reset.metadata['url'] # type: ignore @@ -86,6 +89,7 @@ def reset( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -120,13 +124,16 @@ def run( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.run.metadata['url'] # type: ignore @@ -144,6 +151,7 @@ def run( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -189,7 +197,9 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -198,6 +208,7 @@ def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -221,13 +232,12 @@ def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -275,13 +285,16 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -303,6 +316,7 @@ def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -337,13 +351,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -361,7 +378,7 @@ def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -401,13 +418,16 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexersResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -426,7 +446,7 @@ def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -464,7 +484,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexer"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -472,6 +494,7 @@ def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -489,13 +512,12 @@ def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -531,13 +553,16 @@ def get_status( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_status.metadata['url'] # type: ignore @@ -555,7 +580,7 @@ def get_status( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py index 6da39c28c26b..8f7fd459d4aa 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -63,7 +63,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -71,6 +73,7 @@ def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -88,13 +91,12 @@ def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -132,20 +134,23 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL @@ -233,7 +238,9 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -242,6 +249,7 @@ def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -267,13 +275,12 @@ def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -323,13 +330,16 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -351,6 +361,7 @@ def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -385,13 +396,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -409,7 +423,7 @@ def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -447,13 +461,16 @@ def get_statistics( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GetIndexStatisticsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_statistics.metadata['url'] # type: ignore @@ -471,7 +488,7 @@ def get_statistics( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -512,7 +529,9 @@ def analyze( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -520,6 +539,7 @@ def analyze( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.analyze.metadata['url'] # type: ignore @@ -538,13 +558,12 @@ def analyze( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(request, 'AnalyzeRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py index 2d0ebdefd643..b8d7c78c807b 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -39,13 +39,16 @@ def get_service_statistics( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ServiceStatistics"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get_service_statistics.metadata['url'] # type: ignore @@ -62,7 +65,7 @@ def get_service_statistics( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py index cb65ab00454e..088cfda0d072 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -74,7 +74,9 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -83,6 +85,7 @@ def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -106,13 +109,12 @@ def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -160,13 +162,16 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -188,6 +193,7 @@ def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -222,13 +228,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -246,7 +255,7 @@ def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -286,13 +295,16 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListSkillsetsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -311,7 +323,7 @@ def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -349,7 +361,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndexerSkillset"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -357,6 +371,7 @@ def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -374,13 +389,12 @@ def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py index 49602bdcb37a..cf7324f74252 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -73,7 +73,9 @@ def create_or_update( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -82,6 +84,7 @@ def create_or_update( prefer = "return=representation" api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -105,13 +108,12 @@ def create_or_update( header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') header_parameters['Prefer'] = self._serialize.header("prefer", prefer, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -159,13 +161,16 @@ def delete( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -187,6 +192,7 @@ def delete( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -221,13 +227,16 @@ def get( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -245,7 +254,7 @@ def get( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -285,13 +294,16 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListSynonymMapsResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -310,7 +322,7 @@ def list( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -348,7 +360,9 @@ def create( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SynonymMap"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None @@ -356,6 +370,7 @@ def create( _x_ms_client_request_id = request_options.x_ms_client_request_id api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create.metadata['url'] # type: ignore @@ -373,13 +388,12 @@ def create( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response From 32a851051dbab6b548a21ae2dbd63d4cb5fff4f4 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Thu, 1 Oct 2020 13:49:37 -0700 Subject: [PATCH 37/71] update readme (#14181) * update readme * update --- .../azure-ai-metricsadvisor/README.md | 47 ++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index 019f269debd3..ab69f83e5e4b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -48,6 +48,25 @@ admin_client = MetricsAdvisorAdministrationClient(service_endpoint, ## Key concepts +### MetricsAdvisorClient + +`MetricsAdvisorClient` helps with: + +- listing incidents +- listing root causes of incidents +- retrieving original time series data and time series data enriched by the service. +- listing alerts +- adding feedback to tune your model + +### MetricsAdvisorAdministrationClient + +`MetricsAdvisorAdministrationClient` allows you to + +- manage data feeds +- configure anomaly detection configurations +- configure anomaly alerting configurations +- manage hooks + ### DataFeed A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of: @@ -83,6 +102,7 @@ Metrics Advisor lets you create and subscribe to real-time alerts. These alerts * [Configure anomaly detection configuration](#configure-anomaly-detection-configuration "Configure anomaly detection configuration") * [Configure alert configuration](#configure-alert-configuration "Configure alert configuration") * [Query anomaly detection results](#query-anomaly-detection-results "Query anomaly detection results") +* [Add hooks for receiving anomaly alerts](#add-hooks-for-receiving-anomaly-alerts "Add hooks for receiving anomaly alerts") ### Add a data feed from a sample or data source @@ -177,7 +197,7 @@ for status in ingestion_status: ### Configure anomaly detection configuration -We need an anomaly detection configuration to determine whether a point in the time series is an anomaly. +While a default detection configuration is automatically applied to each metric, we can tune the detection modes used on our data by creating a customized anomaly detection configuration. ```py from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient @@ -350,6 +370,31 @@ for result in results: print("Status: {}".format(result.status)) ``` +### Add hooks for receiving anomaly alerts + +We can add some hooks so when an alert is triggered, we can get call back. + +```py +from azure.ai.metricsadvisor import MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient +from azure.ai.metricsadvisor.models import EmailHook + +service_endpoint = os.getenv("METRICS_ADVISOR_ENDPOINT") +subscription_key = os.getenv("METRICS_ADVISOR_SUBSCRIPTION_KEY") +api_key = os.getenv("METRICS_ADVISOR_API_KEY") + +client = MetricsAdvisorAdministrationClient(service_endpoint, + MetricsAdvisorKeyCredential(subscription_key, api_key)) + +hook = client.create_hook( + name="email hook", + hook=EmailHook( + description="my email hook", + emails_to_alert=["alertme@alertme.com"], + external_link="https://adwiki.azurewebsites.net/articles/howto/alerts/create-hooks.html" + ) +) +``` + ### Async APIs This library includes a complete async API supported on Python 3.5+. To use it, you must From 0b5ac6666e380cde013f792eaeb4c5045d7bf634 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:06:27 -0700 Subject: [PATCH 38/71] Increment package version after release of azure_storage_blob_changefeed (#13691) --- sdk/storage/azure-storage-blob-changefeed/CHANGELOG.md | 3 +++ .../azure/storage/blob/changefeed/_version.py | 2 +- sdk/storage/azure-storage-blob-changefeed/setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sdk/storage/azure-storage-blob-changefeed/CHANGELOG.md b/sdk/storage/azure-storage-blob-changefeed/CHANGELOG.md index 193a613cad59..4016bb4f4e45 100644 --- a/sdk/storage/azure-storage-blob-changefeed/CHANGELOG.md +++ b/sdk/storage/azure-storage-blob-changefeed/CHANGELOG.md @@ -1,3 +1,6 @@ +## 12.0.0b3 (Unreleased) + + ## 12.0.0b2 (2020-9-10) **Breaking changes** - Change the `continuation_token` from a dict to a str. diff --git a/sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_version.py b/sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_version.py index 9ed9f5528271..be1f1106dfcc 100644 --- a/sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_version.py +++ b/sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.0.0b2" +VERSION = "12.0.0b3" diff --git a/sdk/storage/azure-storage-blob-changefeed/setup.py b/sdk/storage/azure-storage-blob-changefeed/setup.py index 269bc0c98104..c668c9947e9c 100644 --- a/sdk/storage/azure-storage-blob-changefeed/setup.py +++ b/sdk/storage/azure-storage-blob-changefeed/setup.py @@ -72,7 +72,7 @@ author_email='ascl@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-blob-changefeed', classifiers=[ - 'Development Status :: 4 - Beta', + "Development Status :: 4 - Beta", 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', From ec5aaa2a0cae867a8e3cfe7b3f5a215e898ed0ab Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:26:50 -0700 Subject: [PATCH 39/71] Set version artificially for the test template runs (#14151) --- .../templates/jobs/archetype-sdk-client.yml | 10 ++++- .../stages/archetype-python-release.yml | 7 ++++ .../templates/steps/build-artifacts.yml | 8 ++++ eng/scripts/SetTestPipelineVersion.ps1 | 39 +++++++++++++++++++ 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 eng/scripts/SetTestPipelineVersion.ps1 diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index aaefeb212243..efb426093528 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -111,7 +111,15 @@ jobs: pool: vmImage: '$(OSVmImage)' - steps: + steps: + - task: PowerShell@2 + displayName: Prep template pipeline for release + condition: and(succeeded(),eq(variables['TestPipeline'],'true')) + inputs: + pwsh: true + workingDirectory: $(Build.SourcesDirectory) + filePath: eng/scripts/SetTestPipelineVersion.ps1 + - pwsh: | $toxenvvar = "whl,sdist" if (('$(Build.Reason)' -eq 'Schedule') -and ('$(System.TeamProject)' -eq 'internal')) { diff --git a/eng/pipelines/templates/stages/archetype-python-release.yml b/eng/pipelines/templates/stages/archetype-python-release.yml index 0a52aa70fc41..b525a91413bc 100644 --- a/eng/pipelines/templates/stages/archetype-python-release.yml +++ b/eng/pipelines/templates/stages/archetype-python-release.yml @@ -28,6 +28,13 @@ stages: deploy: steps: - checkout: self + - task: PowerShell@2 + displayName: Prep template pipeline for release + condition: and(succeeded(),eq(variables['TestPipeline'],'true')) + inputs: + pwsh: true + workingDirectory: $(Build.SourcesDirectory) + filePath: eng/scripts/SetTestPipelineVersion.ps1 - template: /eng/pipelines/templates/steps/stage-filtered-artifacts.yml parameters: SourceFolder: ${{parameters.ArtifactName}} diff --git a/eng/pipelines/templates/steps/build-artifacts.yml b/eng/pipelines/templates/steps/build-artifacts.yml index 8550d1567db7..d6e72ed32f02 100644 --- a/eng/pipelines/templates/steps/build-artifacts.yml +++ b/eng/pipelines/templates/steps/build-artifacts.yml @@ -5,6 +5,14 @@ parameters: BuildDocs: true steps: + - task: PowerShell@2 + displayName: Prep template pipeline for release + condition: and(succeeded(),eq(variables['TestPipeline'],'true')) + inputs: + pwsh: true + workingDirectory: $(Build.SourcesDirectory) + filePath: eng/scripts/SetTestPipelineVersion.ps1 + - script: | echo "##vso[build.addbuildtag]Scheduled" displayName: 'Tag scheduled builds' diff --git a/eng/scripts/SetTestPipelineVersion.ps1 b/eng/scripts/SetTestPipelineVersion.ps1 new file mode 100644 index 000000000000..50ba42665870 --- /dev/null +++ b/eng/scripts/SetTestPipelineVersion.ps1 @@ -0,0 +1,39 @@ +# Overides the project file and CHANGELOG.md for the template project using the next publishable version +# This is to help with testing the release pipeline. +. "${PSScriptRoot}\..\common\scripts\common.ps1" +$latestTags = git tag -l "azure-template_*" +$semVars = @() + +$versionFile = "${PSScriptRoot}\..\..\sdk\template\azure-template\azure\template\_version.py" +$changeLogFile = "${PSScriptRoot}\..\..\sdk\template\azure-template\CHANGELOG.md" + +Foreach ($tags in $latestTags) +{ + $semVars += $tags.Replace("azure-template_", "") +} + +$semVarsSorted = [AzureEngSemanticVersion]::SortVersionStrings($semVars) +LogDebug "Last Published Version $($semVarsSorted[0])" + +$newVersion = [AzureEngSemanticVersion]::ParsePythonVersionString($semVarsSorted[0]) +$newVersion.IncrementAndSetToPrerelease() +LogDebug "Version to publish [ $($newVersion.ToString()) ]" + +$versionFileContent = Get-Content -Path $versionFile +$newVersionFile = @() + +Foreach ($line in $versionFileContent) +{ + if($line.StartsWith("VERSION")) + { + $line = 'VERSION = "{0}"' -F $newVersion.ToString() + } + $newVersionFile += $line +} + +Set-Content -Path $versionFile -Value $newVersionFile +Set-Content -Path $changeLogFile -Value @" +# Release History +## $($newVersion.ToString()) ($(Get-Date -f "yyyy-MM-dd")) +- Test Release Pipeline +"@ From 72086d9395f864adef218ae2e1740f827246c3e5 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 1 Oct 2020 14:53:39 -0700 Subject: [PATCH 40/71] Allow RC of CPython to install our dev req (#14185) --- .../azure-appconfiguration/dev_requirements.txt | 1 - sdk/core/azure-mgmt-core/dev_requirements.txt | 1 - sdk/identity/azure-identity/dev_requirements.txt | 2 +- .../tests/managed-identity-live/requirements.txt | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt index 200d9f1274e7..5c3005f6aa39 100644 --- a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt +++ b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt @@ -1,5 +1,4 @@ ../../core/azure-core -e ../../identity/azure-identity aiohttp>=3.0; python_version >= '3.5' -aiodns>=2.0; python_version >= '3.5' msrest>=0.6.10 diff --git a/sdk/core/azure-mgmt-core/dev_requirements.txt b/sdk/core/azure-mgmt-core/dev_requirements.txt index c79cb4bfbf5a..fc6cb702f9cb 100644 --- a/sdk/core/azure-mgmt-core/dev_requirements.txt +++ b/sdk/core/azure-mgmt-core/dev_requirements.txt @@ -1,7 +1,6 @@ msrest trio; python_version >= '3.5' aiohttp>=3.0; python_version >= '3.5' -aiodns>=2.0; python_version >= '3.5' typing_extensions>=3.7.2 -e ../azure-core mock;python_version<="2.7" diff --git a/sdk/identity/azure-identity/dev_requirements.txt b/sdk/identity/azure-identity/dev_requirements.txt index 98f6e28e14a9..54c6b9a74f04 100644 --- a/sdk/identity/azure-identity/dev_requirements.txt +++ b/sdk/identity/azure-identity/dev_requirements.txt @@ -1,4 +1,4 @@ ../../core/azure-core -aiohttp;python_full_version>="3.5.3" +aiohttp>=3.0; python_version >= '3.5' mock;python_version<"3.3" typing_extensions>=3.7.2 diff --git a/sdk/identity/azure-identity/tests/managed-identity-live/requirements.txt b/sdk/identity/azure-identity/tests/managed-identity-live/requirements.txt index a6eac552b5c0..a068a810e6a9 100644 --- a/sdk/identity/azure-identity/tests/managed-identity-live/requirements.txt +++ b/sdk/identity/azure-identity/tests/managed-identity-live/requirements.txt @@ -2,5 +2,5 @@ ../.. ../../../../keyvault/azure-keyvault-secrets pytest -pytest-asyncio;python_full_version>="3.5.3" -aiohttp;python_full_version>="3.5.3" +pytest-asyncio;python_version>="3.5" +aiohttp>=3.0; python_version >= '3.5' From 53b50dbe693c3806681ef514c9939a317de3fb05 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:59:22 -0700 Subject: [PATCH 41/71] Increment version for storage releases (#13687) * Increment package version after release of azure_storage_blob * Increment package version after release of azure_storage_file_datalake * Increment package version after release of azure_storage_queue * changed blob release version * Update _version.py * Update _version.py * Update CHANGELOG.md Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- sdk/storage/azure-storage-blob/CHANGELOG.md | 3 +++ sdk/storage/azure-storage-blob/azure/storage/blob/_version.py | 2 +- sdk/storage/azure-storage-file-datalake/CHANGELOG.md | 3 +++ .../azure/storage/filedatalake/_version.py | 2 +- sdk/storage/azure-storage-queue/CHANGELOG.md | 3 +++ .../azure-storage-queue/azure/storage/queue/_version.py | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sdk/storage/azure-storage-blob/CHANGELOG.md b/sdk/storage/azure-storage-blob/CHANGELOG.md index 596cd573ccd2..1d0bd652d4f3 100644 --- a/sdk/storage/azure-storage-blob/CHANGELOG.md +++ b/sdk/storage/azure-storage-blob/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 12.6.0b1 (Unreleased) + + ## 12.5.0 (2020-09-10) **New features** - Added support for checking if a blob exists using the `exists` method (#13221). diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py index d731da5c4072..202620c82c6d 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.5.0" +VERSION = "12.6.0b1" diff --git a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md index b55b1d4b52ba..37ec3658cace 100644 --- a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md @@ -1,4 +1,7 @@ # Release History +## 12.1.3 (Unreleased) + + ## 12.1.2 (2020-09-10) **Fixes** - Fixed renaming with SAS string (#12057). diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py index 4cd76a18aff6..1788d7bc87a6 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.1.2" +VERSION = "12.1.3" diff --git a/sdk/storage/azure-storage-queue/CHANGELOG.md b/sdk/storage/azure-storage-queue/CHANGELOG.md index ef55ba2402c0..31b4db46d9f4 100644 --- a/sdk/storage/azure-storage-queue/CHANGELOG.md +++ b/sdk/storage/azure-storage-queue/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 12.1.4 (Unreleased) + + ## 12.1.3 (2020-09-10) **Fixes** - Fixed QueueClient type declaration (#11392). diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/_version.py b/sdk/storage/azure-storage-queue/azure/storage/queue/_version.py index 100d81d4b1ec..14e051568f19 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/_version.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/_version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "12.1.3" +VERSION = "12.1.4" From f4f8836c615f112f7e72ee25a1af21b5bd05ff8c Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 1 Oct 2020 15:22:04 -0700 Subject: [PATCH 42/71] [formrecognizer] un-redact non-sensitive headers and update readme logging docs (#14180) * add headers to allow list for logging * update readme for logging --- .../azure-ai-formrecognizer/README.md | 35 +----- .../ai/formrecognizer/_form_base_client.py | 64 ++++++++++ .../formrecognizer/_form_recognizer_client.py | 28 +---- .../formrecognizer/_form_training_client.py | 29 +---- .../aio/_form_base_client_async.py | 68 +++++++++++ .../aio/_form_recognizer_client_async.py | 37 +----- .../aio/_form_training_client_async.py | 34 +----- ...t_logging.test_logging_info_fr_client.yaml | 114 ++++++++++++++++++ ...t_logging.test_logging_info_ft_client.yaml | 36 ++++++ ...ing_async.test_logging_info_fr_client.yaml | 92 ++++++++++++++ ...ing_async.test_logging_info_ft_client.yaml | 26 ++++ .../tests/test_logging.py | 61 ++++++++++ .../tests/test_logging_async.py | 63 ++++++++++ 13 files changed, 544 insertions(+), 143 deletions(-) create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_base_client.py create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_base_client_async.py create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_fr_client.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_ft_client.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_fr_client.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_ft_client.yaml create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index 361f6bb38195..d150a52264c2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -65,7 +65,7 @@ or [Azure CLI][azure_cli_endpoint_lookup]: ```bash # Get the endpoint for the form recognizer resource -az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "endpoint" +az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "properties.endpoint" ``` #### Get the API key @@ -357,37 +357,13 @@ Form Recognizer client library will raise exceptions defined in [Azure Core][azu ### Logging This library uses the standard [logging][python_logging] library for logging. -Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO -level. -Detailed DEBUG level logging, including request/response bodies and unredacted -headers, can be enabled on a client with the `logging_enable` keyword argument: -```python -import sys -import logging -from azure.ai.formrecognizer import FormRecognizerClient -from azure.core.credentials import AzureKeyCredential - -# Create a logger for the 'azure' SDK -logger = logging.getLogger('azure') -logger.setLevel(logging.DEBUG) - -# Configure a console output -handler = logging.StreamHandler(stream=sys.stdout) -logger.addHandler(handler) +Basic information about HTTP sessions (URLs, headers, etc.) is logged at `INFO` level. -endpoint = "https://.cognitiveservices.azure.com/" -credential = AzureKeyCredential("") - -# This client will log detailed information about its HTTP sessions, at DEBUG level -form_recognizer_client = FormRecognizerClient(endpoint, credential, logging_enable=True) -``` +Detailed `DEBUG` level logging, including request/response bodies and **unredacted** +headers, can be enabled on the client or per-operation with the `logging_enable` keyword argument. -Similarly, `logging_enable` can enable detailed logging for a single operation, -even when it isn't enabled for the client: -```python -poller = form_recognizer_client.begin_recognize_receipts(receipt, logging_enable=True) -``` +See full SDK logging documentation with examples [here][sdk_logging_docs]. ### Optional Configuration @@ -474,6 +450,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity#defaultazurecredential [service_recognize_receipt]: https://aka.ms/formrecognizer/receiptfields +[sdk_logging_docs]: https://docs.microsoft.com/azure/developer/python/azure-sdk-logging [cla]: https://cla.microsoft.com [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_base_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_base_client.py new file mode 100644 index 000000000000..10c3b2885e98 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_base_client.py @@ -0,0 +1,64 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from typing import ( + Any, + Union, + TYPE_CHECKING +) +from azure.core.pipeline.policies import HttpLoggingPolicy +from ._generated._form_recognizer_client import FormRecognizerClient as FormRecognizer +from ._api_versions import FormRecognizerApiVersion, validate_api_version +from ._helpers import _get_deserialize, get_authentication_policy, POLLING_INTERVAL +from ._user_agent import USER_AGENT +if TYPE_CHECKING: + from azure.core.credentials import AzureKeyCredential, TokenCredential + + +class FormRecognizerClientBase(object): + + def __init__(self, endpoint, credential, **kwargs): + # type: (str, Union[AzureKeyCredential, TokenCredential], Any) -> None + self._endpoint = endpoint + self._credential = credential + self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) + + authentication_policy = get_authentication_policy(credential) + polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) + validate_api_version(self.api_version) + + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "Operation-Location", + "x-envoy-upstream-service-time", + "apim-request-id", + "Strict-Transport-Security", + "x-content-type-options" + } + ) + http_logging_policy.allowed_query_params.update( + { + "includeTextDetails", + "locale", + "language", + "includeKeys", + "op" + } + ) + + self._client = FormRecognizer( + endpoint=endpoint, + credential=credential, # type: ignore + api_version=self.api_version, + sdk_moniker=USER_AGENT, + authentication_policy=authentication_policy, + http_logging_policy=http_logging_policy, + polling_interval=polling_interval, + **kwargs + ) + self._deserialize = _get_deserialize() + self._generated_models = self._client.models(self.api_version) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index e8bcf1d942a8..a7afa722a445 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -16,22 +16,19 @@ from azure.core.tracing.decorator import distributed_trace from azure.core.polling import LROPoller from azure.core.polling.base_polling import LROBasePolling -from ._generated._form_recognizer_client import FormRecognizerClient as FormRecognizer from ._response_handlers import ( prepare_receipt, prepare_content_result, prepare_form_result ) -from ._api_versions import FormRecognizerApiVersion, validate_api_version -from ._helpers import _get_deserialize, get_content_type, get_authentication_policy, error_map, POLLING_INTERVAL -from ._user_agent import USER_AGENT +from ._helpers import get_content_type, error_map +from ._form_base_client import FormRecognizerClientBase from ._polling import AnalyzePolling if TYPE_CHECKING: - from azure.core.credentials import AzureKeyCredential, TokenCredential from ._models import FormPage, RecognizedForm -class FormRecognizerClient(object): +class FormRecognizerClient(FormRecognizerClientBase): """FormRecognizerClient extracts information from forms and images into structured data. It is the interface to use for analyzing receipts, recognizing content/layout from forms, and analyzing custom forms from trained models. It provides different methods @@ -66,25 +63,6 @@ class FormRecognizerClient(object): :caption: Creating the FormRecognizerClient with a token credential. """ - def __init__(self, endpoint, credential, **kwargs): - # type: (str, Union[AzureKeyCredential, TokenCredential], Any) -> None - - authentication_policy = get_authentication_policy(credential) - polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) - self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) - validate_api_version(self.api_version) - self._client = FormRecognizer( - endpoint=endpoint, - credential=credential, # type: ignore - api_version=self.api_version, - sdk_moniker=USER_AGENT, - authentication_policy=authentication_policy, - polling_interval=polling_interval, - **kwargs - ) - self._deserialize = _get_deserialize() - self._generated_models = self._client.models(self.api_version) - def _receipt_callback(self, raw_response, _, headers): # pylint: disable=unused-argument analyze_result = self._deserialize(self._generated_models.AnalyzeOperationResult, raw_response) return prepare_receipt(analyze_result) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py index 7ba856b0e071..ee1c19309537 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py @@ -17,7 +17,6 @@ from azure.core.polling import LROPoller from azure.core.polling.base_polling import LROBasePolling from azure.core.pipeline import Pipeline -from ._generated._form_recognizer_client import FormRecognizerClient as FormRecognizer from ._generated.models import ( TrainRequest, TrainSourceFilter, @@ -25,7 +24,8 @@ CopyAuthorizationResult ) from ._helpers import ( - error_map, get_authentication_policy, POLLING_INTERVAL, TransportWrapper, _get_deserialize + error_map, + TransportWrapper ) from ._models import ( CustomFormModelInfo, @@ -33,9 +33,8 @@ CustomFormModel, ) from ._polling import TrainingPolling, CopyPolling -from ._user_agent import USER_AGENT from ._form_recognizer_client import FormRecognizerClient -from ._api_versions import FormRecognizerApiVersion, validate_api_version +from ._form_base_client import FormRecognizerClientBase if TYPE_CHECKING: from azure.core.credentials import AzureKeyCredential, TokenCredential from azure.core.pipeline import PipelineResponse @@ -44,7 +43,7 @@ PipelineResponseType = HttpResponse -class FormTrainingClient(object): +class FormTrainingClient(FormRecognizerClientBase): """FormTrainingClient is the Form Recognizer interface to use for creating, and managing custom models. It provides methods for training models on the forms you provide, as well as methods for viewing and deleting models, accessing @@ -79,26 +78,6 @@ class FormTrainingClient(object): :caption: Creating the FormTrainingClient with a token credential. """ - def __init__(self, endpoint, credential, **kwargs): - # type: (str, Union[AzureKeyCredential, TokenCredential], Any) -> None - self._endpoint = endpoint - self._credential = credential - authentication_policy = get_authentication_policy(credential) - polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) - self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) - validate_api_version(self.api_version) - self._client = FormRecognizer( - endpoint=self._endpoint, - credential=self._credential, # type: ignore - api_version=self.api_version, - sdk_moniker=USER_AGENT, - authentication_policy=authentication_policy, - polling_interval=polling_interval, - **kwargs - ) - self._deserialize = _get_deserialize() - self._generated_models = self._client.models(self.api_version) - @distributed_trace def begin_training(self, training_files_url, use_training_labels, **kwargs): # type: (str, bool, Any) -> LROPoller[CustomFormModel] diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_base_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_base_client_async.py new file mode 100644 index 000000000000..a0105d8ba6db --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_base_client_async.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from typing import ( + Any, + Union, + TYPE_CHECKING, +) +from azure.core.pipeline.policies import HttpLoggingPolicy +from .._generated.aio._form_recognizer_client import FormRecognizerClient as FormRecognizer +from .._api_versions import FormRecognizerApiVersion, validate_api_version +from .._helpers import _get_deserialize, get_authentication_policy, POLLING_INTERVAL +from .._user_agent import USER_AGENT +if TYPE_CHECKING: + from azure.core.credentials import AzureKeyCredential + from azure.core.credentials_async import AsyncTokenCredential + + +class FormRecognizerClientBaseAsync(object): + + def __init__( + self, + endpoint: str, + credential: Union["AzureKeyCredential", "AsyncTokenCredential"], + **kwargs: Any + ) -> None: + self._endpoint = endpoint + self._credential = credential + self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) + + authentication_policy = get_authentication_policy(credential) + polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) + validate_api_version(self.api_version) + + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "Operation-Location", + "x-envoy-upstream-service-time", + "apim-request-id", + "Strict-Transport-Security", + "x-content-type-options" + } + ) + http_logging_policy.allowed_query_params.update( + { + "includeTextDetails", + "locale", + "language", + "includeKeys", + "op" + } + ) + self._client = FormRecognizer( + endpoint=endpoint, + credential=credential, # type: ignore + api_version=self.api_version, + sdk_moniker=USER_AGENT, + authentication_policy=authentication_policy, + http_logging_policy=http_logging_policy, + polling_interval=polling_interval, + **kwargs + ) + self._deserialize = _get_deserialize() + self._generated_models = self._client.models(self.api_version) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index e1d659878a05..a5a32f5a9f8d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -10,29 +10,23 @@ Any, IO, Union, - List, - TYPE_CHECKING, + List ) from azure.core.tracing.decorator_async import distributed_trace_async from azure.core.polling import AsyncLROPoller from azure.core.polling.async_base_polling import AsyncLROBasePolling -from .._generated.aio._form_recognizer_client import FormRecognizerClient as FormRecognizer from .._response_handlers import ( prepare_receipt, prepare_content_result, prepare_form_result ) -from .._helpers import _get_deserialize, get_content_type, get_authentication_policy, error_map, POLLING_INTERVAL -from .._user_agent import USER_AGENT +from .._helpers import get_content_type, error_map from .._polling import AnalyzePolling -from .._api_versions import validate_api_version, FormRecognizerApiVersion +from ._form_base_client_async import FormRecognizerClientBaseAsync from .._models import FormPage, RecognizedForm -if TYPE_CHECKING: - from azure.core.credentials import AzureKeyCredential - from azure.core.credentials_async import AsyncTokenCredential -class FormRecognizerClient(object): +class FormRecognizerClient(FormRecognizerClientBaseAsync): """FormRecognizerClient extracts information from forms and images into structured data. It is the interface to use for analyzing receipts, recognizing content/layout from forms, and analyzing custom forms from trained models. It provides different methods @@ -67,29 +61,6 @@ class FormRecognizerClient(object): :caption: Creating the FormRecognizerClient with a token credential. """ - def __init__( - self, - endpoint: str, - credential: Union["AzureKeyCredential", "AsyncTokenCredential"], - **kwargs: Any - ) -> None: - - authentication_policy = get_authentication_policy(credential) - polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) - self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) - validate_api_version(self.api_version) - self._client = FormRecognizer( - endpoint=endpoint, - credential=credential, # type: ignore - api_version=self.api_version, - sdk_moniker=USER_AGENT, - authentication_policy=authentication_policy, - polling_interval=polling_interval, - **kwargs - ) - self._deserialize = _get_deserialize() - self._generated_models = self._client.models(self.api_version) - def _receipt_callback(self, raw_response, _, headers): # pylint: disable=unused-argument analyze_result = self._deserialize(self._generated_models.AnalyzeOperationResult, raw_response) return prepare_receipt(analyze_result) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py index 3e2942d14b9a..cf4dd9e81028 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py @@ -21,29 +21,25 @@ from azure.core.async_paging import AsyncItemPaged from ._form_recognizer_client_async import FormRecognizerClient from ._helpers_async import AsyncTransportWrapper -from .._generated.aio._form_recognizer_client import FormRecognizerClient as FormRecognizer from .._generated.models import ( TrainRequest, TrainSourceFilter, CopyRequest, CopyAuthorizationResult ) -from .._helpers import _get_deserialize, error_map, get_authentication_policy, POLLING_INTERVAL +from .._helpers import error_map from .._models import ( CustomFormModelInfo, AccountProperties, CustomFormModel ) -from .._user_agent import USER_AGENT -from .._api_versions import validate_api_version, FormRecognizerApiVersion +from ._form_base_client_async import FormRecognizerClientBaseAsync from .._polling import TrainingPolling, CopyPolling if TYPE_CHECKING: from azure.core.pipeline import PipelineResponse - from azure.core.credentials import AzureKeyCredential - from azure.core.credentials_async import AsyncTokenCredential -class FormTrainingClient(object): +class FormTrainingClient(FormRecognizerClientBaseAsync): """FormTrainingClient is the Form Recognizer interface to use for creating, and managing custom models. It provides methods for training models on the forms you provide, as well as methods for viewing and deleting models, accessing @@ -78,30 +74,6 @@ class FormTrainingClient(object): :caption: Creating the FormTrainingClient with a token credential. """ - def __init__( - self, - endpoint: str, - credential: Union["AzureKeyCredential", "AsyncTokenCredential"], - **kwargs: Any - ) -> None: - self._endpoint = endpoint - self._credential = credential - authentication_policy = get_authentication_policy(credential) - polling_interval = kwargs.pop("polling_interval", POLLING_INTERVAL) - self.api_version = kwargs.pop('api_version', FormRecognizerApiVersion.V2_1_PREVIEW_1) - validate_api_version(self.api_version) - self._client = FormRecognizer( - endpoint=self._endpoint, - credential=self._credential, # type: ignore - api_version=self.api_version, - sdk_moniker=USER_AGENT, - authentication_policy=authentication_policy, - polling_interval=polling_interval, - **kwargs - ) - self._deserialize = _get_deserialize() - self._generated_models = self._client.models(self.api_version) - @distributed_trace_async async def begin_training( self, diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_fr_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_fr_client.yaml new file mode 100644 index 000000000000..26c4f00a662c --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_fr_client.yaml @@ -0,0 +1,114 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/receipt/contoso-allinone.jpg"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '172' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: + - 43d0a35b-5ed2-4459-9407-9bb29b959769 + content-length: + - '0' + date: + - Thu, 01 Oct 2020 16:51:31 GMT + operation-location: + - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyzeResults/43d0a35b-5ed2-4459-9407-9bb29b959769 + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '699' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyzeResults/43d0a35b-5ed2-4459-9407-9bb29b959769 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-10-01T16:51:31Z", + "lastUpdatedDateTime": "2020-10-01T16:51:32Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": + 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", + "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": + "Itemized", "confidence": 0.692}, "MerchantName": {"type": "string", "valueString": + "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [378.2, 292.4, + 1117.7, 468.3, 1035.7, 812.7, 296.3, 636.8], "page": 1, "confidence": 0.613}, + "MerchantAddress": {"type": "string", "valueString": "123 Main Street Redmond, + WA 98052", "text": "123 Main Street Redmond, WA 98052", "boundingBox": [302, + 675.8, 848.1, 793.7, 809.9, 970.4, 263.9, 852.5], "page": 1, "confidence": + 0.99}, "MerchantPhoneNumber": {"type": "phoneNumber", "valuePhoneNumber": + "+19876543210", "text": "987-654-3210", "boundingBox": [278, 1004, 656, 1057, + 647, 1123, 271, 1075], "page": 1, "confidence": 0.99}, "TransactionDate": + {"type": "date", "valueDate": "2019-06-10", "text": "6/10/2019", "boundingBox": + [267, 1229, 525, 1247, 517, 1332, 259, 1313], "page": 1, "confidence": 0.99}, + "TransactionTime": {"type": "time", "valueTime": "13:59:00", "text": "13:59", + "boundingBox": [541, 1248, 677, 1263, 669, 1345, 533, 1333], "page": 1, "confidence": + 0.977}, "Items": {"type": "array", "valueArray": [{"type": "object", "valueObject": + {"Quantity": {"type": "number", "valueNumber": 1, "text": "1", "boundingBox": + [245, 1583, 299, 1585, 295, 1676, 241, 1671], "page": 1, "confidence": 0.92}, + "Name": {"type": "string", "valueString": "Cappuccino", "text": "Cappuccino", + "boundingBox": [322, 1586, 654, 1605, 648, 1689, 318, 1678], "page": 1, "confidence": + 0.923}, "TotalPrice": {"type": "number", "valueNumber": 2.2, "text": "$2.20", + "boundingBox": [1108, 1584, 1263, 1574, 1268, 1656, 1113, 1666], "page": 1, + "confidence": 0.918}}}, {"type": "object", "valueObject": {"Quantity": {"type": + "number", "valueNumber": 1, "text": "1", "boundingBox": [232, 1834, 286, 1836, + 285, 1920, 231, 1920], "page": 1, "confidence": 0.858}, "Name": {"type": "string", + "valueString": "BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [308, + 1836, 746, 1841.4, 745, 1925.4, 307, 1920], "page": 1, "confidence": 0.916}, + "TotalPrice": {"type": "number", "valueNumber": 9.5, "text": "$9.5", "boundingBox": + [1135, 1955, 1257, 1952, 1259, 2036, 1136, 2039], "page": 1, "confidence": + 0.916}}}]}, "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70", + "boundingBox": [1146, 2221, 1297, 2223, 1296, 2319, 1145, 2317], "page": 1, + "confidence": 0.955}, "Tax": {"type": "number", "valueNumber": 1.17, "text": + "1.17", "boundingBox": [1190, 2359, 1304, 2359, 1304, 2456, 1190, 2456], "page": + 1, "confidence": 0.979}, "Tip": {"type": "number", "valueNumber": 1.63, "text": + "1.63", "boundingBox": [1094, 2479, 1267, 2485, 1264, 2591, 1091, 2585], "page": + 1, "confidence": 0.941}, "Total": {"type": "number", "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030, + 2739], "page": 1, "confidence": 0.985}}}]}}' + headers: + apim-request-id: + - 5c9442f5-778c-43c9-9f70-ce20e3f93581 + content-length: + - '2835' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Oct 2020 16:51:39 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '18' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_ft_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_ft_client.yaml new file mode 100644 index 000000000000..64ff5b3979e0 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging.test_logging_info_ft_client.yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models?op=summary + response: + body: + string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-10-01T17:33:15Z"}}' + headers: + apim-request-id: + - a7d098f6-265d-44a5-a75e-9f35421eeca5 + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Oct 2020 17:33:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_fr_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_fr_client.yaml new file mode 100644 index 000000000000..c51bebdabffb --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_fr_client.yaml @@ -0,0 +1,92 @@ +interactions: +- request: + body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/receipt/contoso-allinone.jpg"}''' + headers: + Accept: + - application/json + Content-Length: + - '172' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyze?includeTextDetails=false + response: + body: + string: '' + headers: + apim-request-id: 7c2c3df6-edb1-4c07-926e-3294ffd8c955 + content-length: '0' + date: Thu, 01 Oct 2020 17:43:31 GMT + operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyzeResults/7c2c3df6-edb1-4c07-926e-3294ffd8c955 + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '757' + status: + code: 202 + message: Accepted + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.1/prebuilt/receipt/analyze?includeTextDetails=false +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyzeResults/7c2c3df6-edb1-4c07-926e-3294ffd8c955 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2020-10-01T17:43:31Z", + "lastUpdatedDateTime": "2020-10-01T17:43:33Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": + 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", + "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": + "Itemized", "confidence": 0.692}, "MerchantName": {"type": "string", "valueString": + "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [378.2, 292.4, + 1117.7, 468.3, 1035.7, 812.7, 296.3, 636.8], "page": 1, "confidence": 0.613}, + "MerchantAddress": {"type": "string", "valueString": "123 Main Street Redmond, + WA 98052", "text": "123 Main Street Redmond, WA 98052", "boundingBox": [302, + 675.8, 848.1, 793.7, 809.9, 970.4, 263.9, 852.5], "page": 1, "confidence": + 0.99}, "MerchantPhoneNumber": {"type": "phoneNumber", "valuePhoneNumber": + "+19876543210", "text": "987-654-3210", "boundingBox": [278, 1004, 656, 1057, + 647, 1123, 271, 1075], "page": 1, "confidence": 0.99}, "TransactionDate": + {"type": "date", "valueDate": "2019-06-10", "text": "6/10/2019", "boundingBox": + [267, 1229, 525, 1247, 517, 1332, 259, 1313], "page": 1, "confidence": 0.99}, + "TransactionTime": {"type": "time", "valueTime": "13:59:00", "text": "13:59", + "boundingBox": [541, 1248, 677, 1263, 669, 1345, 533, 1333], "page": 1, "confidence": + 0.977}, "Items": {"type": "array", "valueArray": [{"type": "object", "valueObject": + {"Quantity": {"type": "number", "valueNumber": 1, "text": "1", "boundingBox": + [245, 1583, 299, 1585, 295, 1676, 241, 1671], "page": 1, "confidence": 0.92}, + "Name": {"type": "string", "valueString": "Cappuccino", "text": "Cappuccino", + "boundingBox": [322, 1586, 654, 1605, 648, 1689, 318, 1678], "page": 1, "confidence": + 0.923}, "TotalPrice": {"type": "number", "valueNumber": 2.2, "text": "$2.20", + "boundingBox": [1108, 1584, 1263, 1574, 1268, 1656, 1113, 1666], "page": 1, + "confidence": 0.918}}}, {"type": "object", "valueObject": {"Quantity": {"type": + "number", "valueNumber": 1, "text": "1", "boundingBox": [232, 1834, 286, 1836, + 285, 1920, 231, 1920], "page": 1, "confidence": 0.858}, "Name": {"type": "string", + "valueString": "BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [308, + 1836, 746, 1841.4, 745, 1925.4, 307, 1920], "page": 1, "confidence": 0.916}, + "TotalPrice": {"type": "number", "valueNumber": 9.5, "text": "$9.5", "boundingBox": + [1135, 1955, 1257, 1952, 1259, 2036, 1136, 2039], "page": 1, "confidence": + 0.916}}}]}, "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70", + "boundingBox": [1146, 2221, 1297, 2223, 1296, 2319, 1145, 2317], "page": 1, + "confidence": 0.955}, "Tax": {"type": "number", "valueNumber": 1.17, "text": + "1.17", "boundingBox": [1190, 2359, 1304, 2359, 1304, 2456, 1190, 2456], "page": + 1, "confidence": 0.979}, "Tip": {"type": "number", "valueNumber": 1.63, "text": + "1.63", "boundingBox": [1094, 2479, 1267, 2485, 1264, 2591, 1091, 2585], "page": + 1, "confidence": 0.941}, "Total": {"type": "number", "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030, + 2739], "page": 1, "confidence": 0.985}}}]}}' + headers: + apim-request-id: e41678a5-a635-4477-83a6-e9ff8f8c98fd + content-length: '2835' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 17:43:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '92' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/prebuilt/receipt/analyzeResults/7c2c3df6-edb1-4c07-926e-3294ffd8c955 +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_ft_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_ft_client.yaml new file mode 100644 index 000000000000..5fd177985cca --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_logging_async.test_logging_info_ft_client.yaml @@ -0,0 +1,26 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models?op=summary + response: + body: + string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-10-01T17:43:37Z"}}' + headers: + apim-request-id: f3a35959-98b3-42ab-9da5-19de7c6d3eb5 + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 17:43:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '12' + status: + code: 200 + message: OK + url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.1/custom/models?op=summary +version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py new file mode 100644 index 000000000000..aa939b808e51 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py @@ -0,0 +1,61 @@ +# 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. +# -------------------------------------------------------------------------- + +import logging +from azure.ai.formrecognizer import FormRecognizerClient, FormTrainingClient +from azure.core.credentials import AzureKeyCredential +from testcase import FormRecognizerTest, GlobalFormRecognizerAccountPreparer + +class MockHandler(logging.Handler): + def __init__(self): + super(MockHandler, self).__init__() + self.messages = [] + + def emit(self, record): + self.messages.append(record) + + +class TestLogging(FormRecognizerTest): + + @GlobalFormRecognizerAccountPreparer() + def test_logging_info_fr_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + client = FormRecognizerClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) + mock_handler = MockHandler() + + logger = logging.getLogger("azure") + logger.addHandler(mock_handler) + logger.setLevel(logging.INFO) + + poller = client.begin_recognize_receipts_from_url(self.receipt_url_jpg) + result = poller.result() + + for message in mock_handler.messages: + if message.levelname == "INFO": + # not able to use json.loads here. At INFO level only API key should be REDACTED + if message.message.find("Ocp-Apim-Subscription-Key") != -1: + assert message.message.find("REDACTED") != -1 + else: + assert message.message.find("REDACTED") == -1 + + @GlobalFormRecognizerAccountPreparer() + def test_logging_info_ft_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + client = FormTrainingClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) + mock_handler = MockHandler() + + logger = logging.getLogger("azure") + logger.addHandler(mock_handler) + logger.setLevel(logging.INFO) + + result = client.get_account_properties() + + for message in mock_handler.messages: + if message.levelname == "INFO": + # not able to use json.loads here. At INFO level only API key should be REDACTED + if message.message.find("Ocp-Apim-Subscription-Key") != -1: + assert message.message.find("REDACTED") != -1 + else: + assert message.message.find("REDACTED") == -1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py new file mode 100644 index 000000000000..9a1d8337b4b2 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py @@ -0,0 +1,63 @@ +# 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. +# -------------------------------------------------------------------------- + +import logging +from azure.ai.formrecognizer.aio import FormRecognizerClient, FormTrainingClient +from azure.core.credentials import AzureKeyCredential +from testcase import GlobalFormRecognizerAccountPreparer +from asynctestcase import AsyncFormRecognizerTest + + +class MockHandler(logging.Handler): + def __init__(self): + super(MockHandler, self).__init__() + self.messages = [] + + def emit(self, record): + self.messages.append(record) + + +class TestLogging(AsyncFormRecognizerTest): + + @GlobalFormRecognizerAccountPreparer() + async def test_logging_info_fr_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + client = FormRecognizerClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) + mock_handler = MockHandler() + + logger = logging.getLogger("azure") + logger.addHandler(mock_handler) + logger.setLevel(logging.INFO) + async with client: + poller = await client.begin_recognize_receipts_from_url(self.receipt_url_jpg) + result = await poller.result() + + for message in mock_handler.messages: + if message.levelname == "INFO": + # not able to use json.loads here. At INFO level only API key should be REDACTED + if message.message.find("Ocp-Apim-Subscription-Key") != -1: + assert message.message.find("REDACTED") != -1 + else: + assert message.message.find("REDACTED") == -1 + + @GlobalFormRecognizerAccountPreparer() + async def test_logging_info_ft_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + client = FormTrainingClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) + mock_handler = MockHandler() + + logger = logging.getLogger("azure") + logger.addHandler(mock_handler) + logger.setLevel(logging.INFO) + async with client: + result = await client.get_account_properties() + + for message in mock_handler.messages: + if message.levelname == "INFO": + # not able to use json.loads here. At INFO level only API key should be REDACTED + if message.message.find("Ocp-Apim-Subscription-Key") != -1: + assert message.message.find("REDACTED") != -1 + else: + assert message.message.find("REDACTED") == -1 From d4fded0a44714ac985fffe438b722390df1280ea Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Thu, 1 Oct 2020 15:27:18 -0700 Subject: [PATCH 43/71] Cosmos Decorator and Tests (#14114) Addresses #13226 and #12717 . Screwed up my local git so I had to create a new PR, apologies @annatisch, I will address your comments from the previous PR. --- .../azure/data/tables/_base_client.py | 2 + .../azure/data/tables/_deserialize.py | 4 +- .../azure-data-tables/dev_requirements.txt | 1 + .../sample_authentication_async.py | 2 +- .../tests/_shared/cosmos_testcase.py | 124 ++ .../tests/_shared/testcase.py | 95 +- .../azure-data-tables/tests/conftest.py | 6 - .../test_table.test_account_sas.yaml | 50 +- .../test_table.test_create_table.yaml | 20 +- ...table.test_create_table_fail_on_exist.yaml | 40 +- ...est_table.test_create_table_if_exists.yaml | 30 +- ...test_create_table_if_exists_new_table.yaml | 20 +- ...test_delete_table_with_existing_table.yaml | 30 +- ...ith_non_existing_table_fail_not_exist.yaml | 10 +- .../test_table.test_get_table_acl.yaml | 28 +- .../recordings/test_table.test_locale.yaml | 90 + ...yaml => test_table.test_query_tables.yaml} | 81 +- ...t_table.test_query_tables_with_filter.yaml | 30 +- ...t_table.test_query_tables_with_marker.yaml | 92 +- ...le.test_query_tables_with_num_results.yaml | 70 +- ...table.test_set_table_acl_too_many_ids.yaml | 20 +- .../test_table_async.test_account_sas.yaml | 60 +- .../test_table_async.test_create_table.yaml | 24 +- ...async.test_create_table_fail_on_exist.yaml | 36 +- ...test_delete_table_with_existing_table.yaml | 36 +- ...ith_non_existing_table_fail_not_exist.yaml | 12 +- .../test_table_async.test_get_table_acl.yaml | 34 +- .../test_table_async.test_list_tables.yaml | 36 +- .../test_table_async.test_locale.yaml | 68 + ...e_async.test_query_tables_with_filter.yaml | 36 +- ...async.test_set_table_acl_too_many_ids.yaml | 24 +- ...ient.test_service_client_create_table.yaml | 101 + ...t_table_client.test_user_agent_append.yaml | 44 - ...smos.test_service_client_create_table.yaml | 101 + ...ble_acl_with_empty_signed_identifiers.yaml | 137 ++ ...et_table_acl_with_signed_identifiers.yaml} | 101 +- .../test_table_cosmos.test_create_table.yaml | 80 + ...osmos.test_create_table_fail_on_exist.yaml | 121 ++ ...test_delete_table_with_existing_table.yaml | 116 + ...ith_non_existing_table_fail_not_exist.yaml | 39 + .../test_table_cosmos.test_locale.yaml | 80 + .../test_table_cosmos.test_query_tables.yaml | 116 + ..._cosmos.test_query_tables_with_filter.yaml | 116 + ..._cosmos.test_query_tables_with_marker.yaml | 252 +++ ...os.test_query_tables_with_num_results.yaml | 252 +++ ..._table_cosmos_async.test_create_table.yaml | 63 + ...async.test_create_table_fail_on_exist.yaml | 97 + ...test_delete_table_with_existing_table.yaml | 63 + ...ith_non_existing_table_fail_not_exist.yaml | 30 + ...t_table_cosmos_async.test_list_tables.yaml | 66 + ...os_async.test_list_tables_with_marker.yaml | 138 ++ ...ync.test_list_tables_with_num_results.yaml | 256 +++ .../test_table_cosmos_async.test_locale.yaml | 61 + ...s_async.test_query_tables_with_filter.yaml | 92 + ...ble_entity.test_binary_property_value.yaml | 46 +- .../test_table_entity.test_delete_entity.yaml | 52 +- ...ntity.test_delete_entity_not_existing.yaml | 30 +- ...st_delete_entity_with_if_doesnt_match.yaml | 44 +- ...ty.test_delete_entity_with_if_matches.yaml | 54 +- ....test_empty_and_spaces_property_value.yaml | 46 +- .../test_table_entity.test_get_entity.yaml | 46 +- ..._entity.test_get_entity_full_metadata.yaml | 46 +- ...table_entity.test_get_entity_if_match.yaml | 66 +- ...le_entity.test_get_entity_no_metadata.yaml | 46 +- ...e_entity.test_get_entity_not_existing.yaml | 30 +- ...able_entity.test_get_entity_with_hook.yaml | 46 +- ....test_get_entity_with_special_doubles.yaml | 46 +- ...le_entity.test_insert_entity_conflict.yaml | 44 +- ..._entity.test_insert_entity_dictionary.yaml | 34 +- ...ty.test_insert_entity_empty_string_pk.yaml | 34 +- ...ty.test_insert_entity_empty_string_rk.yaml | 34 +- ..._entity.test_insert_entity_missing_pk.yaml | 20 +- ..._entity.test_insert_entity_missing_rk.yaml | 20 +- ..._insert_entity_property_name_too_long.yaml | 30 +- ...est_insert_entity_too_many_properties.yaml | 30 +- ..._entity.test_insert_entity_with_enums.yaml | 46 +- ...test_insert_entity_with_full_metadata.yaml | 46 +- ...e_entity.test_insert_entity_with_hook.yaml | 46 +- ..._entity_with_large_int32_value_throws.yaml | 20 +- ..._entity_with_large_int64_value_throws.yaml | 20 +- ...y.test_insert_entity_with_no_metadata.yaml | 46 +- .../test_table_entity.test_insert_etag.yaml | 78 +- ..._or_merge_entity_with_existing_entity.yaml | 56 +- ...merge_entity_with_non_existing_entity.yaml | 42 +- ...r_replace_entity_with_existing_entity.yaml | 56 +- ...place_entity_with_non_existing_entity.yaml | 42 +- .../test_table_entity.test_merge_entity.yaml | 56 +- ...entity.test_merge_entity_not_existing.yaml | 30 +- ...est_merge_entity_with_if_doesnt_match.yaml | 44 +- ...ity.test_merge_entity_with_if_matches.yaml | 58 +- ...table_entity.test_none_property_value.yaml | 46 +- ...ith_partition_key_having_single_quote.yaml | 86 +- ...test_table_entity.test_query_entities.yaml | 78 +- ...ity.test_query_entities_full_metadata.yaml | 78 +- ...ntity.test_query_entities_no_metadata.yaml | 78 +- ...ntity.test_query_entities_with_filter.yaml | 44 +- ...ntity.test_query_entities_with_select.yaml | 78 +- ...e_entity.test_query_entities_with_top.yaml | 92 +- ...test_query_entities_with_top_and_next.yaml | 140 +- ...t_table_entity.test_query_user_filter.yaml | 34 +- ...table_entity.test_query_zero_entities.yaml | 50 +- .../test_table_entity.test_sas_add.yaml | 46 +- ...able_entity.test_sas_add_inside_range.yaml | 46 +- ...ble_entity.test_sas_add_outside_range.yaml | 30 +- .../test_table_entity.test_sas_delete.yaml | 52 +- .../test_table_entity.test_sas_query.yaml | 44 +- .../test_table_entity.test_sas_update.yaml | 56 +- ...entity.test_sas_upper_case_table_name.yaml | 44 +- ...ble_entity.test_unicode_property_name.yaml | 58 +- ...le_entity.test_unicode_property_value.yaml | 58 +- .../test_table_entity.test_update_entity.yaml | 56 +- ...ntity.test_update_entity_not_existing.yaml | 30 +- ...st_update_entity_with_if_doesnt_match.yaml | 46 +- ...ty.test_update_entity_with_if_matches.yaml | 58 +- ...tity_async.test_binary_property_value.yaml | 54 +- ...table_entity_async.test_delete_entity.yaml | 62 +- ...async.test_delete_entity_not_existing.yaml | 36 +- ...st_delete_entity_with_if_doesnt_match.yaml | 52 +- ...nc.test_delete_entity_with_if_matches.yaml | 64 +- ....test_empty_and_spaces_property_value.yaml | 54 +- ...st_table_entity_async.test_get_entity.yaml | 54 +- ...y_async.test_get_entity_full_metadata.yaml | 54 +- ...entity_async.test_get_entity_if_match.yaml | 66 +- ...ity_async.test_get_entity_no_metadata.yaml | 54 +- ...ty_async.test_get_entity_not_existing.yaml | 36 +- ...ntity_async.test_get_entity_with_hook.yaml | 54 +- ....test_get_entity_with_special_doubles.yaml | 54 +- ...ity_async.test_insert_entity_conflict.yaml | 52 +- ...y_async.test_insert_entity_dictionary.yaml | 40 +- ...nc.test_insert_entity_empty_string_pk.yaml | 40 +- ...nc.test_insert_entity_empty_string_rk.yaml | 40 +- ...y_async.test_insert_entity_missing_pk.yaml | 24 +- ...y_async.test_insert_entity_missing_rk.yaml | 24 +- ..._insert_entity_property_name_too_long.yaml | 36 +- ...est_insert_entity_too_many_properties.yaml | 36 +- ...test_insert_entity_with_full_metadata.yaml | 54 +- ...ty_async.test_insert_entity_with_hook.yaml | 54 +- ..._entity_with_large_int32_value_throws.yaml | 24 +- ..._entity_with_large_int64_value_throws.yaml | 24 +- ...c.test_insert_entity_with_no_metadata.yaml | 54 +- ..._or_merge_entity_with_existing_entity.yaml | 66 +- ...merge_entity_with_non_existing_entity.yaml | 50 +- ...r_replace_entity_with_existing_entity.yaml | 66 +- ...place_entity_with_non_existing_entity.yaml | 50 +- ..._table_entity_async.test_merge_entity.yaml | 66 +- ..._async.test_merge_entity_not_existing.yaml | 36 +- ...est_merge_entity_with_if_doesnt_match.yaml | 52 +- ...ync.test_merge_entity_with_if_matches.yaml | 68 +- ...entity_async.test_none_property_value.yaml | 54 +- ...able_entity_async.test_query_entities.yaml | 92 +- ...ync.test_query_entities_full_metadata.yaml | 92 +- ...async.test_query_entities_no_metadata.yaml | 92 +- ...async.test_query_entities_with_filter.yaml | 52 +- ...async.test_query_entities_with_select.yaml | 92 +- ...ty_async.test_query_entities_with_top.yaml | 120 +- ...test_query_entities_with_top_and_next.yaml | 164 +- ...entity_async.test_query_zero_entities.yaml | 60 +- .../test_table_entity_async.test_sas_add.yaml | 54 +- ...ntity_async.test_sas_add_inside_range.yaml | 54 +- ...tity_async.test_sas_add_outside_range.yaml | 36 +- ...st_table_entity_async.test_sas_delete.yaml | 62 +- ...est_table_entity_async.test_sas_query.yaml | 52 +- ...st_table_entity_async.test_sas_update.yaml | 66 +- ..._async.test_sas_upper_case_table_name.yaml | 52 +- ...test_table_entity_async.test_timezone.yaml | 54 +- ...tity_async.test_unicode_property_name.yaml | 68 +- ...ity_async.test_unicode_property_value.yaml | 68 +- ...table_entity_async.test_update_entity.yaml | 66 +- ...async.test_update_entity_not_existing.yaml | 36 +- ...st_update_entity_with_if_doesnt_match.yaml | 52 +- ...nc.test_update_entity_with_if_matches.yaml | 68 +- ...ity_cosmos.test_binary_property_value.yaml | 200 ++ ...able_entity_cosmos.test_delete_entity.yaml | 241 +++ ...osmos.test_delete_entity_not_existing.yaml | 157 ++ ...st_delete_entity_with_if_doesnt_match.yaml | 207 ++ ...os.test_delete_entity_with_if_matches.yaml | 241 +++ ....test_empty_and_spaces_property_value.yaml | 208 ++ ...t_table_entity_cosmos.test_get_entity.yaml | 204 ++ ..._cosmos.test_get_entity_full_metadata.yaml | 204 ++ ...ntity_cosmos.test_get_entity_if_match.yaml | 242 +++ ...ty_cosmos.test_get_entity_no_metadata.yaml | 204 ++ ...y_cosmos.test_get_entity_not_existing.yaml | 153 ++ ...tity_cosmos.test_get_entity_with_hook.yaml | 204 ++ ....test_get_entity_with_special_doubles.yaml | 201 ++ ...ty_cosmos.test_insert_entity_conflict.yaml | 213 ++ ..._cosmos.test_insert_entity_dictionary.yaml | 166 ++ ...os.test_insert_entity_empty_string_pk.yaml | 159 ++ ...os.test_insert_entity_empty_string_rk.yaml | 159 ++ ..._cosmos.test_insert_entity_missing_pk.yaml | 116 + ..._cosmos.test_insert_entity_missing_rk.yaml | 116 + ...test_insert_entity_with_full_metadata.yaml | 204 ++ ...y_cosmos.test_insert_entity_with_hook.yaml | 204 ++ ..._entity_with_large_int32_value_throws.yaml | 116 + ..._entity_with_large_int64_value_throws.yaml | 116 + ...s.test_insert_entity_with_no_metadata.yaml | 204 ++ ..._table_entity_cosmos.test_insert_etag.yaml | 90 + ..._or_merge_entity_with_existing_entity.yaml | 210 ++ ...merge_entity_with_non_existing_entity.yaml | 160 ++ ...r_replace_entity_with_existing_entity.yaml | 210 ++ ...place_entity_with_non_existing_entity.yaml | 160 ++ ...table_entity_cosmos.test_merge_entity.yaml | 212 ++ ...cosmos.test_merge_entity_not_existing.yaml | 162 ++ ...est_merge_entity_with_if_doesnt_match.yaml | 212 ++ ...mos.test_merge_entity_with_if_matches.yaml | 212 ++ ...ntity_cosmos.test_none_property_value.yaml | 199 ++ ...ith_partition_key_having_single_quote.yaml | 210 ++ ...ble_entity_cosmos.test_query_entities.yaml | 296 +++ ...mos.test_query_entities_full_metadata.yaml | 296 +++ ...osmos.test_query_entities_no_metadata.yaml | 296 +++ ...osmos.test_query_entities_with_filter.yaml | 202 ++ ...osmos.test_query_entities_with_select.yaml | 373 ++++ ...y_cosmos.test_query_entities_with_top.yaml | 350 +++ ...test_query_entities_with_top_and_next.yaml | 526 +++++ ..._entity_cosmos.test_query_user_filter.yaml | 166 ++ ...ntity_cosmos.test_query_zero_entities.yaml | 196 ++ ...ity_cosmos.test_unicode_property_name.yaml | 244 +++ ...ty_cosmos.test_unicode_property_value.yaml | 244 +++ ...able_entity_cosmos.test_update_entity.yaml | 250 +++ ...osmos.test_update_entity_not_existing.yaml | 163 ++ ...st_update_entity_with_if_doesnt_match.yaml | 214 ++ ...os.test_update_entity_with_if_matches.yaml | 250 +++ ...smos_async.test_binary_property_value.yaml | 130 ++ ...ntity_cosmos_async.test_delete_entity.yaml | 164 ++ ...async.test_delete_entity_not_existing.yaml | 95 + ...st_delete_entity_with_if_doesnt_match.yaml | 136 ++ ...nc.test_delete_entity_with_if_matches.yaml | 164 ++ ....test_empty_and_spaces_property_value.yaml | 138 ++ ...e_entity_cosmos_async.test_get_entity.yaml | 134 ++ ...s_async.test_get_entity_full_metadata.yaml | 134 ++ ...cosmos_async.test_get_entity_if_match.yaml | 164 ++ ...mos_async.test_get_entity_no_metadata.yaml | 134 ++ ...os_async.test_get_entity_not_existing.yaml | 93 + ...osmos_async.test_get_entity_with_hook.yaml | 134 ++ ....test_get_entity_with_special_doubles.yaml | 131 ++ ...mos_async.test_insert_entity_conflict.yaml | 144 ++ ...s_async.test_insert_entity_dictionary.yaml | 102 + ...nc.test_insert_entity_empty_string_pk.yaml | 99 + ...nc.test_insert_entity_empty_string_rk.yaml | 99 + ...s_async.test_insert_entity_missing_pk.yaml | 63 + ...s_async.test_insert_entity_missing_rk.yaml | 63 + ..._insert_entity_property_name_too_long.yaml | 40 + ...est_insert_entity_too_many_properties.yaml | 40 + ...test_insert_entity_with_full_metadata.yaml | 134 ++ ...os_async.test_insert_entity_with_hook.yaml | 134 ++ ..._entity_with_large_int32_value_throws.yaml | 63 + ..._entity_with_large_int64_value_throws.yaml | 63 + ...c.test_insert_entity_with_no_metadata.yaml | 134 ++ ..._or_merge_entity_with_existing_entity.yaml | 40 + ...merge_entity_with_non_existing_entity.yaml | 40 + ...r_replace_entity_with_existing_entity.yaml | 40 + ...place_entity_with_non_existing_entity.yaml | 40 + ...entity_cosmos_async.test_merge_entity.yaml | 40 + ..._async.test_merge_entity_not_existing.yaml | 40 + ...est_merge_entity_with_if_doesnt_match.yaml | 40 + ...ync.test_merge_entity_with_if_matches.yaml | 40 + ...cosmos_async.test_none_property_value.yaml | 129 ++ ...tity_cosmos_async.test_query_entities.yaml | 235 +++ ...ync.test_query_entities_full_metadata.yaml | 235 +++ ...async.test_query_entities_no_metadata.yaml | 235 +++ ...async.test_query_entities_with_filter.yaml | 133 ++ ...async.test_query_entities_with_select.yaml | 40 + ...os_async.test_query_entities_with_top.yaml | 307 +++ ...test_query_entities_with_top_and_next.yaml | 420 ++++ ...cosmos_async.test_query_zero_entities.yaml | 153 ++ ...ble_entity_cosmos_async.test_timezone.yaml | 40 + ...smos_async.test_unicode_property_name.yaml | 166 ++ ...mos_async.test_unicode_property_value.yaml | 166 ++ ...async.test_update_entity_not_existing.yaml | 103 + ...st_update_entity_with_if_doesnt_match.yaml | 144 ++ ...nc.test_update_entity_with_if_matches.yaml | 173 ++ ...ce_properties.test_retention_too_long.yaml | 12 +- ...able_service_properties.test_set_cors.yaml | 18 +- ...vice_properties.test_set_hour_metrics.yaml | 18 +- ...e_service_properties.test_set_logging.yaml | 18 +- ...ce_properties.test_set_minute_metrics.yaml | 16 +- ...perties.test_table_service_properties.yaml | 16 +- ...e_properties.test_too_many_cors_rules.yaml | 12 +- ..._properties_async.test_set_cors_async.yaml | 20 +- ...ies_async.test_set_hour_metrics_async.yaml | 20 +- ...operties_async.test_set_logging_async.yaml | 20 +- ...s_async.test_set_minute_metrics_async.yaml | 20 +- ...c.test_table_service_properties_async.yaml | 20 +- ...vice_stats.test_table_service_stats_f.yaml | 6 +- ..._table_service_stats_when_unavailable.yaml | 6 +- ...tats_async.test_table_service_stats_f.yaml | 30 + ..._table_service_stats_when_unavailable.yaml | 30 + ...ats_cosmos.test_table_service_stats_f.yaml | 38 + ..._table_service_stats_when_unavailable.yaml | 38 + ...smos_async.test_table_service_stats_f.yaml | 31 + ..._table_service_stats_when_unavailable.yaml | 31 + .../azure-data-tables/tests/test_table.py | 103 +- .../tests/test_table_async.py | 171 +- .../tests/test_table_batch.py | 49 +- .../tests/test_table_batch_cosmos.py | 692 ++++++ .../tests/test_table_client.py | 119 +- .../tests/test_table_client_async.py | 131 +- .../tests/test_table_client_cosmos.py | 627 ++++++ .../tests/test_table_client_cosmos_async.py | 563 +++++ .../tests/test_table_cosmos.py | 549 +++++ .../tests/test_table_cosmos_async.py | 490 +++++ .../tests/test_table_entity.py | 518 ++--- .../tests/test_table_entity_async.py | 228 +- .../tests/test_table_entity_cosmos.py | 1805 ++++++++++++++++ .../tests/test_table_entity_cosmos_async.py | 1869 +++++++++++++++++ .../tests/test_table_service_properties.py | 26 +- .../test_table_service_properties_async.py | 43 +- .../test_table_service_properties_cosmos.py | 268 +++ ...t_table_service_properties_cosmos_async.py | 263 +++ .../tests/test_table_service_stats.py | 12 +- .../tests/test_table_service_stats_async.py | 17 +- .../tests/test_table_service_stats_cosmos.py | 85 + .../test_table_service_stats_cosmos_async.py | 86 + .../scenario_tests/preparers.py | 13 +- .../devtools_testutils/__init__.py | 5 +- .../devtools_testutils/resource_testcase.py | 7 +- .../devtools_testutils/storage_testcase.py | 7 +- 316 files changed, 31138 insertions(+), 4445 deletions(-) create mode 100644 sdk/tables/azure-data-tables/tests/_shared/cosmos_testcase.py create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table.test_locale.yaml rename sdk/tables/azure-data-tables/tests/recordings/{test_table.test_set_table_acl_with_empty_signed_identifiers.yaml => test_table.test_query_tables.yaml} (55%) create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_locale.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_service_client_create_table.yaml delete mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_user_agent_append.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.test_service_client_create_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_empty_signed_identifiers.yaml rename sdk/tables/azure-data-tables/tests/recordings/{test_table.test_set_table_acl_with_signed_identifiers.yaml => test_table_comsos.test_set_table_acl_with_signed_identifiers.yaml} (51%) create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table_fail_on_exist.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_existing_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_non_existing_table_fail_not_exist.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_locale.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_marker.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_num_results.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table_fail_on_exist.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_existing_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_marker.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_num_results.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_locale.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_query_tables_with_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_etag.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_non_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_non_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_operations_on_entity_with_partition_key_having_single_quote.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_select.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_binary_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_empty_and_spaces_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_if_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_hook.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_special_doubles.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_conflict.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_dictionary.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_pk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_rk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_pk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_rk.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_property_name_too_long.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_too_many_properties.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_hook.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int32_value_throws.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int64_value_throws.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_non_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_non_existing_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_none_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_full_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_no_metadata.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_select.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top_and_next.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_zero_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_timezone.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_name.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_value.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_not_existing.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_doesnt_match.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_matches.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_f.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_when_unavailable.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_f.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_when_unavailable.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_f.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_when_unavailable.yaml create mode 100644 sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos_async.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_service_stats_cosmos.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_service_stats_cosmos_async.py diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py index 49eb7f5bf3f7..9bbd23d4dc6a 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py @@ -85,6 +85,8 @@ def __init__( raise ValueError("Invalid service: {}".format(service)) service_name = service.split('-')[0] account = parsed_url.netloc.split(".{}.core.".format(service_name)) + if 'cosmos' in parsed_url.netloc: + account = parsed_url.netloc.split(".{}.cosmos.".format(service_name)) self.account_name = account[0] if len(account) > 1 else None secondary_hostname = None diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_deserialize.py b/sdk/tables/azure-data-tables/azure/data/tables/_deserialize.py index 27d0613a0cbd..b265f725fbc9 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_deserialize.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_deserialize.py @@ -84,7 +84,9 @@ def tzname(self, dt): def _from_entity_datetime(value): - # # TODO: Fix this + # Cosmos returns this with a decimal point that throws an error on deserialization + if value[-9:] == '.0000000Z': + value = value[:-9] + 'Z' return datetime.datetime.strptime(value, '%Y-%m-%dT%H:%M:%SZ'). \ replace(tzinfo=Timezone()) diff --git a/sdk/tables/azure-data-tables/dev_requirements.txt b/sdk/tables/azure-data-tables/dev_requirements.txt index 4a940812c683..009788ffe9c9 100644 --- a/sdk/tables/azure-data-tables/dev_requirements.txt +++ b/sdk/tables/azure-data-tables/dev_requirements.txt @@ -3,5 +3,6 @@ ../../core/azure-core cryptography>=2.1.4 aiohttp>=3.0; python_version >= '3.5' +-e ../../cosmos/azure-mgmt-cosmosdb azure-identity ../azure-data-nspkg \ No newline at end of file diff --git a/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py b/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py index 221150b7d514..c44cc9584834 100644 --- a/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py +++ b/sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py @@ -84,4 +84,4 @@ async def main(): if __name__ == '__main__': - asyncio.run(main()) \ No newline at end of file + asyncio.run(main()) diff --git a/sdk/tables/azure-data-tables/tests/_shared/cosmos_testcase.py b/sdk/tables/azure-data-tables/tests/_shared/cosmos_testcase.py new file mode 100644 index 000000000000..1b9dfa88742a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/_shared/cosmos_testcase.py @@ -0,0 +1,124 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import functools + +from azure.mgmt.cosmosdb import CosmosDBManagementClient +from azure.mgmt.storage.models import StorageAccount, Endpoints +from azure.mgmt.cosmosdb.models import ( + DatabaseAccountCreateUpdateParameters, + Capability, + CreateUpdateOptions +) + +from azure_devtools.scenario_tests.exceptions import AzureTestError + +from devtools_testutils import AzureMgmtPreparer, ResourceGroupPreparer, FakeResource + +FakeCosmosAccount = FakeResource +RESOURCE_GROUP_PARAM = 'resource_group' + +# Cosmos Account Preparer and its shorthand decorator + +class CosmosAccountPreparer(AzureMgmtPreparer): + def __init__( + self, + name_prefix='', + sku='Standard_LRS', + location='westus', + kind='StorageV2', + parameter_name='cosmos_account', + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, + playback_fake_resource=None, + client_kwargs=None, + random_name_enabled=True, + use_cache=False + ): + super(CosmosAccountPreparer, self).__init__( + name_prefix, + 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs, + random_name_enabled=random_name_enabled + ) + self.location = location + self.sku = sku + self.kind = kind + self.resource_group_parameter_name = resource_group_parameter_name + self.parameter_name = parameter_name + self.cosmos_key = '' + self.cosmos_account_name = '' + self.primary_endpoint = '' + self.resource_moniker = self.name_prefix + self.set_cache(use_cache, sku, location, name_prefix) + if random_name_enabled: + self.resource_moniker += "cosmosname" + + def create_resource(self, name, **kwargs): + if self.is_live: + capabilities = Capability(name='EnableTable') + db_params = DatabaseAccountCreateUpdateParameters( + capabilities=[capabilities], + locations=[{'location_name': self.location}], + location=self.location, + ) + + self.client = self.create_mgmt_client(CosmosDBManagementClient) + group = self._get_resource_group(**kwargs) + cosmos_async_operation = self.client.database_accounts.create_or_update( + group.name, + name, + db_params + ) + self.resource = cosmos_async_operation.result() + + cosmos_keys = self.client.database_accounts.list_keys( + group.name, + name + ) + self.cosmos_key = cosmos_keys.primary_master_key + self.cosmos_account_name = name + + self.test_class_instance.scrubber.register_name_pair( + name, + self.resource_moniker + ) + self.primary_endpoint = 'https://{}.table.cosmos.azure.com:443/'.format(name) + else: + self.resource = StorageAccount( + location=self.location + ) + self.resource.name = name + self.resource.id = name + self.primary_endpoint = 'https://{}.table.cosmos.azure.com:443/'.format(name) + self.cosmos_key = 'ZmFrZV9hY29jdW50X2tleQ==' + self.cosmos_account_name = name + return { + self.parameter_name: self.resource, + '{}_key'.format(self.parameter_name): self.cosmos_key, + '{}_cs'.format(self.parameter_name): ";".join([ + "DefaultEndpointsProtocol=https", + "AccountName={}".format(self.cosmos_account_name), + "AccountKey={}".format(self.cosmos_key), + "TableEndpoint={}".format(self.primary_endpoint) + ]) + } + + def remove_resource(self, name, **kwargs): + if self.is_live: + group = self._get_resource_group(**kwargs) + self.client.database_accounts.delete(group.name, name, polling=False) + + def _get_resource_group(self, **kwargs): + try: + return kwargs.get(self.resource_group_parameter_name) + except KeyError: + template = 'To create a cosmos instance a resource group is required. Please add ' \ + 'decorator @{} in front of this cosmos account preparer.' + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + +CachedCosmosAccountPreparer = functools.partial(CosmosAccountPreparer, use_cache=True, random_name_enabled=True) \ No newline at end of file diff --git a/sdk/tables/azure-data-tables/tests/_shared/testcase.py b/sdk/tables/azure-data-tables/tests/_shared/testcase.py index d20eb80556db..8c855e220e77 100644 --- a/sdk/tables/azure-data-tables/tests/_shared/testcase.py +++ b/sdk/tables/azure-data-tables/tests/_shared/testcase.py @@ -32,6 +32,7 @@ StorageAccountPreparer, FakeResource, ) +from .cosmos_testcase import CosmosAccountPreparer, CachedCosmosAccountPreparer from azure_devtools.scenario_tests import RecordingProcessor, AzureTestError, create_random_name try: from cStringIO import StringIO # Python 2 @@ -40,6 +41,8 @@ from azure.core.credentials import AccessToken from azure.mgmt.storage.models import StorageAccount, Endpoints + +from azure.mgmt.cosmosdb import CosmosDBManagementClient from azure.data.tables import generate_account_sas, AccountSasPermissions, ResourceTypes try: @@ -52,6 +55,10 @@ LOGGING_FORMAT = '%(asctime)s %(name)-20s %(levelname)-5s %(message)s' +RERUNS_DELAY = 60 + +SLEEP_DELAY = 15 + class FakeTokenCredential(object): """Protocol for classes able to provide OAuth tokens. :param str scopes: Lets you specify the type of access needed. @@ -106,6 +113,7 @@ def create_resource(self, name, **kwargs): 'storage_account_cs': TableTestCase._STORAGE_CONNECTION_STRING, } + class GlobalResourceGroupPreparer(AzureMgmtPreparer): def __init__(self): super(GlobalResourceGroupPreparer, self).__init__( @@ -137,6 +145,7 @@ class TableTestCase(AzureMgmtTestCase): def __init__(self, *args, **kwargs): super(TableTestCase, self).__init__(*args, **kwargs) self.replay_processors.append(XMSRequestIDBody()) + self._RESOURCE_GROUP = None, def connection_string(self, account, key): return "DefaultEndpointsProtocol=https;AccountName=" + account.name + ";AccountKey=" + str(key) + ";EndpointSuffix=core.windows.net" @@ -145,7 +154,7 @@ def account_url(self, account, endpoint_type): """Return an url of storage account. :param str storage_account: Storage account name - :param str storage_type: The Storage type part of the URL. Should be "blob", or "queue", etc. + :param str storage_type: The Storage type part of the URL. Should be "table", or "cosmos", etc. """ try: if endpoint_type == "table": @@ -335,6 +344,7 @@ def storage_account(): test_case = AzureMgmtTestCase("__init__") rg_preparer = ResourceGroupPreparer(random_name_enabled=True, name_prefix='pystorage') storage_preparer = StorageAccountPreparer(random_name_enabled=True, name_prefix='pyacrstorage') + cosmos_preparer = CosmosAccountPreparer(random_name_enabled=True, name_prefix='pycosmos') # Create subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", None) @@ -344,9 +354,13 @@ def storage_account(): existing_storage_name = os.environ.get("AZURE_STORAGE_ACCOUNT_NAME") existing_storage_key = os.environ.get("AZURE_STORAGE_ACCOUNT_KEY") storage_connection_string = os.environ.get("AZURE_STORAGE_CONNECTION_STRING") + cosmos_connection_string = os.environ.get("AZURE_COSMOS_CONNECTION_STRING") + existing_cosmos_name = os.environ.get("AZURE_COSMOS_ACCOUNT_URL") + existing_cosmos_key = os.environ.get("AZURE_COSMOS_ACCOUNT_KEY") i_need_to_create_rg = not (existing_rg_name or existing_storage_name or storage_connection_string) got_storage_info_from_env = existing_storage_name or storage_connection_string + got_cosmos_info_from_env = existing_cosmos_name or cosmos_connection_string storage_name = None rg_kwargs = {} @@ -426,17 +440,84 @@ def build_service_endpoint(service): storage_key = storage_kwargs['storage_account_key'] storage_connection_string = storage_kwargs['storage_account_cs'] + if cosmos_connection_string: + cosmos_connection_string_parts = dict([ + part.split('=', 1) + for part in cosmos_connection_string.split(';') + ]) + + if got_cosmos_info_from_env: + + if cosmos_connection_string: + cosmos_connection_string_parts = dict([ + part.split('=', 1) + for part in storage_connection_string.split(";") + ]) + + cosmos_account = None + if existing_cosmos_name: + cosmos_name = existing_cosmos_name + cosmos_account.name = cosmos_name + cosmos_account.id = cosmos_name + cosmos_acount.primary_endpoints = Endpoints() + cosmos_account.primary_endpoints.table = "https://{}.table.cosmos.azure.com".format(cosmos_name) + cosmos_key = existing_cosmos_key + + if not cosmos_connection_string: + # I have received a cosmos name from env + cosmos_connection_string=";".join([ + "DefaultEndpointsProtocol=https", + "AccountName={}".format(cosmos_name), + "AccountKey={}".format(cosmos_key), + "TableEndpoint={}".format(cosmos_account.primary_endpoints.table), + ]) + + if not cosmos_account: + cosmos_name = cosmos_connection_string_parts["AccountName"] + + def build_service_endpoint(service): + try: + suffix = cosmos_connection_string_parts["EndpointSuffix"] + except KeyError: + suffix = "cosmos.azure.com" + return "{}://{}.{}.{}".format( + cosmos_connection_string_parts.get("DefaultEndpointsProtocol", "https"), + cosmos_connection_string_parts["AccountName"], + service, + suffix + ) + + cosmos_account.name = cosmos_name + cosmos_account.id = cosmos_name + cosmos_account.primary_endpoints=Endpoints() + cosmos_account.primary_endpoints.table = cosmos_connection_string_parts.get("TableEndpoint", build_service_endpoint("table")) + cosmos_account.secondary_endpoints=Endpoints() + cosmos_account.secondary_endpoints.table = cosmos_connection_string_parts.get("TableSecondaryEndpoint", build_service_endpoint("table")) + cosmos_key = cosmos_connection_string_parts["AccountKey"] + + else: + cosmos_name, cosmos_kwargs = cosmos_preparer._prepare_create_resource(test_case, **rg_kwargs) + cosmos_account = cosmos_kwargs['cosmos_account'] + cosmos_key = cosmos_kwargs['cosmos_account_key'] + cosmos_connection_string = cosmos_kwargs['cosmos_account_cs'] + TableTestCase._STORAGE_ACCOUNT = storage_account TableTestCase._STORAGE_KEY = storage_key TableTestCase._STORAGE_CONNECTION_STRING = storage_connection_string + TableTestCase._COSMOS_ACCOUNT = cosmos_account + TableTestCase._COSMOS_KEY = cosmos_key + TableTestCase._COSMOS_CONNECTION_STRING = cosmos_connection_string yield finally: - if storage_name is not None: - if not got_storage_info_from_env: - storage_preparer.remove_resource( - storage_name, - resource_group=rg - ) + if not got_storage_info_from_env: + storage_preparer.remove_resource( + storage_name, + resource_group=rg + ) + cosmos_preparer.remove_resource( + cosmos_name, + resource_group=rg + ) finally: if i_need_to_create_rg: rg_preparer.remove_resource(rg_name) diff --git a/sdk/tables/azure-data-tables/tests/conftest.py b/sdk/tables/azure-data-tables/tests/conftest.py index b73f2c91f9b2..1d1e9a7ff5ab 100644 --- a/sdk/tables/azure-data-tables/tests/conftest.py +++ b/sdk/tables/azure-data-tables/tests/conftest.py @@ -32,9 +32,3 @@ collect_ignore_glob = [] if sys.version_info < (3, 5): collect_ignore_glob.append("*_async.py") - -def pytest_configure(config): - # register an additional marker - config.addinivalue_line( - "usefixtures", "storage_account" - ) diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_account_sas.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_account_sas.yaml index 46390dd468fd..5390f6100aa0 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_account_sas.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_account_sas.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:16 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:16 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync99dc0b08"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync99dc0b08"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:16 GMT + - Thu, 01 Oct 2020 00:38:01 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync99dc0b08') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesync99dc0b08') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -65,15 +65,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/pytablesync99dc0b08(PartitionKey='test',RowKey='test1') + uri: https://tablesteststorname.table.core.windows.net/pytablesync99dc0b08(PartitionKey='test',RowKey='test1') response: body: string: '' @@ -83,9 +83,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A17.2067105Z'" + - W/"datetime'2020-10-01T00%3A38%3A01.5516044Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -113,15 +113,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/pytablesync99dc0b08(PartitionKey='test',RowKey='test2') + uri: https://tablesteststorname.table.core.windows.net/pytablesync99dc0b08(PartitionKey='test',RowKey='test2') response: body: string: '' @@ -131,9 +131,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A17.2437365Z'" + - W/"datetime'2020-10-01T00%3A38%3A01.5946361Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -155,25 +155,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/pytablesync99dc0b08()?st=2020-09-16T21%3A50%3A17Z&se=2020-09-16T22%3A51%3A17Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=V84Ru%2B4sDfe0n5%2BcWi2JN9HkSbfC2pt8qcCp09qrIco%3D + uri: https://tablesteststorname.table.core.windows.net/pytablesync99dc0b08()?st=2020-10-01T00%3A37%3A01Z&se=2020-10-01T01%3A38%3A01Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=uDIwmaaA4vJpYNwCszaW9wZM9qk86QnXl1f8pLCq0hM%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#pytablesync99dc0b08","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A17.2067105Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:51:17.2067105Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A17.2437365Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-09-16T21:51:17.2437365Z","text":"hello"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#pytablesync99dc0b08","value":[{"odata.etag":"W/\"datetime''2020-10-01T00%3A38%3A01.5516044Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T00:38:01.5516044Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-10-01T00%3A38%3A01.5946361Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-10-01T00:38:01.5946361Z","text":"hello"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:16 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -197,15 +197,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync99dc0b08') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesync99dc0b08') response: body: string: '' @@ -215,7 +215,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table.yaml index c1f50adc06f4..c9d158afea72 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynca4ed0b50"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynca4ed0b50"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesynca4ed0b50') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesynca4ed0b50') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:01 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesynca4ed0b50') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesynca4ed0b50') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_fail_on_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_fail_on_exist.yaml index abbcb1953683..66b5187e95b7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_fail_on_exist.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_fail_on_exist.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync6d7c1113"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync6d7c1113"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync6d7c1113') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesync6d7c1113') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,26 +63,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: string: '{"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The - table specified already exists.\nRequestId:8e3330b9-2002-0034-5b73-8cc7af000000\nTime:2020-09-16T21:51:18.4155259Z"}}}' + table specified already exists.\nRequestId:0a21aaae-4002-0070-6d8b-97ada5000000\nTime:2020-10-01T00:38:02.6445023Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -106,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesync6d7c1113%27 + uri: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesync6d7c1113%27 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesync6d7c1113"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesync6d7c1113"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -148,15 +148,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync6d7c1113') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesync6d7c1113') response: body: string: '' @@ -166,7 +166,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists.yaml index ffd50fd940b1..3d07afc3c465 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync2c5a0f7d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync2c5a0f7d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:02 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync2c5a0f7d') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesync2c5a0f7d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,26 +63,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: string: '{"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The - table specified already exists.\nRequestId:4f51bb6a-7002-002c-3d73-8cea3a000000\nTime:2020-09-16T21:51:18.7020606Z"}}}' + table specified already exists.\nRequestId:b1683c27-6002-006c-618b-9775b2000000\nTime:2020-10-01T00:38:03.0079648Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -106,15 +106,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync2c5a0f7d') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesync2c5a0f7d') response: body: string: '' @@ -124,7 +124,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:17 GMT + - Thu, 01 Oct 2020 00:38:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists_new_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists_new_table.yaml index 312ac8a8f5dd..d91e7f30ef01 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists_new_table.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_create_table_if_exists_new_table.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncdd9e138d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncdd9e138d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesyncdd9e138d') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesyncdd9e138d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesyncdd9e138d') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesyncdd9e138d') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_existing_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_existing_table.yaml index 48c79924c5df..7d25ca13f6b4 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_existing_table.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_existing_table.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncded1139b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncded1139b"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesyncded1139b') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesyncded1139b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesyncded1139b') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesyncded1139b') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -99,25 +99,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesyncded1139b%27 + uri: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesyncded1139b%27 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_non_existing_table_fail_not_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_non_existing_table_fail_not_exist.yaml index e205a52e6862..fc2c20fb7f48 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_non_existing_table_fail_not_exist.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_delete_table_with_non_existing_table_fail_not_exist.yaml @@ -11,26 +11,26 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesynca12c1b7c') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesynca12c1b7c') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:13be03b7-7002-0005-1773-8c9c78000000\nTime:2020-09-16T21:51:19.4491614Z"}}}' + specified resource does not exist.\nRequestId:65d88452-1002-0027-188b-974428000000\nTime:2020-10-01T00:38:04.1886239Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:18 GMT + - Thu, 01 Oct 2020 00:38:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_get_table_acl.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_get_table_acl.yaml index 78fe1d364eb2..7d2476085bbb 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_get_table_acl.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_get_table_acl.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncb07a0bab"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncb07a0bab"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:03 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesyncb07a0bab') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesyncb07a0bab') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -57,15 +57,15 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:04 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/pytablesyncb07a0bab?comp=acl + uri: https://tablesteststorname.table.core.windows.net/pytablesyncb07a0bab?comp=acl response: body: string: "\uFEFF" + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesynca68e0b85"}]}' headers: + cache-control: + - no-cache content-type: - - application/xml + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 19:25:38 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + x-content-type-options: + - nosniff x-ms-version: - '2019-02-02' status: @@ -134,15 +101,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 19:25:38 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 19:25:38 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesyncd1eb182e') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesynca68e0b85') response: body: string: '' @@ -152,7 +119,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 19:25:38 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_filter.yaml index c9677b9c6c83..51f8c23a1f07 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_filter.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync512a1085"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync512a1085"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync512a1085') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesync512a1085') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesync512a1085%27 + uri: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20%27pytablesync512a1085%27 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesync512a1085"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesync512a1085"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -101,15 +101,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync512a1085') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesync512a1085') response: body: string: '' @@ -119,7 +119,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_marker.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_marker.yaml index 47c1adba0b2b..bbb1f6fc559a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_marker.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_marker.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"TableName": "listtable051291081"}' + body: '{"TableName": "listtable051291081"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: !!python/unicode https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable051291081"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable051291081"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:34 GMT + - Thu, 01 Oct 2020 00:38:04 GMT location: - - !!python/unicode https://storagename.table.core.windows.net/Tables('listtable051291081') + - https://tablesteststorname.table.core.windows.net/Tables('listtable051291081') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -48,7 +48,7 @@ interactions: code: 201 message: Created - request: - body: !!python/unicode '{"TableName": "listtable151291081"}' + body: '{"TableName": "listtable151291081"}' headers: Accept: - application/json;odata=minimalmetadata @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: !!python/unicode https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable151291081"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable151291081"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:04 GMT location: - - !!python/unicode https://storagename.table.core.windows.net/Tables('listtable151291081') + - https://tablesteststorname.table.core.windows.net/Tables('listtable151291081') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -96,7 +96,7 @@ interactions: code: 201 message: Created - request: - body: !!python/unicode '{"TableName": "listtable251291081"}' + body: '{"TableName": "listtable251291081"}' headers: Accept: - application/json;odata=minimalmetadata @@ -111,27 +111,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: !!python/unicode https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable251291081"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable251291081"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:04 GMT location: - - !!python/unicode https://storagename.table.core.windows.net/Tables('listtable251291081') + - https://tablesteststorname.table.core.windows.net/Tables('listtable251291081') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -144,7 +144,7 @@ interactions: code: 201 message: Created - request: - body: !!python/unicode '{"TableName": "listtable351291081"}' + body: '{"TableName": "listtable351291081"}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,27 +159,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: !!python/unicode https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable351291081"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable351291081"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:04 GMT location: - - !!python/unicode https://storagename.table.core.windows.net/Tables('listtable351291081') + - https://tablesteststorname.table.core.windows.net/Tables('listtable351291081') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -203,25 +203,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: !!python/unicode https://storagename.table.core.windows.net/Tables?$top=2 + uri: https://tablesteststorname.table.core.windows.net/Tables?$top=2 response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable051291081"},{"TableName":"listtable151291081"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable051291081"},{"TableName":"listtable151291081"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -229,7 +229,7 @@ interactions: x-content-type-options: - nosniff x-ms-continuation-nexttablename: - - 1!48!bGlzdHRhYmxlMjUxMjkxMDgxATAxZDY4MzE2OWEzNjQ1Yjk- + - 1!48!bGlzdHRhYmxlMjUxMjkxMDgxATAxZDY5NzhiMjA3NGVkZjg- x-ms-version: - '2019-02-02' status: @@ -247,25 +247,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: !!python/unicode https://storagename.table.core.windows.net/Tables?$top=2&NextTableName=1%2148%21bGlzdHRhYmxlMjUxMjkxMDgxATAxZDY4MzE2OWEzNjQ1Yjk- + uri: https://tablesteststorname.table.core.windows.net/Tables?$top=2&NextTableName=1%2148%21bGlzdHRhYmxlMjUxMjkxMDgxATAxZDY5NzhiMjA3NGVkZjg- response: body: - string: !!python/unicode '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable251291081"},{"TableName":"listtable351291081"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable251291081"},{"TableName":"listtable351291081"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Fri, 04 Sep 2020 23:53:35 GMT + - Thu, 01 Oct 2020 00:38:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -273,7 +273,7 @@ interactions: x-content-type-options: - nosniff x-ms-continuation-nexttablename: - - 1!48!cHl0YWJsZXN5bmMyYzVhMGY3ZAEwMWQ2ODMxNjk4ZWU3MWY1 + - 1!48!cHl0YWJsZXN5bmMyYzVhMGY3ZAEwMWQ2OTc4YjFlZjMzOGYz x-ms-version: - '2019-02-02' status: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_num_results.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_num_results.yaml index 09bcedd913f6..52e577f824b3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_num_results.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_query_tables_with_num_results.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable0aab312c0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable0aab312c0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:19 GMT + - Thu, 01 Oct 2020 00:38:05 GMT location: - - https://storagename.table.core.windows.net/Tables('listtable0aab312c0') + - https://tablesteststorname.table.core.windows.net/Tables('listtable0aab312c0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable1aab312c0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable1aab312c0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT location: - - https://storagename.table.core.windows.net/Tables('listtable1aab312c0') + - https://tablesteststorname.table.core.windows.net/Tables('listtable1aab312c0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -111,27 +111,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable2aab312c0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable2aab312c0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT location: - - https://storagename.table.core.windows.net/Tables('listtable2aab312c0') + - https://tablesteststorname.table.core.windows.net/Tables('listtable2aab312c0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,27 +159,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable3aab312c0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"listtable3aab312c0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT location: - - https://storagename.table.core.windows.net/Tables('listtable3aab312c0') + - https://tablesteststorname.table.core.windows.net/Tables('listtable3aab312c0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -203,25 +203,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$top=3 + uri: https://tablesteststorname.table.core.windows.net/Tables?$top=3 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable03f561007"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable13f561007"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable051291081"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable151291081"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -229,7 +229,7 @@ interactions: x-content-type-options: - nosniff x-ms-continuation-nexttablename: - - 1!48!bGlzdHRhYmxlMWFhYjMxMmMwATAxZDY4YzczODM3NGM2YTU- + - 1!48!bGlzdHRhYmxlMWFhYjMxMmMwATAxZDY5NzhiMjBiYThmMDA- x-ms-version: - '2019-02-02' status: @@ -247,25 +247,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable03f561007"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable13f561007"},{"TableName":"listtable1aab312c0"},{"TableName":"listtable23f561007"},{"TableName":"listtable2aab312c0"},{"TableName":"listtable33f561007"},{"TableName":"listtable3aab312c0"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable051291081"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable151291081"},{"TableName":"listtable1aab312c0"},{"TableName":"listtable251291081"},{"TableName":"listtable2aab312c0"},{"TableName":"listtable351291081"},{"TableName":"listtable3aab312c0"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:05 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_too_many_ids.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_too_many_ids.yaml index aef99e468572..64830a3ca913 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_too_many_ids.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_too_many_ids.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync6f17111b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync6f17111b"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:06 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync6f17111b') + - https://tablesteststorname.table.core.windows.net/Tables('pytablesync6f17111b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync6f17111b') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytablesync6f17111b') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:20 GMT + - Thu, 01 Oct 2020 00:38:06 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_account_sas.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_account_sas.yaml index 6e040d5ba936..df4aea8abe90 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_account_sas.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_account_sas.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce5ae0d85"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce5ae0d85"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:21 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasynce5ae0d85') + date: Thu, 01 Oct 2020 00:38:06 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce5ae0d85') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "test", "PartitionKey@odata.type": "Edm.String", "RowKey": "test1", "RowKey@odata.type": "Edm.String", "text": "hello", "text@odata.type": @@ -50,30 +50,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test1') + uri: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test1') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:21 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A22.3992646Z'" + date: Thu, 01 Oct 2020 00:38:06 GMT + etag: W/"datetime'2020-10-01T00%3A38%3A06.7383Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test1') + url: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test1') - request: body: '{"PartitionKey": "test", "PartitionKey@odata.type": "Edm.String", "RowKey": "test2", "RowKey@odata.type": "Edm.String", "text": "hello", "text@odata.type": @@ -88,30 +88,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test2') + uri: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test2') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:21 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A22.4332879Z'" + date: Thu, 01 Oct 2020 00:38:06 GMT + etag: W/"datetime'2020-10-01T00%3A38%3A06.7773275Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test2') + url: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85(PartitionKey='test',RowKey='test2') - request: body: null headers: @@ -120,22 +120,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/pytableasynce5ae0d85()?st=2020-09-16T21:50:22Z&se=2020-09-16T22:51:22Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=0ZmqKYEpgKoVnjA4%2Bg98L6uwqBuxHcFunhmdKJPtlZI%3D + uri: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85()?st=2020-10-01T00:37:06Z&se=2020-10-01T01:38:06Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=RvEgp8AKlM88dWLtaiGmGQ6qHcKTXaGZhW63aJucyco%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#pytableasynce5ae0d85","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A22.3992646Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:51:22.3992646Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A22.4332879Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-09-16T21:51:22.4332879Z","text":"hello"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#pytableasynce5ae0d85","value":[{"odata.etag":"W/\"datetime''2020-10-01T00%3A38%3A06.7383Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T00:38:06.7383Z","text":"hello"},{"odata.etag":"W/\"datetime''2020-10-01T00%3A38%3A06.7773275Z''\"","PartitionKey":"test","RowKey":"test2","Timestamp":"2020-10-01T00:38:06.7773275Z","text":"hello"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:22 GMT + date: Thu, 01 Oct 2020 00:38:06 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -143,34 +143,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/pytableasynce5ae0d85()?st=2020-09-16T21:50:22Z&se=2020-09-16T22:51:22Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=0ZmqKYEpgKoVnjA4%2Bg98L6uwqBuxHcFunhmdKJPtlZI%3D + url: https://tablesteststorname.table.core.windows.net/pytableasynce5ae0d85()?st=2020-10-01T00:37:06Z&se=2020-10-01T01:38:06Z&sp=r&sv=2019-02-02&ss=t&srt=o&sig=RvEgp8AKlM88dWLtaiGmGQ6qHcKTXaGZhW63aJucyco%3D - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasynce5ae0d85') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce5ae0d85') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:21 GMT + date: Thu, 01 Oct 2020 00:38:06 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasynce5ae0d85') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce5ae0d85') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table.yaml index 021b1e720f97..73a7ee7307af 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncf33c0dcd"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncf33c0dcd"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:22 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasyncf33c0dcd') + date: Thu, 01 Oct 2020 00:38:06 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncf33c0dcd') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasyncf33c0dcd') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncf33c0dcd') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:22 GMT + date: Thu, 01 Oct 2020 00:38:06 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasyncf33c0dcd') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncf33c0dcd') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table_fail_on_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table_fail_on_exist.yaml index 31297eb67ef3..30939b9e2ba0 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table_fail_on_exist.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_create_table_fail_on_exist.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncdea11390"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncdea11390"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:22 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasyncdea11390') + date: Thu, 01 Oct 2020 00:38:07 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncdea11390') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "pytableasyncdea11390"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: string: '{"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The - table specified already exists.\nRequestId:f1eebf92-a002-002e-6573-8ce8c0000000\nTime:2020-09-16T21:51:23.3844829Z"}}}' + table specified already exists.\nRequestId:7dd29e14-9002-005b-0b8b-97d91d000000\nTime:2020-10-01T00:38:07.8487705Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:22 GMT + date: Thu, 01 Oct 2020 00:38:07 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,34 +72,34 @@ interactions: status: code: 409 message: Conflict - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:07 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasyncdea11390') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncdea11390') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:22 GMT + date: Thu, 01 Oct 2020 00:38:07 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasyncdea11390') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncdea11390') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_existing_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_existing_table.yaml index 72678943d896..d756eb376f24 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_existing_table.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_existing_table.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync5ef31618"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync5ef31618"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Mon, 21 Sep 2020 22:27:15 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasync5ef31618') + date: Thu, 01 Oct 2020 00:38:08 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasync5ef31618') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,36 +35,36 @@ interactions: status: code: 201 message: Created - url: https://pyacrstorageghacaclki5ok.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasync5ef31618') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasync5ef31618') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Mon, 21 Sep 2020 22:27:15 GMT + date: Thu, 01 Oct 2020 00:38:08 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstorageghacaclki5ok.table.core.windows.net/Tables('pytableasync5ef31618') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasync5ef31618') - request: body: null headers: @@ -73,22 +73,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Mon, 21 Sep 2020 22:27:15 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasync5ef31618' + uri: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasync5ef31618' response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Mon, 21 Sep 2020 22:27:15 GMT + date: Thu, 01 Oct 2020 00:38:08 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -96,5 +96,5 @@ interactions: status: code: 200 message: OK - url: https://pyacrstorageghacaclki5ok.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasync5ef31618' + url: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasync5ef31618' version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml index 228f44fd85ec..aa3b98f9413f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml @@ -5,23 +5,23 @@ interactions: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:23 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasync50951df9') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasync50951df9') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:fafbe4a5-f002-003d-7e73-8cdd21000000\nTime:2020-09-16T21:51:24.0807245Z"}}}' + specified resource does not exist.\nRequestId:2df07111-8002-0044-598b-97020d000000\nTime:2020-10-01T00:38:08.7654805Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:23 GMT + date: Thu, 01 Oct 2020 00:38:08 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasync50951df9') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasync50951df9') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_get_table_acl.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_get_table_acl.yaml index ce75d6a71826..0bb66606ec99 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_get_table_acl.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_get_table_acl.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync1550e28"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync1550e28"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:23 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasync1550e28') + date: Thu, 01 Oct 2020 00:38:09 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasync1550e28') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,63 +35,63 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/pytableasync1550e28?comp=acl + uri: https://tablesteststorname.table.core.windows.net/pytableasync1550e28?comp=acl response: body: string: "\uFEFF" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:51:23 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/pytableasync1550e28?comp=acl + url: https://tablesteststorname.table.core.windows.net/pytableasync1550e28?comp=acl - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasync1550e28') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasync1550e28') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:24 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasync1550e28') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasync1550e28') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_list_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_list_tables.yaml index 1044a9bc53b4..4fe9830e856e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_list_tables.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_list_tables.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce6450d88"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce6450d88"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:23 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasynce6450d88') + date: Thu, 01 Oct 2020 00:38:09 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce6450d88') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: @@ -44,22 +44,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable03f561007"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable13f561007"},{"TableName":"listtable1aab312c0"},{"TableName":"listtable23f561007"},{"TableName":"listtable2aab312c0"},{"TableName":"listtable33f561007"},{"TableName":"listtable3aab312c0"},{"TableName":"pytableasynce6450d88"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable051291081"},{"TableName":"listtable0aab312c0"},{"TableName":"listtable151291081"},{"TableName":"listtable1aab312c0"},{"TableName":"listtable251291081"},{"TableName":"listtable2aab312c0"},{"TableName":"listtable351291081"},{"TableName":"listtable3aab312c0"},{"TableName":"pytableasynce6450d88"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:23 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -67,34 +67,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:24 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasynce6450d88') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce6450d88') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:23 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasynce6450d88') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce6450d88') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_locale.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_locale.yaml new file mode 100644 index 000000000000..320538d98069 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_locale.yaml @@ -0,0 +1,68 @@ +interactions: +- request: + body: '{"TableName": "pytableasynca6820b62"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Tue, 29 Sep 2020 17:05:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 17:05:44 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablesteststorname.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynca6820b62"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Tue, 29 Sep 2020 17:05:44 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasynca6820b62') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://tablesteststorname.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Tue, 29 Sep 2020 17:05:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 17:05:44 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasynca6820b62') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Tue, 29 Sep 2020 17:05:44 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasynca6820b62') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_query_tables_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_query_tables_with_filter.yaml index e88901a970c3..77d066e5deef 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_query_tables_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_query_tables_with_filter.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncbd551302"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncbd551302"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:24 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasyncbd551302') + date: Thu, 01 Oct 2020 00:38:09 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncbd551302') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: @@ -44,22 +44,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasyncbd551302' + uri: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasyncbd551302' response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytableasyncbd551302"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytableasyncbd551302"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:24 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -67,34 +67,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasyncbd551302' + url: https://tablesteststorname.table.core.windows.net/Tables?$filter=TableName%20eq%20'pytableasyncbd551302' - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasyncbd551302') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncbd551302') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:24 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasyncbd551302') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasyncbd551302') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_set_table_acl_too_many_ids.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_set_table_acl_too_many_ids.yaml index c7be5b19110e..88485e2a4a8e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_set_table_acl_too_many_ids.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.test_set_table_acl_too_many_ids.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce03c1398"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynce03c1398"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:24 GMT - location: https://storagename.table.core.windows.net/Tables('pytableasynce03c1398') + date: Thu, 01 Oct 2020 00:38:09 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce03c1398') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:25 GMT + - Thu, 01 Oct 2020 00:38:09 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytableasynce03c1398') + uri: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce03c1398') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:25 GMT + date: Thu, 01 Oct 2020 00:38:09 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('pytableasynce03c1398') + url: https://tablesteststorname.table.core.windows.net/Tables('pytableasynce03c1398') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_service_client_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_service_client_create_table.yaml new file mode 100644 index 000000000000..2f34fe002e7a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_service_client_create_table.yaml @@ -0,0 +1,101 @@ +interactions: +- request: + body: '{"TableName": "foo"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Tue, 25 Aug 2020 20:12:58 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 25 Aug 2020 20:12:58 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://storagename.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"foo"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Tue, 25 Aug 2020 20:12:59 GMT + location: + - https://storagename.table.core.windows.net/Tables('foo') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk", "RowKey": "rk", "Value": "2", "Value@odata.type": + "Edm.Int64"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '85' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Tue, 25 Aug 2020 20:12:59 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 25 Aug 2020 20:12:59 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://storagename.table.core.windows.net/foo + response: + body: + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#foo/@Element","odata.etag":"W/\"datetime''2020-08-25T20%3A12%3A59.6939685Z''\"","PartitionKey":"pk","RowKey":"rk","Timestamp":"2020-08-25T20:12:59.6939685Z","Value@odata.type":"Edm.Int64","Value":"2"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Tue, 25 Aug 2020 20:12:59 GMT + etag: + - W/"datetime'2020-08-25T20%3A12%3A59.6939685Z'" + location: + - https://storagename.table.core.windows.net/foo(PartitionKey='pk',RowKey='rk') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_user_agent_append.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_user_agent_append.yaml deleted file mode 100644 index 6d3588302f9c..000000000000 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.test_user_agent_append.yaml +++ /dev/null @@ -1,44 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json;odata=minimalmetadata - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - DataServiceVersion: - - '3.0' - Date: - - Wed, 16 Sep 2020 22:35:33 GMT - User-Agent: - - customer_user_agent - x-ms-date: - - Wed, 16 Sep 2020 22:35:33 GMT - x-ms-version: - - '2019-02-02' - method: GET - uri: https://storagename.table.core.windows.net/Tables - response: - body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables","value":[]}' - headers: - cache-control: - - no-cache - content-type: - - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: - - Wed, 16 Sep 2020 22:35:33 GMT - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-ms-version: - - '2019-02-02' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.test_service_client_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.test_service_client_create_table.yaml new file mode 100644 index 000000000000..c93ad4a21270 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.test_service_client_create_table.yaml @@ -0,0 +1,101 @@ +interactions: +- request: + body: '{"TableName": "foo"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Wed, 26 Aug 2020 18:52:02 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Wed, 26 Aug 2020 18:52:02 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://storagename.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"foo"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Wed, 26 Aug 2020 18:52:03 GMT + location: + - https://storagename.table.core.windows.net/Tables('foo') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk", "RowKey": "rk", "Value": "2", "Value@odata.type": + "Edm.Int64"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '85' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Wed, 26 Aug 2020 18:52:03 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Wed, 26 Aug 2020 18:52:03 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://storagename.table.core.windows.net/foo + response: + body: + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#foo/@Element","odata.etag":"W/\"datetime''2020-08-26T18%3A52%3A04.0111688Z''\"","PartitionKey":"pk","RowKey":"rk","Timestamp":"2020-08-26T18:52:04.0111688Z","Value@odata.type":"Edm.Int64","Value":"2"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Wed, 26 Aug 2020 18:52:03 GMT + etag: + - W/"datetime'2020-08-26T18%3A52%3A04.0111688Z'" + location: + - https://storagename.table.core.windows.net/foo(PartitionKey='pk',RowKey='rk') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_empty_signed_identifiers.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_empty_signed_identifiers.yaml new file mode 100644 index 000000000000..06e8c882ebfd --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_empty_signed_identifiers.yaml @@ -0,0 +1,137 @@ +interactions: +- request: + body: '{"TableName": "pytablesync8b091b21"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Wed, 26 Aug 2020 18:47:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Wed, 26 Aug 2020 18:47:10 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://storagename.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync8b091b21"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Wed, 26 Aug 2020 18:47:10 GMT + location: + - https://storagename.table.core.windows.net/Tables('pytablesync8b091b21') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/xml + Date: + - Wed, 26 Aug 2020 18:47:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Wed, 26 Aug 2020 18:47:10 GMT + x-ms-version: + - '2019-07-07' + method: PUT + uri: https://storagename.table.core.windows.net/pytablesync8b091b21?comp=acl + response: + body: + string: 'MediaTypeNotSupportedNone of the provided media types are supported + + RequestId:89f26801-d002-0081-68d9-7b465f000000 + + Time:2020-08-26T18:47:11.3326593Z' + headers: + content-length: + - '335' + content-type: + - application/xml + date: + - Wed, 26 Aug 2020 18:47:11 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - MediaTypeNotSupported + x-ms-version: + - '2019-07-07' + status: + code: 415 + message: None of the provided media types are supported +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Wed, 26 Aug 2020 18:47:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Wed, 26 Aug 2020 18:47:11 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://storagename.table.core.windows.net/Tables('pytablesync8b091b21') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 26 Aug 2020 18:47:11 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-07-07' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_with_signed_identifiers.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_signed_identifiers.yaml similarity index 51% rename from sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_with_signed_identifiers.yaml rename to sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_signed_identifiers.yaml index b1f75dd02217..8815ddc9ec10 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table.test_set_table_acl_with_signed_identifiers.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_comsos.test_set_table_acl_with_signed_identifiers.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "pytablesync45dd15a0"}' + body: '{"TableName": "pytablesynced3a1893"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Wed, 26 Aug 2020 18:47:11 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:21 GMT + - Wed, 26 Aug 2020 18:47:11 GMT x-ms-version: - - '2019-02-02' + - '2019-07-07' method: POST uri: https://storagename.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync45dd15a0"}' + string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesynced3a1893"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT location: - - https://storagename.table.core.windows.net/Tables('pytablesync45dd15a0') + - https://storagename.table.core.windows.net/Tables('pytablesynced3a1893') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,17 +43,17 @@ interactions: x-content-type-options: - nosniff x-ms-version: - - '2019-02-02' + - '2019-07-07' status: code: 201 message: Created - request: body: ' - testid2020-09-16T21:46:22Z2020-09-16T22:51:22Zr' + testid2020-08-26T18:42:12Z2020-08-26T19:47:12Zr' headers: Accept: - - application/xml + - '*/*' Accept-Encoding: - gzip, deflate Connection: @@ -63,71 +63,44 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT x-ms-version: - - '2019-02-02' + - '2019-07-07' method: PUT - uri: https://storagename.table.core.windows.net/pytablesync45dd15a0?comp=acl + uri: https://storagename.table.core.windows.net/pytablesynced3a1893?comp=acl response: body: - string: '' + string: 'MediaTypeNotSupportedNone of the provided media types are supported + + RequestId:5b7a182f-e002-00ef-5cd9-7bef76000000 + + Time:2020-08-26T18:47:12.9949447Z' headers: content-length: - - '0' - date: - - Wed, 16 Sep 2020 21:51:22 GMT - server: - - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: - - '2019-02-02' - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Date: - - Wed, 16 Sep 2020 21:51:22 GMT - User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT - x-ms-version: - - '2019-02-02' - method: GET - uri: https://storagename.table.core.windows.net/pytablesync45dd15a0?comp=acl - response: - body: - string: "\uFEFFtestid2020-09-16T21:46:22.0000000Z2020-09-16T22:51:22.0000000Zr" - headers: + - '335' content-type: - application/xml date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked + x-ms-error-code: + - MediaTypeNotSupported x-ms-version: - - '2019-02-02' + - '2019-07-07' status: - code: 200 - message: OK + code: 415 + message: None of the provided media types are supported - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: @@ -135,15 +108,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:12 GMT x-ms-version: - - '2019-02-02' + - '2019-07-07' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('pytablesync45dd15a0') + uri: https://storagename.table.core.windows.net/Tables('pytablesynced3a1893') response: body: string: '' @@ -153,13 +126,13 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:22 GMT + - Wed, 26 Aug 2020 18:47:13 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: - nosniff x-ms-version: - - '2019-02-02' + - '2019-07-07' status: code: 204 message: No Content diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table.yaml new file mode 100644 index 000000000000..3a6f80082412 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table.yaml @@ -0,0 +1,80 @@ +interactions: +- request: + body: '{"TableName": "pytablesync2a40e43"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Sat, 26 Sep 2020 01:05:31 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Sat, 26 Sep 2020 01:05:31 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesync2a40e43","odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Sat, 26 Sep 2020 01:05:33 GMT + etag: + - W/"datetime'2020-09-26T01%3A05%3A32.7777799Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/Tables('pytablesync2a40e43') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Sat, 26 Sep 2020 01:05:33 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Sat, 26 Sep 2020 01:05:33 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables('pytablesync2a40e43') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Sat, 26 Sep 2020 01:05:33 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table_fail_on_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table_fail_on_exist.yaml new file mode 100644 index 000000000000..0904cd823041 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_create_table_fail_on_exist.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: '{"TableName": "pytablesyncf46e1406"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:02:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesyncf46e1406","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:02:09 GMT + etag: + - W/"datetime'2020-10-01T01%3A02%3A09.9601415Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncf46e1406') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "pytablesyncf46e1406"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:02:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:10 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:bbd488e3-0381-11eb-999c-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:02:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:02:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:10 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncf46e1406') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:02:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_existing_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_existing_table.yaml new file mode 100644 index 000000000000..3ca9d91f82f0 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_existing_table.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "pytablesync7784168e"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:02:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:55 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesync7784168e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:02:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A02%3A56.7142407Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesync7784168e') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:02:56 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:56 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesync7784168e') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:02:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:02:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:02:57 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$filter=TableName%20eq%20%27pytablesync7784168e%27 + response: + body: + string: '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:02:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_non_existing_table_fail_not_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_non_existing_table_fail_not_exist.yaml new file mode 100644 index 000000000000..ca2304992028 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_delete_table_with_non_existing_table_fail_not_exist.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:03:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:12 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesync71e81e6f') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:e0e020d5-0381-11eb-847f-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:03:12 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_locale.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_locale.yaml new file mode 100644 index 000000000000..ae415e8b2d52 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_locale.yaml @@ -0,0 +1,80 @@ +interactions: +- request: + body: '{"TableName": "pytablesyncb3170bd8"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Mon, 28 Sep 2020 17:25:37 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 17:25:37 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesyncb3170bd8","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Mon, 28 Sep 2020 17:25:38 GMT + etag: + - W/"datetime'2020-09-28T17%3A25%3A38.7052039Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncb3170bd8') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Mon, 28 Sep 2020 17:25:39 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 17:25:39 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncb3170bd8') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 17:25:39 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables.yaml new file mode 100644 index 000000000000..fa21ed8895bb --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "pytablesync4450e78"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:03:27 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:27 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesync4450e78","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:03:28 GMT + etag: + - W/"datetime'2020-10-01T01%3A03%3A29.0975239Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesync4450e78') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:03:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:29 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"pytablesync4450e78"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:03:28 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:03:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:29 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesync4450e78') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:03:28 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_filter.yaml new file mode 100644 index 000000000000..451e61eb6e9b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_filter.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "pytablesyncd2361378"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:03:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:44 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytablesyncd2361378","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:03:46 GMT + etag: + - W/"datetime'2020-10-01T01%3A03%3A45.6963591Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncd2361378') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:03:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:45 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$filter=TableName%20eq%20%27pytablesyncd2361378%27 + response: + body: + string: '{"value":[{"TableName":"pytablesyncd2361378"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:03:46 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:03:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:03:45 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytablesyncd2361378') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:03:46 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_marker.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_marker.yaml new file mode 100644 index 000000000000..05cc3d4bfe51 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_marker.yaml @@ -0,0 +1,252 @@ +interactions: +- request: + body: '{"TableName": "listtable0d2351374"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable0d2351374","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:02 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A02.2532103Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable0d2351374') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable1d2351374"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable1d2351374","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:02 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A02.7328519Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable1d2351374') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable2d2351374"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable2d2351374","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:03 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A03.2141319Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable2d2351374') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable3d2351374"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:03 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable3d2351374","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:03 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A03.6808711Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable3d2351374') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$top=2 + response: + body: + string: '{"value":[{"TableName":"listtable0d2351374"},{"TableName":"listtable2d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:03 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-continuation-nexttablename: + - aI0BAO2PkXk= + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$top=2&NextTableName=aI0BAO2PkXk%3D + response: + body: + string: '{"value":[{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:03 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_num_results.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_num_results.yaml new file mode 100644 index 000000000000..1ffa1c38f443 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.test_query_tables_with_num_results.yaml @@ -0,0 +1,252 @@ +interactions: +- request: + body: '{"TableName": "listtable03a8d15b3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:19 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable03a8d15b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:20 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A20.4308487Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable03a8d15b3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable13a8d15b3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:20 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable13a8d15b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:21 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A20.9355783Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable13a8d15b3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable23a8d15b3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:21 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable23a8d15b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:21 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A21.5837703Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable23a8d15b3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "listtable33a8d15b3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:21 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"listtable33a8d15b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:22 GMT + etag: + - W/"datetime'2020-10-01T01%3A04%3A22.0518407Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('listtable33a8d15b3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:22 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$top=3 + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:22 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-continuation-nexttablename: + - aI0BANDrR1s= + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:22 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:04:22 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table.yaml new file mode 100644 index 000000000000..55e0e570a781 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "pytableasync62a510c0"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:37 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:37 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync62a510c0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:04:37 GMT + etag: W/"datetime'2020-10-01T01%3A04%3A37.9090951Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync62a510c0') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:04:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:38 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync62a510c0') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:04:37 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync62a510c0') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table_fail_on_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table_fail_on_exist.yaml new file mode 100644 index 000000000000..916264553b47 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_create_table_fail_on_exist.yaml @@ -0,0 +1,97 @@ +interactions: +- request: + body: '{"TableName": "pytableasync77541683"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:53 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync77541683","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:04:54 GMT + etag: W/"datetime'2020-10-01T01%3A04%3A54.0738567Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync77541683') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "pytableasync77541683"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:04:54 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:54 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:1da82ab5-0382-11eb-af7f-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:04:54 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:04:54 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:04:54 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync77541683') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:04:54 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync77541683') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_existing_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_existing_table.yaml new file mode 100644 index 000000000000..f5d5223f8dfb --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_existing_table.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "pytableasync958190b"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:05:39 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:05:39 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync958190b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:05:40 GMT + etag: W/"datetime'2020-10-01T01%3A05%3A40.2313735Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync958190b') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:05:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:05:40 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync958190b') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:05:40 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync958190b') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml new file mode 100644 index 000000000000..6f62a9f0a97f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_delete_table_with_non_existing_table_fail_not_exist.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:05:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:05:55 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync330320ec') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:42463c6c-0382-11eb-bb6c-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:05:55 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync330320ec') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables.yaml new file mode 100644 index 000000000000..610e7bc16eb1 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables.yaml @@ -0,0 +1,66 @@ +interactions: +- request: + body: '{"TableName": "pytableasync52bb107b"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:06:11 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:11 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync52bb107b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:06:12 GMT + etag: W/"datetime'2020-10-01T01%3A06%3A12.2408967Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync52bb107b') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:06:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:12 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:06:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_marker.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_marker.yaml new file mode 100644 index 000000000000..cb2307d78ea5 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_marker.yaml @@ -0,0 +1,138 @@ +interactions: +- request: + body: '{"TableName": "listtable038de1577"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:46:40 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:46:40 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:e32fed6b-f926-11ea-aefe-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:46:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostableszkkfu2f3a4lp.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable138de1577"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:46:40 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:46:40 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:e3802fff-f926-11ea-8de5-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:46:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostableszkkfu2f3a4lp.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable238de1577"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:46:40 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:46:40 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:e38cbff9-f926-11ea-b1bb-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:46:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostableszkkfu2f3a4lp.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable338de1577"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:46:41 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:46:41 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:e39bd298-f926-11ea-a38d-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:46:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostableszkkfu2f3a4lp.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_num_results.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_num_results.yaml new file mode 100644 index 000000000000..24b7f85060b4 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_list_tables_with_num_results.yaml @@ -0,0 +1,256 @@ +interactions: +- request: + body: '{"TableName": "listtable0ab3617b6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:47 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:47 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:2d1f53d7-f921-11ea-b15f-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:47 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable1ab3617b6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:2d73e245-f921-11ea-aecd-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable2ab3617b6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:2d82b4b6-f921-11ea-afef-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "listtable3ab3617b6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:2d90cac4-f921-11ea-81fc-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable338de1577"},{"TableName":"listtable3ab3617b6"},{"TableName":"listtable2ab3617b6"},{"TableName":"listtable038de1577"},{"TableName":"listtable238de1577"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable1ab3617b6"},{"TableName":"listtable0ab3617b6"},{"TableName":"listtable138de1577"}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables?$top=3 + response: + body: + string: '{"value":[{"TableName":"listtable338de1577"},{"TableName":"listtable3ab3617b6"},{"TableName":"listtable2ab3617b6"}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-continuation-nexttablename: kddZAIRYRSM= + status: + code: 200 + message: Ok + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables?$top=3 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables?$top=3&NextTableName=kddZAIRYRSM%3D + response: + body: + string: '{"value":[{"TableName":"listtable038de1577"},{"TableName":"listtable238de1577"},{"TableName":"pytableasync52bb107b"}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-continuation-nexttablename: kddZAOrwQ74= + status: + code: 200 + message: Ok + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables?$top=3&NextTableName=kddZAIRYRSM%3D +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:05:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:05:48 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables?$top=3&NextTableName=kddZAOrwQ74%3D + response: + body: + string: '{"value":[{"TableName":"listtable1ab3617b6"},{"TableName":"listtable0ab3617b6"},{"TableName":"listtable138de1577"}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:05:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables?$top=3&NextTableName=kddZAOrwQ74%3D +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_locale.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_locale.yaml new file mode 100644 index 000000000000..e981e336d714 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_locale.yaml @@ -0,0 +1,61 @@ +interactions: +- request: + body: '{"TableName": "pytableasync4390e55"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Mon, 28 Sep 2020 17:28:53 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 17:28:53 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync4390e55","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Mon, 28 Sep 2020 17:28:54 GMT + etag: W/"datetime'2020-09-28T17%3A28%3A54.1570055Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync4390e55') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestr2gpz4h5wetuu2.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Date: + - Mon, 28 Sep 2020 17:28:54 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 17:28:54 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync4390e55') + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 17:28:54 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestr2gpz4h5wetuu2.table.cosmos.azure.com/Tables('pytableasync4390e55') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_query_tables_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_query_tables_with_filter.yaml new file mode 100644 index 000000000000..df3dda0a0c6b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.test_query_tables_with_filter.yaml @@ -0,0 +1,92 @@ +interactions: +- request: + body: '{"TableName": "pytableasync502215f5"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:06:27 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:27 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"pytableasync502215f5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:06:27 GMT + etag: W/"datetime'2020-10-01T01%3A06%3A28.0888327Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync502215f5') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:06:28 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:28 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$filter=TableName%20eq%20'pytableasync502215f5' + response: + body: + string: '{"value":[{"TableName":"pytableasync502215f5"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:06:27 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables?$filter=TableName%20eq%20'pytableasync502215f5' +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:06:28 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:28 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync502215f5') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:06:28 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('pytableasync502215f5') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_binary_property_value.yaml index dd2b4854535b..7a093b2ec9ef 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_binary_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_binary_property_value.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:43 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:43 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable99fe1256"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable99fe1256"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable99fe1256') + - https://tablesteststorname.table.core.windows.net/Tables('uttable99fe1256') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -65,29 +65,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable99fe1256 + uri: https://tablesteststorname.table.core.windows.net/uttable99fe1256 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable99fe1256/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A27.7064558Z''\"","PartitionKey":"pk99fe1256","RowKey":"rk99fe1256","Timestamp":"2020-09-16T21:51:27.7064558Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable99fe1256/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A44.2254333Z''\"","PartitionKey":"pk99fe1256","RowKey":"rk99fe1256","Timestamp":"2020-10-01T01:06:44.2254333Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A27.7064558Z'" + - W/"datetime'2020-10-01T01%3A06%3A44.2254333Z'" location: - - https://storagename.table.core.windows.net/uttable99fe1256(PartitionKey='pk99fe1256',RowKey='rk99fe1256') + - https://tablesteststorname.table.core.windows.net/uttable99fe1256(PartitionKey='pk99fe1256',RowKey='rk99fe1256') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -111,27 +111,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable99fe1256(PartitionKey='pk99fe1256',RowKey='rk99fe1256') + uri: https://tablesteststorname.table.core.windows.net/uttable99fe1256(PartitionKey='pk99fe1256',RowKey='rk99fe1256') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable99fe1256/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A27.7064558Z''\"","PartitionKey":"pk99fe1256","RowKey":"rk99fe1256","Timestamp":"2020-09-16T21:51:27.7064558Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable99fe1256/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A44.2254333Z''\"","PartitionKey":"pk99fe1256","RowKey":"rk99fe1256","Timestamp":"2020-10-01T01:06:44.2254333Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A27.7064558Z'" + - W/"datetime'2020-10-01T01%3A06%3A44.2254333Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -155,15 +155,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable99fe1256') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable99fe1256') response: body: string: '' @@ -173,7 +173,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity.yaml index 0fbd4db5a2fb..6c61b5c436ef 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable12440ee0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable12440ee0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable12440ee0') + - https://tablesteststorname.table.core.windows.net/Tables('uttable12440ee0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable12440ee0 + uri: https://tablesteststorname.table.core.windows.net/uttable12440ee0 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable12440ee0/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A28.0232696Z''\"","PartitionKey":"pk12440ee0","RowKey":"rk12440ee0","Timestamp":"2020-09-16T21:51:28.0232696Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable12440ee0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A44.6298644Z''\"","PartitionKey":"pk12440ee0","RowKey":"rk12440ee0","Timestamp":"2020-10-01T01:06:44.6298644Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A28.0232696Z'" + - W/"datetime'2020-10-01T01%3A06%3A44.6298644Z'" location: - - https://storagename.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') + - https://tablesteststorname.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,17 +117,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') + uri: https://tablesteststorname.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') response: body: string: '' @@ -137,7 +137,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -159,26 +159,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') + uri: https://tablesteststorname.table.core.windows.net/uttable12440ee0(PartitionKey='pk12440ee0',RowKey='rk12440ee0') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:90775521-f002-0014-2673-8cab63000000\nTime:2020-09-16T21:51:28.1043262Z"}}}' + specified resource does not exist.\nRequestId:bfc95034-4002-001d-788f-97078b000000\nTime:2020-10-01T01:06:44.7309348Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -202,15 +202,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable12440ee0') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable12440ee0') response: body: string: '' @@ -220,7 +220,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_not_existing.yaml index c4a2124be4ee..e31d04a8aa3a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_not_existing.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef9b6145a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef9b6145a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablef9b6145a') + - https://tablesteststorname.table.core.windows.net/Tables('uttablef9b6145a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -61,28 +61,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttablef9b6145a(PartitionKey='pkf9b6145a',RowKey='rkf9b6145a') + uri: https://tablesteststorname.table.core.windows.net/uttablef9b6145a(PartitionKey='pkf9b6145a',RowKey='rkf9b6145a') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:77867f9f-0002-006c-1373-8cc3d4000000\nTime:2020-09-16T21:51:28.3394932Z"}}}' + specified resource does not exist.\nRequestId:9e59b5c2-5002-0009-1f8f-97c4ef000000\nTime:2020-10-01T01:06:45.1011694Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -106,15 +106,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablef9b6145a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablef9b6145a') response: body: string: '' @@ -124,7 +124,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_doesnt_match.yaml index 595241510be8..c1f7f87b790c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_doesnt_match.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablea99a1781"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablea99a1781"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablea99a1781') + - https://tablesteststorname.table.core.windows.net/Tables('uttablea99a1781') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablea99a1781 + uri: https://tablesteststorname.table.core.windows.net/uttablea99a1781 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablea99a1781/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A28.5782123Z''\"","PartitionKey":"pka99a1781","RowKey":"rka99a1781","Timestamp":"2020-09-16T21:51:28.5782123Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablea99a1781/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A45.4436477Z''\"","PartitionKey":"pka99a1781","RowKey":"rka99a1781","Timestamp":"2020-10-01T01:06:45.4436477Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A28.5782123Z'" + - W/"datetime'2020-10-01T01%3A06%3A45.4436477Z'" location: - - https://storagename.table.core.windows.net/uttablea99a1781(PartitionKey='pka99a1781',RowKey='rka99a1781') + - https://tablesteststorname.table.core.windows.net/uttablea99a1781(PartitionKey='pka99a1781',RowKey='rka99a1781') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,28 +117,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttablea99a1781(PartitionKey='pka99a1781',RowKey='rka99a1781') + uri: https://tablesteststorname.table.core.windows.net/uttablea99a1781(PartitionKey='pka99a1781',RowKey='rka99a1781') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:fefca9fb-1002-005a-6273-8c6e86000000\nTime:2020-09-16T21:51:28.6262461Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:0dc2f8a6-3002-0030-268f-97844b000000\nTime:2020-10-01T01:06:45.4996867Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -162,15 +162,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablea99a1781') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablea99a1781') response: body: string: '' @@ -180,7 +180,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:27 GMT + - Thu, 01 Oct 2020 01:06:44 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_matches.yaml index 21774f6441f9..e082601f15d3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_delete_entity_with_if_matches.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3801156d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3801156d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable3801156d') + - https://tablesteststorname.table.core.windows.net/Tables('uttable3801156d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable3801156d + uri: https://tablesteststorname.table.core.windows.net/uttable3801156d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3801156d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A28.8866373Z''\"","PartitionKey":"pk3801156d","RowKey":"rk3801156d","Timestamp":"2020-09-16T21:51:28.8866373Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3801156d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A45.8335596Z''\"","PartitionKey":"pk3801156d","RowKey":"rk3801156d","Timestamp":"2020-10-01T01:06:45.8335596Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:44 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A28.8866373Z'" + - W/"datetime'2020-10-01T01%3A06%3A45.8335596Z'" location: - - https://storagename.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') + - https://tablesteststorname.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,17 +117,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A28.8866373Z'" + - W/"datetime'2020-10-01T01%3A06%3A45.8335596Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') + uri: https://tablesteststorname.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') response: body: string: '' @@ -137,7 +137,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -159,26 +159,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') + uri: https://tablesteststorname.table.core.windows.net/uttable3801156d(PartitionKey='pk3801156d',RowKey='rk3801156d') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:01e77fcb-3002-0002-3673-8c6afd000000\nTime:2020-09-16T21:51:28.9576867Z"}}}' + specified resource does not exist.\nRequestId:d1e9d29a-c002-0007-4a8f-9728e4000000\nTime:2020-10-01T01:06:45.9406361Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -202,15 +202,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3801156d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3801156d') response: body: string: '' @@ -220,7 +220,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_empty_and_spaces_property_value.yaml index 28715ce621bc..58975b58ac32 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_empty_and_spaces_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_empty_and_spaces_property_value.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:45 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable66111670"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable66111670"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable66111670') + - https://tablesteststorname.table.core.windows.net/Tables('uttable66111670') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -73,29 +73,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable66111670 + uri: https://tablesteststorname.table.core.windows.net/uttable66111670 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable66111670/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.2158247Z''\"","PartitionKey":"pk66111670","RowKey":"rk66111670","Timestamp":"2020-09-16T21:51:29.2158247Z","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesOnlyUnicode":" ","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","SpacesBeforeUnicode":" Text","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesBeforeAndAfterUnicode":" Text "}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable66111670/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A46.2658863Z''\"","PartitionKey":"pk66111670","RowKey":"rk66111670","Timestamp":"2020-10-01T01:06:46.2658863Z","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesOnlyUnicode":" ","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","SpacesBeforeUnicode":" Text","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesBeforeAndAfterUnicode":" Text "}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.2158247Z'" + - W/"datetime'2020-10-01T01%3A06%3A46.2658863Z'" location: - - https://storagename.table.core.windows.net/uttable66111670(PartitionKey='pk66111670',RowKey='rk66111670') + - https://tablesteststorname.table.core.windows.net/uttable66111670(PartitionKey='pk66111670',RowKey='rk66111670') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -119,27 +119,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable66111670(PartitionKey='pk66111670',RowKey='rk66111670') + uri: https://tablesteststorname.table.core.windows.net/uttable66111670(PartitionKey='pk66111670',RowKey='rk66111670') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable66111670/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.2158247Z''\"","PartitionKey":"pk66111670","RowKey":"rk66111670","Timestamp":"2020-09-16T21:51:29.2158247Z","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesOnlyUnicode":" ","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","SpacesBeforeUnicode":" Text","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesBeforeAndAfterUnicode":" Text "}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable66111670/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A46.2658863Z''\"","PartitionKey":"pk66111670","RowKey":"rk66111670","Timestamp":"2020-10-01T01:06:46.2658863Z","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesOnlyUnicode":" ","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","SpacesBeforeUnicode":" Text","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesBeforeAndAfterUnicode":" Text "}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.2158247Z'" + - W/"datetime'2020-10-01T01%3A06%3A46.2658863Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -163,15 +163,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable66111670') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable66111670') response: body: string: '' @@ -181,7 +181,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity.yaml index 0196be6b4804..33fe97a759b7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7730dad"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7730dad"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee7730dad') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee7730dad') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee7730dad + uri: https://tablesteststorname.table.core.windows.net/uttablee7730dad response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7730dad/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.5119084Z''\"","PartitionKey":"pke7730dad","RowKey":"rke7730dad","Timestamp":"2020-09-16T21:51:29.5119084Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7730dad/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A46.6697888Z''\"","PartitionKey":"pke7730dad","RowKey":"rke7730dad","Timestamp":"2020-10-01T01:06:46.6697888Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.5119084Z'" + - W/"datetime'2020-10-01T01%3A06%3A46.6697888Z'" location: - - https://storagename.table.core.windows.net/uttablee7730dad(PartitionKey='pke7730dad',RowKey='rke7730dad') + - https://tablesteststorname.table.core.windows.net/uttablee7730dad(PartitionKey='pke7730dad',RowKey='rke7730dad') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee7730dad(PartitionKey='pke7730dad',RowKey='rke7730dad') + uri: https://tablesteststorname.table.core.windows.net/uttablee7730dad(PartitionKey='pke7730dad',RowKey='rke7730dad') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7730dad/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.5119084Z''\"","PartitionKey":"pke7730dad","RowKey":"rke7730dad","Timestamp":"2020-09-16T21:51:29.5119084Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7730dad/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A46.6697888Z''\"","PartitionKey":"pke7730dad","RowKey":"rke7730dad","Timestamp":"2020-10-01T01:06:46.6697888Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.5119084Z'" + - W/"datetime'2020-10-01T01%3A06%3A46.6697888Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee7730dad') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee7730dad') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_full_metadata.yaml index 6a783583e58b..bc4211c061ee 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_full_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled1cb135f"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled1cb135f"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT location: - - https://storagename.table.core.windows.net/Tables('uttabled1cb135f') + - https://tablesteststorname.table.core.windows.net/Tables('uttabled1cb135f') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttabled1cb135f + uri: https://tablesteststorname.table.core.windows.net/uttabled1cb135f response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttabled1cb135f/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.7827126Z''\"","PartitionKey":"pkd1cb135f","RowKey":"rkd1cb135f","Timestamp":"2020-09-16T21:51:29.7827126Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttabled1cb135f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A47.0667958Z''\"","PartitionKey":"pkd1cb135f","RowKey":"rkd1cb135f","Timestamp":"2020-10-01T01:06:47.0667958Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:28 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.7827126Z'" + - W/"datetime'2020-10-01T01%3A06%3A47.0667958Z'" location: - - https://storagename.table.core.windows.net/uttabled1cb135f(PartitionKey='pkd1cb135f',RowKey='rkd1cb135f') + - https://tablesteststorname.table.core.windows.net/uttabled1cb135f(PartitionKey='pkd1cb135f',RowKey='rkd1cb135f') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -113,29 +113,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=fullmetadata x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttabled1cb135f(PartitionKey='pkd1cb135f',RowKey='rkd1cb135f') + uri: https://tablesteststorname.table.core.windows.net/uttabled1cb135f(PartitionKey='pkd1cb135f',RowKey='rkd1cb135f') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttabled1cb135f/@Element","odata.type":"storagename.uttabled1cb135f","odata.id":"https://storagename.table.core.windows.net/uttabled1cb135f(PartitionKey=''pkd1cb135f'',RowKey=''rkd1cb135f'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A29.7827126Z''\"","odata.editLink":"uttabled1cb135f(PartitionKey=''pkd1cb135f'',RowKey=''rkd1cb135f'')","PartitionKey":"pkd1cb135f","RowKey":"rkd1cb135f","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:29.7827126Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttabled1cb135f/@Element","odata.type":"tablesteststorname.uttabled1cb135f","odata.id":"https://tablesteststorname.table.core.windows.net/uttabled1cb135f(PartitionKey=''pkd1cb135f'',RowKey=''rkd1cb135f'')","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A47.0667958Z''\"","odata.editLink":"uttabled1cb135f(PartitionKey=''pkd1cb135f'',RowKey=''rkd1cb135f'')","PartitionKey":"pkd1cb135f","RowKey":"rkd1cb135f","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:06:47.0667958Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=fullmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A29.7827126Z'" + - W/"datetime'2020-10-01T01%3A06%3A47.0667958Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabled1cb135f') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabled1cb135f') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:46 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_if_match.yaml index c02bfe1799fe..0702c11bc016 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_if_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_if_match.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable74691147"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable74691147"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable74691147') + - https://tablesteststorname.table.core.windows.net/Tables('uttable74691147') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable74691147 + uri: https://tablesteststorname.table.core.windows.net/uttable74691147 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable74691147/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A30.0673042Z''\"","PartitionKey":"pk74691147","RowKey":"rk74691147","Timestamp":"2020-09-16T21:51:30.0673042Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable74691147/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A47.4830613Z''\"","PartitionKey":"pk74691147","RowKey":"rk74691147","Timestamp":"2020-10-01T01:06:47.4830613Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A30.0673042Z'" + - W/"datetime'2020-10-01T01%3A06%3A47.4830613Z'" location: - - https://storagename.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') + - https://tablesteststorname.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') + uri: https://tablesteststorname.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable74691147/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A30.0673042Z''\"","PartitionKey":"pk74691147","RowKey":"rk74691147","Timestamp":"2020-09-16T21:51:30.0673042Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable74691147/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A47.4830613Z''\"","PartitionKey":"pk74691147","RowKey":"rk74691147","Timestamp":"2020-10-01T01:06:47.4830613Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A30.0673042Z'" + - W/"datetime'2020-10-01T01%3A06%3A47.4830613Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -161,17 +161,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A30.0673042Z'" + - W/"datetime'2020-10-01T01%3A06%3A47.4830613Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') + uri: https://tablesteststorname.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') response: body: string: '' @@ -181,7 +181,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -203,26 +203,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') + uri: https://tablesteststorname.table.core.windows.net/uttable74691147(PartitionKey='pk74691147',RowKey='rk74691147') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:381edf91-8002-0039-4b73-8c28a3000000\nTime:2020-09-16T21:51:30.1713773Z"}}}' + specified resource does not exist.\nRequestId:96b01ae5-1002-002c-018f-975c5c000000\nTime:2020-10-01T01:06:47.6311652Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -246,15 +246,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:30 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable74691147') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable74691147') response: body: string: '' @@ -264,7 +264,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:29 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_no_metadata.yaml index d55a20982b3b..56f5bfc0de77 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_no_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableab3d1289"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableab3d1289"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT location: - - https://storagename.table.core.windows.net/Tables('uttableab3d1289') + - https://tablesteststorname.table.core.windows.net/Tables('uttableab3d1289') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableab3d1289 + uri: https://tablesteststorname.table.core.windows.net/uttableab3d1289 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableab3d1289/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A32.7980154Z''\"","PartitionKey":"pkab3d1289","RowKey":"rkab3d1289","Timestamp":"2020-09-16T21:51:32.7980154Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableab3d1289/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A48.0059204Z''\"","PartitionKey":"pkab3d1289","RowKey":"rkab3d1289","Timestamp":"2020-10-01T01:06:48.0059204Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A32.7980154Z'" + - W/"datetime'2020-10-01T01%3A06%3A48.0059204Z'" location: - - https://storagename.table.core.windows.net/uttableab3d1289(PartitionKey='pkab3d1289',RowKey='rkab3d1289') + - https://tablesteststorname.table.core.windows.net/uttableab3d1289(PartitionKey='pkab3d1289',RowKey='rkab3d1289') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -113,29 +113,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=nometadata x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttableab3d1289(PartitionKey='pkab3d1289',RowKey='rkab3d1289') + uri: https://tablesteststorname.table.core.windows.net/uttableab3d1289(PartitionKey='pkab3d1289',RowKey='rkab3d1289') response: body: - string: '{"PartitionKey":"pkab3d1289","RowKey":"rkab3d1289","Timestamp":"2020-09-16T21:51:32.7980154Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pkab3d1289","RowKey":"rkab3d1289","Timestamp":"2020-10-01T01:06:48.0059204Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=nometadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A32.7980154Z'" + - W/"datetime'2020-10-01T01%3A06%3A48.0059204Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableab3d1289') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableab3d1289') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_not_existing.yaml index c98b1c408351..4e518c8795a5 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_not_existing.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebf5d1327"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebf5d1327"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablebf5d1327') + - https://tablesteststorname.table.core.windows.net/Tables('uttablebf5d1327') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,26 +59,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablebf5d1327(PartitionKey='pkbf5d1327',RowKey='rkbf5d1327') + uri: https://tablesteststorname.table.core.windows.net/uttablebf5d1327(PartitionKey='pkbf5d1327',RowKey='rkbf5d1327') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:073f3e3b-a002-006a-7973-8c34ac000000\nTime:2020-09-16T21:51:33.0745723Z"}}}' + specified resource does not exist.\nRequestId:15399ed1-4002-0016-248f-971fff000000\nTime:2020-10-01T01:06:48.5724621Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -102,15 +102,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablebf5d1327') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablebf5d1327') response: body: string: '' @@ -120,7 +120,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:47 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_hook.yaml index 9b7f73203157..536d47babd77 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_hook.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable871e11d8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable871e11d8"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable871e11d8') + - https://tablesteststorname.table.core.windows.net/Tables('uttable871e11d8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable871e11d8 + uri: https://tablesteststorname.table.core.windows.net/uttable871e11d8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable871e11d8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A33.3258258Z''\"","PartitionKey":"pk871e11d8","RowKey":"rk871e11d8","Timestamp":"2020-09-16T21:51:33.3258258Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable871e11d8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A48.9529784Z''\"","PartitionKey":"pk871e11d8","RowKey":"rk871e11d8","Timestamp":"2020-10-01T01:06:48.9529784Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A33.3258258Z'" + - W/"datetime'2020-10-01T01%3A06%3A48.9529784Z'" location: - - https://storagename.table.core.windows.net/uttable871e11d8(PartitionKey='pk871e11d8',RowKey='rk871e11d8') + - https://tablesteststorname.table.core.windows.net/uttable871e11d8(PartitionKey='pk871e11d8',RowKey='rk871e11d8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable871e11d8(PartitionKey='pk871e11d8',RowKey='rk871e11d8') + uri: https://tablesteststorname.table.core.windows.net/uttable871e11d8(PartitionKey='pk871e11d8',RowKey='rk871e11d8') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable871e11d8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A33.3258258Z''\"","PartitionKey":"pk871e11d8","RowKey":"rk871e11d8","Timestamp":"2020-09-16T21:51:33.3258258Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable871e11d8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A48.9529784Z''\"","PartitionKey":"pk871e11d8","RowKey":"rk871e11d8","Timestamp":"2020-10-01T01:06:48.9529784Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A33.3258258Z'" + - W/"datetime'2020-10-01T01%3A06%3A48.9529784Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable871e11d8') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable871e11d8') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:32 GMT + - Thu, 01 Oct 2020 01:06:48 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_special_doubles.yaml index a9ac6aa4a061..b0a17e388619 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_special_doubles.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_get_entity_with_special_doubles.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable65ff1655"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable65ff1655"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:48 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable65ff1655') + - https://tablesteststorname.table.core.windows.net/Tables('uttable65ff1655') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -66,29 +66,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable65ff1655 + uri: https://tablesteststorname.table.core.windows.net/uttable65ff1655 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable65ff1655/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A33.5903588Z''\"","PartitionKey":"pk65ff1655","RowKey":"rk65ff1655","Timestamp":"2020-09-16T21:51:33.5903588Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable65ff1655/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A49.3555683Z''\"","PartitionKey":"pk65ff1655","RowKey":"rk65ff1655","Timestamp":"2020-10-01T01:06:49.3555683Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A33.5903588Z'" + - W/"datetime'2020-10-01T01%3A06%3A49.3555683Z'" location: - - https://storagename.table.core.windows.net/uttable65ff1655(PartitionKey='pk65ff1655',RowKey='rk65ff1655') + - https://tablesteststorname.table.core.windows.net/uttable65ff1655(PartitionKey='pk65ff1655',RowKey='rk65ff1655') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -112,27 +112,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable65ff1655(PartitionKey='pk65ff1655',RowKey='rk65ff1655') + uri: https://tablesteststorname.table.core.windows.net/uttable65ff1655(PartitionKey='pk65ff1655',RowKey='rk65ff1655') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable65ff1655/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A33.5903588Z''\"","PartitionKey":"pk65ff1655","RowKey":"rk65ff1655","Timestamp":"2020-09-16T21:51:33.5903588Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable65ff1655/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A49.3555683Z''\"","PartitionKey":"pk65ff1655","RowKey":"rk65ff1655","Timestamp":"2020-10-01T01:06:49.3555683Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A33.5903588Z'" + - W/"datetime'2020-10-01T01%3A06%3A49.3555683Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -156,15 +156,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable65ff1655') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable65ff1655') response: body: string: '' @@ -174,7 +174,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_conflict.yaml index d9b023a0d9ac..ad90c782aec2 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_conflict.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_conflict.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableace512b3"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableace512b3"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT location: - - https://storagename.table.core.windows.net/Tables('uttableace512b3') + - https://tablesteststorname.table.core.windows.net/Tables('uttableace512b3') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableace512b3 + uri: https://tablesteststorname.table.core.windows.net/uttableace512b3 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableace512b3/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A33.8473288Z''\"","PartitionKey":"pkace512b3","RowKey":"rkace512b3","Timestamp":"2020-09-16T21:51:33.8473288Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableace512b3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A49.7906684Z''\"","PartitionKey":"pkace512b3","RowKey":"rkace512b3","Timestamp":"2020-10-01T01:06:49.7906684Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A33.8473288Z'" + - W/"datetime'2020-10-01T01%3A06%3A49.7906684Z'" location: - - https://storagename.table.core.windows.net/uttableace512b3(PartitionKey='pkace512b3',RowKey='rkace512b3') + - https://tablesteststorname.table.core.windows.net/uttableace512b3(PartitionKey='pkace512b3',RowKey='rkace512b3') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -125,26 +125,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableace512b3 + uri: https://tablesteststorname.table.core.windows.net/uttableace512b3 response: body: string: '{"odata.error":{"code":"EntityAlreadyExists","message":{"lang":"en-US","value":"The - specified entity already exists.\nRequestId:39b43f45-c002-0071-3b73-8c1a3e000000\nTime:2020-09-16T21:51:33.8873573Z"}}}' + specified entity already exists.\nRequestId:989c0698-9002-0072-138f-97af5f000000\nTime:2020-10-01T01:06:49.8817309Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -168,15 +168,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableace512b3') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableace512b3') response: body: string: '' @@ -186,7 +186,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_dictionary.yaml index 31e2c8172ed1..11ac46fddf3d 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_dictionary.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_dictionary.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:49 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled3851397"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled3851397"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT location: - - https://storagename.table.core.windows.net/Tables('uttabled3851397') + - https://tablesteststorname.table.core.windows.net/Tables('uttabled3851397') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttabled3851397 + uri: https://tablesteststorname.table.core.windows.net/uttabled3851397 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttabled3851397/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A34.1255264Z''\"","PartitionKey":"pkd3851397","RowKey":"rkd3851397","Timestamp":"2020-09-16T21:51:34.1255264Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttabled3851397/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A50.2907195Z''\"","PartitionKey":"pkd3851397","RowKey":"rkd3851397","Timestamp":"2020-10-01T01:06:50.2907195Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A34.1255264Z'" + - W/"datetime'2020-10-01T01%3A06%3A50.2907195Z'" location: - - https://storagename.table.core.windows.net/uttabled3851397(PartitionKey='pkd3851397',RowKey='rkd3851397') + - https://tablesteststorname.table.core.windows.net/uttabled3851397(PartitionKey='pkd3851397',RowKey='rkd3851397') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,15 +115,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabled3851397') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabled3851397') response: body: string: '' @@ -133,7 +133,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_pk.yaml index 43a61fa38cba..e906ef42f893 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_pk.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d1615c0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d1615c0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable3d1615c0') + - https://tablesteststorname.table.core.windows.net/Tables('uttable3d1615c0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -64,29 +64,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable3d1615c0 + uri: https://tablesteststorname.table.core.windows.net/uttable3d1615c0 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3d1615c0/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A34.3842494Z''\"","PartitionKey":"","RowKey":"rk","Timestamp":"2020-09-16T21:51:34.3842494Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3d1615c0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A50.6536463Z''\"","PartitionKey":"","RowKey":"rk","Timestamp":"2020-10-01T01:06:50.6536463Z"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A34.3842494Z'" + - W/"datetime'2020-10-01T01%3A06%3A50.6536463Z'" location: - - https://storagename.table.core.windows.net/uttable3d1615c0(PartitionKey='',RowKey='rk') + - https://tablesteststorname.table.core.windows.net/uttable3d1615c0(PartitionKey='',RowKey='rk') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -110,15 +110,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3d1615c0') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3d1615c0') response: body: string: '' @@ -128,7 +128,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:33 GMT + - Thu, 01 Oct 2020 01:06:50 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_rk.yaml index 4b9cf52f123b..5ce534358d77 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_empty_string_rk.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d1a15c2"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d1a15c2"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable3d1a15c2') + - https://tablesteststorname.table.core.windows.net/Tables('uttable3d1a15c2') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -64,29 +64,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable3d1a15c2 + uri: https://tablesteststorname.table.core.windows.net/uttable3d1a15c2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3d1a15c2/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A34.6496319Z''\"","PartitionKey":"pk","RowKey":"","Timestamp":"2020-09-16T21:51:34.6496319Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3d1a15c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A51.0441716Z''\"","PartitionKey":"pk","RowKey":"","Timestamp":"2020-10-01T01:06:51.0441716Z"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A34.6496319Z'" + - W/"datetime'2020-10-01T01%3A06%3A51.0441716Z'" location: - - https://storagename.table.core.windows.net/uttable3d1a15c2(PartitionKey='pk',RowKey='') + - https://tablesteststorname.table.core.windows.net/uttable3d1a15c2(PartitionKey='pk',RowKey='') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -110,15 +110,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3d1a15c2') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3d1a15c2') response: body: string: '' @@ -128,7 +128,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_pk.yaml index 58153fa8d063..ac703275dfc5 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_pk.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled41f1395"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled41f1395"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT location: - - https://storagename.table.core.windows.net/Tables('uttabled41f1395') + - https://tablesteststorname.table.core.windows.net/Tables('uttabled41f1395') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabled41f1395') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabled41f1395') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_rk.yaml index 350fa42c8237..2c32f5eb353a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_missing_rk.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled4231397"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled4231397"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:50 GMT location: - - https://storagename.table.core.windows.net/Tables('uttabled4231397') + - https://tablesteststorname.table.core.windows.net/Tables('uttabled4231397') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabled4231397') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabled4231397') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:50 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_property_name_too_long.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_property_name_too_long.yaml index 77594fdb720e..abe43c54116a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_property_name_too_long.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_property_name_too_long.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee10d18a6"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee10d18a6"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee10d18a6') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee10d18a6') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -66,26 +66,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee10d18a6 + uri: https://tablesteststorname.table.core.windows.net/uttablee10d18a6 response: body: string: '{"odata.error":{"code":"PropertyNameTooLong","message":{"lang":"en-US","value":"The - property name exceeds the maximum allowed length (255).\nRequestId:e4752103-9002-0026-4c73-8cf3b3000000\nTime:2020-09-16T21:51:35.3483393Z"}}}' + property name exceeds the maximum allowed length (255).\nRequestId:c27d4376-0002-0077-3d8f-975b20000000\nTime:2020-10-01T01:06:52.1079376Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -109,15 +109,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee10d18a6') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee10d18a6') response: body: string: '' @@ -127,7 +127,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:34 GMT + - Thu, 01 Oct 2020 01:06:51 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_too_many_properties.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_too_many_properties.yaml index 5c85a45cfa44..982e925b1b8d 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_too_many_properties.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_too_many_properties.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable97d21773"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable97d21773"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable97d21773') + - https://tablesteststorname.table.core.windows.net/Tables('uttable97d21773') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -233,27 +233,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable97d21773 + uri: https://tablesteststorname.table.core.windows.net/uttable97d21773 response: body: string: '{"odata.error":{"code":"TooManyProperties","message":{"lang":"en-US","value":"The entity contains more properties than allowed. Each entity can include up to - 252 properties to store data. Each entity also has 3 system properties.\nRequestId:39a132ab-6002-005e-0573-8c9b04000000\nTime:2020-09-16T21:51:35.6108862Z"}}}' + 252 properties to store data. Each entity also has 3 system properties.\nRequestId:f42526c1-6002-0023-0a8f-97b1aa000000\nTime:2020-10-01T01:06:52.4782823Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -277,15 +277,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable97d21773') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable97d21773') response: body: string: '' @@ -295,7 +295,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_enums.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_enums.yaml index 6e761226fec6..3e428f6e2c97 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_enums.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_enums.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled43513a4"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled43513a4"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT location: - - https://storagename.table.core.windows.net/Tables('uttabled43513a4') + - https://tablesteststorname.table.core.windows.net/Tables('uttabled43513a4') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -66,29 +66,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttabled43513a4 + uri: https://tablesteststorname.table.core.windows.net/uttabled43513a4 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttabled43513a4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A35.8554492Z''\"","PartitionKey":"pkd43513a4","RowKey":"rkd43513a4","Timestamp":"2020-09-16T21:51:35.8554492Z","test1":"Color.YELLOW","test2":"Color.BLUE","test3":"Color.RED"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttabled43513a4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A52.8449695Z''\"","PartitionKey":"pkd43513a4","RowKey":"rkd43513a4","Timestamp":"2020-10-01T01:06:52.8449695Z","test1":"Color.YELLOW","test2":"Color.BLUE","test3":"Color.RED"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A35.8554492Z'" + - W/"datetime'2020-10-01T01%3A06%3A52.8449695Z'" location: - - https://storagename.table.core.windows.net/uttabled43513a4(PartitionKey='pkd43513a4',RowKey='rkd43513a4') + - https://tablesteststorname.table.core.windows.net/uttabled43513a4(PartitionKey='pkd43513a4',RowKey='rkd43513a4') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -112,27 +112,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttabled43513a4(PartitionKey='pkd43513a4',RowKey='rkd43513a4') + uri: https://tablesteststorname.table.core.windows.net/uttabled43513a4(PartitionKey='pkd43513a4',RowKey='rkd43513a4') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttabled43513a4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A35.8554492Z''\"","PartitionKey":"pkd43513a4","RowKey":"rkd43513a4","Timestamp":"2020-09-16T21:51:35.8554492Z","test1":"Color.YELLOW","test2":"Color.BLUE","test3":"Color.RED"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttabled43513a4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A52.8449695Z''\"","PartitionKey":"pkd43513a4","RowKey":"rkd43513a4","Timestamp":"2020-10-01T01:06:52.8449695Z","test1":"Color.YELLOW","test2":"Color.BLUE","test3":"Color.RED"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:51 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A35.8554492Z'" + - W/"datetime'2020-10-01T01%3A06%3A52.8449695Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -156,15 +156,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabled43513a4') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabled43513a4') response: body: string: '' @@ -174,7 +174,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_full_metadata.yaml index 93316f4ddb0c..11296e27c677 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_full_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7f6816cf"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7f6816cf"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable7f6816cf') + - https://tablesteststorname.table.core.windows.net/Tables('uttable7f6816cf') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable7f6816cf + uri: https://tablesteststorname.table.core.windows.net/uttable7f6816cf response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable7f6816cf/@Element","odata.type":"storagename.uttable7f6816cf","odata.id":"https://storagename.table.core.windows.net/uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A36.1508148Z''\"","odata.editLink":"uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","PartitionKey":"pk7f6816cf","RowKey":"rk7f6816cf","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:36.1508148Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable7f6816cf/@Element","odata.type":"tablesteststorname.uttable7f6816cf","odata.id":"https://tablesteststorname.table.core.windows.net/uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A53.2589265Z''\"","odata.editLink":"uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","PartitionKey":"pk7f6816cf","RowKey":"rk7f6816cf","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:06:53.2589265Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=fullmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A36.1508148Z'" + - W/"datetime'2020-10-01T01%3A06%3A53.2589265Z'" location: - - https://storagename.table.core.windows.net/uttable7f6816cf(PartitionKey='pk7f6816cf',RowKey='rk7f6816cf') + - https://tablesteststorname.table.core.windows.net/uttable7f6816cf(PartitionKey='pk7f6816cf',RowKey='rk7f6816cf') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable7f6816cf(PartitionKey='pk7f6816cf',RowKey='rk7f6816cf') + uri: https://tablesteststorname.table.core.windows.net/uttable7f6816cf(PartitionKey='pk7f6816cf',RowKey='rk7f6816cf') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable7f6816cf/@Element","odata.type":"storagename.uttable7f6816cf","odata.id":"https://storagename.table.core.windows.net/uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A36.1508148Z''\"","odata.editLink":"uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","PartitionKey":"pk7f6816cf","RowKey":"rk7f6816cf","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:36.1508148Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable7f6816cf/@Element","odata.type":"tablesteststorname.uttable7f6816cf","odata.id":"https://tablesteststorname.table.core.windows.net/uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A53.2589265Z''\"","odata.editLink":"uttable7f6816cf(PartitionKey=''pk7f6816cf'',RowKey=''rk7f6816cf'')","PartitionKey":"pk7f6816cf","RowKey":"rk7f6816cf","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:06:53.2589265Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=fullmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:35 GMT + - Thu, 01 Oct 2020 01:06:52 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A36.1508148Z'" + - W/"datetime'2020-10-01T01%3A06%3A53.2589265Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7f6816cf') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7f6816cf') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:52 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_hook.yaml index 967f00faba50..7a314c4b1e11 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_hook.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec092132d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec092132d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:52 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablec092132d') + - https://tablesteststorname.table.core.windows.net/Tables('uttablec092132d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablec092132d + uri: https://tablesteststorname.table.core.windows.net/uttablec092132d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec092132d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A36.4908862Z''\"","PartitionKey":"pkc092132d","RowKey":"rkc092132d","Timestamp":"2020-09-16T21:51:36.4908862Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec092132d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A53.8054245Z''\"","PartitionKey":"pkc092132d","RowKey":"rkc092132d","Timestamp":"2020-10-01T01:06:53.8054245Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:52 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A36.4908862Z'" + - W/"datetime'2020-10-01T01%3A06%3A53.8054245Z'" location: - - https://storagename.table.core.windows.net/uttablec092132d(PartitionKey='pkc092132d',RowKey='rkc092132d') + - https://tablesteststorname.table.core.windows.net/uttablec092132d(PartitionKey='pkc092132d',RowKey='rkc092132d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablec092132d(PartitionKey='pkc092132d',RowKey='rkc092132d') + uri: https://tablesteststorname.table.core.windows.net/uttablec092132d(PartitionKey='pkc092132d',RowKey='rkc092132d') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec092132d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A36.4908862Z''\"","PartitionKey":"pkc092132d","RowKey":"rkc092132d","Timestamp":"2020-09-16T21:51:36.4908862Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec092132d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A53.8054245Z''\"","PartitionKey":"pkc092132d","RowKey":"rkc092132d","Timestamp":"2020-10-01T01:06:53.8054245Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:52 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A36.4908862Z'" + - W/"datetime'2020-10-01T01%3A06%3A53.8054245Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec092132d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec092132d') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:52 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int32_value_throws.yaml index d536ff16c165..99aeee7c502f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int32_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int32_value_throws.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable8fac1b18"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable8fac1b18"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable8fac1b18') + - https://tablesteststorname.table.core.windows.net/Tables('uttable8fac1b18') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable8fac1b18') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable8fac1b18') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:53 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int64_value_throws.yaml index 243b8b04f8d5..18b4531a23c8 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int64_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_large_int64_value_throws.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable8ff51b1d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable8ff51b1d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:54 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable8ff51b1d') + - https://tablesteststorname.table.core.windows.net/Tables('uttable8ff51b1d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -59,15 +59,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable8ff51b1d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable8ff51b1d') response: body: string: '' @@ -77,7 +77,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:54 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_no_metadata.yaml index 69dae84174c8..6110d95b9cc1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_entity_with_no_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable51fa15f9"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable51fa15f9"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable51fa15f9') + - https://tablesteststorname.table.core.windows.net/Tables('uttable51fa15f9') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable51fa15f9 + uri: https://tablesteststorname.table.core.windows.net/uttable51fa15f9 response: body: - string: '{"PartitionKey":"pk51fa15f9","RowKey":"rk51fa15f9","Timestamp":"2020-09-16T21:51:37.3611769Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pk51fa15f9","RowKey":"rk51fa15f9","Timestamp":"2020-10-01T01:06:54.7844296Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=nometadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.3611769Z'" + - W/"datetime'2020-10-01T01%3A06%3A54.7844296Z'" location: - - https://storagename.table.core.windows.net/uttable51fa15f9(PartitionKey='pk51fa15f9',RowKey='rk51fa15f9') + - https://tablesteststorname.table.core.windows.net/uttable51fa15f9(PartitionKey='pk51fa15f9',RowKey='rk51fa15f9') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable51fa15f9(PartitionKey='pk51fa15f9',RowKey='rk51fa15f9') + uri: https://tablesteststorname.table.core.windows.net/uttable51fa15f9(PartitionKey='pk51fa15f9',RowKey='rk51fa15f9') response: body: - string: '{"PartitionKey":"pk51fa15f9","RowKey":"rk51fa15f9","Timestamp":"2020-09-16T21:51:37.3611769Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pk51fa15f9","RowKey":"rk51fa15f9","Timestamp":"2020-10-01T01:06:54.7844296Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=nometadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.3611769Z'" + - W/"datetime'2020-10-01T01%3A06%3A54.7844296Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable51fa15f9') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable51fa15f9') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_etag.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_etag.yaml index 8e583a90a483..810b54fe5308 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_etag.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_etag.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:54 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef5f40e06"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef5f40e06"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:55 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablef5f40e06') + - https://tablesteststorname.table.core.windows.net/Tables('uttablef5f40e06') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablef5f40e06 + uri: https://tablesteststorname.table.core.windows.net/uttablef5f40e06 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef5f40e06/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A37.6536529Z''\"","PartitionKey":"pkf5f40e06","RowKey":"rkf5f40e06","Timestamp":"2020-09-16T21:51:37.6536529Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef5f40e06/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A55.1957733Z''\"","PartitionKey":"pkf5f40e06","RowKey":"rkf5f40e06","Timestamp":"2020-10-01T01:06:55.1957733Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:55 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.6536529Z'" + - W/"datetime'2020-10-01T01%3A06%3A55.1957733Z'" location: - - https://storagename.table.core.windows.net/uttablef5f40e06(PartitionKey='pkf5f40e06',RowKey='rkf5f40e06') + - https://tablesteststorname.table.core.windows.net/uttablef5f40e06(PartitionKey='pkf5f40e06',RowKey='rkf5f40e06') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablef5f40e06(PartitionKey='pkf5f40e06',RowKey='rkf5f40e06') + uri: https://tablesteststorname.table.core.windows.net/uttablef5f40e06(PartitionKey='pkf5f40e06',RowKey='rkf5f40e06') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef5f40e06/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A37.6536529Z''\"","PartitionKey":"pkf5f40e06","RowKey":"rkf5f40e06","Timestamp":"2020-09-16T21:51:37.6536529Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef5f40e06/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A55.1957733Z''\"","PartitionKey":"pkf5f40e06","RowKey":"rkf5f40e06","Timestamp":"2020-10-01T01:06:55.1957733Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:36 GMT + - Thu, 01 Oct 2020 01:06:55 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.6536529Z'" + - W/"datetime'2020-10-01T01%3A06%3A55.1957733Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -147,4 +147,44 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:06:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:06:55 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablef5f40e06') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:06:55 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_existing_entity.yaml index 75685280fbad..068244450e5f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_existing_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable95761b92"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable95761b92"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable95761b92') + - https://tablesteststorname.table.core.windows.net/Tables('uttable95761b92') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable95761b92 + uri: https://tablesteststorname.table.core.windows.net/uttable95761b92 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable95761b92/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A37.8946136Z''\"","PartitionKey":"pk95761b92","RowKey":"rk95761b92","Timestamp":"2020-09-16T21:51:37.8946136Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable95761b92/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A55.6089223Z''\"","PartitionKey":"pk95761b92","RowKey":"rk95761b92","Timestamp":"2020-10-01T01:06:55.6089223Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.8946136Z'" + - W/"datetime'2020-10-01T01%3A06%3A55.6089223Z'" location: - - https://storagename.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') + - https://tablesteststorname.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,15 +123,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') + uri: https://tablesteststorname.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') response: body: string: '' @@ -141,9 +141,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.9369004Z'" + - W/"datetime'2020-10-01T01%3A06%3A55.659247Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -165,27 +165,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') + uri: https://tablesteststorname.table.core.windows.net/uttable95761b92(PartitionKey='pk95761b92',RowKey='rk95761b92') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable95761b92/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A37.9369004Z''\"","PartitionKey":"pk95761b92","RowKey":"rk95761b92","Timestamp":"2020-09-16T21:51:37.9369004Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable95761b92/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A55.659247Z''\"","PartitionKey":"pk95761b92","RowKey":"rk95761b92","Timestamp":"2020-10-01T01:06:55.659247Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A37.9369004Z'" + - W/"datetime'2020-10-01T01%3A06%3A55.659247Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -209,15 +209,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable95761b92') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable95761b92') response: body: string: '' @@ -227,7 +227,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_non_existing_entity.yaml index 30b2380cab30..66fc6d528000 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_non_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_merge_entity_with_non_existing_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7671d3c"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7671d3c"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:56 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable7671d3c') + - https://tablesteststorname.table.core.windows.net/Tables('uttable7671d3c') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,15 +67,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable7671d3c(PartitionKey='pk7671d3c',RowKey='rk7671d3c') + uri: https://tablesteststorname.table.core.windows.net/uttable7671d3c(PartitionKey='pk7671d3c',RowKey='rk7671d3c') response: body: string: '' @@ -85,9 +85,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.2230967Z'" + - W/"datetime'2020-10-01T01%3A06%3A56.0905536Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -109,27 +109,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:55 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:55 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable7671d3c(PartitionKey='pk7671d3c',RowKey='rk7671d3c') + uri: https://tablesteststorname.table.core.windows.net/uttable7671d3c(PartitionKey='pk7671d3c',RowKey='rk7671d3c') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable7671d3c/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A38.2230967Z''\"","PartitionKey":"pk7671d3c","RowKey":"rk7671d3c","Timestamp":"2020-09-16T21:51:38.2230967Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable7671d3c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A56.0905536Z''\"","PartitionKey":"pk7671d3c","RowKey":"rk7671d3c","Timestamp":"2020-10-01T01:06:56.0905536Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:37 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.2230967Z'" + - W/"datetime'2020-10-01T01%3A06%3A56.0905536Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -153,15 +153,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7671d3c') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7671d3c') response: body: string: '' @@ -171,7 +171,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_existing_entity.yaml index 009bb2b88062..e84b9d0aa9e9 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_existing_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablecc7c1c5e"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablecc7c1c5e"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:55 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablecc7c1c5e') + - https://tablesteststorname.table.core.windows.net/Tables('uttablecc7c1c5e') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablecc7c1c5e + uri: https://tablesteststorname.table.core.windows.net/uttablecc7c1c5e response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecc7c1c5e/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A38.5073188Z''\"","PartitionKey":"pkcc7c1c5e","RowKey":"rkcc7c1c5e","Timestamp":"2020-09-16T21:51:38.5073188Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablecc7c1c5e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A56.4971752Z''\"","PartitionKey":"pkcc7c1c5e","RowKey":"rkcc7c1c5e","Timestamp":"2020-10-01T01:06:56.4971752Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.5073188Z'" + - W/"datetime'2020-10-01T01%3A06%3A56.4971752Z'" location: - - https://storagename.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') + - https://tablesteststorname.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,15 +123,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') + uri: https://tablesteststorname.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') response: body: string: '' @@ -141,9 +141,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.5493196Z'" + - W/"datetime'2020-10-01T01%3A06%3A56.5478791Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -165,27 +165,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') + uri: https://tablesteststorname.table.core.windows.net/uttablecc7c1c5e(PartitionKey='pkcc7c1c5e',RowKey='rkcc7c1c5e') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablecc7c1c5e/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A38.5493196Z''\"","PartitionKey":"pkcc7c1c5e","RowKey":"rkcc7c1c5e","Timestamp":"2020-09-16T21:51:38.5493196Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablecc7c1c5e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A56.5478791Z''\"","PartitionKey":"pkcc7c1c5e","RowKey":"rkcc7c1c5e","Timestamp":"2020-10-01T01:06:56.5478791Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.5493196Z'" + - W/"datetime'2020-10-01T01%3A06%3A56.5478791Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -209,15 +209,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablecc7c1c5e') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablecc7c1c5e') response: body: string: '' @@ -227,7 +227,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_non_existing_entity.yaml index ca73844f45b5..f5134f71fea2 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_non_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_insert_or_replace_entity_with_non_existing_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable419d1e08"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable419d1e08"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable419d1e08') + - https://tablesteststorname.table.core.windows.net/Tables('uttable419d1e08') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,15 +67,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable419d1e08(PartitionKey='pk419d1e08',RowKey='rk419d1e08') + uri: https://tablesteststorname.table.core.windows.net/uttable419d1e08(PartitionKey='pk419d1e08',RowKey='rk419d1e08') response: body: string: '' @@ -85,9 +85,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.8245082Z'" + - W/"datetime'2020-10-01T01%3A06%3A57.0752544Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -109,27 +109,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable419d1e08(PartitionKey='pk419d1e08',RowKey='rk419d1e08') + uri: https://tablesteststorname.table.core.windows.net/uttable419d1e08(PartitionKey='pk419d1e08',RowKey='rk419d1e08') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable419d1e08/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A38.8245082Z''\"","PartitionKey":"pk419d1e08","RowKey":"rk419d1e08","Timestamp":"2020-09-16T21:51:38.8245082Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable419d1e08/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A57.0752544Z''\"","PartitionKey":"pk419d1e08","RowKey":"rk419d1e08","Timestamp":"2020-10-01T01:06:57.0752544Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A38.8245082Z'" + - W/"datetime'2020-10-01T01%3A06%3A57.0752544Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -153,15 +153,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable419d1e08') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable419d1e08') response: body: string: '' @@ -171,7 +171,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:56 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity.yaml index dc26c1f37f0e..f02762bcc250 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3df0e7d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3df0e7d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:38 GMT + - Thu, 01 Oct 2020 01:06:57 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable3df0e7d') + - https://tablesteststorname.table.core.windows.net/Tables('uttable3df0e7d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable3df0e7d + uri: https://tablesteststorname.table.core.windows.net/uttable3df0e7d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3df0e7d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A39.1267019Z''\"","PartitionKey":"pk3df0e7d","RowKey":"rk3df0e7d","Timestamp":"2020-09-16T21:51:39.1267019Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3df0e7d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A57.5276058Z''\"","PartitionKey":"pk3df0e7d","RowKey":"rk3df0e7d","Timestamp":"2020-10-01T01:06:57.5276058Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A39.1267019Z'" + - W/"datetime'2020-10-01T01%3A06%3A57.5276058Z'" location: - - https://storagename.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') + - https://tablesteststorname.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,17 +123,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') + uri: https://tablesteststorname.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') response: body: string: '' @@ -143,9 +143,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A39.1657411Z'" + - W/"datetime'2020-10-01T01%3A06%3A57.5796153Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -167,27 +167,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') + uri: https://tablesteststorname.table.core.windows.net/uttable3df0e7d(PartitionKey='pk3df0e7d',RowKey='rk3df0e7d') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3df0e7d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A39.1657411Z''\"","PartitionKey":"pk3df0e7d","RowKey":"rk3df0e7d","Timestamp":"2020-09-16T21:51:39.1657411Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3df0e7d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A57.5796153Z''\"","PartitionKey":"pk3df0e7d","RowKey":"rk3df0e7d","Timestamp":"2020-10-01T01:06:57.5796153Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A39.1657411Z'" + - W/"datetime'2020-10-01T01%3A06%3A57.5796153Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -211,15 +211,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3df0e7d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3df0e7d') response: body: string: '' @@ -229,7 +229,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_not_existing.yaml index 3823fe1f10f0..d32804286d89 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_not_existing.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee64a13f7"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee64a13f7"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee64a13f7') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee64a13f7') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,28 +67,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttablee64a13f7(PartitionKey='pke64a13f7',RowKey='rke64a13f7') + uri: https://tablesteststorname.table.core.windows.net/uttablee64a13f7(PartitionKey='pke64a13f7',RowKey='rke64a13f7') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:b26830d9-c002-0035-0573-8cc652000000\nTime:2020-09-16T21:51:39.4470630Z"}}}' + specified resource does not exist.\nRequestId:f8dfbdcb-1002-0041-718f-97f672000000\nTime:2020-10-01T01:06:57.9845974Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -112,15 +112,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee64a13f7') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee64a13f7') response: body: string: '' @@ -130,7 +130,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_doesnt_match.yaml index 19db7b2c9af5..5349c8afbaa9 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_doesnt_match.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable9316171e"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable9316171e"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable9316171e') + - https://tablesteststorname.table.core.windows.net/Tables('uttable9316171e') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable9316171e + uri: https://tablesteststorname.table.core.windows.net/uttable9316171e response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable9316171e/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A39.697235Z''\"","PartitionKey":"pk9316171e","RowKey":"rk9316171e","Timestamp":"2020-09-16T21:51:39.697235Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable9316171e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A58.3491351Z''\"","PartitionKey":"pk9316171e","RowKey":"rk9316171e","Timestamp":"2020-10-01T01:06:58.3491351Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A39.697235Z'" + - W/"datetime'2020-10-01T01%3A06%3A58.3491351Z'" location: - - https://storagename.table.core.windows.net/uttable9316171e(PartitionKey='pk9316171e',RowKey='rk9316171e') + - https://tablesteststorname.table.core.windows.net/uttable9316171e(PartitionKey='pk9316171e',RowKey='rk9316171e') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,28 +123,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable9316171e(PartitionKey='pk9316171e',RowKey='rk9316171e') + uri: https://tablesteststorname.table.core.windows.net/uttable9316171e(PartitionKey='pk9316171e',RowKey='rk9316171e') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:82a5c865-9002-002d-1c73-8cebc7000000\nTime:2020-09-16T21:51:39.7372623Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:f72aebf1-1002-0005-3e8f-972a1e000000\nTime:2020-10-01T01:06:58.4121798Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -168,15 +168,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable9316171e') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable9316171e') response: body: string: '' @@ -186,7 +186,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_matches.yaml index 46863fd7fabf..ab59d2608752 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_merge_entity_with_if_matches.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable236c150a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable236c150a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable236c150a') + - https://tablesteststorname.table.core.windows.net/Tables('uttable236c150a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable236c150a + uri: https://tablesteststorname.table.core.windows.net/uttable236c150a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable236c150a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A39.9997716Z''\"","PartitionKey":"pk236c150a","RowKey":"rk236c150a","Timestamp":"2020-09-16T21:51:39.9997716Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable236c150a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A58.8633239Z''\"","PartitionKey":"pk236c150a","RowKey":"rk236c150a","Timestamp":"2020-10-01T01:06:58.8633239Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:57 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A39.9997716Z'" + - W/"datetime'2020-10-01T01%3A06%3A58.8633239Z'" location: - - https://storagename.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') + - https://tablesteststorname.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,17 +123,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A39.9997716Z'" + - W/"datetime'2020-10-01T01%3A06%3A58.8633239Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') + uri: https://tablesteststorname.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') response: body: string: '' @@ -143,9 +143,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.0403402Z'" + - W/"datetime'2020-10-01T01%3A06%3A58.922575Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -167,27 +167,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') + uri: https://tablesteststorname.table.core.windows.net/uttable236c150a(PartitionKey='pk236c150a',RowKey='rk236c150a') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable236c150a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.0403402Z''\"","PartitionKey":"pk236c150a","RowKey":"rk236c150a","Timestamp":"2020-09-16T21:51:40.0403402Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable236c150a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A58.922575Z''\"","PartitionKey":"pk236c150a","RowKey":"rk236c150a","Timestamp":"2020-10-01T01:06:58.922575Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.0403402Z'" + - W/"datetime'2020-10-01T01%3A06%3A58.922575Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -211,15 +211,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable236c150a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable236c150a') response: body: string: '' @@ -229,7 +229,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_none_property_value.yaml index 32c4fafad1c8..8c5d1aa8bfbb 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_none_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_none_property_value.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:58 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:58 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable76561181"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable76561181"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable76561181') + - https://tablesteststorname.table.core.windows.net/Tables('uttable76561181') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -64,29 +64,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable76561181 + uri: https://tablesteststorname.table.core.windows.net/uttable76561181 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable76561181/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.329215Z''\"","PartitionKey":"pk76561181","RowKey":"rk76561181","Timestamp":"2020-09-16T21:51:40.329215Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable76561181/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A59.3653387Z''\"","PartitionKey":"pk76561181","RowKey":"rk76561181","Timestamp":"2020-10-01T01:06:59.3653387Z"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.329215Z'" + - W/"datetime'2020-10-01T01%3A06%3A59.3653387Z'" location: - - https://storagename.table.core.windows.net/uttable76561181(PartitionKey='pk76561181',RowKey='rk76561181') + - https://tablesteststorname.table.core.windows.net/uttable76561181(PartitionKey='pk76561181',RowKey='rk76561181') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -110,27 +110,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable76561181(PartitionKey='pk76561181',RowKey='rk76561181') + uri: https://tablesteststorname.table.core.windows.net/uttable76561181(PartitionKey='pk76561181',RowKey='rk76561181') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable76561181/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.329215Z''\"","PartitionKey":"pk76561181","RowKey":"rk76561181","Timestamp":"2020-09-16T21:51:40.329215Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable76561181/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A59.3653387Z''\"","PartitionKey":"pk76561181","RowKey":"rk76561181","Timestamp":"2020-10-01T01:06:59.3653387Z"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.329215Z'" + - W/"datetime'2020-10-01T01%3A06%3A59.3653387Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -154,15 +154,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable76561181') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable76561181') response: body: string: '' @@ -172,7 +172,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:58 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_operations_on_entity_with_partition_key_having_single_quote.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_operations_on_entity_with_partition_key_having_single_quote.yaml index 263359f6a597..62163c1d83ac 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_operations_on_entity_with_partition_key_having_single_quote.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_operations_on_entity_with_partition_key_having_single_quote.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable88682233"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable88682233"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable88682233') + - https://tablesteststorname.table.core.windows.net/Tables('uttable88682233') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable88682233 + uri: https://tablesteststorname.table.core.windows.net/uttable88682233 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.6249718Z''\"","PartitionKey":"a''''''''b","RowKey":"a''''''''b","Timestamp":"2020-09-16T21:51:40.6249718Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A59.8370664Z''\"","PartitionKey":"a''''''''b","RowKey":"a''''''''b","Timestamp":"2020-10-01T01:06:59.8370664Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.6249718Z'" + - W/"datetime'2020-10-01T01%3A06%3A59.8370664Z'" location: - - https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a''''''''b',RowKey='a''''''''b') + - https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a''''''''b',RowKey='a''''''''b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,15 +123,15 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + uri: https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') response: body: string: '' @@ -141,9 +141,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.6927873Z'" + - W/"datetime'2020-10-01T01%3A06%3A59.9072749Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -165,27 +165,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + uri: https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.6927873Z''\"","PartitionKey":"a''''b","RowKey":"a''''b","Timestamp":"2020-09-16T21:51:40.6927873Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A06%3A59.9072749Z''\"","PartitionKey":"a''''b","RowKey":"a''''b","Timestamp":"2020-10-01T01:06:59.9072749Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.6927873Z'" + - W/"datetime'2020-10-01T01%3A06%3A59.9072749Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -217,17 +217,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + uri: https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') response: body: string: '' @@ -237,9 +237,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.7808466Z'" + - W/"datetime'2020-10-01T01%3A07%3A00.0413708Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -261,27 +261,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + uri: https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A40.7808466Z''\"","PartitionKey":"a''''b","RowKey":"a''''b","Timestamp":"2020-09-16T21:51:40.7808466Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","newField":"newFieldValue","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable88682233/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A00.0413708Z''\"","PartitionKey":"a''''b","RowKey":"a''''b","Timestamp":"2020-10-01T01:07:00.0413708Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","newField":"newFieldValue","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A40.7808466Z'" + - W/"datetime'2020-10-01T01%3A07%3A00.0413708Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -307,17 +307,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:06:59 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + uri: https://tablesteststorname.table.core.windows.net/uttable88682233(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') response: body: string: '' @@ -327,7 +327,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -349,15 +349,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable88682233') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable88682233') response: body: string: '' @@ -367,7 +367,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:39 GMT + - Thu, 01 Oct 2020 01:06:59 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities.yaml index 642d627eb2f7..b9932d61045f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable23930f6b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable23930f6b"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable23930f6b') + - https://tablesteststorname.table.core.windows.net/Tables('uttable23930f6b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable23930f6b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable23930f6b"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT location: - - https://storagename.table.core.windows.net/Tables('querytable23930f6b') + - https://tablesteststorname.table.core.windows.net/Tables('querytable23930f6b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable23930f6b + uri: https://tablesteststorname.table.core.windows.net/querytable23930f6b response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable23930f6b/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.1918089Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b1","Timestamp":"2020-09-16T21:51:41.1918089Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable23930f6b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A00.6039522Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b1","Timestamp":"2020-10-01T01:07:00.6039522Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A41.1918089Z'" + - W/"datetime'2020-10-01T01%3A07%3A00.6039522Z'" location: - - https://storagename.table.core.windows.net/querytable23930f6b(PartitionKey='pk23930f6b',RowKey='rk23930f6b1') + - https://tablesteststorname.table.core.windows.net/querytable23930f6b(PartitionKey='pk23930f6b',RowKey='rk23930f6b1') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable23930f6b + uri: https://tablesteststorname.table.core.windows.net/querytable23930f6b response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable23930f6b/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.2398433Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b12","Timestamp":"2020-09-16T21:51:41.2398433Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable23930f6b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A00.6619927Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b12","Timestamp":"2020-10-01T01:07:00.6619927Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A41.2398433Z'" + - W/"datetime'2020-10-01T01%3A07%3A00.6619927Z'" location: - - https://storagename.table.core.windows.net/querytable23930f6b(PartitionKey='pk23930f6b',RowKey='rk23930f6b12') + - https://tablesteststorname.table.core.windows.net/querytable23930f6b(PartitionKey='pk23930f6b',RowKey='rk23930f6b12') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -219,25 +219,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable23930f6b() + uri: https://tablesteststorname.table.core.windows.net/querytable23930f6b() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable23930f6b","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.1918089Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b1","Timestamp":"2020-09-16T21:51:41.1918089Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.2398433Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b12","Timestamp":"2020-09-16T21:51:41.2398433Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable23930f6b","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A00.6039522Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b1","Timestamp":"2020-10-01T01:07:00.6039522Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A00.6619927Z''\"","PartitionKey":"pk23930f6b","RowKey":"rk23930f6b12","Timestamp":"2020-10-01T01:07:00.6619927Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -261,15 +261,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable23930f6b') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable23930f6b') response: body: string: '' @@ -279,7 +279,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -301,15 +301,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable23930f6b') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable23930f6b') response: body: string: '' @@ -319,7 +319,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:40 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_full_metadata.yaml index ce5dcfd4426c..285ab2429dbe 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_full_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable264f151d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable264f151d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable264f151d') + - https://tablesteststorname.table.core.windows.net/Tables('uttable264f151d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable264f151d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable264f151d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT location: - - https://storagename.table.core.windows.net/Tables('querytable264f151d') + - https://tablesteststorname.table.core.windows.net/Tables('querytable264f151d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable264f151d + uri: https://tablesteststorname.table.core.windows.net/querytable264f151d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable264f151d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.709348Z''\"","PartitionKey":"pk264f151d","RowKey":"rk264f151d1","Timestamp":"2020-09-16T21:51:41.709348Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable264f151d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A01.268324Z''\"","PartitionKey":"pk264f151d","RowKey":"rk264f151d1","Timestamp":"2020-10-01T01:07:01.268324Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A41.709348Z'" + - W/"datetime'2020-10-01T01%3A07%3A01.268324Z'" location: - - https://storagename.table.core.windows.net/querytable264f151d(PartitionKey='pk264f151d',RowKey='rk264f151d1') + - https://tablesteststorname.table.core.windows.net/querytable264f151d(PartitionKey='pk264f151d',RowKey='rk264f151d1') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable264f151d + uri: https://tablesteststorname.table.core.windows.net/querytable264f151d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable264f151d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.7503757Z''\"","PartitionKey":"pk264f151d","RowKey":"rk264f151d12","Timestamp":"2020-09-16T21:51:41.7503757Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable264f151d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A01.3303673Z''\"","PartitionKey":"pk264f151d","RowKey":"rk264f151d12","Timestamp":"2020-10-01T01:07:01.3303673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A41.7503757Z'" + - W/"datetime'2020-10-01T01%3A07%3A01.3303673Z'" location: - - https://storagename.table.core.windows.net/querytable264f151d(PartitionKey='pk264f151d',RowKey='rk264f151d12') + - https://tablesteststorname.table.core.windows.net/querytable264f151d(PartitionKey='pk264f151d',RowKey='rk264f151d12') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -217,27 +217,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=fullmetadata x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable264f151d() + uri: https://tablesteststorname.table.core.windows.net/querytable264f151d() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable264f151d","value":[{"odata.type":"storagename.querytable264f151d","odata.id":"https://storagename.table.core.windows.net/querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d1'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.709348Z''\"","odata.editLink":"querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d1'')","PartitionKey":"pk264f151d","RowKey":"rk264f151d1","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:41.709348Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.type":"storagename.querytable264f151d","odata.id":"https://storagename.table.core.windows.net/querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d12'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A41.7503757Z''\"","odata.editLink":"querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d12'')","PartitionKey":"pk264f151d","RowKey":"rk264f151d12","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:41.7503757Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable264f151d","value":[{"odata.type":"tablesteststorname.querytable264f151d","odata.id":"https://tablesteststorname.table.core.windows.net/querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d1'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A01.268324Z''\"","odata.editLink":"querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d1'')","PartitionKey":"pk264f151d","RowKey":"rk264f151d1","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:01.268324Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.type":"tablesteststorname.querytable264f151d","odata.id":"https://tablesteststorname.table.core.windows.net/querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d12'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A01.3303673Z''\"","odata.editLink":"querytable264f151d(PartitionKey=''pk264f151d'',RowKey=''rk264f151d12'')","PartitionKey":"pk264f151d","RowKey":"rk264f151d12","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:01.3303673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=fullmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -261,15 +261,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable264f151d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable264f151d') response: body: string: '' @@ -279,7 +279,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -301,15 +301,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable264f151d') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable264f151d') response: body: string: '' @@ -319,7 +319,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:00 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_no_metadata.yaml index e7dcc4382bcd..9bdb06b07276 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_no_metadata.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefc361447"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefc361447"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:01 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablefc361447') + - https://tablesteststorname.table.core.windows.net/Tables('uttablefc361447') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablefc361447"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablefc361447"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT location: - - https://storagename.table.core.windows.net/Tables('querytablefc361447') + - https://tablesteststorname.table.core.windows.net/Tables('querytablefc361447') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablefc361447 + uri: https://tablesteststorname.table.core.windows.net/querytablefc361447 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablefc361447/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.1864449Z''\"","PartitionKey":"pkfc361447","RowKey":"rkfc3614471","Timestamp":"2020-09-16T21:51:42.1864449Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablefc361447/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A01.9653535Z''\"","PartitionKey":"pkfc361447","RowKey":"rkfc3614471","Timestamp":"2020-10-01T01:07:01.9653535Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A42.1864449Z'" + - W/"datetime'2020-10-01T01%3A07%3A01.9653535Z'" location: - - https://storagename.table.core.windows.net/querytablefc361447(PartitionKey='pkfc361447',RowKey='rkfc3614471') + - https://tablesteststorname.table.core.windows.net/querytablefc361447(PartitionKey='pkfc361447',RowKey='rkfc3614471') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablefc361447 + uri: https://tablesteststorname.table.core.windows.net/querytablefc361447 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablefc361447/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.2234709Z''\"","PartitionKey":"pkfc361447","RowKey":"rkfc36144712","Timestamp":"2020-09-16T21:51:42.2234709Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablefc361447/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A02.028399Z''\"","PartitionKey":"pkfc361447","RowKey":"rkfc36144712","Timestamp":"2020-10-01T01:07:02.028399Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A42.2234709Z'" + - W/"datetime'2020-10-01T01%3A07%3A02.028399Z'" location: - - https://storagename.table.core.windows.net/querytablefc361447(PartitionKey='pkfc361447',RowKey='rkfc36144712') + - https://tablesteststorname.table.core.windows.net/querytablefc361447(PartitionKey='pkfc361447',RowKey='rkfc36144712') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -217,27 +217,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=nometadata x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytablefc361447() + uri: https://tablesteststorname.table.core.windows.net/querytablefc361447() response: body: - string: '{"value":[{"PartitionKey":"pkfc361447","RowKey":"rkfc3614471","Timestamp":"2020-09-16T21:51:42.1864449Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"PartitionKey":"pkfc361447","RowKey":"rkfc36144712","Timestamp":"2020-09-16T21:51:42.2234709Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"value":[{"PartitionKey":"pkfc361447","RowKey":"rkfc3614471","Timestamp":"2020-10-01T01:07:01.9653535Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"PartitionKey":"pkfc361447","RowKey":"rkfc36144712","Timestamp":"2020-10-01T01:07:02.028399Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=nometadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -261,15 +261,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefc361447') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefc361447') response: body: string: '' @@ -279,7 +279,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:01 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -301,15 +301,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytablefc361447') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytablefc361447') response: body: string: '' @@ -319,7 +319,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_filter.yaml index 6516e6187ea5..2685a193af5e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_filter.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefce8146b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefce8146b"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:02 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablefce8146b') + - https://tablesteststorname.table.core.windows.net/Tables('uttablefce8146b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablefce8146b + uri: https://tablesteststorname.table.core.windows.net/uttablefce8146b response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablefce8146b/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.5207892Z''\"","PartitionKey":"pkfce8146b","RowKey":"rkfce8146b","Timestamp":"2020-09-16T21:51:42.5207892Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablefce8146b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A02.6688673Z''\"","PartitionKey":"pkfce8146b","RowKey":"rkfce8146b","Timestamp":"2020-10-01T01:07:02.6688673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:02 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A42.5207892Z'" + - W/"datetime'2020-10-01T01%3A07%3A02.6688673Z'" location: - - https://storagename.table.core.windows.net/uttablefce8146b(PartitionKey='pkfce8146b',RowKey='rkfce8146b') + - https://tablesteststorname.table.core.windows.net/uttablefce8146b(PartitionKey='pkfce8146b',RowKey='rkfce8146b') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,25 +115,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablefce8146b() + uri: https://tablesteststorname.table.core.windows.net/uttablefce8146b() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablefce8146b","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.5207892Z''\"","PartitionKey":"pkfce8146b","RowKey":"rkfce8146b","Timestamp":"2020-09-16T21:51:42.5207892Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablefce8146b","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A02.6688673Z''\"","PartitionKey":"pkfce8146b","RowKey":"rkfce8146b","Timestamp":"2020-10-01T01:07:02.6688673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -157,15 +157,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefce8146b') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefce8146b') response: body: string: '' @@ -175,7 +175,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:41 GMT + - Thu, 01 Oct 2020 01:07:02 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_select.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_select.yaml index a68573912917..158743e4eaa8 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_select.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_select.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefcf31465"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefcf31465"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablefcf31465') + - https://tablesteststorname.table.core.windows.net/Tables('uttablefcf31465') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablefcf31465"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablefcf31465"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:02 GMT location: - - https://storagename.table.core.windows.net/Tables('querytablefcf31465') + - https://tablesteststorname.table.core.windows.net/Tables('querytablefcf31465') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablefcf31465 + uri: https://tablesteststorname.table.core.windows.net/querytablefcf31465 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablefcf31465/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.9529288Z''\"","PartitionKey":"pkfcf31465","RowKey":"rkfcf314651","Timestamp":"2020-09-16T21:51:42.9529288Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablefcf31465/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A03.5664194Z''\"","PartitionKey":"pkfcf31465","RowKey":"rkfcf314651","Timestamp":"2020-10-01T01:07:03.5664194Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A42.9529288Z'" + - W/"datetime'2020-10-01T01%3A07%3A03.5664194Z'" location: - - https://storagename.table.core.windows.net/querytablefcf31465(PartitionKey='pkfcf31465',RowKey='rkfcf314651') + - https://tablesteststorname.table.core.windows.net/querytablefcf31465(PartitionKey='pkfcf31465',RowKey='rkfcf314651') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablefcf31465 + uri: https://tablesteststorname.table.core.windows.net/querytablefcf31465 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablefcf31465/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.0099673Z''\"","PartitionKey":"pkfcf31465","RowKey":"rkfcf3146512","Timestamp":"2020-09-16T21:51:43.0099673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablefcf31465/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A03.6324643Z''\"","PartitionKey":"pkfcf31465","RowKey":"rkfcf3146512","Timestamp":"2020-10-01T01:07:03.6324643Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.0099673Z'" + - W/"datetime'2020-10-01T01%3A07%3A03.6324643Z'" location: - - https://storagename.table.core.windows.net/querytablefcf31465(PartitionKey='pkfcf31465',RowKey='rkfcf3146512') + - https://tablesteststorname.table.core.windows.net/querytablefcf31465(PartitionKey='pkfcf31465',RowKey='rkfcf3146512') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -219,25 +219,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytablefcf31465()?$select=age%2C%20sex + uri: https://tablesteststorname.table.core.windows.net/querytablefcf31465()?$select=age%2C%20sex response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablefcf31465&$select=age,%20sex","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A42.9529288Z''\"","age":39,"sex":"male"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.0099673Z''\"","age":39,"sex":"male"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablefcf31465&$select=age,%20sex","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A03.5664194Z''\"","age":39,"sex":"male"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A03.6324643Z''\"","age":39,"sex":"male"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -261,15 +261,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefcf31465') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefcf31465') response: body: string: '' @@ -279,7 +279,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -301,15 +301,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytablefcf31465') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytablefcf31465') response: body: string: '' @@ -319,7 +319,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:42 GMT + - Thu, 01 Oct 2020 01:07:03 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top.yaml index 8b533345fe0e..11b62975f461 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:03 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec12a1338"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec12a1338"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablec12a1338') + - https://tablesteststorname.table.core.windows.net/Tables('uttablec12a1338') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablec12a1338"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablec12a1338"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT location: - - https://storagename.table.core.windows.net/Tables('querytablec12a1338') + - https://tablesteststorname.table.core.windows.net/Tables('querytablec12a1338') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablec12a1338 + uri: https://tablesteststorname.table.core.windows.net/querytablec12a1338 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.3849628Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a13381","Timestamp":"2020-09-16T21:51:43.3849628Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A04.3056498Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a13381","Timestamp":"2020-10-01T01:07:04.3056498Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.3849628Z'" + - W/"datetime'2020-10-01T01%3A07%3A04.3056498Z'" location: - - https://storagename.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a13381') + - https://tablesteststorname.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a13381') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablec12a1338 + uri: https://tablesteststorname.table.core.windows.net/querytablec12a1338 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.4229894Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a133812","Timestamp":"2020-09-16T21:51:43.4229894Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A04.3766978Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a133812","Timestamp":"2020-10-01T01:07:04.3766978Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.4229894Z'" + - W/"datetime'2020-10-01T01%3A07%3A04.3766978Z'" location: - - https://storagename.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a133812') + - https://tablesteststorname.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a133812') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -229,29 +229,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytablec12a1338 + uri: https://tablesteststorname.table.core.windows.net/querytablec12a1338 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.4570135Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a1338123","Timestamp":"2020-09-16T21:51:43.4570135Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablec12a1338/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A04.4427421Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a1338123","Timestamp":"2020-10-01T01:07:04.4427421Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.4570135Z'" + - W/"datetime'2020-10-01T01%3A07%3A04.4427421Z'" location: - - https://storagename.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a1338123') + - https://tablesteststorname.table.core.windows.net/querytablec12a1338(PartitionKey='pkc12a1338',RowKey='rkc12a1338123') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -275,25 +275,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytablec12a1338()?$top=2 + uri: https://tablesteststorname.table.core.windows.net/querytablec12a1338()?$top=2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablec12a1338","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.3849628Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a13381","Timestamp":"2020-09-16T21:51:43.3849628Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.4229894Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a133812","Timestamp":"2020-09-16T21:51:43.4229894Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablec12a1338","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A04.3056498Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a13381","Timestamp":"2020-10-01T01:07:04.3056498Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A04.3766978Z''\"","PartitionKey":"pkc12a1338","RowKey":"rkc12a133812","Timestamp":"2020-10-01T01:07:04.3766978Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -321,15 +321,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec12a1338') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec12a1338') response: body: string: '' @@ -339,7 +339,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -361,15 +361,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytablec12a1338') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytablec12a1338') response: body: string: '' @@ -379,7 +379,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top_and_next.yaml index bcbec5c1136d..96dea39cdadf 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top_and_next.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_entities_with_top_and_next.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable801016e8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable801016e8"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable801016e8') + - https://tablesteststorname.table.core.windows.net/Tables('uttable801016e8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable801016e8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable801016e8"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT location: - - https://storagename.table.core.windows.net/Tables('querytable801016e8') + - https://tablesteststorname.table.core.windows.net/Tables('querytable801016e8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable801016e8 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.8496034Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81","Timestamp":"2020-09-16T21:51:43.8496034Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.2175543Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81","Timestamp":"2020-10-01T01:07:05.2175543Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.8496034Z'" + - W/"datetime'2020-10-01T01%3A07%3A05.2175543Z'" location: - - https://storagename.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e81') + - https://tablesteststorname.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e81') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -173,29 +173,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable801016e8 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.8896316Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812","Timestamp":"2020-09-16T21:51:43.8896316Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.2745933Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812","Timestamp":"2020-10-01T01:07:05.2745933Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.8896316Z'" + - W/"datetime'2020-10-01T01%3A07%3A05.2745933Z'" location: - - https://storagename.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e812') + - https://tablesteststorname.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e812') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -229,29 +229,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable801016e8 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.9236547Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e8123","Timestamp":"2020-09-16T21:51:43.9236547Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.3256281Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e8123","Timestamp":"2020-10-01T01:07:05.3256281Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.9236547Z'" + - W/"datetime'2020-10-01T01%3A07%3A05.3256281Z'" location: - - https://storagename.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e8123') + - https://tablesteststorname.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e8123') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -285,29 +285,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable801016e8 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.95868Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81234","Timestamp":"2020-09-16T21:51:43.95868Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.4266977Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81234","Timestamp":"2020-10-01T01:07:05.4266977Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A43.95868Z'" + - W/"datetime'2020-10-01T01%3A07%3A05.4266977Z'" location: - - https://storagename.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e81234') + - https://tablesteststorname.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e81234') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -341,29 +341,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable801016e8 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A44.0087153Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812345","Timestamp":"2020-09-16T21:51:44.0087153Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.5177609Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812345","Timestamp":"2020-10-01T01:07:05.5177609Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A44.0087153Z'" + - W/"datetime'2020-10-01T01%3A07%3A05.5177609Z'" location: - - https://storagename.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e812345') + - https://tablesteststorname.table.core.windows.net/querytable801016e8(PartitionKey='pk801016e8',RowKey='rk801016e812345') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -387,25 +387,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable801016e8()?$top=2 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8()?$top=2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.8496034Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81","Timestamp":"2020-09-16T21:51:43.8496034Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.8896316Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812","Timestamp":"2020-09-16T21:51:43.8896316Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.2175543Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81","Timestamp":"2020-10-01T01:07:05.2175543Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.2745933Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812","Timestamp":"2020-10-01T01:07:05.2745933Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -433,25 +433,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable801016e8()?$top=2&NextPartitionKey=1%2116%21cGs4MDEwMTZlOA--&NextRowKey=1%2120%21cms4MDEwMTZlODEyMw-- + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8()?$top=2&NextPartitionKey=1%2116%21cGs4MDEwMTZlOA--&NextRowKey=1%2120%21cms4MDEwMTZlODEyMw-- response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.9236547Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e8123","Timestamp":"2020-09-16T21:51:43.9236547Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A43.95868Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81234","Timestamp":"2020-09-16T21:51:43.95868Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.3256281Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e8123","Timestamp":"2020-10-01T01:07:05.3256281Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.4266977Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e81234","Timestamp":"2020-10-01T01:07:05.4266977Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -479,25 +479,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable801016e8()?$top=2&NextPartitionKey=1%2116%21cGs4MDEwMTZlOA--&NextRowKey=1%2120%21cms4MDEwMTZlODEyMzQ1 + uri: https://tablesteststorname.table.core.windows.net/querytable801016e8()?$top=2&NextPartitionKey=1%2116%21cGs4MDEwMTZlOA--&NextRowKey=1%2120%21cms4MDEwMTZlODEyMzQ1 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A44.0087153Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812345","Timestamp":"2020-09-16T21:51:44.0087153Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable801016e8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A05.5177609Z''\"","PartitionKey":"pk801016e8","RowKey":"rk801016e812345","Timestamp":"2020-10-01T01:07:05.5177609Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:04 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -521,15 +521,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable801016e8') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable801016e8') response: body: string: '' @@ -539,7 +539,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -561,15 +561,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable801016e8') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable801016e8') response: body: string: '' @@ -579,7 +579,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_user_filter.yaml index d25466554dad..88310c0918e8 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_user_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_user_filter.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:05 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable546210aa"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable546210aa"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable546210aa') + - https://tablesteststorname.table.core.windows.net/Tables('uttable546210aa') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable546210aa + uri: https://tablesteststorname.table.core.windows.net/uttable546210aa response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable546210aa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A44.4945324Z''\"","PartitionKey":"pk546210aa","RowKey":"rk546210aa","Timestamp":"2020-09-16T21:51:44.4945324Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable546210aa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A06.2105812Z''\"","PartitionKey":"pk546210aa","RowKey":"rk546210aa","Timestamp":"2020-10-01T01:07:06.2105812Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A44.4945324Z'" + - W/"datetime'2020-10-01T01%3A07%3A06.2105812Z'" location: - - https://storagename.table.core.windows.net/uttable546210aa(PartitionKey='pk546210aa',RowKey='rk546210aa') + - https://tablesteststorname.table.core.windows.net/uttable546210aa(PartitionKey='pk546210aa',RowKey='rk546210aa') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,15 +115,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable546210aa') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable546210aa') response: body: string: '' @@ -133,7 +133,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_zero_entities.yaml index f8b133a264ca..d73dceeba85f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_zero_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_query_zero_entities.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7732118a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7732118a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable7732118a') + - https://tablesteststorname.table.core.windows.net/Tables('uttable7732118a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -63,27 +63,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable7732118a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable7732118a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT location: - - https://storagename.table.core.windows.net/Tables('querytable7732118a') + - https://tablesteststorname.table.core.windows.net/Tables('querytable7732118a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -107,25 +107,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable7732118a() + uri: https://tablesteststorname.table.core.windows.net/querytable7732118a() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable7732118a","value":[]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable7732118a","value":[]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:43 GMT + - Thu, 01 Oct 2020 01:07:05 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -149,15 +149,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7732118a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7732118a') response: body: string: '' @@ -167,7 +167,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -189,15 +189,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable7732118a') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable7732118a') response: body: string: '' @@ -207,7 +207,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add.yaml index 4e13a56f99ab..c5898cd46b96 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebfd90c40"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebfd90c40"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:44 GMT + - Thu, 01 Oct 2020 01:07:06 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablebfd90c40') + - https://tablesteststorname.table.core.windows.net/Tables('uttablebfd90c40') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:06 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:06 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablebfd90c40?st=2020-09-16T21%3A50%3A45Z&se=2020-09-16T22%3A51%3A45Z&sp=a&sv=2019-02-02&tn=uttablebfd90c40&sig=Ho0sQdNMHjZtRlWDYyAp6WmeVLLALIIG9LzkIE7BT7U%3D + uri: https://tablesteststorname.table.core.windows.net/uttablebfd90c40?st=2020-10-01T01%3A06%3A06Z&se=2020-10-01T02%3A07%3A06Z&sp=a&sv=2019-02-02&tn=uttablebfd90c40&sig=hwnCvfZKevvKEkmcxsb%2FmEwQqgHE%2F%2Bvd%2Fj%2BChJrtKLA%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablebfd90c40/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A45.3784844Z''\"","PartitionKey":"pkbfd90c40","RowKey":"rkbfd90c40","Timestamp":"2020-09-16T21:51:45.3784844Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablebfd90c40/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A07.253148Z''\"","PartitionKey":"pkbfd90c40","RowKey":"rkbfd90c40","Timestamp":"2020-10-01T01:07:07.253148Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:06 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A45.3784844Z'" + - W/"datetime'2020-10-01T01%3A07%3A07.253148Z'" location: - - https://storagename.table.core.windows.net/uttablebfd90c40(PartitionKey='pkbfd90c40',RowKey='rkbfd90c40') + - https://tablesteststorname.table.core.windows.net/uttablebfd90c40(PartitionKey='pkbfd90c40',RowKey='rkbfd90c40') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablebfd90c40(PartitionKey='pkbfd90c40',RowKey='rkbfd90c40') + uri: https://tablesteststorname.table.core.windows.net/uttablebfd90c40(PartitionKey='pkbfd90c40',RowKey='rkbfd90c40') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablebfd90c40/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A45.3784844Z''\"","PartitionKey":"pkbfd90c40","RowKey":"rkbfd90c40","Timestamp":"2020-09-16T21:51:45.3784844Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablebfd90c40/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A07.253148Z''\"","PartitionKey":"pkbfd90c40","RowKey":"rkbfd90c40","Timestamp":"2020-10-01T01:07:07.253148Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:06 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A45.3784844Z'" + - W/"datetime'2020-10-01T01%3A07%3A07.253148Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablebfd90c40') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablebfd90c40') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:06 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_inside_range.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_inside_range.yaml index af2f017cd2d3..b0d9246d8a08 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_inside_range.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_inside_range.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable84281187"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable84281187"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable84281187') + - https://tablesteststorname.table.core.windows.net/Tables('uttable84281187') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable84281187?se=2020-09-16T22%3A51%3A45Z&sp=a&sv=2019-02-02&tn=uttable84281187&spk=test&srk=test1&epk=test&erk=test1&sig=aTUxABRCMc2zr%2FMrn8%2FonATN3NZ%2BI0gFaNz4U6EaJoI%3D + uri: https://tablesteststorname.table.core.windows.net/uttable84281187?se=2020-10-01T02%3A07%3A07Z&sp=a&sv=2019-02-02&tn=uttable84281187&spk=test&srk=test1&epk=test&erk=test1&sig=RCLYMaPF0QhiOZA29U%2BlpESBOX%2BnEGkYF5jN4JHlE%2FE%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable84281187/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A45.8480078Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:51:45.8480078Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable84281187/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A07.8104384Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T01:07:07.8104384Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A45.8480078Z'" + - W/"datetime'2020-10-01T01%3A07%3A07.8104384Z'" location: - - https://storagename.table.core.windows.net/uttable84281187(PartitionKey='test',RowKey='test1') + - https://tablesteststorname.table.core.windows.net/uttable84281187(PartitionKey='test',RowKey='test1') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,27 +115,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable84281187(PartitionKey='test',RowKey='test1') + uri: https://tablesteststorname.table.core.windows.net/uttable84281187(PartitionKey='test',RowKey='test1') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable84281187/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A45.8480078Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:51:45.8480078Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable84281187/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A07.8104384Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T01:07:07.8104384Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A45.8480078Z'" + - W/"datetime'2020-10-01T01%3A07%3A07.8104384Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -159,15 +159,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable84281187') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable84281187') response: body: string: '' @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_outside_range.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_outside_range.yaml index 9decbf6f8174..c80886071606 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_outside_range.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_add_outside_range.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable973c1208"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable973c1208"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable973c1208') + - https://tablesteststorname.table.core.windows.net/Tables('uttable973c1208') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,26 +69,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable973c1208?se=2020-09-16T22%3A51%3A46Z&sp=a&sv=2019-02-02&tn=uttable973c1208&spk=test&srk=test1&epk=test&erk=test1&sig=AF%2FmVUd3uZnzPLHUgpq%2FacPvRVLn0T%2Fuw3QOE0%2FJEIY%3D + uri: https://tablesteststorname.table.core.windows.net/uttable973c1208?se=2020-10-01T02%3A07%3A08Z&sp=a&sv=2019-02-02&tn=uttable973c1208&spk=test&srk=test1&epk=test&erk=test1&sig=n0n3Khw4tSPOyjSdwcqljiMVhs2l4vp8haok403iMzs%3D response: body: string: '{"odata.error":{"code":"AuthorizationFailure","message":{"lang":"en-US","value":"This - request is not authorized to perform this operation.\nRequestId:b268371d-c002-0035-0a73-8cc652000000\nTime:2020-09-16T21:51:46.3409244Z"}}}' + request is not authorized to perform this operation.\nRequestId:51fc4397-7002-0037-4f8f-9772ce000000\nTime:2020-10-01T01:07:08.4344827Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -112,15 +112,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable973c1208') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable973c1208') response: body: string: '' @@ -130,7 +130,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:07 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_delete.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_delete.yaml index 97f54235780e..f24f6f006f75 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_delete.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_delete.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee74c0d8a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee74c0d8a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:08 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee74c0d8a') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee74c0d8a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee74c0d8a + uri: https://tablesteststorname.table.core.windows.net/uttablee74c0d8a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee74c0d8a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A46.6182299Z''\"","PartitionKey":"pke74c0d8a","RowKey":"rke74c0d8a","Timestamp":"2020-09-16T21:51:46.6182299Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee74c0d8a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A08.7817066Z''\"","PartitionKey":"pke74c0d8a","RowKey":"rke74c0d8a","Timestamp":"2020-10-01T01:07:08.7817066Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:08 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A46.6182299Z'" + - W/"datetime'2020-10-01T01%3A07%3A08.7817066Z'" location: - - https://storagename.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a') + - https://tablesteststorname.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,17 +117,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a')?se=2020-09-16T22%3A51%3A46Z&sp=d&sv=2019-02-02&tn=uttablee74c0d8a&sig=itF5lUlgtPC8Rv5NDdFb06sGtikERTXhxN%2Facnnc%2FX0%3D + uri: https://tablesteststorname.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a')?se=2020-10-01T02%3A07%3A08Z&sp=d&sv=2019-02-02&tn=uttablee74c0d8a&sig=ncatWuUXQwqwahfbCRUIY55sM8MIKwZ7GT%2FwfsEthhU%3D response: body: string: '' @@ -137,7 +137,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -159,26 +159,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a') + uri: https://tablesteststorname.table.core.windows.net/uttablee74c0d8a(PartitionKey='pke74c0d8a',RowKey='rke74c0d8a') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:c51df357-c002-001c-3873-8cb010000000\nTime:2020-09-16T21:51:46.8173699Z"}}}' + specified resource does not exist.\nRequestId:952902cf-9002-0036-578f-977333000000\nTime:2020-10-01T01:07:09.0689093Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:08 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -202,15 +202,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee74c0d8a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee74c0d8a') response: body: string: '' @@ -220,7 +220,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:45 GMT + - Thu, 01 Oct 2020 01:07:08 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_query.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_query.yaml index 9bea55267136..0ef1ca301ce3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_query.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_query.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableda4d0d4d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableda4d0d4d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT location: - - https://storagename.table.core.windows.net/Tables('uttableda4d0d4d') + - https://tablesteststorname.table.core.windows.net/Tables('uttableda4d0d4d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableda4d0d4d + uri: https://tablesteststorname.table.core.windows.net/uttableda4d0d4d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableda4d0d4d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A47.0699913Z''\"","PartitionKey":"pkda4d0d4d","RowKey":"rkda4d0d4d","Timestamp":"2020-09-16T21:51:47.0699913Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableda4d0d4d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A09.4163504Z''\"","PartitionKey":"pkda4d0d4d","RowKey":"rkda4d0d4d","Timestamp":"2020-10-01T01:07:09.4163504Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:08 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A47.0699913Z'" + - W/"datetime'2020-10-01T01%3A07%3A09.4163504Z'" location: - - https://storagename.table.core.windows.net/uttableda4d0d4d(PartitionKey='pkda4d0d4d',RowKey='rkda4d0d4d') + - https://tablesteststorname.table.core.windows.net/uttableda4d0d4d(PartitionKey='pkda4d0d4d',RowKey='rkda4d0d4d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,25 +115,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttableda4d0d4d()?st=2020-09-16T21%3A50%3A47Z&se=2020-09-16T22%3A51%3A47Z&sp=r&sv=2019-02-02&tn=uttableda4d0d4d&sig=tDb9tFglgznNb3Kfg%2BZPAeT6%2BcDfN%2BqScNm1GSC5fso%3D + uri: https://tablesteststorname.table.core.windows.net/uttableda4d0d4d()?st=2020-10-01T01%3A06%3A09Z&se=2020-10-01T02%3A07%3A09Z&sp=r&sv=2019-02-02&tn=uttableda4d0d4d&sig=TgYB1vTTDc8z3pniLSobfSB6HF8MgHk9P740W2P83DA%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableda4d0d4d","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A47.0699913Z''\"","PartitionKey":"pkda4d0d4d","RowKey":"rkda4d0d4d","Timestamp":"2020-09-16T21:51:47.0699913Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableda4d0d4d","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A09.4163504Z''\"","PartitionKey":"pkda4d0d4d","RowKey":"rkda4d0d4d","Timestamp":"2020-10-01T01:07:09.4163504Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -157,15 +157,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableda4d0d4d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableda4d0d4d') response: body: string: '' @@ -175,7 +175,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:46 GMT + - Thu, 01 Oct 2020 01:07:09 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_update.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_update.yaml index 4842b1c47b28..71e972ac1a89 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_update.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_update.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7bd0d9a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7bd0d9a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee7bd0d9a') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee7bd0d9a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee7bd0d9a + uri: https://tablesteststorname.table.core.windows.net/uttablee7bd0d9a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7bd0d9a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A47.9311896Z''\"","PartitionKey":"pke7bd0d9a","RowKey":"rke7bd0d9a","Timestamp":"2020-09-16T21:51:47.9311896Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7bd0d9a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A09.9714719Z''\"","PartitionKey":"pke7bd0d9a","RowKey":"rke7bd0d9a","Timestamp":"2020-10-01T01:07:09.9714719Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A47.9311896Z'" + - W/"datetime'2020-10-01T01%3A07%3A09.9714719Z'" location: - - https://storagename.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a') + - https://tablesteststorname.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,17 +123,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a')?se=2020-09-16T22%3A51%3A47Z&sp=u&sv=2019-02-02&tn=uttablee7bd0d9a&sig=O06v7o6P7pcwG%2BJaQKBltvYnSNAOu0EsBkHnE%2F1SWJ4%3D + uri: https://tablesteststorname.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a')?se=2020-10-01T02%3A07%3A09Z&sp=u&sv=2019-02-02&tn=uttablee7bd0d9a&sig=yGyN3Fw965d%2BCJp1Ilgoie4C4pdp8N9Oi2AxBscdR80%3D response: body: string: '' @@ -143,9 +143,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:47 GMT + - Thu, 01 Oct 2020 01:07:09 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A48.1048602Z'" + - W/"datetime'2020-10-01T01%3A07%3A10.2076224Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -167,27 +167,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a') + uri: https://tablesteststorname.table.core.windows.net/uttablee7bd0d9a(PartitionKey='pke7bd0d9a',RowKey='rke7bd0d9a') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7bd0d9a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.1048602Z''\"","PartitionKey":"pke7bd0d9a","RowKey":"rke7bd0d9a","Timestamp":"2020-09-16T21:51:48.1048602Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7bd0d9a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A10.2076224Z''\"","PartitionKey":"pke7bd0d9a","RowKey":"rke7bd0d9a","Timestamp":"2020-10-01T01:07:10.2076224Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A48.1048602Z'" + - W/"datetime'2020-10-01T01%3A07%3A10.2076224Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -211,15 +211,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee7bd0d9a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee7bd0d9a') response: body: string: '' @@ -229,7 +229,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_upper_case_table_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_upper_case_table_name.yaml index 3778c15cbbf6..7d124a5c7f38 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_upper_case_table_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_sas_upper_case_table_name.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee48713a5"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee48713a5"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablee48713a5') + - https://tablesteststorname.table.core.windows.net/Tables('uttablee48713a5') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee48713a5 + uri: https://tablesteststorname.table.core.windows.net/uttablee48713a5 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee48713a5/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.3662864Z''\"","PartitionKey":"pke48713a5","RowKey":"rke48713a5","Timestamp":"2020-09-16T21:51:48.3662864Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee48713a5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A10.6039562Z''\"","PartitionKey":"pke48713a5","RowKey":"rke48713a5","Timestamp":"2020-10-01T01:07:10.6039562Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A48.3662864Z'" + - W/"datetime'2020-10-01T01%3A07%3A10.6039562Z'" location: - - https://storagename.table.core.windows.net/uttablee48713a5(PartitionKey='pke48713a5',RowKey='rke48713a5') + - https://tablesteststorname.table.core.windows.net/uttablee48713a5(PartitionKey='pke48713a5',RowKey='rke48713a5') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -115,25 +115,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee48713a5()?st=2020-09-16T21%3A50%3A48Z&se=2020-09-16T22%3A51%3A48Z&sp=r&sv=2019-02-02&tn=UTTABLEE48713A5&sig=FrF9u96S%2FY0LcJ6lJpZvbQPQtNMOXP0dd8k0r1ZIB%2BU%3D + uri: https://tablesteststorname.table.core.windows.net/uttablee48713a5()?st=2020-10-01T01%3A06%3A10Z&se=2020-10-01T02%3A07%3A10Z&sp=r&sv=2019-02-02&tn=UTTABLEE48713A5&sig=%2FU2CidAYonA2zkHTFel3UB2BHM5A4MO8r%2B3Ekl%2BHryE%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee48713a5","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.3662864Z''\"","PartitionKey":"pke48713a5","RowKey":"rke48713a5","Timestamp":"2020-09-16T21:51:48.3662864Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee48713a5","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A10.6039562Z''\"","PartitionKey":"pke48713a5","RowKey":"rke48713a5","Timestamp":"2020-10-01T01:07:10.6039562Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:09 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -157,15 +157,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee48713a5') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee48713a5') response: body: string: '' @@ -175,7 +175,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_name.yaml index 85552b17cee2..0139e0e5e345 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_name.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable9990123c"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable9990123c"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable9990123c') + - https://tablesteststorname.table.core.windows.net/Tables('uttable9990123c') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -65,29 +65,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable9990123c + uri: https://tablesteststorname.table.core.windows.net/uttable9990123c response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable9990123c/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.8109004Z''\"","PartitionKey":"pk9990123c","RowKey":"rk9990123c","Timestamp":"2020-09-16T21:51:48.8109004Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable9990123c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.1684395Z''\"","PartitionKey":"pk9990123c","RowKey":"rk9990123c","Timestamp":"2020-10-01T01:07:11.1684395Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A48.8109004Z'" + - W/"datetime'2020-10-01T01%3A07%3A11.1684395Z'" location: - - https://storagename.table.core.windows.net/uttable9990123c(PartitionKey='pk9990123c',RowKey='rk9990123c') + - https://tablesteststorname.table.core.windows.net/uttable9990123c(PartitionKey='pk9990123c',RowKey='rk9990123c') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable9990123c + uri: https://tablesteststorname.table.core.windows.net/uttable9990123c response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable9990123c/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.8539301Z''\"","PartitionKey":"pk9990123c","RowKey":"test2","Timestamp":"2020-09-16T21:51:48.8539301Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable9990123c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.2144727Z''\"","PartitionKey":"pk9990123c","RowKey":"test2","Timestamp":"2020-10-01T01:07:11.2144727Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A48.8539301Z'" + - W/"datetime'2020-10-01T01%3A07%3A11.2144727Z'" location: - - https://storagename.table.core.windows.net/uttable9990123c(PartitionKey='pk9990123c',RowKey='test2') + - https://tablesteststorname.table.core.windows.net/uttable9990123c(PartitionKey='pk9990123c',RowKey='test2') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -163,25 +163,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable9990123c() + uri: https://tablesteststorname.table.core.windows.net/uttable9990123c() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable9990123c","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.8109004Z''\"","PartitionKey":"pk9990123c","RowKey":"rk9990123c","Timestamp":"2020-09-16T21:51:48.8109004Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A48.8539301Z''\"","PartitionKey":"pk9990123c","RowKey":"test2","Timestamp":"2020-09-16T21:51:48.8539301Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable9990123c","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.1684395Z''\"","PartitionKey":"pk9990123c","RowKey":"rk9990123c","Timestamp":"2020-10-01T01:07:11.1684395Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.2144727Z''\"","PartitionKey":"pk9990123c","RowKey":"test2","Timestamp":"2020-10-01T01:07:11.2144727Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -205,15 +205,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable9990123c') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable9990123c') response: body: string: '' @@ -223,7 +223,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:10 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_value.yaml index 38d92a627e56..a8850d5a393e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_unicode_property_value.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableac7612b8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableac7612b8"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:10 GMT location: - - https://storagename.table.core.windows.net/Tables('uttableac7612b8') + - https://tablesteststorname.table.core.windows.net/Tables('uttableac7612b8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -65,29 +65,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableac7612b8 + uri: https://tablesteststorname.table.core.windows.net/uttableac7612b8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableac7612b8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.2127525Z''\"","PartitionKey":"pkac7612b8","RowKey":"rkac7612b8","Timestamp":"2020-09-16T21:51:49.2127525Z","Description":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableac7612b8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.6071147Z''\"","PartitionKey":"pkac7612b8","RowKey":"rkac7612b8","Timestamp":"2020-10-01T01:07:11.6071147Z","Description":"\ua015"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A49.2127525Z'" + - W/"datetime'2020-10-01T01%3A07%3A11.6071147Z'" location: - - https://storagename.table.core.windows.net/uttableac7612b8(PartitionKey='pkac7612b8',RowKey='rkac7612b8') + - https://tablesteststorname.table.core.windows.net/uttableac7612b8(PartitionKey='pkac7612b8',RowKey='rkac7612b8') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -117,29 +117,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableac7612b8 + uri: https://tablesteststorname.table.core.windows.net/uttableac7612b8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableac7612b8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.2527827Z''\"","PartitionKey":"pkac7612b8","RowKey":"test2","Timestamp":"2020-09-16T21:51:49.2527827Z","Description":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableac7612b8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.6601512Z''\"","PartitionKey":"pkac7612b8","RowKey":"test2","Timestamp":"2020-10-01T01:07:11.6601512Z","Description":"\ua015"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:10 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A49.2527827Z'" + - W/"datetime'2020-10-01T01%3A07%3A11.6601512Z'" location: - - https://storagename.table.core.windows.net/uttableac7612b8(PartitionKey='pkac7612b8',RowKey='test2') + - https://tablesteststorname.table.core.windows.net/uttableac7612b8(PartitionKey='pkac7612b8',RowKey='test2') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -163,25 +163,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttableac7612b8() + uri: https://tablesteststorname.table.core.windows.net/uttableac7612b8() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableac7612b8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.2127525Z''\"","PartitionKey":"pkac7612b8","RowKey":"rkac7612b8","Timestamp":"2020-09-16T21:51:49.2127525Z","Description":"\ua015"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.2527827Z''\"","PartitionKey":"pkac7612b8","RowKey":"test2","Timestamp":"2020-09-16T21:51:49.2527827Z","Description":"\ua015"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableac7612b8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.6071147Z''\"","PartitionKey":"pkac7612b8","RowKey":"rkac7612b8","Timestamp":"2020-10-01T01:07:11.6071147Z","Description":"\ua015"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A11.6601512Z''\"","PartitionKey":"pkac7612b8","RowKey":"test2","Timestamp":"2020-10-01T01:07:11.6601512Z","Description":"\ua015"}]}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:10 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -205,15 +205,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableac7612b8') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableac7612b8') response: body: string: '' @@ -223,7 +223,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity.yaml index c9adf792ff5b..29de7649485a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable13250ef0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable13250ef0"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable13250ef0') + - https://tablesteststorname.table.core.windows.net/Tables('uttable13250ef0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable13250ef0 + uri: https://tablesteststorname.table.core.windows.net/uttable13250ef0 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable13250ef0/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.5356268Z''\"","PartitionKey":"pk13250ef0","RowKey":"rk13250ef0","Timestamp":"2020-09-16T21:51:49.5356268Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable13250ef0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A12.0972572Z''\"","PartitionKey":"pk13250ef0","RowKey":"rk13250ef0","Timestamp":"2020-10-01T01:07:12.0972572Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A49.5356268Z'" + - W/"datetime'2020-10-01T01%3A07%3A12.0972572Z'" location: - - https://storagename.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') + - https://tablesteststorname.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,17 +123,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:11 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') + uri: https://tablesteststorname.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') response: body: string: '' @@ -143,9 +143,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A49.5748671Z'" + - W/"datetime'2020-10-01T01%3A07%3A12.1540056Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -167,27 +167,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') + uri: https://tablesteststorname.table.core.windows.net/uttable13250ef0(PartitionKey='pk13250ef0',RowKey='rk13250ef0') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable13250ef0/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A49.5748671Z''\"","PartitionKey":"pk13250ef0","RowKey":"rk13250ef0","Timestamp":"2020-09-16T21:51:49.5748671Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable13250ef0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A12.1540056Z''\"","PartitionKey":"pk13250ef0","RowKey":"rk13250ef0","Timestamp":"2020-10-01T01:07:12.1540056Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A49.5748671Z'" + - W/"datetime'2020-10-01T01%3A07%3A12.1540056Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -211,15 +211,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable13250ef0') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable13250ef0') response: body: string: '' @@ -229,7 +229,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:48 GMT + - Thu, 01 Oct 2020 01:07:11 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_not_existing.yaml index f72ef5583aec..40f739d6b5ce 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_not_existing.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefb67146a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefb67146a"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT location: - - https://storagename.table.core.windows.net/Tables('uttablefb67146a') + - https://tablesteststorname.table.core.windows.net/Tables('uttablefb67146a') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,28 +67,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttablefb67146a(PartitionKey='pkfb67146a',RowKey='rkfb67146a') + uri: https://tablesteststorname.table.core.windows.net/uttablefb67146a(PartitionKey='pkfb67146a',RowKey='rkfb67146a') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:6e212271-8002-0076-1573-8cecbb000000\nTime:2020-09-16T21:51:49.9031460Z"}}}' + specified resource does not exist.\nRequestId:90bb3419-0002-0055-218f-973516000000\nTime:2020-10-01T01:07:12.5415449Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -112,15 +112,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefb67146a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefb67146a') response: body: string: '' @@ -130,7 +130,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_doesnt_match.yaml index 176e41bd79f7..d38a50bd8b8a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_doesnt_match.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableabcb1791"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableabcb1791"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT location: - - https://storagename.table.core.windows.net/Tables('uttableabcb1791') + - https://tablesteststorname.table.core.windows.net/Tables('uttableabcb1791') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableabcb1791 + uri: https://tablesteststorname.table.core.windows.net/uttableabcb1791 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableabcb1791/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A50.1729107Z''\"","PartitionKey":"pkabcb1791","RowKey":"rkabcb1791","Timestamp":"2020-09-16T21:51:50.1729107Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableabcb1791/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A12.877698Z''\"","PartitionKey":"pkabcb1791","RowKey":"rkabcb1791","Timestamp":"2020-10-01T01:07:12.877698Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A50.1729107Z'" + - W/"datetime'2020-10-01T01%3A07%3A12.877698Z'" location: - - https://storagename.table.core.windows.net/uttableabcb1791(PartitionKey='pkabcb1791',RowKey='rkabcb1791') + - https://tablesteststorname.table.core.windows.net/uttableabcb1791(PartitionKey='pkabcb1791',RowKey='rkabcb1791') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,28 +123,28 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' - method: PATCH - uri: https://storagename.table.core.windows.net/uttableabcb1791(PartitionKey='pkabcb1791',RowKey='rkabcb1791') + method: PUT + uri: https://tablesteststorname.table.core.windows.net/uttableabcb1791(PartitionKey='pkabcb1791',RowKey='rkabcb1791') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:809cdd1b-7002-0068-2273-8c3656000000\nTime:2020-09-16T21:51:50.2379555Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:20b96d67-f002-0040-5e8f-97f78f000000\nTime:2020-10-01T01:07:12.9317365Z"}}}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -168,15 +168,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableabcb1791') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableabcb1791') response: body: string: '' @@ -186,7 +186,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_matches.yaml index 120bde4715a4..404031e8f82b 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity.test_update_entity_with_if_matches.yaml @@ -15,27 +15,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:12 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable39e2157d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable39e2157d"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:13 GMT location: - - https://storagename.table.core.windows.net/Tables('uttable39e2157d') + - https://tablesteststorname.table.core.windows.net/Tables('uttable39e2157d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -69,29 +69,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable39e2157d + uri: https://tablesteststorname.table.core.windows.net/uttable39e2157d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable39e2157d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A50.5068939Z''\"","PartitionKey":"pk39e2157d","RowKey":"rk39e2157d","Timestamp":"2020-09-16T21:51:50.5068939Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable39e2157d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A13.2904823Z''\"","PartitionKey":"pk39e2157d","RowKey":"rk39e2157d","Timestamp":"2020-10-01T01:07:13.2904823Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:13 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A50.5068939Z'" + - W/"datetime'2020-10-01T01%3A07%3A13.2904823Z'" location: - - https://storagename.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') + - https://tablesteststorname.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -123,17 +123,17 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A50.5068939Z'" + - W/"datetime'2020-10-01T01%3A07%3A13.2904823Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') + uri: https://tablesteststorname.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') response: body: string: '' @@ -143,9 +143,9 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:13 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A50.5495342Z'" + - W/"datetime'2020-10-01T01%3A07%3A13.3418517Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: @@ -167,27 +167,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') + uri: https://tablesteststorname.table.core.windows.net/uttable39e2157d(PartitionKey='pk39e2157d',RowKey='rk39e2157d') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable39e2157d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A50.5495342Z''\"","PartitionKey":"pk39e2157d","RowKey":"rk39e2157d","Timestamp":"2020-09-16T21:51:50.5495342Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable39e2157d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A13.3418517Z''\"","PartitionKey":"pk39e2157d","RowKey":"rk39e2157d","Timestamp":"2020-10-01T01:07:13.3418517Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: - no-cache content-type: - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:13 GMT etag: - - W/"datetime'2020-09-16T21%3A51%3A50.5495342Z'" + - W/"datetime'2020-10-01T01%3A07%3A13.3418517Z'" server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -211,15 +211,15 @@ interactions: Content-Length: - '0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable39e2157d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable39e2157d') response: body: string: '' @@ -229,7 +229,7 @@ interactions: content-length: - '0' date: - - Wed, 16 Sep 2020 21:51:49 GMT + - Thu, 01 Oct 2020 01:07:13 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_binary_property_value.yaml index b4f39fe6e483..6c4d5a94f5be 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_binary_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_binary_property_value.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable10a914d3"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable10a914d3"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - location: https://storagename.table.core.windows.net/Tables('uttable10a914d3') + date: Thu, 01 Oct 2020 01:07:13 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable10a914d3') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk10a914d3", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk10a914d3", "RowKey@odata.type": "Edm.String", "binary": "AQIDBAUGBwgJCg==", @@ -50,24 +50,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable10a914d3 + uri: https://tablesteststorname.table.core.windows.net/uttable10a914d3 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable10a914d3/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A50.8591023Z''\"","PartitionKey":"pk10a914d3","RowKey":"rk10a914d3","Timestamp":"2020-09-16T21:51:50.8591023Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable10a914d3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A13.7488768Z''\"","PartitionKey":"pk10a914d3","RowKey":"rk10a914d3","Timestamp":"2020-10-01T01:07:13.7488768Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A50.8591023Z'" - location: https://storagename.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') + date: Thu, 01 Oct 2020 01:07:13 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A13.7488768Z'" + location: https://tablesteststorname.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -75,7 +75,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable10a914d3 + url: https://tablesteststorname.table.core.windows.net/uttable10a914d3 - request: body: null headers: @@ -84,23 +84,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') + uri: https://tablesteststorname.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable10a914d3/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A50.8591023Z''\"","PartitionKey":"pk10a914d3","RowKey":"rk10a914d3","Timestamp":"2020-09-16T21:51:50.8591023Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable10a914d3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A13.7488768Z''\"","PartitionKey":"pk10a914d3","RowKey":"rk10a914d3","Timestamp":"2020-10-01T01:07:13.7488768Z","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg=="}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A50.8591023Z'" + date: Thu, 01 Oct 2020 01:07:13 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A13.7488768Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -108,34 +108,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') + url: https://tablesteststorname.table.core.windows.net/uttable10a914d3(PartitionKey='pk10a914d3',RowKey='rk10a914d3') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable10a914d3') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable10a914d3') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable10a914d3') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable10a914d3') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity.yaml index d6e92fa53297..fa058b9986bd 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:50 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable74f8115d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable74f8115d"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - location: https://storagename.table.core.windows.net/Tables('uttable74f8115d') + date: Thu, 01 Oct 2020 01:07:13 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable74f8115d') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk74f8115d", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk74f8115d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable74f8115d + uri: https://tablesteststorname.table.core.windows.net/uttable74f8115d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable74f8115d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A51.1476987Z''\"","PartitionKey":"pk74f8115d","RowKey":"rk74f8115d","Timestamp":"2020-09-16T21:51:51.1476987Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable74f8115d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A14.0742972Z''\"","PartitionKey":"pk74f8115d","RowKey":"rk74f8115d","Timestamp":"2020-10-01T01:07:14.0742972Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A51.1476987Z'" - location: https://storagename.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') + date: Thu, 01 Oct 2020 01:07:13 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A14.0742972Z'" + location: https://tablesteststorname.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable74f8115d + url: https://tablesteststorname.table.core.windows.net/uttable74f8115d - request: body: null headers: @@ -88,31 +88,31 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') + uri: https://tablesteststorname.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') + url: https://tablesteststorname.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') - request: body: null headers: @@ -121,23 +121,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:13 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') + uri: https://tablesteststorname.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:ac45f161-3002-006f-0273-8cc0d3000000\nTime:2020-09-16T21:51:51.2117422Z"}}}' + specified resource does not exist.\nRequestId:9cff4549-4002-0052-328f-97c393000000\nTime:2020-10-01T01:07:14.1563555Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -145,34 +145,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') + url: https://tablesteststorname.table.core.windows.net/uttable74f8115d(PartitionKey='pk74f8115d',RowKey='rk74f8115d') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable74f8115d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable74f8115d') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable74f8115d') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable74f8115d') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_not_existing.yaml index b14e7872352c..e88d2b50fa28 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_not_existing.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7cd216d7"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7cd216d7"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - location: https://storagename.table.core.windows.net/Tables('uttable7cd216d7') + date: Thu, 01 Oct 2020 01:07:13 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable7cd216d7') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: @@ -44,25 +44,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable7cd216d7(PartitionKey='pk7cd216d7',RowKey='rk7cd216d7') + uri: https://tablesteststorname.table.core.windows.net/uttable7cd216d7(PartitionKey='pk7cd216d7',RowKey='rk7cd216d7') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:2b227873-0002-000a-3773-8c718e000000\nTime:2020-09-16T21:51:51.4602275Z"}}}' + specified resource does not exist.\nRequestId:19eedb9b-6002-0001-688f-97df9c000000\nTime:2020-10-01T01:07:14.4371746Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -70,34 +70,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7cd216d7(PartitionKey='pk7cd216d7',RowKey='rk7cd216d7') + url: https://tablesteststorname.table.core.windows.net/uttable7cd216d7(PartitionKey='pk7cd216d7',RowKey='rk7cd216d7') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7cd216d7') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7cd216d7') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable7cd216d7') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable7cd216d7') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_doesnt_match.yaml index beaede61054c..7fb54b24cad0 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_doesnt_match.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable409e19fe"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable409e19fe"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - location: https://storagename.table.core.windows.net/Tables('uttable409e19fe') + date: Thu, 01 Oct 2020 01:07:13 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable409e19fe') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk409e19fe", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk409e19fe", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable409e19fe + uri: https://tablesteststorname.table.core.windows.net/uttable409e19fe response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable409e19fe/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A51.6748467Z''\"","PartitionKey":"pk409e19fe","RowKey":"rk409e19fe","Timestamp":"2020-09-16T21:51:51.6748467Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable409e19fe/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A14.7262973Z''\"","PartitionKey":"pk409e19fe","RowKey":"rk409e19fe","Timestamp":"2020-10-01T01:07:14.7262973Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A51.6748467Z'" - location: https://storagename.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') + date: Thu, 01 Oct 2020 01:07:13 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A14.7262973Z'" + location: https://tablesteststorname.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable409e19fe + url: https://tablesteststorname.table.core.windows.net/uttable409e19fe - request: body: null headers: @@ -88,25 +88,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') + uri: https://tablesteststorname.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:92a98cfb-2002-0016-7273-8ca999000000\nTime:2020-09-16T21:51:51.7078704Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:6e250574-8002-0029-1d8f-97a823000000\nTime:2020-10-01T01:07:14.7743310Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:13 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -114,34 +114,34 @@ interactions: status: code: 412 message: Precondition Failed - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') + url: https://tablesteststorname.table.core.windows.net/uttable409e19fe(PartitionKey='pk409e19fe',RowKey='rk409e19fe') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable409e19fe') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable409e19fe') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:50 GMT + date: Thu, 01 Oct 2020 01:07:14 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable409e19fe') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable409e19fe') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_matches.yaml index c26a7ccf524b..5066a2898f67 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_delete_entity_with_if_matches.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec28517ea"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec28517ea"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - location: https://storagename.table.core.windows.net/Tables('uttablec28517ea') + date: Thu, 01 Oct 2020 01:07:14 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablec28517ea') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkc28517ea", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkc28517ea", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablec28517ea + uri: https://tablesteststorname.table.core.windows.net/uttablec28517ea response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec28517ea/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A51.92129Z''\"","PartitionKey":"pkc28517ea","RowKey":"rkc28517ea","Timestamp":"2020-09-16T21:51:51.92129Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec28517ea/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A15.0531133Z''\"","PartitionKey":"pkc28517ea","RowKey":"rkc28517ea","Timestamp":"2020-10-01T01:07:15.0531133Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A51.92129Z'" - location: https://storagename.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') + date: Thu, 01 Oct 2020 01:07:14 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A15.0531133Z'" + location: https://tablesteststorname.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec28517ea + url: https://tablesteststorname.table.core.windows.net/uttablec28517ea - request: body: null headers: @@ -88,31 +88,31 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A51.92129Z'" + - W/"datetime'2020-10-01T01%3A07%3A15.0531133Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') + uri: https://tablesteststorname.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:14 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') + url: https://tablesteststorname.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') - request: body: null headers: @@ -121,23 +121,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') + uri: https://tablesteststorname.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:23f05e1e-d002-004c-0d73-8caf18000000\nTime:2020-09-16T21:51:51.9913389Z"}}}' + specified resource does not exist.\nRequestId:b409615c-8002-0000-038f-97de61000000\nTime:2020-10-01T01:07:15.1351716Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:14 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -145,34 +145,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') + url: https://tablesteststorname.table.core.windows.net/uttablec28517ea(PartitionKey='pkc28517ea',RowKey='rkc28517ea') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:14 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec28517ea') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec28517ea') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:14 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablec28517ea') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablec28517ea') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_empty_and_spaces_property_value.yaml index 168a528ca9bc..0ca6ad9c5f28 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_empty_and_spaces_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_empty_and_spaces_property_value.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:51 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef58f18ed"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef58f18ed"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - location: https://storagename.table.core.windows.net/Tables('uttablef58f18ed') + date: Thu, 01 Oct 2020 01:07:14 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablef58f18ed') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkf58f18ed", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkf58f18ed", "RowKey@odata.type": "Edm.String", "EmptyByte": "", @@ -58,24 +58,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablef58f18ed + uri: https://tablesteststorname.table.core.windows.net/uttablef58f18ed response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef58f18ed/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.1870801Z''\"","PartitionKey":"pkf58f18ed","RowKey":"rkf58f18ed","Timestamp":"2020-09-16T21:51:52.1870801Z","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text "}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef58f18ed/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A15.4023633Z''\"","PartitionKey":"pkf58f18ed","RowKey":"rkf58f18ed","Timestamp":"2020-10-01T01:07:15.4023633Z","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text "}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.1870801Z'" - location: https://storagename.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') + date: Thu, 01 Oct 2020 01:07:14 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A15.4023633Z'" + location: https://tablesteststorname.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -83,7 +83,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef58f18ed + url: https://tablesteststorname.table.core.windows.net/uttablef58f18ed - request: body: null headers: @@ -92,23 +92,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') + uri: https://tablesteststorname.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef58f18ed/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.1870801Z''\"","PartitionKey":"pkf58f18ed","RowKey":"rkf58f18ed","Timestamp":"2020-09-16T21:51:52.1870801Z","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text "}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef58f18ed/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A15.4023633Z''\"","PartitionKey":"pkf58f18ed","RowKey":"rkf58f18ed","Timestamp":"2020-10-01T01:07:15.4023633Z","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text "}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.1870801Z'" + date: Thu, 01 Oct 2020 01:07:14 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A15.4023633Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,34 +116,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') + url: https://tablesteststorname.table.core.windows.net/uttablef58f18ed(PartitionKey='pkf58f18ed',RowKey='rkf58f18ed') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablef58f18ed') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablef58f18ed') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:15 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablef58f18ed') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablef58f18ed') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity.yaml index f2e6fbe95c47..3c79b1c11ad6 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42bf102a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42bf102a"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - location: https://storagename.table.core.windows.net/Tables('uttable42bf102a') + date: Thu, 01 Oct 2020 01:07:14 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable42bf102a') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk42bf102a", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42bf102a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable42bf102a + uri: https://tablesteststorname.table.core.windows.net/uttable42bf102a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42bf102a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.4579192Z''\"","PartitionKey":"pk42bf102a","RowKey":"rk42bf102a","Timestamp":"2020-09-16T21:51:52.4579192Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42bf102a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A15.738251Z''\"","PartitionKey":"pk42bf102a","RowKey":"rk42bf102a","Timestamp":"2020-10-01T01:07:15.738251Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.4579192Z'" - location: https://storagename.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') + date: Thu, 01 Oct 2020 01:07:14 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A15.738251Z'" + location: https://tablesteststorname.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42bf102a + url: https://tablesteststorname.table.core.windows.net/uttable42bf102a - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') + uri: https://tablesteststorname.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42bf102a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.4579192Z''\"","PartitionKey":"pk42bf102a","RowKey":"rk42bf102a","Timestamp":"2020-09-16T21:51:52.4579192Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42bf102a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A15.738251Z''\"","PartitionKey":"pk42bf102a","RowKey":"rk42bf102a","Timestamp":"2020-10-01T01:07:15.738251Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:51 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.4579192Z'" + date: Thu, 01 Oct 2020 01:07:15 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A15.738251Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') + url: https://tablesteststorname.table.core.windows.net/uttable42bf102a(PartitionKey='pk42bf102a',RowKey='rk42bf102a') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable42bf102a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable42bf102a') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:51 GMT + date: Thu, 01 Oct 2020 01:07:15 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable42bf102a') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable42bf102a') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_full_metadata.yaml index 1a5b676dcb0b..c2bfa657ff0b 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_full_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable4fed15dc"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable4fed15dc"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - location: https://storagename.table.core.windows.net/Tables('uttable4fed15dc') + date: Thu, 01 Oct 2020 01:07:15 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable4fed15dc') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk4fed15dc", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk4fed15dc", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable4fed15dc + uri: https://tablesteststorname.table.core.windows.net/uttable4fed15dc response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable4fed15dc/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.7226665Z''\"","PartitionKey":"pk4fed15dc","RowKey":"rk4fed15dc","Timestamp":"2020-09-16T21:51:52.7226665Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable4fed15dc/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A16.0639025Z''\"","PartitionKey":"pk4fed15dc","RowKey":"rk4fed15dc","Timestamp":"2020-10-01T01:07:16.0639025Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.7226665Z'" - location: https://storagename.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') + date: Thu, 01 Oct 2020 01:07:15 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.0639025Z'" + location: https://tablesteststorname.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,32 +79,32 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable4fed15dc + url: https://tablesteststorname.table.core.windows.net/uttable4fed15dc - request: body: null headers: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=fullmetadata x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') + uri: https://tablesteststorname.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable4fed15dc/@Element","odata.type":"storagename.uttable4fed15dc","odata.id":"https://storagename.table.core.windows.net/uttable4fed15dc(PartitionKey=''pk4fed15dc'',RowKey=''rk4fed15dc'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.7226665Z''\"","odata.editLink":"uttable4fed15dc(PartitionKey=''pk4fed15dc'',RowKey=''rk4fed15dc'')","PartitionKey":"pk4fed15dc","RowKey":"rk4fed15dc","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:52.7226665Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable4fed15dc/@Element","odata.type":"tablesteststorname.uttable4fed15dc","odata.id":"https://tablesteststorname.table.core.windows.net/uttable4fed15dc(PartitionKey=''pk4fed15dc'',RowKey=''rk4fed15dc'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A16.0639025Z''\"","odata.editLink":"uttable4fed15dc(PartitionKey=''pk4fed15dc'',RowKey=''rk4fed15dc'')","PartitionKey":"pk4fed15dc","RowKey":"rk4fed15dc","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:16.0639025Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=fullmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.7226665Z'" + date: Thu, 01 Oct 2020 01:07:15 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.0639025Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') + url: https://tablesteststorname.table.core.windows.net/uttable4fed15dc(PartitionKey='pk4fed15dc',RowKey='rk4fed15dc') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:15 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable4fed15dc') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable4fed15dc') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:52 GMT + date: Thu, 01 Oct 2020 01:07:15 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable4fed15dc') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable4fed15dc') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_if_match.yaml index 35c4c93c2c68..c257746e3b92 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_if_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_if_match.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee60b13c4"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee60b13c4"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - location: https://storagename.table.core.windows.net/Tables('uttablee60b13c4') + date: Thu, 01 Oct 2020 01:07:15 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablee60b13c4') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pke60b13c4", "PartitionKey@odata.type": "Edm.String", "RowKey": "rke60b13c4", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee60b13c4 + uri: https://tablesteststorname.table.core.windows.net/uttablee60b13c4 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee60b13c4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.988801Z''\"","PartitionKey":"pke60b13c4","RowKey":"rke60b13c4","Timestamp":"2020-09-16T21:51:52.988801Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee60b13c4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A16.422642Z''\"","PartitionKey":"pke60b13c4","RowKey":"rke60b13c4","Timestamp":"2020-10-01T01:07:16.422642Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.988801Z'" - location: https://storagename.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') + date: Thu, 01 Oct 2020 01:07:15 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.422642Z'" + location: https://tablesteststorname.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablee60b13c4 + url: https://tablesteststorname.table.core.windows.net/uttablee60b13c4 - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') + uri: https://tablesteststorname.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee60b13c4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A52.988801Z''\"","PartitionKey":"pke60b13c4","RowKey":"rke60b13c4","Timestamp":"2020-09-16T21:51:52.988801Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee60b13c4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A16.422642Z''\"","PartitionKey":"pke60b13c4","RowKey":"rke60b13c4","Timestamp":"2020-10-01T01:07:16.422642Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A52.988801Z'" + date: Thu, 01 Oct 2020 01:07:15 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.422642Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,7 +112,7 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') + url: https://tablesteststorname.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') - request: body: null headers: @@ -121,58 +121,58 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A52.988801Z'" + - W/"datetime'2020-10-01T01%3A07%3A16.422642Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:52 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') + uri: https://tablesteststorname.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:52 GMT + date: Thu, 01 Oct 2020 01:07:15 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') + url: https://tablesteststorname.table.core.windows.net/uttablee60b13c4(PartitionKey='pke60b13c4',RowKey='rke60b13c4') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee60b13c4') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee60b13c4') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:52 GMT + date: Thu, 01 Oct 2020 01:07:15 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablee60b13c4') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablee60b13c4') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_no_metadata.yaml index 3fa037804c07..a2726bf3c427 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_no_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable24651506"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable24651506"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - location: https://storagename.table.core.windows.net/Tables('uttable24651506') + date: Thu, 01 Oct 2020 01:07:16 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable24651506') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk24651506", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk24651506", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable24651506 + uri: https://tablesteststorname.table.core.windows.net/uttable24651506 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable24651506/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A53.2972407Z''\"","PartitionKey":"pk24651506","RowKey":"rk24651506","Timestamp":"2020-09-16T21:51:53.2972407Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable24651506/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A16.8664553Z''\"","PartitionKey":"pk24651506","RowKey":"rk24651506","Timestamp":"2020-10-01T01:07:16.8664553Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A53.2972407Z'" - location: https://storagename.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') + date: Thu, 01 Oct 2020 01:07:16 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.8664553Z'" + location: https://tablesteststorname.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,32 +79,32 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable24651506 + url: https://tablesteststorname.table.core.windows.net/uttable24651506 - request: body: null headers: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=nometadata x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') + uri: https://tablesteststorname.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') response: body: - string: '{"PartitionKey":"pk24651506","RowKey":"rk24651506","Timestamp":"2020-09-16T21:51:53.2972407Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pk24651506","RowKey":"rk24651506","Timestamp":"2020-10-01T01:07:16.8664553Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=nometadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:52 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A53.2972407Z'" + date: Thu, 01 Oct 2020 01:07:16 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A16.8664553Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') + url: https://tablesteststorname.table.core.windows.net/uttable24651506(PartitionKey='pk24651506',RowKey='rk24651506') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable24651506') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable24651506') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:52 GMT + date: Thu, 01 Oct 2020 01:07:16 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable24651506') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable24651506') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_not_existing.yaml index f88e30f08ad6..cdeafd0facef 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_not_existing.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:16 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3b0215a4"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3b0215a4"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - location: https://storagename.table.core.windows.net/Tables('uttable3b0215a4') + date: Thu, 01 Oct 2020 01:07:16 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable3b0215a4') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: @@ -44,23 +44,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable3b0215a4(PartitionKey='pk3b0215a4',RowKey='rk3b0215a4') + uri: https://tablesteststorname.table.core.windows.net/uttable3b0215a4(PartitionKey='pk3b0215a4',RowKey='rk3b0215a4') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:ab40a6e2-b002-0013-5773-8c5de6000000\nTime:2020-09-16T21:51:53.5409848Z"}}}' + specified resource does not exist.\nRequestId:32005fbc-8002-004f-488f-971a79000000\nTime:2020-10-01T01:07:17.2553255Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:16 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -68,34 +68,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable3b0215a4(PartitionKey='pk3b0215a4',RowKey='rk3b0215a4') + url: https://tablesteststorname.table.core.windows.net/uttable3b0215a4(PartitionKey='pk3b0215a4',RowKey='rk3b0215a4') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3b0215a4') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3b0215a4') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:16 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable3b0215a4') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable3b0215a4') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_hook.yaml index d26f621a85e7..fd71a269180d 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_hook.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefb3d1455"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefb3d1455"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - location: https://storagename.table.core.windows.net/Tables('uttablefb3d1455') + date: Thu, 01 Oct 2020 01:07:17 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablefb3d1455') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkfb3d1455", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkfb3d1455", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablefb3d1455 + uri: https://tablesteststorname.table.core.windows.net/uttablefb3d1455 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablefb3d1455/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A53.7642765Z''\"","PartitionKey":"pkfb3d1455","RowKey":"rkfb3d1455","Timestamp":"2020-09-16T21:51:53.7642765Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablefb3d1455/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A17.5944109Z''\"","PartitionKey":"pkfb3d1455","RowKey":"rkfb3d1455","Timestamp":"2020-10-01T01:07:17.5944109Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A53.7642765Z'" - location: https://storagename.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') + date: Thu, 01 Oct 2020 01:07:17 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A17.5944109Z'" + location: https://tablesteststorname.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablefb3d1455 + url: https://tablesteststorname.table.core.windows.net/uttablefb3d1455 - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') + uri: https://tablesteststorname.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablefb3d1455/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A53.7642765Z''\"","PartitionKey":"pkfb3d1455","RowKey":"rkfb3d1455","Timestamp":"2020-09-16T21:51:53.7642765Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablefb3d1455/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A17.5944109Z''\"","PartitionKey":"pkfb3d1455","RowKey":"rkfb3d1455","Timestamp":"2020-10-01T01:07:17.5944109Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A53.7642765Z'" + date: Thu, 01 Oct 2020 01:07:17 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A17.5944109Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') + url: https://tablesteststorname.table.core.windows.net/uttablefb3d1455(PartitionKey='pkfb3d1455',RowKey='rkfb3d1455') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefb3d1455') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefb3d1455') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:17 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablefb3d1455') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablefb3d1455') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_special_doubles.yaml index 80a73c607d6e..85919aa6ca08 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_special_doubles.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_get_entity_with_special_doubles.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef57d18d2"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef57d18d2"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - location: https://storagename.table.core.windows.net/Tables('uttablef57d18d2') + date: Thu, 01 Oct 2020 01:07:17 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablef57d18d2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkf57d18d2", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkf57d18d2", "RowKey@odata.type": "Edm.String", "inf": "Infinity", @@ -51,24 +51,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablef57d18d2 + uri: https://tablesteststorname.table.core.windows.net/uttablef57d18d2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef57d18d2/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.0267689Z''\"","PartitionKey":"pkf57d18d2","RowKey":"rkf57d18d2","Timestamp":"2020-09-16T21:51:54.0267689Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef57d18d2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A18.0104177Z''\"","PartitionKey":"pkf57d18d2","RowKey":"rkf57d18d2","Timestamp":"2020-10-01T01:07:18.0104177Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.0267689Z'" - location: https://storagename.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') + date: Thu, 01 Oct 2020 01:07:17 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A18.0104177Z'" + location: https://tablesteststorname.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -76,7 +76,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef57d18d2 + url: https://tablesteststorname.table.core.windows.net/uttablef57d18d2 - request: body: null headers: @@ -85,23 +85,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:53 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') + uri: https://tablesteststorname.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef57d18d2/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.0267689Z''\"","PartitionKey":"pkf57d18d2","RowKey":"rkf57d18d2","Timestamp":"2020-09-16T21:51:54.0267689Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef57d18d2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A18.0104177Z''\"","PartitionKey":"pkf57d18d2","RowKey":"rkf57d18d2","Timestamp":"2020-10-01T01:07:18.0104177Z","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.0267689Z'" + date: Thu, 01 Oct 2020 01:07:17 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A18.0104177Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -109,34 +109,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') + url: https://tablesteststorname.table.core.windows.net/uttablef57d18d2(PartitionKey='pkf57d18d2',RowKey='rkf57d18d2') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablef57d18d2') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablef57d18d2') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:17 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablef57d18d2') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablef57d18d2') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_conflict.yaml index a96bf71414b4..354180a26f3c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_conflict.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_conflict.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:17 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:17 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable260d1530"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable260d1530"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - location: https://storagename.table.core.windows.net/Tables('uttable260d1530') + date: Thu, 01 Oct 2020 01:07:17 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable260d1530') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk260d1530", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk260d1530", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable260d1530 + uri: https://tablesteststorname.table.core.windows.net/uttable260d1530 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable260d1530/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.2709101Z''\"","PartitionKey":"pk260d1530","RowKey":"rk260d1530","Timestamp":"2020-09-16T21:51:54.2709101Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable260d1530/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A18.4673329Z''\"","PartitionKey":"pk260d1530","RowKey":"rk260d1530","Timestamp":"2020-10-01T01:07:18.4673329Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.2709101Z'" - location: https://storagename.table.core.windows.net/uttable260d1530(PartitionKey='pk260d1530',RowKey='rk260d1530') + date: Thu, 01 Oct 2020 01:07:17 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A18.4673329Z'" + location: https://tablesteststorname.table.core.windows.net/uttable260d1530(PartitionKey='pk260d1530',RowKey='rk260d1530') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable260d1530 + url: https://tablesteststorname.table.core.windows.net/uttable260d1530 - request: body: '{"PartitionKey": "pk260d1530", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk260d1530", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -98,23 +98,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable260d1530 + uri: https://tablesteststorname.table.core.windows.net/uttable260d1530 response: body: string: '{"odata.error":{"code":"EntityAlreadyExists","message":{"lang":"en-US","value":"The - specified entity already exists.\nRequestId:91ed6d95-0002-0028-5e73-8c1fb8000000\nTime:2020-09-16T21:51:54.3059360Z"}}}' + specified entity already exists.\nRequestId:19b4ac6c-5002-004d-618f-971883000000\nTime:2020-10-01T01:07:18.5193697Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:17 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -122,34 +122,34 @@ interactions: status: code: 409 message: Conflict - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable260d1530 + url: https://tablesteststorname.table.core.windows.net/uttable260d1530 - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable260d1530') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable260d1530') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:17 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable260d1530') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable260d1530') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_dictionary.yaml index 3004441ed09a..6bc16f86738b 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_dictionary.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_dictionary.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable51a71614"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable51a71614"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - location: https://storagename.table.core.windows.net/Tables('uttable51a71614') + date: Thu, 01 Oct 2020 01:07:17 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable51a71614') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk51a71614", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk51a71614", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable51a71614 + uri: https://tablesteststorname.table.core.windows.net/uttable51a71614 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable51a71614/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.4973284Z''\"","PartitionKey":"pk51a71614","RowKey":"rk51a71614","Timestamp":"2020-09-16T21:51:54.4973284Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable51a71614/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A18.9665062Z''\"","PartitionKey":"pk51a71614","RowKey":"rk51a71614","Timestamp":"2020-10-01T01:07:18.9665062Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:53 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.4973284Z'" - location: https://storagename.table.core.windows.net/uttable51a71614(PartitionKey='pk51a71614',RowKey='rk51a71614') + date: Thu, 01 Oct 2020 01:07:18 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A18.9665062Z'" + location: https://tablesteststorname.table.core.windows.net/uttable51a71614(PartitionKey='pk51a71614',RowKey='rk51a71614') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,34 +79,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable51a71614 + url: https://tablesteststorname.table.core.windows.net/uttable51a71614 - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable51a71614') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable51a71614') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:53 GMT + date: Thu, 01 Oct 2020 01:07:18 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable51a71614') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable51a71614') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_pk.yaml index f4f030437875..f87fe0399b99 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_pk.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:18 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec79a183d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec79a183d"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - location: https://storagename.table.core.windows.net/Tables('uttablec79a183d') + date: Thu, 01 Oct 2020 01:07:18 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablec79a183d') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"RowKey": "rk", "RowKey@odata.type": "Edm.String", "PartitionKey": "", "PartitionKey@odata.type": "Edm.String"}' @@ -49,24 +49,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablec79a183d + uri: https://tablesteststorname.table.core.windows.net/uttablec79a183d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec79a183d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.7131946Z''\"","PartitionKey":"","RowKey":"rk","Timestamp":"2020-09-16T21:51:54.7131946Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec79a183d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A19.3056016Z''\"","PartitionKey":"","RowKey":"rk","Timestamp":"2020-10-01T01:07:19.3056016Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.7131946Z'" - location: https://storagename.table.core.windows.net/uttablec79a183d(PartitionKey='',RowKey='rk') + date: Thu, 01 Oct 2020 01:07:18 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A19.3056016Z'" + location: https://tablesteststorname.table.core.windows.net/uttablec79a183d(PartitionKey='',RowKey='rk') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -74,34 +74,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec79a183d + url: https://tablesteststorname.table.core.windows.net/uttablec79a183d - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec79a183d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec79a183d') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:54 GMT + date: Thu, 01 Oct 2020 01:07:18 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablec79a183d') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablec79a183d') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_rk.yaml index 1a5abe13c37e..c0fdc6fe0bc9 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_empty_string_rk.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec79e183f"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec79e183f"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - location: https://storagename.table.core.windows.net/Tables('uttablec79e183f') + date: Thu, 01 Oct 2020 01:07:18 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablec79e183f') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk", "PartitionKey@odata.type": "Edm.String", "RowKey": "", "RowKey@odata.type": "Edm.String"}' @@ -49,24 +49,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablec79e183f + uri: https://tablesteststorname.table.core.windows.net/uttablec79e183f response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec79e183f/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A54.935137Z''\"","PartitionKey":"pk","RowKey":"","Timestamp":"2020-09-16T21:51:54.935137Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec79e183f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A19.5970998Z''\"","PartitionKey":"pk","RowKey":"","Timestamp":"2020-10-01T01:07:19.5970998Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A54.935137Z'" - location: https://storagename.table.core.windows.net/uttablec79e183f(PartitionKey='pk',RowKey='') + date: Thu, 01 Oct 2020 01:07:18 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A19.5970998Z'" + location: https://tablesteststorname.table.core.windows.net/uttablec79e183f(PartitionKey='pk',RowKey='') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -74,34 +74,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec79e183f + url: https://tablesteststorname.table.core.windows.net/uttablec79e183f - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec79e183f') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec79e183f') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:54 GMT + date: Thu, 01 Oct 2020 01:07:19 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablec79e183f') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablec79e183f') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_pk.yaml index e811f89cab83..c41cda4cbe88 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_pk.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:54 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable52411612"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable52411612"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - location: https://storagename.table.core.windows.net/Tables('uttable52411612') + date: Thu, 01 Oct 2020 01:07:19 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable52411612') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable52411612') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable52411612') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:19 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable52411612') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable52411612') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_rk.yaml index ccbe7d522f1c..4a67669fb8a6 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_missing_rk.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable52451614"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable52451614"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - location: https://storagename.table.core.windows.net/Tables('uttable52451614') + date: Thu, 01 Oct 2020 01:07:19 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable52451614') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:19 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable52451614') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable52451614') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:54 GMT + date: Thu, 01 Oct 2020 01:07:19 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable52451614') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable52451614') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_property_name_too_long.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_property_name_too_long.yaml index c1964d8add4e..d539079ce51e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_property_name_too_long.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_property_name_too_long.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7d0b1b23"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7d0b1b23"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - location: https://storagename.table.core.windows.net/Tables('uttable7d0b1b23') + date: Thu, 01 Oct 2020 01:07:19 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable7d0b1b23') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk7d0b1b23", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7d0b1b23", "RowKey@odata.type": "Edm.String", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": @@ -51,23 +51,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable7d0b1b23 + uri: https://tablesteststorname.table.core.windows.net/uttable7d0b1b23 response: body: string: '{"odata.error":{"code":"PropertyNameTooLong","message":{"lang":"en-US","value":"The - property name exceeds the maximum allowed length (255).\nRequestId:756121f7-a002-0061-7273-8c2cd8000000\nTime:2020-09-16T21:51:55.7610024Z"}}}' + property name exceeds the maximum allowed length (255).\nRequestId:22fc9437-3002-005d-648f-972e65000000\nTime:2020-10-01T01:07:20.3903167Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT + date: Thu, 01 Oct 2020 01:07:19 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -75,34 +75,34 @@ interactions: status: code: 400 message: Bad Request - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7d0b1b23 + url: https://tablesteststorname.table.core.windows.net/uttable7d0b1b23 - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7d0b1b23') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7d0b1b23') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:54 GMT + date: Thu, 01 Oct 2020 01:07:19 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable7d0b1b23') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable7d0b1b23') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_too_many_properties.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_too_many_properties.yaml index d3cee08ae1c7..04203ca7c862 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_too_many_properties.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_too_many_properties.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable2c5919f0"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable2c5919f0"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:54 GMT - location: https://storagename.table.core.windows.net/Tables('uttable2c5919f0') + date: Thu, 01 Oct 2020 01:07:20 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable2c5919f0') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk2c5919f0", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk2c5919f0", "RowKey@odata.type": "Edm.String", "key0": "value0", @@ -218,24 +218,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable2c5919f0 + uri: https://tablesteststorname.table.core.windows.net/uttable2c5919f0 response: body: string: '{"odata.error":{"code":"TooManyProperties","message":{"lang":"en-US","value":"The entity contains more properties than allowed. Each entity can include up to - 252 properties to store data. Each entity also has 3 system properties.\nRequestId:9d4256dd-4002-0049-3473-8c5b67000000\nTime:2020-09-16T21:51:55.9858228Z"}}}' + 252 properties to store data. Each entity also has 3 system properties.\nRequestId:2a1f8dc1-d002-005c-088f-972f98000000\nTime:2020-10-01T01:07:20.6850030Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:20 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -243,34 +243,34 @@ interactions: status: code: 400 message: Bad Request - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable2c5919f0 + url: https://tablesteststorname.table.core.windows.net/uttable2c5919f0 - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable2c5919f0') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable2c5919f0') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:20 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable2c5919f0') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable2c5919f0') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_full_metadata.yaml index b86ba885af5e..d82058ced697 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_full_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:55 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable1172194c"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable1172194c"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - location: https://storagename.table.core.windows.net/Tables('uttable1172194c') + date: Thu, 01 Oct 2020 01:07:20 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable1172194c') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk1172194c", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk1172194c", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable1172194c + uri: https://tablesteststorname.table.core.windows.net/uttable1172194c response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable1172194c/@Element","odata.type":"storagename.uttable1172194c","odata.id":"https://storagename.table.core.windows.net/uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A56.1903511Z''\"","odata.editLink":"uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","PartitionKey":"pk1172194c","RowKey":"rk1172194c","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:56.1903511Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable1172194c/@Element","odata.type":"tablesteststorname.uttable1172194c","odata.id":"https://tablesteststorname.table.core.windows.net/uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A20.9568329Z''\"","odata.editLink":"uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","PartitionKey":"pk1172194c","RowKey":"rk1172194c","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:20.9568329Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=fullmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A56.1903511Z'" - location: https://storagename.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') + date: Thu, 01 Oct 2020 01:07:20 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A20.9568329Z'" + location: https://tablesteststorname.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable1172194c + url: https://tablesteststorname.table.core.windows.net/uttable1172194c - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') + uri: https://tablesteststorname.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable1172194c/@Element","odata.type":"storagename.uttable1172194c","odata.id":"https://storagename.table.core.windows.net/uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A56.1903511Z''\"","odata.editLink":"uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","PartitionKey":"pk1172194c","RowKey":"rk1172194c","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:51:56.1903511Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable1172194c/@Element","odata.type":"tablesteststorname.uttable1172194c","odata.id":"https://tablesteststorname.table.core.windows.net/uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A20.9568329Z''\"","odata.editLink":"uttable1172194c(PartitionKey=''pk1172194c'',RowKey=''rk1172194c'')","PartitionKey":"pk1172194c","RowKey":"rk1172194c","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:20.9568329Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=fullmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A56.1903511Z'" + date: Thu, 01 Oct 2020 01:07:20 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A20.9568329Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') + url: https://tablesteststorname.table.core.windows.net/uttable1172194c(PartitionKey='pk1172194c',RowKey='rk1172194c') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable1172194c') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable1172194c') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:20 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable1172194c') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable1172194c') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_hook.yaml index c848567dbe50..ebac9162e0a6 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_hook.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:20 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3c3715aa"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3c3715aa"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - location: https://storagename.table.core.windows.net/Tables('uttable3c3715aa') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable3c3715aa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk3c3715aa", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk3c3715aa", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable3c3715aa + uri: https://tablesteststorname.table.core.windows.net/uttable3c3715aa response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3c3715aa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A56.4845304Z''\"","PartitionKey":"pk3c3715aa","RowKey":"rk3c3715aa","Timestamp":"2020-09-16T21:51:56.4845304Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3c3715aa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A21.2877597Z''\"","PartitionKey":"pk3c3715aa","RowKey":"rk3c3715aa","Timestamp":"2020-10-01T01:07:21.2877597Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A56.4845304Z'" - location: https://storagename.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A21.2877597Z'" + location: https://tablesteststorname.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable3c3715aa + url: https://tablesteststorname.table.core.windows.net/uttable3c3715aa - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') + uri: https://tablesteststorname.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable3c3715aa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A56.4845304Z''\"","PartitionKey":"pk3c3715aa","RowKey":"rk3c3715aa","Timestamp":"2020-09-16T21:51:56.4845304Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable3c3715aa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A21.2877597Z''\"","PartitionKey":"pk3c3715aa","RowKey":"rk3c3715aa","Timestamp":"2020-10-01T01:07:21.2877597Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A56.4845304Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A21.2877597Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') + url: https://tablesteststorname.table.core.windows.net/uttable3c3715aa(PartitionKey='pk3c3715aa',RowKey='rk3c3715aa') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3c3715aa') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3c3715aa') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable3c3715aa') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable3c3715aa') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int32_value_throws.yaml index 498c70207e8f..2479328ff0e5 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int32_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int32_value_throws.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d151d95"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d151d95"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:55 GMT - location: https://storagename.table.core.windows.net/Tables('uttable3d151d95') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable3d151d95') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3d151d95') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3d151d95') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:55 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable3d151d95') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable3d151d95') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int64_value_throws.yaml index b689b4467daa..cccccd1a262a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int64_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_large_int64_value_throws.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d5e1d9a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3d5e1d9a"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:56 GMT - location: https://storagename.table.core.windows.net/Tables('uttable3d5e1d9a') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable3d5e1d9a') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,34 +35,34 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3d5e1d9a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3d5e1d9a') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:56 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable3d5e1d9a') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable3d5e1d9a') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_no_metadata.yaml index b6728ca7e320..f7c7e424b8ff 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_entity_with_no_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabledefb1876"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabledefb1876"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:56 GMT - location: https://storagename.table.core.windows.net/Tables('uttabledefb1876') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttabledefb1876') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkdefb1876", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkdefb1876", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:56 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttabledefb1876 + uri: https://tablesteststorname.table.core.windows.net/uttabledefb1876 response: body: - string: '{"PartitionKey":"pkdefb1876","RowKey":"rkdefb1876","Timestamp":"2020-09-16T21:51:57.0750093Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pkdefb1876","RowKey":"rkdefb1876","Timestamp":"2020-10-01T01:07:22.0922469Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=nometadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.0750093Z'" - location: https://storagename.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.0922469Z'" + location: https://tablesteststorname.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttabledefb1876 + url: https://tablesteststorname.table.core.windows.net/uttabledefb1876 - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') + uri: https://tablesteststorname.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') response: body: - string: '{"PartitionKey":"pkdefb1876","RowKey":"rkdefb1876","Timestamp":"2020-09-16T21:51:57.0750093Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"PartitionKey":"pkdefb1876","RowKey":"rkdefb1876","Timestamp":"2020-10-01T01:07:22.0922469Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=nometadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.0750093Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.0922469Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') + url: https://tablesteststorname.table.core.windows.net/uttabledefb1876(PartitionKey='pkdefb1876',RowKey='rkdefb1876') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:21 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttabledefb1876') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttabledefb1876') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttabledefb1876') + url: https://tablesteststorname.table.core.windows.net/Tables('uttabledefb1876') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_existing_entity.yaml index f43eee09e576..c14661cf8beb 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_existing_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42df1e0f"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42df1e0f"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttable42df1e0f') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable42df1e0f') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk42df1e0f", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42df1e0f", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable42df1e0f + uri: https://tablesteststorname.table.core.windows.net/uttable42df1e0f response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42df1e0f/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A57.3135391Z''\"","PartitionKey":"pk42df1e0f","RowKey":"rk42df1e0f","Timestamp":"2020-09-16T21:51:57.3135391Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42df1e0f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A22.4117645Z''\"","PartitionKey":"pk42df1e0f","RowKey":"rk42df1e0f","Timestamp":"2020-10-01T01:07:22.4117645Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.3135391Z'" - location: https://storagename.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.4117645Z'" + location: https://tablesteststorname.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42df1e0f + url: https://tablesteststorname.table.core.windows.net/uttable42df1e0f - request: body: '{"PartitionKey": "pk42df1e0f", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42df1e0f", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,30 +96,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') + uri: https://tablesteststorname.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.3511898Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.453353Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') + url: https://tablesteststorname.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') - request: body: null headers: @@ -128,23 +128,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') + uri: https://tablesteststorname.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42df1e0f/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A57.3511898Z''\"","PartitionKey":"pk42df1e0f","RowKey":"rk42df1e0f","Timestamp":"2020-09-16T21:51:57.3511898Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42df1e0f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A22.453353Z''\"","PartitionKey":"pk42df1e0f","RowKey":"rk42df1e0f","Timestamp":"2020-10-01T01:07:22.453353Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.3511898Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.453353Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -152,34 +152,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') + url: https://tablesteststorname.table.core.windows.net/uttable42df1e0f(PartitionKey='pk42df1e0f',RowKey='rk42df1e0f') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable42df1e0f') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable42df1e0f') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable42df1e0f') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable42df1e0f') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_non_existing_entity.yaml index dcc6b2c72011..d0e1e5b22ee7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_non_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_merge_entity_with_non_existing_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebeb51fb9"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablebeb51fb9"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttablebeb51fb9') + date: Thu, 01 Oct 2020 01:07:21 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablebeb51fb9') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkbeb51fb9", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkbeb51fb9", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -52,30 +52,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') + uri: https://tablesteststorname.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.6213756Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.7825856Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') + url: https://tablesteststorname.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') - request: body: null headers: @@ -84,23 +84,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') + uri: https://tablesteststorname.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablebeb51fb9/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A57.6213756Z''\"","PartitionKey":"pkbeb51fb9","RowKey":"rkbeb51fb9","Timestamp":"2020-09-16T21:51:57.6213756Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablebeb51fb9/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A22.7825856Z''\"","PartitionKey":"pkbeb51fb9","RowKey":"rkbeb51fb9","Timestamp":"2020-10-01T01:07:22.7825856Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.6213756Z'" + date: Thu, 01 Oct 2020 01:07:21 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A22.7825856Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -108,34 +108,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') + url: https://tablesteststorname.table.core.windows.net/uttablebeb51fb9(PartitionKey='pkbeb51fb9',RowKey='rkbeb51fb9') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablebeb51fb9') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablebeb51fb9') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablebeb51fb9') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablebeb51fb9') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_existing_entity.yaml index af7abe6f4964..8454ba6638d2 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_existing_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7edf1edb"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7edf1edb"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttable7edf1edb') + date: Thu, 01 Oct 2020 01:07:23 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable7edf1edb') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk7edf1edb", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7edf1edb", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable7edf1edb + uri: https://tablesteststorname.table.core.windows.net/uttable7edf1edb response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable7edf1edb/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A57.8536815Z''\"","PartitionKey":"pk7edf1edb","RowKey":"rk7edf1edb","Timestamp":"2020-09-16T21:51:57.8536815Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable7edf1edb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A23.1100862Z''\"","PartitionKey":"pk7edf1edb","RowKey":"rk7edf1edb","Timestamp":"2020-10-01T01:07:23.1100862Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.8536815Z'" - location: https://storagename.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.1100862Z'" + location: https://tablesteststorname.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7edf1edb + url: https://tablesteststorname.table.core.windows.net/uttable7edf1edb - request: body: '{"PartitionKey": "pk7edf1edb", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7edf1edb", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,30 +96,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:22 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') + uri: https://tablesteststorname.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.8915601Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.1518476Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') + url: https://tablesteststorname.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') - request: body: null headers: @@ -128,23 +128,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') + uri: https://tablesteststorname.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable7edf1edb/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A57.8915601Z''\"","PartitionKey":"pk7edf1edb","RowKey":"rk7edf1edb","Timestamp":"2020-09-16T21:51:57.8915601Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable7edf1edb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A23.1518476Z''\"","PartitionKey":"pk7edf1edb","RowKey":"rk7edf1edb","Timestamp":"2020-10-01T01:07:23.1518476Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A57.8915601Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.1518476Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -152,34 +152,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') + url: https://tablesteststorname.table.core.windows.net/uttable7edf1edb(PartitionKey='pk7edf1edb',RowKey='rk7edf1edb') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7edf1edb') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7edf1edb') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:23 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable7edf1edb') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable7edf1edb') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_non_existing_entity.yaml index 08bba78bd6df..8bfe3aa38346 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_non_existing_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_insert_or_replace_entity_with_non_existing_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:57 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefde52085"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablefde52085"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttablefde52085') + date: Thu, 01 Oct 2020 01:07:22 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablefde52085') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkfde52085", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkfde52085", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -52,30 +52,30 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') + uri: https://tablesteststorname.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.1307231Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.5481299Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') + url: https://tablesteststorname.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') - request: body: null headers: @@ -84,23 +84,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') + uri: https://tablesteststorname.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablefde52085/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A58.1307231Z''\"","PartitionKey":"pkfde52085","RowKey":"rkfde52085","Timestamp":"2020-09-16T21:51:58.1307231Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablefde52085/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A23.5481299Z''\"","PartitionKey":"pkfde52085","RowKey":"rkfde52085","Timestamp":"2020-10-01T01:07:23.5481299Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.1307231Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.5481299Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -108,34 +108,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') + url: https://tablesteststorname.table.core.windows.net/uttablefde52085(PartitionKey='pkfde52085',RowKey='rkfde52085') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablefde52085') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablefde52085') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:23 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablefde52085') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablefde52085') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity.yaml index b203048e62e2..f4af0ca7df9f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable641610fa"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable641610fa"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttable641610fa') + date: Thu, 01 Oct 2020 01:07:23 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable641610fa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk641610fa", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk641610fa", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable641610fa + uri: https://tablesteststorname.table.core.windows.net/uttable641610fa response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable641610fa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A58.3738989Z''\"","PartitionKey":"pk641610fa","RowKey":"rk641610fa","Timestamp":"2020-09-16T21:51:58.3738989Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable641610fa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A23.8695848Z''\"","PartitionKey":"pk641610fa","RowKey":"rk641610fa","Timestamp":"2020-10-01T01:07:23.8695848Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.3738989Z'" - location: https://storagename.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.8695848Z'" + location: https://tablesteststorname.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable641610fa + url: https://tablesteststorname.table.core.windows.net/uttable641610fa - request: body: '{"PartitionKey": "pk641610fa", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk641610fa", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,32 +96,32 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') + uri: https://tablesteststorname.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.4099149Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.9133899Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') + url: https://tablesteststorname.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') - request: body: null headers: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') + uri: https://tablesteststorname.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable641610fa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A58.4099149Z''\"","PartitionKey":"pk641610fa","RowKey":"rk641610fa","Timestamp":"2020-09-16T21:51:58.4099149Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable641610fa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A23.9133899Z''\"","PartitionKey":"pk641610fa","RowKey":"rk641610fa","Timestamp":"2020-10-01T01:07:23.9133899Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.4099149Z'" + date: Thu, 01 Oct 2020 01:07:23 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A23.9133899Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -154,34 +154,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') + url: https://tablesteststorname.table.core.windows.net/uttable641610fa(PartitionKey='pk641610fa',RowKey='rk641610fa') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable641610fa') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable641610fa') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:23 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable641610fa') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable641610fa') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_not_existing.yaml index e71f7dcd6332..f299fc9d2466 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_not_existing.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:23 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable66e91674"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable66e91674"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - location: https://storagename.table.core.windows.net/Tables('uttable66e91674') + date: Thu, 01 Oct 2020 01:07:23 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable66e91674') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk66e91674", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk66e91674", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -52,25 +52,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable66e91674(PartitionKey='pk66e91674',RowKey='rk66e91674') + uri: https://tablesteststorname.table.core.windows.net/uttable66e91674(PartitionKey='pk66e91674',RowKey='rk66e91674') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:44366402-2002-003f-0173-8cdfdb000000\nTime:2020-09-16T21:51:58.6552713Z"}}}' + specified resource does not exist.\nRequestId:96b03b52-1002-002c-2d8f-975c5c000000\nTime:2020-10-01T01:07:24.2479396Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:23 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -78,34 +78,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable66e91674(PartitionKey='pk66e91674',RowKey='rk66e91674') + url: https://tablesteststorname.table.core.windows.net/uttable66e91674(PartitionKey='pk66e91674',RowKey='rk66e91674') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable66e91674') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable66e91674') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:23 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable66e91674') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable66e91674') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_doesnt_match.yaml index a6f7fb9be199..a81536337a96 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_doesnt_match.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable279d199b"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable279d199b"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - location: https://storagename.table.core.windows.net/Tables('uttable279d199b') + date: Thu, 01 Oct 2020 01:07:24 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable279d199b') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk279d199b", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk279d199b", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable279d199b + uri: https://tablesteststorname.table.core.windows.net/uttable279d199b response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable279d199b/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A58.8718673Z''\"","PartitionKey":"pk279d199b","RowKey":"rk279d199b","Timestamp":"2020-09-16T21:51:58.8718673Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable279d199b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A24.5208681Z''\"","PartitionKey":"pk279d199b","RowKey":"rk279d199b","Timestamp":"2020-10-01T01:07:24.5208681Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A58.8718673Z'" - location: https://storagename.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A24.5208681Z'" + location: https://tablesteststorname.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable279d199b + url: https://tablesteststorname.table.core.windows.net/uttable279d199b - request: body: '{"PartitionKey": "pk279d199b", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk279d199b", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,25 +96,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') + uri: https://tablesteststorname.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:907769c0-f002-0014-7a73-8cab63000000\nTime:2020-09-16T21:51:58.9098939Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:c606058e-b002-0003-278f-97dd66000000\nTime:2020-10-01T01:07:24.5648995Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:57 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -122,34 +122,34 @@ interactions: status: code: 412 message: Precondition Failed - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') + url: https://tablesteststorname.table.core.windows.net/uttable279d199b(PartitionKey='pk279d199b',RowKey='rk279d199b') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable279d199b') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable279d199b') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable279d199b') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable279d199b') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_matches.yaml index f7546e6ba4f6..15801767783c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_merge_entity_with_if_matches.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:58 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableab731787"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableab731787"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - location: https://storagename.table.core.windows.net/Tables('uttableab731787') + date: Thu, 01 Oct 2020 01:07:24 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttableab731787') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkab731787", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkab731787", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttableab731787 + uri: https://tablesteststorname.table.core.windows.net/uttableab731787 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableab731787/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.1115994Z''\"","PartitionKey":"pkab731787","RowKey":"rkab731787","Timestamp":"2020-09-16T21:51:59.1115994Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableab731787/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A24.8687992Z''\"","PartitionKey":"pkab731787","RowKey":"rkab731787","Timestamp":"2020-10-01T01:07:24.8687992Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.1115994Z'" - location: https://storagename.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A24.8687992Z'" + location: https://tablesteststorname.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttableab731787 + url: https://tablesteststorname.table.core.windows.net/uttableab731787 - request: body: '{"PartitionKey": "pkab731787", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkab731787", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,32 +96,32 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT If-Match: - - W/"datetime'2020-09-16T21%3A51%3A59.1115994Z'" + - W/"datetime'2020-10-01T01%3A07%3A24.8687992Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: PATCH - uri: https://storagename.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') + uri: https://tablesteststorname.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.1604282Z'" + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A24.9161083Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') + url: https://tablesteststorname.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') - request: body: null headers: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') + uri: https://tablesteststorname.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttableab731787/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.1604282Z''\"","PartitionKey":"pkab731787","RowKey":"rkab731787","Timestamp":"2020-09-16T21:51:59.1604282Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttableab731787/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A24.9161083Z''\"","PartitionKey":"pkab731787","RowKey":"rkab731787","Timestamp":"2020-10-01T01:07:24.9161083Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.1604282Z'" + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A24.9161083Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -154,34 +154,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') + url: https://tablesteststorname.table.core.windows.net/uttableab731787(PartitionKey='pkab731787',RowKey='rkab731787') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableab731787') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableab731787') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttableab731787') + url: https://tablesteststorname.table.core.windows.net/Tables('uttableab731787') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_none_property_value.yaml index ea4e31fe0bd4..71396b2cda12 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_none_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_none_property_value.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:24 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7f813fe"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee7f813fe"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - location: https://storagename.table.core.windows.net/Tables('uttablee7f813fe') + date: Thu, 01 Oct 2020 01:07:24 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablee7f813fe') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pke7f813fe", "PartitionKey@odata.type": "Edm.String", "RowKey": "rke7f813fe", "RowKey@odata.type": "Edm.String"}' @@ -49,24 +49,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablee7f813fe + uri: https://tablesteststorname.table.core.windows.net/uttablee7f813fe response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7f813fe/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.3962726Z''\"","PartitionKey":"pke7f813fe","RowKey":"rke7f813fe","Timestamp":"2020-09-16T21:51:59.3962726Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7f813fe/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.235302Z''\"","PartitionKey":"pke7f813fe","RowKey":"rke7f813fe","Timestamp":"2020-10-01T01:07:25.235302Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.3962726Z'" - location: https://storagename.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A25.235302Z'" + location: https://tablesteststorname.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -74,7 +74,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablee7f813fe + url: https://tablesteststorname.table.core.windows.net/uttablee7f813fe - request: body: null headers: @@ -83,23 +83,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') + uri: https://tablesteststorname.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablee7f813fe/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.3962726Z''\"","PartitionKey":"pke7f813fe","RowKey":"rke7f813fe","Timestamp":"2020-09-16T21:51:59.3962726Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablee7f813fe/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.235302Z''\"","PartitionKey":"pke7f813fe","RowKey":"rke7f813fe","Timestamp":"2020-10-01T01:07:25.235302Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.3962726Z'" + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A25.235302Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -107,34 +107,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') + url: https://tablesteststorname.table.core.windows.net/uttablee7f813fe(PartitionKey='pke7f813fe',RowKey='rke7f813fe') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee7f813fe') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee7f813fe') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablee7f813fe') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablee7f813fe') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities.yaml index f10fbd57fe52..9256cfa37caf 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable88c411e8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable88c411e8"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - location: https://storagename.table.core.windows.net/Tables('uttable88c411e8') + date: Thu, 01 Oct 2020 01:07:24 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable88c411e8') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytable88c411e8"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable88c411e8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable88c411e8"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - location: https://storagename.table.core.windows.net/Tables('querytable88c411e8') + date: Thu, 01 Oct 2020 01:07:24 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytable88c411e8') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk88c411e8", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk88c411e81", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable88c411e8 + uri: https://tablesteststorname.table.core.windows.net/querytable88c411e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable88c411e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.6954036Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e81","Timestamp":"2020-09-16T21:51:59.6954036Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable88c411e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.6144985Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e81","Timestamp":"2020-10-01T01:07:25.6144985Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.6954036Z'" - location: https://storagename.table.core.windows.net/querytable88c411e8(PartitionKey='pk88c411e8',RowKey='rk88c411e81') + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A25.6144985Z'" + location: https://tablesteststorname.table.core.windows.net/querytable88c411e8(PartitionKey='pk88c411e8',RowKey='rk88c411e81') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable88c411e8 + url: https://tablesteststorname.table.core.windows.net/querytable88c411e8 - request: body: '{"PartitionKey": "pk88c411e8", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk88c411e812", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable88c411e8 + uri: https://tablesteststorname.table.core.windows.net/querytable88c411e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable88c411e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.7364342Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e812","Timestamp":"2020-09-16T21:51:59.7364342Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable88c411e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.653526Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e812","Timestamp":"2020-10-01T01:07:25.653526Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT - etag: W/"datetime'2020-09-16T21%3A51%3A59.7364342Z'" - location: https://storagename.table.core.windows.net/querytable88c411e8(PartitionKey='pk88c411e8',RowKey='rk88c411e812') + date: Thu, 01 Oct 2020 01:07:24 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A25.653526Z'" + location: https://tablesteststorname.table.core.windows.net/querytable88c411e8(PartitionKey='pk88c411e8',RowKey='rk88c411e812') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,7 +160,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable88c411e8 + url: https://tablesteststorname.table.core.windows.net/querytable88c411e8 - request: body: null headers: @@ -169,22 +169,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable88c411e8() + uri: https://tablesteststorname.table.core.windows.net/querytable88c411e8() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable88c411e8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.6954036Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e81","Timestamp":"2020-09-16T21:51:59.6954036Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A51%3A59.7364342Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e812","Timestamp":"2020-09-16T21:51:59.7364342Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable88c411e8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.6144985Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e81","Timestamp":"2020-10-01T01:07:25.6144985Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A25.653526Z''\"","PartitionKey":"pk88c411e8","RowKey":"rk88c411e812","Timestamp":"2020-10-01T01:07:25.653526Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -192,63 +192,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable88c411e8() + url: https://tablesteststorname.table.core.windows.net/querytable88c411e8() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable88c411e8') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable88c411e8') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable88c411e8') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable88c411e8') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable88c411e8') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable88c411e8') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:58 GMT + date: Thu, 01 Oct 2020 01:07:24 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytable88c411e8') + url: https://tablesteststorname.table.core.windows.net/Tables('querytable88c411e8') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_full_metadata.yaml index 868ac58539e7..23b3d9bfc578 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_full_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableae56179a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttableae56179a"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - location: https://storagename.table.core.windows.net/Tables('uttableae56179a') + date: Thu, 01 Oct 2020 01:07:25 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttableae56179a') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytableae56179a"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytableae56179a"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytableae56179a"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - location: https://storagename.table.core.windows.net/Tables('querytableae56179a') + date: Thu, 01 Oct 2020 01:07:25 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytableae56179a') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkae56179a", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkae56179a1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:51:59 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytableae56179a + uri: https://tablesteststorname.table.core.windows.net/querytableae56179a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytableae56179a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.0714591Z''\"","PartitionKey":"pkae56179a","RowKey":"rkae56179a1","Timestamp":"2020-09-16T21:52:00.0714591Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytableae56179a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.0644334Z''\"","PartitionKey":"pkae56179a","RowKey":"rkae56179a1","Timestamp":"2020-10-01T01:07:26.0644334Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A00.0714591Z'" - location: https://storagename.table.core.windows.net/querytableae56179a(PartitionKey='pkae56179a',RowKey='rkae56179a1') + date: Thu, 01 Oct 2020 01:07:25 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A26.0644334Z'" + location: https://tablesteststorname.table.core.windows.net/querytableae56179a(PartitionKey='pkae56179a',RowKey='rkae56179a1') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytableae56179a + url: https://tablesteststorname.table.core.windows.net/querytableae56179a - request: body: '{"PartitionKey": "pkae56179a", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkae56179a12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytableae56179a + uri: https://tablesteststorname.table.core.windows.net/querytableae56179a response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytableae56179a/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.1024809Z''\"","PartitionKey":"pkae56179a","RowKey":"rkae56179a12","Timestamp":"2020-09-16T21:52:00.1024809Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytableae56179a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.1094662Z''\"","PartitionKey":"pkae56179a","RowKey":"rkae56179a12","Timestamp":"2020-10-01T01:07:26.1094662Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A00.1024809Z'" - location: https://storagename.table.core.windows.net/querytableae56179a(PartitionKey='pkae56179a',RowKey='rkae56179a12') + date: Thu, 01 Oct 2020 01:07:25 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A26.1094662Z'" + location: https://tablesteststorname.table.core.windows.net/querytableae56179a(PartitionKey='pkae56179a',RowKey='rkae56179a12') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,31 +160,31 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytableae56179a + url: https://tablesteststorname.table.core.windows.net/querytableae56179a - request: body: null headers: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:25 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=fullmetadata x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:25 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytableae56179a() + uri: https://tablesteststorname.table.core.windows.net/querytableae56179a() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytableae56179a","value":[{"odata.type":"storagename.querytableae56179a","odata.id":"https://storagename.table.core.windows.net/querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a1'')","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.0714591Z''\"","odata.editLink":"querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a1'')","PartitionKey":"pkae56179a","RowKey":"rkae56179a1","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:52:00.0714591Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.type":"storagename.querytableae56179a","odata.id":"https://storagename.table.core.windows.net/querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a12'')","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.1024809Z''\"","odata.editLink":"querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a12'')","PartitionKey":"pkae56179a","RowKey":"rkae56179a12","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-09-16T21:52:00.1024809Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytableae56179a","value":[{"odata.type":"tablesteststorname.querytableae56179a","odata.id":"https://tablesteststorname.table.core.windows.net/querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a1'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.0644334Z''\"","odata.editLink":"querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a1'')","PartitionKey":"pkae56179a","RowKey":"rkae56179a1","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:26.0644334Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.type":"tablesteststorname.querytableae56179a","odata.id":"https://tablesteststorname.table.core.windows.net/querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a12'')","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.1094662Z''\"","odata.editLink":"querytableae56179a(PartitionKey=''pkae56179a'',RowKey=''rkae56179a12'')","PartitionKey":"pkae56179a","RowKey":"rkae56179a12","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:07:26.1094662Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=fullmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:25 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -192,63 +192,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytableae56179a() + url: https://tablesteststorname.table.core.windows.net/querytableae56179a() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttableae56179a') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttableae56179a') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:25 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttableae56179a') + url: https://tablesteststorname.table.core.windows.net/Tables('uttableae56179a') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytableae56179a') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytableae56179a') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:25 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytableae56179a') + url: https://tablesteststorname.table.core.windows.net/Tables('querytableae56179a') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_no_metadata.yaml index e6bfd0b2d571..e429a9a18654 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_no_metadata.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7f5216c4"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7f5216c4"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - location: https://storagename.table.core.windows.net/Tables('uttable7f5216c4') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable7f5216c4') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytable7f5216c4"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable7f5216c4"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable7f5216c4"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - location: https://storagename.table.core.windows.net/Tables('querytable7f5216c4') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytable7f5216c4') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk7f5216c4", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7f5216c41", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable7f5216c4 + uri: https://tablesteststorname.table.core.windows.net/querytable7f5216c4 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable7f5216c4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.4378417Z''\"","PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c41","Timestamp":"2020-09-16T21:52:00.4378417Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable7f5216c4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.5437844Z''\"","PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c41","Timestamp":"2020-10-01T01:07:26.5437844Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A00.4378417Z'" - location: https://storagename.table.core.windows.net/querytable7f5216c4(PartitionKey='pk7f5216c4',RowKey='rk7f5216c41') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A26.5437844Z'" + location: https://tablesteststorname.table.core.windows.net/querytable7f5216c4(PartitionKey='pk7f5216c4',RowKey='rk7f5216c41') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable7f5216c4 + url: https://tablesteststorname.table.core.windows.net/querytable7f5216c4 - request: body: '{"PartitionKey": "pk7f5216c4", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7f5216c412", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable7f5216c4 + uri: https://tablesteststorname.table.core.windows.net/querytable7f5216c4 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable7f5216c4/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.4708663Z''\"","PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c412","Timestamp":"2020-09-16T21:52:00.4708663Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable7f5216c4/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A26.587815Z''\"","PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c412","Timestamp":"2020-10-01T01:07:26.587815Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A00.4708663Z'" - location: https://storagename.table.core.windows.net/querytable7f5216c4(PartitionKey='pk7f5216c4',RowKey='rk7f5216c412') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A26.587815Z'" + location: https://tablesteststorname.table.core.windows.net/querytable7f5216c4(PartitionKey='pk7f5216c4',RowKey='rk7f5216c412') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,31 +160,31 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable7f5216c4 + url: https://tablesteststorname.table.core.windows.net/querytable7f5216c4 - request: body: null headers: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) accept: - application/json;odata=nometadata x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable7f5216c4() + uri: https://tablesteststorname.table.core.windows.net/querytable7f5216c4() response: body: - string: '{"value":[{"PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c41","Timestamp":"2020-09-16T21:52:00.4378417Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c412","Timestamp":"2020-09-16T21:52:00.4708663Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"value":[{"PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c41","Timestamp":"2020-10-01T01:07:26.5437844Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"PartitionKey":"pk7f5216c4","RowKey":"rk7f5216c412","Timestamp":"2020-10-01T01:07:26.587815Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=nometadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -192,63 +192,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable7f5216c4() + url: https://tablesteststorname.table.core.windows.net/querytable7f5216c4() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7f5216c4') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7f5216c4') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable7f5216c4') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable7f5216c4') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable7f5216c4') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable7f5216c4') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:51:59 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytable7f5216c4') + url: https://tablesteststorname.table.core.windows.net/Tables('querytable7f5216c4') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_filter.yaml index 9f7b35298a6b..6cd05b0d7631 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_filter.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable800416e8"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable800416e8"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - location: https://storagename.table.core.windows.net/Tables('uttable800416e8') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable800416e8') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk800416e8", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk800416e8", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable800416e8 + uri: https://tablesteststorname.table.core.windows.net/uttable800416e8 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable800416e8/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.7455778Z''\"","PartitionKey":"pk800416e8","RowKey":"rk800416e8","Timestamp":"2020-09-16T21:52:00.7455778Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable800416e8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.0123341Z''\"","PartitionKey":"pk800416e8","RowKey":"rk800416e8","Timestamp":"2020-10-01T01:07:27.0123341Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A00.7455778Z'" - location: https://storagename.table.core.windows.net/uttable800416e8(PartitionKey='pk800416e8',RowKey='rk800416e8') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.0123341Z'" + location: https://tablesteststorname.table.core.windows.net/uttable800416e8(PartitionKey='pk800416e8',RowKey='rk800416e8') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable800416e8 + url: https://tablesteststorname.table.core.windows.net/uttable800416e8 - request: body: null headers: @@ -88,22 +88,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable800416e8() + uri: https://tablesteststorname.table.core.windows.net/uttable800416e8() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable800416e8","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A00.7455778Z''\"","PartitionKey":"pk800416e8","RowKey":"rk800416e8","Timestamp":"2020-09-16T21:52:00.7455778Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable800416e8","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.0123341Z''\"","PartitionKey":"pk800416e8","RowKey":"rk800416e8","Timestamp":"2020-10-01T01:07:27.0123341Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -111,34 +111,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable800416e8() + url: https://tablesteststorname.table.core.windows.net/uttable800416e8() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable800416e8') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable800416e8') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:00 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable800416e8') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable800416e8') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_select.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_select.yaml index 5a23113b1f7a..6d5e90a0671c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_select.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_select.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:26 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable800f16e2"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable800f16e2"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - location: https://storagename.table.core.windows.net/Tables('uttable800f16e2') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable800f16e2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytable800f16e2"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:00 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable800f16e2"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable800f16e2"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - location: https://storagename.table.core.windows.net/Tables('querytable800f16e2') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytable800f16e2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk800f16e2", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk800f16e21", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable800f16e2 + uri: https://tablesteststorname.table.core.windows.net/querytable800f16e2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable800f16e2/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.0846507Z''\"","PartitionKey":"pk800f16e2","RowKey":"rk800f16e21","Timestamp":"2020-09-16T21:52:01.0846507Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable800f16e2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.3775397Z''\"","PartitionKey":"pk800f16e2","RowKey":"rk800f16e21","Timestamp":"2020-10-01T01:07:27.3775397Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A01.0846507Z'" - location: https://storagename.table.core.windows.net/querytable800f16e2(PartitionKey='pk800f16e2',RowKey='rk800f16e21') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.3775397Z'" + location: https://tablesteststorname.table.core.windows.net/querytable800f16e2(PartitionKey='pk800f16e2',RowKey='rk800f16e21') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable800f16e2 + url: https://tablesteststorname.table.core.windows.net/querytable800f16e2 - request: body: '{"PartitionKey": "pk800f16e2", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk800f16e212", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable800f16e2 + uri: https://tablesteststorname.table.core.windows.net/querytable800f16e2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable800f16e2/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.1226777Z''\"","PartitionKey":"pk800f16e2","RowKey":"rk800f16e212","Timestamp":"2020-09-16T21:52:01.1226777Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable800f16e2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.4205696Z''\"","PartitionKey":"pk800f16e2","RowKey":"rk800f16e212","Timestamp":"2020-10-01T01:07:27.4205696Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A01.1226777Z'" - location: https://storagename.table.core.windows.net/querytable800f16e2(PartitionKey='pk800f16e2',RowKey='rk800f16e212') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.4205696Z'" + location: https://tablesteststorname.table.core.windows.net/querytable800f16e2(PartitionKey='pk800f16e2',RowKey='rk800f16e212') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,7 +160,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable800f16e2 + url: https://tablesteststorname.table.core.windows.net/querytable800f16e2 - request: body: null headers: @@ -169,22 +169,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable800f16e2()?$select=age,%20sex + uri: https://tablesteststorname.table.core.windows.net/querytable800f16e2()?$select=age,%20sex response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable800f16e2&$select=age,%20sex","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.0846507Z''\"","age":39,"sex":"male"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.1226777Z''\"","age":39,"sex":"male"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable800f16e2&$select=age,%20sex","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.3775397Z''\"","age":39,"sex":"male"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.4205696Z''\"","age":39,"sex":"male"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:00 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -192,63 +192,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable800f16e2()?$select=age,%20sex + url: https://tablesteststorname.table.core.windows.net/querytable800f16e2()?$select=age,%20sex - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable800f16e2') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable800f16e2') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:00 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable800f16e2') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable800f16e2') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable800f16e2') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable800f16e2') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:00 GMT + date: Thu, 01 Oct 2020 01:07:26 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytable800f16e2') + url: https://tablesteststorname.table.core.windows.net/Tables('querytable800f16e2') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top.yaml index 0d6fd9b3cd94..6cc68265ad42 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3ccf15b5"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3ccf15b5"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - location: https://storagename.table.core.windows.net/Tables('uttable3ccf15b5') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable3ccf15b5') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytable3ccf15b5"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable3ccf15b5"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable3ccf15b5"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - location: https://storagename.table.core.windows.net/Tables('querytable3ccf15b5') + date: Thu, 01 Oct 2020 01:07:26 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytable3ccf15b5') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk3ccf15b5", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk3ccf15b51", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable3ccf15b5 + uri: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.5565692Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b51","Timestamp":"2020-09-16T21:52:01.5565692Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.8354164Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b51","Timestamp":"2020-10-01T01:07:27.8354164Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A01.5565692Z'" - location: https://storagename.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b51') + date: Thu, 01 Oct 2020 01:07:26 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.8354164Z'" + location: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b51') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable3ccf15b5 + url: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 - request: body: '{"PartitionKey": "pk3ccf15b5", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk3ccf15b512", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable3ccf15b5 + uri: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.5885931Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b512","Timestamp":"2020-09-16T21:52:01.5885931Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.8774452Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b512","Timestamp":"2020-10-01T01:07:27.8774452Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A01.5885931Z'" - location: https://storagename.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b512') + date: Thu, 01 Oct 2020 01:07:27 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.8774452Z'" + location: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b512') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,7 +160,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable3ccf15b5 + url: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 - request: body: '{"PartitionKey": "pk3ccf15b5", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk3ccf15b5123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -179,24 +179,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable3ccf15b5 + uri: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.6186129Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b5123","Timestamp":"2020-09-16T21:52:01.6186129Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable3ccf15b5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.9174727Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b5123","Timestamp":"2020-10-01T01:07:27.9174727Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A01.6186129Z'" - location: https://storagename.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b5123') + date: Thu, 01 Oct 2020 01:07:27 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A27.9174727Z'" + location: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5(PartitionKey='pk3ccf15b5',RowKey='rk3ccf15b5123') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -204,7 +204,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable3ccf15b5 + url: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5 - request: body: null headers: @@ -213,22 +213,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable3ccf15b5()?$top=2 + uri: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5()?$top=2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable3ccf15b5","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.5565692Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b51","Timestamp":"2020-09-16T21:52:01.5565692Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.5885931Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b512","Timestamp":"2020-09-16T21:52:01.5885931Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable3ccf15b5","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.8354164Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b51","Timestamp":"2020-10-01T01:07:27.8354164Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.8774452Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b512","Timestamp":"2020-10-01T01:07:27.8774452Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT + date: Thu, 01 Oct 2020 01:07:27 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -238,7 +238,7 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable3ccf15b5()?$top=2 + url: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5()?$top=2 - request: body: null headers: @@ -247,22 +247,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable3ccf15b5()?$top=2&NextPartitionKey=1!16!cGszY2NmMTViNQ--&NextRowKey=1!20!cmszY2NmMTViNTEyMw-- + uri: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5()?$top=2&NextPartitionKey=1!16!cGszY2NmMTViNQ--&NextRowKey=1!20!cmszY2NmMTViNTEyMw-- response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable3ccf15b5","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A01.6186129Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b5123","Timestamp":"2020-09-16T21:52:01.6186129Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable3ccf15b5","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A27.9174727Z''\"","PartitionKey":"pk3ccf15b5","RowKey":"rk3ccf15b5123","Timestamp":"2020-10-01T01:07:27.9174727Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT + date: Thu, 01 Oct 2020 01:07:27 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -270,63 +270,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable3ccf15b5()?$top=2&NextPartitionKey=1!16!cGszY2NmMTViNQ--&NextRowKey=1!20!cmszY2NmMTViNTEyMw-- + url: https://tablesteststorname.table.core.windows.net/querytable3ccf15b5()?$top=2&NextPartitionKey=1!16!cGszY2NmMTViNQ--&NextRowKey=1!20!cmszY2NmMTViNTEyMw-- - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable3ccf15b5') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable3ccf15b5') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:01 GMT + date: Thu, 01 Oct 2020 01:07:27 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable3ccf15b5') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable3ccf15b5') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable3ccf15b5') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable3ccf15b5') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:01 GMT + date: Thu, 01 Oct 2020 01:07:27 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytable3ccf15b5') + url: https://tablesteststorname.table.core.windows.net/Tables('querytable3ccf15b5') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top_and_next.yaml index 174b9f53bcbd..1961ec2ff844 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top_and_next.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_entities_with_top_and_next.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:01 GMT + - Thu, 01 Oct 2020 01:07:27 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable121a1965"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable121a1965"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:01 GMT - location: https://storagename.table.core.windows.net/Tables('uttable121a1965') + date: Thu, 01 Oct 2020 01:07:28 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable121a1965') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytable121a1965"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable121a1965"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable121a1965"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - location: https://storagename.table.core.windows.net/Tables('querytable121a1965') + date: Thu, 01 Oct 2020 01:07:28 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytable121a1965') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk121a1965", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk121a19651", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -91,24 +91,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable121a1965 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.630718Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651","Timestamp":"2020-09-16T21:52:02.630718Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.4028454Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651","Timestamp":"2020-10-01T01:07:28.4028454Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A02.630718Z'" - location: https://storagename.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a19651') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A28.4028454Z'" + location: https://tablesteststorname.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a19651') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -116,7 +116,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965 - request: body: '{"PartitionKey": "pk121a1965", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk121a196512", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -135,24 +135,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable121a1965 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.7057698Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512","Timestamp":"2020-09-16T21:52:02.7057698Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.4448743Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512","Timestamp":"2020-10-01T01:07:28.4448743Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A02.7057698Z'" - location: https://storagename.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a196512') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A28.4448743Z'" + location: https://tablesteststorname.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a196512') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -160,7 +160,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965 - request: body: '{"PartitionKey": "pk121a1965", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk121a1965123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -179,24 +179,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable121a1965 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.7748183Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a1965123","Timestamp":"2020-09-16T21:52:02.7748183Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5109196Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a1965123","Timestamp":"2020-10-01T01:07:28.5109196Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A02.7748183Z'" - location: https://storagename.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a1965123') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A28.5109196Z'" + location: https://tablesteststorname.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a1965123') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -204,7 +204,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965 - request: body: '{"PartitionKey": "pk121a1965", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk121a19651234", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -223,24 +223,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable121a1965 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.8098431Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651234","Timestamp":"2020-09-16T21:52:02.8098431Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5519475Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651234","Timestamp":"2020-10-01T01:07:28.5519475Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A02.8098431Z'" - location: https://storagename.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a19651234') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A28.5519475Z'" + location: https://tablesteststorname.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a19651234') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -248,7 +248,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965 - request: body: '{"PartitionKey": "pk121a1965", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk121a196512345", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -267,24 +267,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/querytable121a1965 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.8458683Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512345","Timestamp":"2020-09-16T21:52:02.8458683Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5929767Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512345","Timestamp":"2020-10-01T01:07:28.5929767Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A02.8458683Z'" - location: https://storagename.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a196512345') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A28.5929767Z'" + location: https://tablesteststorname.table.core.windows.net/querytable121a1965(PartitionKey='pk121a1965',RowKey='rk121a196512345') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -292,7 +292,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965 - request: body: null headers: @@ -301,22 +301,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable121a1965()?$top=2 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.630718Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651","Timestamp":"2020-09-16T21:52:02.630718Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.7057698Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512","Timestamp":"2020-09-16T21:52:02.7057698Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.4028454Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651","Timestamp":"2020-10-01T01:07:28.4028454Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.4448743Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512","Timestamp":"2020-10-01T01:07:28.4448743Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -326,7 +326,7 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965()?$top=2 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2 - request: body: null headers: @@ -335,22 +335,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMw-- + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMw-- response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.7748183Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a1965123","Timestamp":"2020-09-16T21:52:02.7748183Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.8098431Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651234","Timestamp":"2020-09-16T21:52:02.8098431Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5109196Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a1965123","Timestamp":"2020-10-01T01:07:28.5109196Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5519475Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a19651234","Timestamp":"2020-10-01T01:07:28.5519475Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -360,7 +360,7 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMw-- + url: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMw-- - request: body: null headers: @@ -369,22 +369,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMzQ1 + uri: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMzQ1 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A02.8458683Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512345","Timestamp":"2020-09-16T21:52:02.8458683Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytable121a1965","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A28.5929767Z''\"","PartitionKey":"pk121a1965","RowKey":"rk121a196512345","Timestamp":"2020-10-01T01:07:28.5929767Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -392,63 +392,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMzQ1 + url: https://tablesteststorname.table.core.windows.net/querytable121a1965()?$top=2&NextPartitionKey=1!16!cGsxMjFhMTk2NQ--&NextRowKey=1!20!cmsxMjFhMTk2NTEyMzQ1 - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable121a1965') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable121a1965') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:02 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable121a1965') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable121a1965') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:02 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytable121a1965') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytable121a1965') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:02 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytable121a1965') + url: https://tablesteststorname.table.core.windows.net/Tables('querytable121a1965') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_zero_entities.yaml index 4bd19a68d7e1..5c34609d47b3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_zero_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_query_zero_entities.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee8d41407"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablee8d41407"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - location: https://storagename.table.core.windows.net/Tables('uttablee8d41407') + date: Thu, 01 Oct 2020 01:07:28 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablee8d41407') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"TableName": "querytablee8d41407"}' headers: @@ -48,23 +48,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablee8d41407"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytablee8d41407"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - location: https://storagename.table.core.windows.net/Tables('querytablee8d41407') + date: Thu, 01 Oct 2020 01:07:28 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('querytablee8d41407') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -72,7 +72,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: null headers: @@ -81,22 +81,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/querytablee8d41407() + uri: https://tablesteststorname.table.core.windows.net/querytablee8d41407() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#querytablee8d41407","value":[]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#querytablee8d41407","value":[]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -104,63 +104,63 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/querytablee8d41407() + url: https://tablesteststorname.table.core.windows.net/querytablee8d41407() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablee8d41407') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablee8d41407') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablee8d41407') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablee8d41407') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:28 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('querytablee8d41407') + uri: https://tablesteststorname.table.core.windows.net/Tables('querytablee8d41407') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:28 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('querytablee8d41407') + url: https://tablesteststorname.table.core.windows.net/Tables('querytablee8d41407') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add.yaml index 1e4661e93c48..152ca18b9365 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable13ae0ebd"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable13ae0ebd"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:02 GMT - location: https://storagename.table.core.windows.net/Tables('uttable13ae0ebd') + date: Thu, 01 Oct 2020 01:07:29 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable13ae0ebd') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk13ae0ebd", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk13ae0ebd", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable13ae0ebd?st=2020-09-16T21:51:03Z&se=2020-09-16T22:52:03Z&sp=a&sv=2019-02-02&tn=uttable13ae0ebd&sig=eaCBNhj7EZPLiPuRt9MlcqGhHCTAJ8ZOCfKDYJHu%2BPg%3D + uri: https://tablesteststorname.table.core.windows.net/uttable13ae0ebd?st=2020-10-01T01:06:29Z&se=2020-10-01T02:07:29Z&sp=a&sv=2019-02-02&tn=uttable13ae0ebd&sig=foB1tM2kwDxj6EGye99c25XuLwdjwAv17xFeXKI95ag%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable13ae0ebd/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A03.684069Z''\"","PartitionKey":"pk13ae0ebd","RowKey":"rk13ae0ebd","Timestamp":"2020-09-16T21:52:03.684069Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable13ae0ebd/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A29.5594191Z''\"","PartitionKey":"pk13ae0ebd","RowKey":"rk13ae0ebd","Timestamp":"2020-10-01T01:07:29.5594191Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A03.684069Z'" - location: https://storagename.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') + date: Thu, 01 Oct 2020 01:07:28 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A29.5594191Z'" + location: https://tablesteststorname.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable13ae0ebd?st=2020-09-16T21:51:03Z&se=2020-09-16T22:52:03Z&sp=a&sv=2019-02-02&tn=uttable13ae0ebd&sig=eaCBNhj7EZPLiPuRt9MlcqGhHCTAJ8ZOCfKDYJHu%2BPg%3D + url: https://tablesteststorname.table.core.windows.net/uttable13ae0ebd?st=2020-10-01T01:06:29Z&se=2020-10-01T02:07:29Z&sp=a&sv=2019-02-02&tn=uttable13ae0ebd&sig=foB1tM2kwDxj6EGye99c25XuLwdjwAv17xFeXKI95ag%3D - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') + uri: https://tablesteststorname.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable13ae0ebd/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A03.684069Z''\"","PartitionKey":"pk13ae0ebd","RowKey":"rk13ae0ebd","Timestamp":"2020-09-16T21:52:03.684069Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable13ae0ebd/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A29.5594191Z''\"","PartitionKey":"pk13ae0ebd","RowKey":"rk13ae0ebd","Timestamp":"2020-10-01T01:07:29.5594191Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A03.684069Z'" + date: Thu, 01 Oct 2020 01:07:29 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A29.5594191Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') + url: https://tablesteststorname.table.core.windows.net/uttable13ae0ebd(PartitionKey='pk13ae0ebd',RowKey='rk13ae0ebd') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable13ae0ebd') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable13ae0ebd') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:29 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable13ae0ebd') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable13ae0ebd') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_inside_range.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_inside_range.yaml index 7989c7cf0de2..f58be7a2a257 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_inside_range.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_inside_range.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef8471404"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablef8471404"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - location: https://storagename.table.core.windows.net/Tables('uttablef8471404') + date: Thu, 01 Oct 2020 01:07:28 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablef8471404') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "test", "PartitionKey@odata.type": "Edm.String", "RowKey": "test1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": "male", "sex@odata.type": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:03 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablef8471404?se=2020-09-16T22:52:03Z&sp=a&sv=2019-02-02&tn=uttablef8471404&spk=test&srk=test1&epk=test&erk=test1&sig=c5KTgh5IM%2BiRAtzLAxt3In2qQhvQBi2OOBDMkztsy%2BA%3D + uri: https://tablesteststorname.table.core.windows.net/uttablef8471404?se=2020-10-01T02:07:29Z&sp=a&sv=2019-02-02&tn=uttablef8471404&spk=test&srk=test1&epk=test&erk=test1&sig=EbKUTyTSvcOscYVaoYRaUMar0br4HABfRaX1fL4F4bw%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef8471404/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A04.0492952Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:52:04.0492952Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef8471404/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A30.023925Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T01:07:30.023925Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A04.0492952Z'" - location: https://storagename.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') + date: Thu, 01 Oct 2020 01:07:29 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A30.023925Z'" + location: https://tablesteststorname.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef8471404?se=2020-09-16T22:52:03Z&sp=a&sv=2019-02-02&tn=uttablef8471404&spk=test&srk=test1&epk=test&erk=test1&sig=c5KTgh5IM%2BiRAtzLAxt3In2qQhvQBi2OOBDMkztsy%2BA%3D + url: https://tablesteststorname.table.core.windows.net/uttablef8471404?se=2020-10-01T02:07:29Z&sp=a&sv=2019-02-02&tn=uttablef8471404&spk=test&srk=test1&epk=test&erk=test1&sig=EbKUTyTSvcOscYVaoYRaUMar0br4HABfRaX1fL4F4bw%3D - request: body: null headers: @@ -88,23 +88,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') + uri: https://tablesteststorname.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablef8471404/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A04.0492952Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-09-16T21:52:04.0492952Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablef8471404/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A30.023925Z''\"","PartitionKey":"test","RowKey":"test1","Timestamp":"2020-10-01T01:07:30.023925Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A04.0492952Z'" + date: Thu, 01 Oct 2020 01:07:29 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A30.023925Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -112,34 +112,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') + url: https://tablesteststorname.table.core.windows.net/uttablef8471404(PartitionKey='test',RowKey='test1') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablef8471404') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablef8471404') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:29 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablef8471404') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablef8471404') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_outside_range.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_outside_range.yaml index bcbfe4c9edd3..2a135a71def3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_outside_range.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_add_outside_range.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:29 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablede71485"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablede71485"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:03 GMT - location: https://storagename.table.core.windows.net/Tables('uttablede71485') + date: Thu, 01 Oct 2020 01:07:29 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablede71485') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkde71485", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkde71485", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,23 +54,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablede71485?se=2020-09-16T22:52:04Z&sp=a&sv=2019-02-02&tn=uttablede71485&spk=test&srk=test1&epk=test&erk=test1&sig=GhOLrqS06hLNsWvD2pgRTY1oCHjzl4%2BvaTL0ki6/GWA%3D + uri: https://tablesteststorname.table.core.windows.net/uttablede71485?se=2020-10-01T02:07:30Z&sp=a&sv=2019-02-02&tn=uttablede71485&spk=test&srk=test1&epk=test&erk=test1&sig=38rxi73xm%2Bopz4PGbbCtugz5znOWMLkc2tBFud9mIvc%3D response: body: string: '{"odata.error":{"code":"AuthorizationFailure","message":{"lang":"en-US","value":"This - request is not authorized to perform this operation.\nRequestId:e5b2dd10-f002-0072-3373-8c1939000000\nTime:2020-09-16T21:52:04.3777130Z"}}}' + request is not authorized to perform this operation.\nRequestId:d4efa31b-f002-004b-708f-97effb000000\nTime:2020-10-01T01:07:30.7495205Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT + date: Thu, 01 Oct 2020 01:07:29 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -78,34 +78,34 @@ interactions: status: code: 403 message: Forbidden - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablede71485?se=2020-09-16T22:52:04Z&sp=a&sv=2019-02-02&tn=uttablede71485&spk=test&srk=test1&epk=test&erk=test1&sig=GhOLrqS06hLNsWvD2pgRTY1oCHjzl4%2BvaTL0ki6/GWA%3D + url: https://tablesteststorname.table.core.windows.net/uttablede71485?se=2020-10-01T02:07:30Z&sp=a&sv=2019-02-02&tn=uttablede71485&spk=test&srk=test1&epk=test&erk=test1&sig=38rxi73xm%2Bopz4PGbbCtugz5znOWMLkc2tBFud9mIvc%3D - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablede71485') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablede71485') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:30 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablede71485') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablede71485') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_delete.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_delete.yaml index 12f7a6df6fe1..46c2ca7d091a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_delete.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_delete.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42981007"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42981007"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT - location: https://storagename.table.core.windows.net/Tables('uttable42981007') + date: Thu, 01 Oct 2020 01:07:30 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable42981007') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk42981007", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42981007", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable42981007 + uri: https://tablesteststorname.table.core.windows.net/uttable42981007 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42981007/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A04.5991987Z''\"","PartitionKey":"pk42981007","RowKey":"rk42981007","Timestamp":"2020-09-16T21:52:04.5991987Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42981007/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A31.0416271Z''\"","PartitionKey":"pk42981007","RowKey":"rk42981007","Timestamp":"2020-10-01T01:07:31.0416271Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A04.5991987Z'" - location: https://storagename.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') + date: Thu, 01 Oct 2020 01:07:30 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A31.0416271Z'" + location: https://tablesteststorname.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42981007 + url: https://tablesteststorname.table.core.windows.net/uttable42981007 - request: body: null headers: @@ -88,31 +88,31 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:30 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007')?se=2020-09-16T22:52:04Z&sp=d&sv=2019-02-02&tn=uttable42981007&sig=yTgXCxsPWiwamypHewEBaesJySLmb6IOLnxfNLTfmXI%3D + uri: https://tablesteststorname.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007')?se=2020-10-01T02:07:30Z&sp=d&sv=2019-02-02&tn=uttable42981007&sig=SyzTt/vpMAXrDV2PzHyDV4ZWezbnqztThLM1xSkeLp0%3D response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:03 GMT + date: Thu, 01 Oct 2020 01:07:31 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007')?se=2020-09-16T22:52:04Z&sp=d&sv=2019-02-02&tn=uttable42981007&sig=yTgXCxsPWiwamypHewEBaesJySLmb6IOLnxfNLTfmXI%3D + url: https://tablesteststorname.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007')?se=2020-10-01T02:07:30Z&sp=d&sv=2019-02-02&tn=uttable42981007&sig=SyzTt/vpMAXrDV2PzHyDV4ZWezbnqztThLM1xSkeLp0%3D - request: body: null headers: @@ -121,23 +121,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') + uri: https://tablesteststorname.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:19cae121-3002-002b-6b73-8c1cbf000000\nTime:2020-09-16T21:52:04.7803252Z"}}}' + specified resource does not exist.\nRequestId:bf9f5623-1002-004a-7e8f-97ee06000000\nTime:2020-10-01T01:07:31.2367656Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT + date: Thu, 01 Oct 2020 01:07:30 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -145,34 +145,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') + url: https://tablesteststorname.table.core.windows.net/uttable42981007(PartitionKey='pk42981007',RowKey='rk42981007') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable42981007') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable42981007') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:04 GMT + date: Thu, 01 Oct 2020 01:07:30 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable42981007') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable42981007') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_query.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_query.yaml index 4cf7839b009f..ae990f0b2147 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_query.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_query.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable331c0fca"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable331c0fca"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT - location: https://storagename.table.core.windows.net/Tables('uttable331c0fca') + date: Thu, 01 Oct 2020 01:07:31 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable331c0fca') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk331c0fca", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk331c0fca", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable331c0fca + uri: https://tablesteststorname.table.core.windows.net/uttable331c0fca response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable331c0fca/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A05.0102741Z''\"","PartitionKey":"pk331c0fca","RowKey":"rk331c0fca","Timestamp":"2020-09-16T21:52:05.0102741Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable331c0fca/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A31.5125949Z''\"","PartitionKey":"pk331c0fca","RowKey":"rk331c0fca","Timestamp":"2020-10-01T01:07:31.5125949Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A05.0102741Z'" - location: https://storagename.table.core.windows.net/uttable331c0fca(PartitionKey='pk331c0fca',RowKey='rk331c0fca') + date: Thu, 01 Oct 2020 01:07:31 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A31.5125949Z'" + location: https://tablesteststorname.table.core.windows.net/uttable331c0fca(PartitionKey='pk331c0fca',RowKey='rk331c0fca') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable331c0fca + url: https://tablesteststorname.table.core.windows.net/uttable331c0fca - request: body: null headers: @@ -88,22 +88,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:04 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable331c0fca()?st=2020-09-16T21:51:04Z&se=2020-09-16T22:52:04Z&sp=r&sv=2019-02-02&tn=uttable331c0fca&sig=BTTsE70fU5LtHX%2BAoNBl0tssiYcxQJQW3EPqG4dHxW4%3D + uri: https://tablesteststorname.table.core.windows.net/uttable331c0fca()?st=2020-10-01T01:06:31Z&se=2020-10-01T02:07:31Z&sp=r&sv=2019-02-02&tn=uttable331c0fca&sig=dna9ee0LjBI5xA52EI/ukIl55jmAJl%2By568Sc4sHQi4%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable331c0fca","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A05.0102741Z''\"","PartitionKey":"pk331c0fca","RowKey":"rk331c0fca","Timestamp":"2020-09-16T21:52:05.0102741Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable331c0fca","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A31.5125949Z''\"","PartitionKey":"pk331c0fca","RowKey":"rk331c0fca","Timestamp":"2020-10-01T01:07:31.5125949Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:04 GMT + date: Thu, 01 Oct 2020 01:07:31 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -111,34 +111,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable331c0fca()?st=2020-09-16T21:51:04Z&se=2020-09-16T22:52:04Z&sp=r&sv=2019-02-02&tn=uttable331c0fca&sig=BTTsE70fU5LtHX%2BAoNBl0tssiYcxQJQW3EPqG4dHxW4%3D + url: https://tablesteststorname.table.core.windows.net/uttable331c0fca()?st=2020-10-01T01:06:31Z&se=2020-10-01T02:07:31Z&sp=r&sv=2019-02-02&tn=uttable331c0fca&sig=dna9ee0LjBI5xA52EI/ukIl55jmAJl%2By568Sc4sHQi4%3D - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable331c0fca') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable331c0fca') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:04 GMT + date: Thu, 01 Oct 2020 01:07:31 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable331c0fca') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable331c0fca') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_update.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_update.yaml index d2eba96b80c1..82f738d59809 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_update.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_update.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable43091017"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable43091017"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - location: https://storagename.table.core.windows.net/Tables('uttable43091017') + date: Thu, 01 Oct 2020 01:07:31 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable43091017') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk43091017", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk43091017", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable43091017 + uri: https://tablesteststorname.table.core.windows.net/uttable43091017 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable43091017/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A05.9149139Z''\"","PartitionKey":"pk43091017","RowKey":"rk43091017","Timestamp":"2020-09-16T21:52:05.9149139Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable43091017/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A31.9848729Z''\"","PartitionKey":"pk43091017","RowKey":"rk43091017","Timestamp":"2020-10-01T01:07:31.9848729Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A05.9149139Z'" - location: https://storagename.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') + date: Thu, 01 Oct 2020 01:07:31 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A31.9848729Z'" + location: https://tablesteststorname.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable43091017 + url: https://tablesteststorname.table.core.windows.net/uttable43091017 - request: body: '{"PartitionKey": "pk43091017", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk43091017", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,32 +96,32 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:31 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017')?se=2020-09-16T22:52:05Z&sp=u&sv=2019-02-02&tn=uttable43091017&sig=YJgQ0d22uGSfmCu5I7ArJnj7QstbN5MeRTiky5NoU%2Bg%3D + uri: https://tablesteststorname.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017')?se=2020-10-01T02:07:31Z&sp=u&sv=2019-02-02&tn=uttable43091017&sig=6LIMhJB5Be4LaMBeq75kB9yA1CP%2B2JcwXB/GbfaVUHA%3D response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:05 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.0391363Z'" + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A32.1662732Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017')?se=2020-09-16T22:52:05Z&sp=u&sv=2019-02-02&tn=uttable43091017&sig=YJgQ0d22uGSfmCu5I7ArJnj7QstbN5MeRTiky5NoU%2Bg%3D + url: https://tablesteststorname.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017')?se=2020-10-01T02:07:31Z&sp=u&sv=2019-02-02&tn=uttable43091017&sig=6LIMhJB5Be4LaMBeq75kB9yA1CP%2B2JcwXB/GbfaVUHA%3D - request: body: null headers: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:05 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') + uri: https://tablesteststorname.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable43091017/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.0391363Z''\"","PartitionKey":"pk43091017","RowKey":"rk43091017","Timestamp":"2020-09-16T21:52:06.0391363Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable43091017/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A32.1662732Z''\"","PartitionKey":"pk43091017","RowKey":"rk43091017","Timestamp":"2020-10-01T01:07:32.1662732Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.0391363Z'" + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A32.1662732Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -154,34 +154,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') + url: https://tablesteststorname.table.core.windows.net/uttable43091017(PartitionKey='pk43091017',RowKey='rk43091017') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable43091017') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable43091017') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:05 GMT + date: Thu, 01 Oct 2020 01:07:32 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable43091017') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable43091017') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_upper_case_table_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_upper_case_table_name.yaml index 25343ae8144c..f9bf0172495f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_upper_case_table_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_sas_upper_case_table_name.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable65261622"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable65261622"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - location: https://storagename.table.core.windows.net/Tables('uttable65261622') + date: Thu, 01 Oct 2020 01:07:32 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable65261622') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk65261622", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk65261622", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable65261622 + uri: https://tablesteststorname.table.core.windows.net/uttable65261622 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable65261622/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.2996609Z''\"","PartitionKey":"pk65261622","RowKey":"rk65261622","Timestamp":"2020-09-16T21:52:06.2996609Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable65261622/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A32.4971595Z''\"","PartitionKey":"pk65261622","RowKey":"rk65261622","Timestamp":"2020-10-01T01:07:32.4971595Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.2996609Z'" - location: https://storagename.table.core.windows.net/uttable65261622(PartitionKey='pk65261622',RowKey='rk65261622') + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A32.4971595Z'" + location: https://tablesteststorname.table.core.windows.net/uttable65261622(PartitionKey='pk65261622',RowKey='rk65261622') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable65261622 + url: https://tablesteststorname.table.core.windows.net/uttable65261622 - request: body: null headers: @@ -88,22 +88,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable65261622()?st=2020-09-16T21:51:06Z&se=2020-09-16T22:52:06Z&sp=r&sv=2019-02-02&tn=UTTABLE65261622&sig=jdTNrYa3PEuLwYlSSfvZJ/jpwOiCR/o/0v1C12tpNj4%3D + uri: https://tablesteststorname.table.core.windows.net/uttable65261622()?st=2020-10-01T01:06:32Z&se=2020-10-01T02:07:32Z&sp=r&sv=2019-02-02&tn=UTTABLE65261622&sig=6TpRbeev08CX1hJEXmyXvlrB19NXfTWQ%2B3lInjX9Im8%3D response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable65261622","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.2996609Z''\"","PartitionKey":"pk65261622","RowKey":"rk65261622","Timestamp":"2020-09-16T21:52:06.2996609Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable65261622","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A32.4971595Z''\"","PartitionKey":"pk65261622","RowKey":"rk65261622","Timestamp":"2020-10-01T01:07:32.4971595Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT + date: Thu, 01 Oct 2020 01:07:32 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -111,34 +111,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable65261622()?st=2020-09-16T21:51:06Z&se=2020-09-16T22:52:06Z&sp=r&sv=2019-02-02&tn=UTTABLE65261622&sig=jdTNrYa3PEuLwYlSSfvZJ/jpwOiCR/o/0v1C12tpNj4%3D + url: https://tablesteststorname.table.core.windows.net/uttable65261622()?st=2020-10-01T01:06:32Z&se=2020-10-01T02:07:32Z&sp=r&sv=2019-02-02&tn=UTTABLE65261622&sig=6TpRbeev08CX1hJEXmyXvlrB19NXfTWQ%2B3lInjX9Im8%3D - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable65261622') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable65261622') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:06 GMT + date: Thu, 01 Oct 2020 01:07:32 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable65261622') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable65261622') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_timezone.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_timezone.yaml index 2f851ec4da8c..51813ce3928c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_timezone.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_timezone.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable23a30f59"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable23a30f59"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - location: https://storagename.table.core.windows.net/Tables('uttable23a30f59') + date: Thu, 01 Oct 2020 01:07:32 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable23a30f59') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk23a30f59", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk23a30f59", "RowKey@odata.type": "Edm.String", "date": "2003-09-27T09:52:43Z", @@ -50,24 +50,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable23a30f59 + uri: https://tablesteststorname.table.core.windows.net/uttable23a30f59 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable23a30f59/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.6670037Z''\"","PartitionKey":"pk23a30f59","RowKey":"rk23a30f59","Timestamp":"2020-09-16T21:52:06.6670037Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable23a30f59/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A32.962091Z''\"","PartitionKey":"pk23a30f59","RowKey":"rk23a30f59","Timestamp":"2020-10-01T01:07:32.962091Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.6670037Z'" - location: https://storagename.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A32.962091Z'" + location: https://tablesteststorname.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -75,7 +75,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable23a30f59 + url: https://tablesteststorname.table.core.windows.net/uttable23a30f59 - request: body: null headers: @@ -84,23 +84,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') + uri: https://tablesteststorname.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable23a30f59/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.6670037Z''\"","PartitionKey":"pk23a30f59","RowKey":"rk23a30f59","Timestamp":"2020-09-16T21:52:06.6670037Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable23a30f59/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A32.962091Z''\"","PartitionKey":"pk23a30f59","RowKey":"rk23a30f59","Timestamp":"2020-10-01T01:07:32.962091Z","date@odata.type":"Edm.DateTime","date":"2003-09-27T09:52:43Z"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:05 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.6670037Z'" + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A32.962091Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -108,34 +108,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') + url: https://tablesteststorname.table.core.windows.net/uttable23a30f59(PartitionKey='pk23a30f59',RowKey='rk23a30f59') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable23a30f59') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable23a30f59') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:05 GMT + date: Thu, 01 Oct 2020 01:07:32 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable23a30f59') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable23a30f59') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_name.yaml index 81b460871a73..20a1edd879ac 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_name.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:32 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable103b14b9"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable103b14b9"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - location: https://storagename.table.core.windows.net/Tables('uttable103b14b9') + date: Thu, 01 Oct 2020 01:07:32 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable103b14b9') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk103b14b9", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk103b14b9", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": @@ -50,24 +50,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable103b14b9 + uri: https://tablesteststorname.table.core.windows.net/uttable103b14b9 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable103b14b9/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.9016213Z''\"","PartitionKey":"pk103b14b9","RowKey":"rk103b14b9","Timestamp":"2020-09-16T21:52:06.9016213Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable103b14b9/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.2948001Z''\"","PartitionKey":"pk103b14b9","RowKey":"rk103b14b9","Timestamp":"2020-10-01T01:07:33.2948001Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.9016213Z'" - location: https://storagename.table.core.windows.net/uttable103b14b9(PartitionKey='pk103b14b9',RowKey='rk103b14b9') + date: Thu, 01 Oct 2020 01:07:32 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A33.2948001Z'" + location: https://tablesteststorname.table.core.windows.net/uttable103b14b9(PartitionKey='pk103b14b9',RowKey='rk103b14b9') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -75,7 +75,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable103b14b9 + url: https://tablesteststorname.table.core.windows.net/uttable103b14b9 - request: body: '{"PartitionKey": "pk103b14b9", "PartitionKey@odata.type": "Edm.String", "RowKey": "test2", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": @@ -90,24 +90,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable103b14b9 + uri: https://tablesteststorname.table.core.windows.net/uttable103b14b9 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable103b14b9/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.9336424Z''\"","PartitionKey":"pk103b14b9","RowKey":"test2","Timestamp":"2020-09-16T21:52:06.9336424Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable103b14b9/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.3348286Z''\"","PartitionKey":"pk103b14b9","RowKey":"test2","Timestamp":"2020-10-01T01:07:33.3348286Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A06.9336424Z'" - location: https://storagename.table.core.windows.net/uttable103b14b9(PartitionKey='pk103b14b9',RowKey='test2') + date: Thu, 01 Oct 2020 01:07:33 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A33.3348286Z'" + location: https://tablesteststorname.table.core.windows.net/uttable103b14b9(PartitionKey='pk103b14b9',RowKey='test2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -115,7 +115,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable103b14b9 + url: https://tablesteststorname.table.core.windows.net/uttable103b14b9 - request: body: null headers: @@ -124,22 +124,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable103b14b9() + uri: https://tablesteststorname.table.core.windows.net/uttable103b14b9() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable103b14b9","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.9016213Z''\"","PartitionKey":"pk103b14b9","RowKey":"rk103b14b9","Timestamp":"2020-09-16T21:52:06.9016213Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A06.9336424Z''\"","PartitionKey":"pk103b14b9","RowKey":"test2","Timestamp":"2020-09-16T21:52:06.9336424Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable103b14b9","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.2948001Z''\"","PartitionKey":"pk103b14b9","RowKey":"rk103b14b9","Timestamp":"2020-10-01T01:07:33.2948001Z","\u554a\u9f44\u4e02\u72db\u72dc":"\ua015"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.3348286Z''\"","PartitionKey":"pk103b14b9","RowKey":"test2","Timestamp":"2020-10-01T01:07:33.3348286Z","\u554a\u9f44\u4e02\u72db\u72dc":"hello"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT + date: Thu, 01 Oct 2020 01:07:33 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -147,34 +147,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable103b14b9() + url: https://tablesteststorname.table.core.windows.net/uttable103b14b9() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable103b14b9') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable103b14b9') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:06 GMT + date: Thu, 01 Oct 2020 01:07:33 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable103b14b9') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable103b14b9') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_value.yaml index 67cd606170dc..189699f2735e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_unicode_property_value.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:06 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable259e1535"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable259e1535"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - location: https://storagename.table.core.windows.net/Tables('uttable259e1535') + date: Thu, 01 Oct 2020 01:07:33 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable259e1535') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk259e1535", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk259e1535", "RowKey@odata.type": "Edm.String", "Description": "\ua015", @@ -50,24 +50,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable259e1535 + uri: https://tablesteststorname.table.core.windows.net/uttable259e1535 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable259e1535/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.1643603Z''\"","PartitionKey":"pk259e1535","RowKey":"rk259e1535","Timestamp":"2020-09-16T21:52:07.1643603Z","Description":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable259e1535/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.7434421Z''\"","PartitionKey":"pk259e1535","RowKey":"rk259e1535","Timestamp":"2020-10-01T01:07:33.7434421Z","Description":"\ua015"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.1643603Z'" - location: https://storagename.table.core.windows.net/uttable259e1535(PartitionKey='pk259e1535',RowKey='rk259e1535') + date: Thu, 01 Oct 2020 01:07:33 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A33.7434421Z'" + location: https://tablesteststorname.table.core.windows.net/uttable259e1535(PartitionKey='pk259e1535',RowKey='rk259e1535') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -75,7 +75,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable259e1535 + url: https://tablesteststorname.table.core.windows.net/uttable259e1535 - request: body: '{"PartitionKey": "pk259e1535", "PartitionKey@odata.type": "Edm.String", "RowKey": "test2", "RowKey@odata.type": "Edm.String", "Description": "\ua015", @@ -90,24 +90,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable259e1535 + uri: https://tablesteststorname.table.core.windows.net/uttable259e1535 response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable259e1535/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.1943805Z''\"","PartitionKey":"pk259e1535","RowKey":"test2","Timestamp":"2020-09-16T21:52:07.1943805Z","Description":"\ua015"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable259e1535/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.7914763Z''\"","PartitionKey":"pk259e1535","RowKey":"test2","Timestamp":"2020-10-01T01:07:33.7914763Z","Description":"\ua015"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.1943805Z'" - location: https://storagename.table.core.windows.net/uttable259e1535(PartitionKey='pk259e1535',RowKey='test2') + date: Thu, 01 Oct 2020 01:07:33 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A33.7914763Z'" + location: https://tablesteststorname.table.core.windows.net/uttable259e1535(PartitionKey='pk259e1535',RowKey='test2') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -115,7 +115,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable259e1535 + url: https://tablesteststorname.table.core.windows.net/uttable259e1535 - request: body: null headers: @@ -124,22 +124,22 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable259e1535() + uri: https://tablesteststorname.table.core.windows.net/uttable259e1535() response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable259e1535","value":[{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.1643603Z''\"","PartitionKey":"pk259e1535","RowKey":"rk259e1535","Timestamp":"2020-09-16T21:52:07.1643603Z","Description":"\ua015"},{"odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.1943805Z''\"","PartitionKey":"pk259e1535","RowKey":"test2","Timestamp":"2020-09-16T21:52:07.1943805Z","Description":"\ua015"}]}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable259e1535","value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.7434421Z''\"","PartitionKey":"pk259e1535","RowKey":"rk259e1535","Timestamp":"2020-10-01T01:07:33.7434421Z","Description":"\ua015"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A33.7914763Z''\"","PartitionKey":"pk259e1535","RowKey":"test2","Timestamp":"2020-10-01T01:07:33.7914763Z","Description":"\ua015"}]}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT + date: Thu, 01 Oct 2020 01:07:33 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -147,34 +147,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable259e1535() + url: https://tablesteststorname.table.core.windows.net/uttable259e1535() - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable259e1535') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable259e1535') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:06 GMT + date: Thu, 01 Oct 2020 01:07:33 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable259e1535') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable259e1535') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity.yaml index 47476acb8610..38db3ee7a3d7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable75d9116d"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable75d9116d"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - location: https://storagename.table.core.windows.net/Tables('uttable75d9116d') + date: Thu, 01 Oct 2020 01:07:34 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable75d9116d') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk75d9116d", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk75d9116d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable75d9116d + uri: https://tablesteststorname.table.core.windows.net/uttable75d9116d response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable75d9116d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.4312838Z''\"","PartitionKey":"pk75d9116d","RowKey":"rk75d9116d","Timestamp":"2020-09-16T21:52:07.4312838Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable75d9116d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A34.1243575Z''\"","PartitionKey":"pk75d9116d","RowKey":"rk75d9116d","Timestamp":"2020-10-01T01:07:34.1243575Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.4312838Z'" - location: https://storagename.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A34.1243575Z'" + location: https://tablesteststorname.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable75d9116d + url: https://tablesteststorname.table.core.windows.net/uttable75d9116d - request: body: '{"PartitionKey": "pk75d9116d", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk75d9116d", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,32 +96,32 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:33 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') + uri: https://tablesteststorname.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.4701158Z'" + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A34.1697047Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') + url: https://tablesteststorname.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') - request: body: null headers: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') + uri: https://tablesteststorname.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable75d9116d/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.4701158Z''\"","PartitionKey":"pk75d9116d","RowKey":"rk75d9116d","Timestamp":"2020-09-16T21:52:07.4701158Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable75d9116d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A34.1697047Z''\"","PartitionKey":"pk75d9116d","RowKey":"rk75d9116d","Timestamp":"2020-10-01T01:07:34.1697047Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.4701158Z'" + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A34.1697047Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -154,34 +154,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') + url: https://tablesteststorname.table.core.windows.net/uttable75d9116d(PartitionKey='pk75d9116d',RowKey='rk75d9116d') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable75d9116d') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable75d9116d') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable75d9116d') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable75d9116d') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_not_existing.yaml index 14297be8d94d..a376ffd0bd79 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_not_existing.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7e8316e7"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7e8316e7"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - location: https://storagename.table.core.windows.net/Tables('uttable7e8316e7') + date: Thu, 01 Oct 2020 01:07:34 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable7e8316e7') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk7e8316e7", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk7e8316e7", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -52,25 +52,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT If-Match: - '*' User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable7e8316e7(PartitionKey='pk7e8316e7',RowKey='rk7e8316e7') + uri: https://tablesteststorname.table.core.windows.net/uttable7e8316e7(PartitionKey='pk7e8316e7',RowKey='rk7e8316e7') response: body: string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:44366923-2002-003f-6573-8cdfdb000000\nTime:2020-09-16T21:52:07.7046510Z"}}}' + specified resource does not exist.\nRequestId:f8dfd64e-1002-0041-228f-97f672000000\nTime:2020-10-01T01:07:34.5102857Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -78,34 +78,34 @@ interactions: status: code: 404 message: Not Found - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable7e8316e7(PartitionKey='pk7e8316e7',RowKey='rk7e8316e7') + url: https://tablesteststorname.table.core.windows.net/uttable7e8316e7(PartitionKey='pk7e8316e7',RowKey='rk7e8316e7') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable7e8316e7') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable7e8316e7') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable7e8316e7') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable7e8316e7') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_doesnt_match.yaml index e099f66089f3..f0639057b547 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_doesnt_match.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42cf1a0e"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable42cf1a0e"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:06 GMT - location: https://storagename.table.core.windows.net/Tables('uttable42cf1a0e') + date: Thu, 01 Oct 2020 01:07:34 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttable42cf1a0e') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pk42cf1a0e", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42cf1a0e", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttable42cf1a0e + uri: https://tablesteststorname.table.core.windows.net/uttable42cf1a0e response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttable42cf1a0e/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A07.9073802Z''\"","PartitionKey":"pk42cf1a0e","RowKey":"rk42cf1a0e","Timestamp":"2020-09-16T21:52:07.9073802Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttable42cf1a0e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A34.790924Z''\"","PartitionKey":"pk42cf1a0e","RowKey":"rk42cf1a0e","Timestamp":"2020-10-01T01:07:34.790924Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A07.9073802Z'" - location: https://storagename.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A34.790924Z'" + location: https://tablesteststorname.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42cf1a0e + url: https://tablesteststorname.table.core.windows.net/uttable42cf1a0e - request: body: '{"PartitionKey": "pk42cf1a0e", "PartitionKey@odata.type": "Edm.String", "RowKey": "rk42cf1a0e", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,25 +96,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') + uri: https://tablesteststorname.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') response: body: string: '{"odata.error":{"code":"UpdateConditionNotSatisfied","message":{"lang":"en-US","value":"The - update condition specified in the request was not satisfied.\nRequestId:7d58ad9f-4002-0024-2773-8cf149000000\nTime:2020-09-16T21:52:07.9494102Z"}}}' + update condition specified in the request was not satisfied.\nRequestId:f72aff37-1002-0005-658f-972a1e000000\nTime:2020-10-01T01:07:34.8349553Z"}}}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -122,34 +122,34 @@ interactions: status: code: 412 message: Precondition Failed - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') + url: https://tablesteststorname.table.core.windows.net/uttable42cf1a0e(PartitionKey='pk42cf1a0e',RowKey='rk42cf1a0e') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttable42cf1a0e') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttable42cf1a0e') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttable42cf1a0e') + url: https://tablesteststorname.table.core.windows.net/Tables('uttable42cf1a0e') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_matches.yaml index 48ecebecfe82..35e8b650b963 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_async.test_update_entity_with_if_matches.yaml @@ -11,23 +11,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:07 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/Tables + uri: https://tablesteststorname.table.core.windows.net/Tables response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec46617fa"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec46617fa"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - location: https://storagename.table.core.windows.net/Tables('uttablec46617fa') + date: Thu, 01 Oct 2020 01:07:34 GMT + location: https://tablesteststorname.table.core.windows.net/Tables('uttablec46617fa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -35,7 +35,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables + url: https://tablesteststorname.table.core.windows.net/Tables - request: body: '{"PartitionKey": "pkc46617fa", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkc46617fa", "RowKey@odata.type": "Edm.String", "age": 39, "sex": @@ -54,24 +54,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:34 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: POST - uri: https://storagename.table.core.windows.net/uttablec46617fa + uri: https://tablesteststorname.table.core.windows.net/uttablec46617fa response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec46617fa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A08.1771924Z''\"","PartitionKey":"pkc46617fa","RowKey":"rkc46617fa","Timestamp":"2020-09-16T21:52:08.1771924Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec46617fa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A35.113105Z''\"","PartitionKey":"pkc46617fa","RowKey":"rkc46617fa","Timestamp":"2020-10-01T01:07:35.113105Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A08.1771924Z'" - location: https://storagename.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A35.113105Z'" + location: https://tablesteststorname.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -79,7 +79,7 @@ interactions: status: code: 201 message: Created - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec46617fa + url: https://tablesteststorname.table.core.windows.net/uttablec46617fa - request: body: '{"PartitionKey": "pkc46617fa", "PartitionKey@odata.type": "Edm.String", "RowKey": "rkc46617fa", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": @@ -96,32 +96,32 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:34 GMT If-Match: - - W/"datetime'2020-09-16T21%3A52%3A08.1771924Z'" + - W/"datetime'2020-10-01T01%3A07%3A35.113105Z'" User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:34 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') + uri: https://tablesteststorname.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A08.2156267Z'" + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A35.1594093Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') + url: https://tablesteststorname.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') - request: body: null headers: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:35 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:35 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') + uri: https://tablesteststorname.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') response: body: - string: '{"odata.metadata":"https://storagename.table.core.windows.net/$metadata#uttablec46617fa/@Element","odata.etag":"W/\"datetime''2020-09-16T21%3A52%3A08.2156267Z''\"","PartitionKey":"pkc46617fa","RowKey":"rkc46617fa","Timestamp":"2020-09-16T21:52:08.2156267Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' + string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablec46617fa/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A35.1594093Z''\"","PartitionKey":"pkc46617fa","RowKey":"rkc46617fa","Timestamp":"2020-10-01T01:07:35.1594093Z","age":"abc","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","sex":"female","sign":"aquarius"}' headers: cache-control: no-cache content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 - date: Wed, 16 Sep 2020 21:52:07 GMT - etag: W/"datetime'2020-09-16T21%3A52%3A08.2156267Z'" + date: Thu, 01 Oct 2020 01:07:34 GMT + etag: W/"datetime'2020-10-01T01%3A07%3A35.1594093Z'" server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-content-type-options: nosniff @@ -154,34 +154,34 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') + url: https://tablesteststorname.table.core.windows.net/uttablec46617fa(PartitionKey='pkc46617fa',RowKey='rkc46617fa') - request: body: null headers: Accept: - application/json Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:35 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:07:35 GMT x-ms-version: - '2019-02-02' method: DELETE - uri: https://storagename.table.core.windows.net/Tables('uttablec46617fa') + uri: https://tablesteststorname.table.core.windows.net/Tables('uttablec46617fa') response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Wed, 16 Sep 2020 21:52:07 GMT + date: Thu, 01 Oct 2020 01:07:34 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-content-type-options: nosniff x-ms-version: '2019-02-02' status: code: 204 message: No Content - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/Tables('uttablec46617fa') + url: https://tablesteststorname.table.core.windows.net/Tables('uttablec46617fa') version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml new file mode 100644 index 000000000000..0e2ab11487cf --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml @@ -0,0 +1,200 @@ +interactions: +- request: + body: '{"TableName": "uttable27241549"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:35 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable27241549","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:35 GMT + etag: + - W/"datetime'2020-10-01T01%3A07%3A35.9108103Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk27241549", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk27241549", "RowKey@odata.type": "Edm.String", "binary": "AQIDBAUGBwgJCg==", + "binary@odata.type": "Edm.Binary"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '195' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:36 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:35 GMT + etag: + - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:36 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:35 GMT + etag: + - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:07:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:36 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:07:35 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:36 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:35 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml new file mode 100644 index 000000000000..a33139bf6392 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml @@ -0,0 +1,241 @@ +interactions: +- request: + body: '{"TableName": "uttable87c311d3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable87c311d3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:52 GMT + etag: + - W/"datetime'2020-10-01T01%3A07%3A52.2652167Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk87c311d3", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk87c311d3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3/$metadata#uttable87c311d3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A52.7401479Z''\"","PartitionKey":"pk87c311d3","RowKey":"rk87c311d3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:07:52.7401479Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:52 GMT + etag: + - W/"datetime'2020-10-01T01%3A07%3A52.7401479Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:52 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:07:52 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:87f4553d-0382-11eb-81ff-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:52 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:07:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:07:52 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:07:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:07:53 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:07:52 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml new file mode 100644 index 000000000000..3e1f4761fc77 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml @@ -0,0 +1,157 @@ +interactions: +- request: + body: '{"TableName": "uttable959b174d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable959b174d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:09 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A08.7276551Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:08 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:08 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable959b174d(PartitionKey='pk959b174d',RowKey='rk959b174d') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:91acaf0c-0382-11eb-9cd5-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:08:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:08:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:09 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:08:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:09 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..13a8f9e59d5d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml @@ -0,0 +1,207 @@ +interactions: +- request: + body: '{"TableName": "uttable5d171a74"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:24 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5d171a74","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:24 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A24.9741319Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk5d171a74", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5d171a74", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:25 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74/$metadata#uttable5d171a74/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A25.4110727Z''\"","PartitionKey":"pk5d171a74","RowKey":"rk5d171a74","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:25.4110727Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:24 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A25.4110727Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:25 GMT + If-Match: + - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:25 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') + response: + body: + string: "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + update condition specified in the request was not satisfied.\\nRequestID:9b654d38-0382-11eb-a8f8-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:08:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 412 + message: Precondition Failed +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:08:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:25 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:08:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:25 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml new file mode 100644 index 000000000000..c5705d298b8a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml @@ -0,0 +1,241 @@ +interactions: +- request: + body: '{"TableName": "uttabledcb01860"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttabledcb01860","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:41 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A41.2658695Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkdcb01860", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkdcb01860", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:41 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860/$metadata#uttabledcb01860/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A41.7172487Z''\"","PartitionKey":"pkdcb01860","RowKey":"rkdcb01860","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:41.7172487Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:41 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:41 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:08:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:41 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:a5264589-0382-11eb-8976-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:08:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:08:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:42 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml new file mode 100644 index 000000000000..b3290ac33645 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml @@ -0,0 +1,208 @@ +interactions: +- request: + body: '{"TableName": "uttable10b51963"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable10b51963","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A57.8318343Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk10b51963", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk10b51963", "RowKey@odata.type": "Edm.String", "EmptyByte": "", + "EmptyByte@odata.type": "Edm.String", "EmptyUnicode": "", "EmptyUnicode@odata.type": + "Edm.String", "SpacesOnlyByte": " ", "SpacesOnlyByte@odata.type": "Edm.String", + "SpacesOnlyUnicode": " ", "SpacesOnlyUnicode@odata.type": "Edm.String", "SpacesBeforeByte": + " Text", "SpacesBeforeByte@odata.type": "Edm.String", "SpacesBeforeUnicode": + " Text", "SpacesBeforeUnicode@odata.type": "Edm.String", "SpacesAfterByte": + "Text ", "SpacesAfterByte@odata.type": "Edm.String", "SpacesAfterUnicode": + "Text ", "SpacesAfterUnicode@odata.type": "Edm.String", "SpacesBeforeAndAfterByte": + " Text ", "SpacesBeforeAndAfterByte@odata.type": "Edm.String", "SpacesBeforeAndAfterUnicode": + " Text ", "SpacesBeforeAndAfterUnicode@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '896' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:58 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:58 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:08:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:58 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:08:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:08:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:08:58 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:08:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml new file mode 100644 index 000000000000..c1de1fe325d3 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable542810a0"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:13 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable542810a0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:14 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A14.1219335Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk542810a0", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk542810a0", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:14 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:14 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:14 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:14 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:09:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:14 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:09:14 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:14 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:14 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml new file mode 100644 index 000000000000..0787a7440c7f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable67ca1652"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:29 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable67ca1652","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:30 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A30.4553479Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk67ca1652", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk67ca1652", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:30 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:30 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=fullmetadata + x-ms-date: + - Thu, 01 Oct 2020 01:09:30 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttable67ca1652","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.editLink":"uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:09:30 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:09:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:30 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:09:30 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:31 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:31 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:30 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml new file mode 100644 index 000000000000..05fee2d2b647 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml @@ -0,0 +1,242 @@ +interactions: +- request: + body: '{"TableName": "uttablefb9a143a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:46 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablefb9a143a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A46.9925383Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkfb9a143a", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkfb9a143a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:47 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:47 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:47 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:47 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:09:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:09:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:47 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:09:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:09:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:09:47 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:09:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml new file mode 100644 index 000000000000..4da8a59dfc0d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable3b56157c"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable3b56157c","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:03 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A03.4825223Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk3b56157c", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk3b56157c", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:03 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c/$metadata#uttable3b56157c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A04.0208391Z''\"","PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:03 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=nometadata + x-ms-date: + - Thu, 01 Oct 2020 01:10:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') + response: + body: + string: '{"PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + headers: + content-type: + - application/json;odata=nometadata + date: + - Thu, 01 Oct 2020 01:10:03 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:10:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:03 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:10:03 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:03 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml new file mode 100644 index 000000000000..6d71a1f98354 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: '{"TableName": "uttable5269161a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:19 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5269161a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:19 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A19.8458375Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:20 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5269161a(PartitionKey='pk5269161a',RowKey='rk5269161a') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:dfd3580e-0382-11eb-a08e-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:10:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:20 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:10:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:20 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml new file mode 100644 index 000000000000..da3c7121e215 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable115114cb"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:35 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable115114cb","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:36 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A36.1204743Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk115114cb", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk115114cb", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:36 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:36 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:36 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:36 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:10:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:36 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:10:36 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:36 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:36 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml new file mode 100644 index 000000000000..73f8507b57a8 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml @@ -0,0 +1,201 @@ +interactions: +- request: + body: '{"TableName": "uttable10a31948"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable10a31948","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:53 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A52.7706119Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk10a31948", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk10a31948", "RowKey@odata.type": "Edm.String", "inf": "Infinity", + "inf@odata.type": "Edm.Double", "negativeinf": "-Infinity", "negativeinf@odata.type": + "Edm.Double", "nan": "NaN", "nan@odata.type": "Edm.Double"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '295' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:53 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:53 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:53 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:53 GMT + etag: + - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:10:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:53 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:10:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:10:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:10:53 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:10:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml new file mode 100644 index 000000000000..1c0a0ecfea54 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml @@ -0,0 +1,213 @@ +interactions: +- request: + body: '{"TableName": "uttable3cfe15a6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable3cfe15a6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:09 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A09.4528007Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:09 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6/$metadata#uttable3cfe15a6/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A10.1790215Z''\"","PartitionKey":"pk3cfe15a6","RowKey":"rk3cfe15a6","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:10.1790215Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:09 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A10.1790215Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6(PartitionKey='pk3cfe15a6',RowKey='rk3cfe15a6') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:10 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 + response: + body: + string: "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified entity already exists.\\nRequestID:fd9b9bb3-0382-11eb-9dfe-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:11:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:10 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:11:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:10 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:09 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml new file mode 100644 index 000000000000..c48748f79e28 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: '{"TableName": "uttable6984168a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:25 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable6984168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A26.3077383Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk6984168a", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk6984168a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:26 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a/$metadata#uttable6984168a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A26.7978247Z''\"","PartitionKey":"pk6984168a","RowKey":"rk6984168a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:26.7978247Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A26.7978247Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a(PartitionKey='pk6984168a',RowKey='rk6984168a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:11:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:26 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:11:27 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:26 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:27 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml new file mode 100644 index 000000000000..2fbdd6438250 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: '{"TableName": "uttablee1c518b3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:42 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablee1c518b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:43 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A42.8426759Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"RowKey": "rk", "RowKey@odata.type": "Edm.String", "PartitionKey": "", + "PartitionKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '112' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:43 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c518b3 + response: + body: + string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey + cannot be empty\\r\\nActivityId: 114ba081-0383-11eb-97b2-58961df361d1, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:114ba081-0383-11eb-97b2-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:11:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:11:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:43 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:11:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:43 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml new file mode 100644 index 000000000000..8ca245ecb355 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: '{"TableName": "uttablee1c918b5"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:58 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablee1c918b5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:58 GMT + etag: + - W/"datetime'2020-10-01T01%3A11%3A59.0420487Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk", "PartitionKey@odata.type": "Edm.String", "RowKey": + "", "RowKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '112' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c918b5 + response: + body: + string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey + cannot be empty\\r\\nActivityId: 1af35196-0383-11eb-b7b0-58961df361d1, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:1af35196-0383-11eb-b7b0-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:11:58 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:11:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:59 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:11:59 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:11:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:11:59 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:11:59 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml new file mode 100644 index 000000000000..a555741d5390 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "uttable6a1e1688"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:14 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable6a1e1688","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:15 GMT + etag: + - W/"datetime'2020-10-01T01%3A12%3A15.2749063Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:12:15 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:15 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:12:15 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:15 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:15 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:15 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml new file mode 100644 index 000000000000..5ee12980d4e8 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "uttable6a22168a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:30 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable6a22168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:31 GMT + etag: + - W/"datetime'2020-10-01T01%3A12%3A31.3918471Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:12:31 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:31 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:12:31 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:31 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:31 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:31 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml new file mode 100644 index 000000000000..ce19b17be2d5 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable2cff19c2"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:47 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2cff19c2","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A12%3A47.5814919Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk2cff19c2", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2cff19c2", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=fullmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:47 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2 + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:12:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=fullmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:47 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:12:47 GMT + etag: + - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:12:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:47 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:12:48 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:12:48 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:12:48 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:12:48 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml new file mode 100644 index 000000000000..760781708dbc --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttable539e1620"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:03 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable539e1620","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:04 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A03.8791687Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk539e1620", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk539e1620", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:04 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:04 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:04 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:13:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:04 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:13:04 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:04 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml new file mode 100644 index 000000000000..ba64b00d01d6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "uttable5db41e0b"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:19 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5db41e0b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:20 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A20.0658439Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:13:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:20 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:13:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:20 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:20 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml new file mode 100644 index 000000000000..9073a287b90d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml @@ -0,0 +1,116 @@ +interactions: +- request: + body: '{"TableName": "uttable5dfd1e10"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:35 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5dfd1e10","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:36 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A36.4036615Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:13:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:36 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:13:36 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:36 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:37 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml new file mode 100644 index 000000000000..6ea642e45c9d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"TableName": "uttablef99c18ec"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablef99c18ec","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:51 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A52.5539847Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkf99c18ec", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkf99c18ec", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=nometadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec + response: + body: + string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + headers: + content-type: + - application/json;odata=nometadata + date: + - Thu, 01 Oct 2020 01:13:53 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=nometadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') + response: + body: + string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + headers: + content-type: + - application/json;odata=nometadata + date: + - Thu, 01 Oct 2020 01:13:53 GMT + etag: + - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:13:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:13:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:13:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:13:53 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:13:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_etag.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_etag.yaml new file mode 100644 index 000000000000..1b4c2d988093 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_etag.yaml @@ -0,0 +1,90 @@ +interactions: +- request: + body: '{"TableName": "uttable659c10f9"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:49:38 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:49:38 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:c685bad7-f905-11ea-98dd-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:49:39 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: '{"PartitionKey": "pk659c10f9", "RowKey": "rk659c10f9", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:49:39 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:49:39 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttable659c10f9 + response: + body: + string: "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified entity already exists.\\nRequestID:c6d89ef5-f905-11ea-be79-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:49:39 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_existing_entity.yaml new file mode 100644 index 000000000000..887d254c7302 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_existing_entity.yaml @@ -0,0 +1,210 @@ +interactions: +- request: + body: '{"TableName": "uttable637e1e85"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:50:41 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:50:41 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable637e1e85","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:50:41 GMT + etag: + - W/"datetime'2020-09-17T16%3A50%3A41.7328135Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable637e1e85') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk637e1e85", "RowKey": "rk637e1e85", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:50:41 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:50:41 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttable637e1e85 + response: + body: + string: '{"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/uttable637e1e85/$metadata#uttable637e1e85/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A50%3A42.1364743Z''\"","PartitionKey":"pk637e1e85","RowKey":"rk637e1e85","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:50:42.1364743Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:50:42 GMT + etag: + - W/"datetime'2020-09-17T16%3A50%3A42.1364743Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/uttable637e1e85(PartitionKey='pk637e1e85',RowKey='rk637e1e85') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk637e1e85", "RowKey": "rk637e1e85", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:50:42 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:50:42 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttable637e1e85(PartitionKey='pk637e1e85',RowKey='rk637e1e85') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: ec27a956-f905-11ea-abb3-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:ec27a956-f905-11ea-abb3-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:50:42 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:50:42 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:50:42 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable637e1e85') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:50:42 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:50:42 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:50:42 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:50:42 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_non_existing_entity.yaml new file mode 100644 index 000000000000..63fcd06534d6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_merge_entity_with_non_existing_entity.yaml @@ -0,0 +1,160 @@ +interactions: +- request: + body: '{"TableName": "uttablee12c202f"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:51:43 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:51:43 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablee12c202f","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:51:43 GMT + etag: + - W/"datetime'2020-09-17T16%3A51%3A44.2829319Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttablee12c202f') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pke12c202f", "RowKey": "rke12c202f", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:51:44 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:51:44 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttablee12c202f(PartitionKey='pke12c202f',RowKey='rke12c202f') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 11769a0b-f906-11ea-ab19-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:11769a0b-f906-11ea-ab19-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:51:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:51:44 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:51:44 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttablee12c202f') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:51:45 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:51:44 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:51:44 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:51:45 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_existing_entity.yaml new file mode 100644 index 000000000000..2e9db3b7333b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_existing_entity.yaml @@ -0,0 +1,210 @@ +interactions: +- request: + body: '{"TableName": "uttablea06a1f51"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:52:46 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:52:46 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablea06a1f51","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:52:46 GMT + etag: + - W/"datetime'2020-09-17T16%3A52%3A47.3572359Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttablea06a1f51') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pka06a1f51", "RowKey": "rka06a1f51", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:52:47 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:52:47 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttablea06a1f51 + response: + body: + string: '{"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/uttablea06a1f51/$metadata#uttablea06a1f51/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A52%3A47.8613511Z''\"","PartitionKey":"pka06a1f51","RowKey":"rka06a1f51","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:52:47.8613511Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:52:47 GMT + etag: + - W/"datetime'2020-09-17T16%3A52%3A47.8613511Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/uttablea06a1f51(PartitionKey='pka06a1f51',RowKey='rka06a1f51') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pka06a1f51", "RowKey": "rka06a1f51", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:52:47 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:52:47 GMT + x-ms-version: + - '2019-07-07' + method: PUT + uri: https://seankanecosmos.table.cosmos.azure.com/uttablea06a1f51(PartitionKey='pka06a1f51',RowKey='rka06a1f51') + response: + body: + string: "{\"odata.error\":{\"code\":\"MediaTypeNotSupported\",\"message\":{\"lang\":\"en-us\",\"value\":\"None + of the provided media types are supported\\r\\nActivityId: 37199588-f906-11ea-b216-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:37199588-f906-11ea-b216-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:52:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 415 + message: Unsupported Media Type +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:52:47 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:52:47 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttablea06a1f51') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:52:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:52:48 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:52:48 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:52:47 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_non_existing_entity.yaml new file mode 100644 index 000000000000..5bfce60bb3d2 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_or_replace_entity_with_non_existing_entity.yaml @@ -0,0 +1,160 @@ +interactions: +- request: + body: '{"TableName": "uttable215720fb"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:53:49 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:53:49 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable215720fb","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:53:50 GMT + etag: + - W/"datetime'2020-09-17T16%3A53%3A50.3044615Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable215720fb') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk215720fb", "RowKey": "rk215720fb", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:53:50 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:53:50 GMT + x-ms-version: + - '2019-07-07' + method: PUT + uri: https://seankanecosmos.table.cosmos.azure.com/uttable215720fb(PartitionKey='pk215720fb',RowKey='rk215720fb') + response: + body: + string: "{\"odata.error\":{\"code\":\"MediaTypeNotSupported\",\"message\":{\"lang\":\"en-us\",\"value\":\"None + of the provided media types are supported\\r\\nActivityId: 5c8cb91e-f906-11ea-ab9a-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:5c8cb91e-f906-11ea-ab9a-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:53:50 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 415 + message: Unsupported Media Type +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:53:50 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:53:50 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable215720fb') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:53:50 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:53:50 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:53:50 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:53:50 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity.yaml new file mode 100644 index 000000000000..68f8e081f6b6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity.yaml @@ -0,0 +1,212 @@ +interactions: +- request: + body: '{"TableName": "uttable766b1170"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:54:52 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:54:52 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable766b1170","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:54:53 GMT + etag: + - W/"datetime'2020-09-17T16%3A54%3A53.2093959Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable766b1170') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk766b1170", "RowKey": "rk766b1170", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:54:53 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:54:53 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttable766b1170 + response: + body: + string: '{"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/uttable766b1170/$metadata#uttable766b1170/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A54%3A53.6972295Z''\"","PartitionKey":"pk766b1170","RowKey":"rk766b1170","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:54:53.6972295Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:54:53 GMT + etag: + - W/"datetime'2020-09-17T16%3A54%3A53.6972295Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/uttable766b1170(PartitionKey='pk766b1170',RowKey='rk766b1170') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk766b1170", "RowKey": "rk766b1170", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:54:53 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:54:53 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttable766b1170(PartitionKey='pk766b1170',RowKey='rk766b1170') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 821957ab-f906-11ea-8519-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:821957ab-f906-11ea-8519-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:54:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:54:53 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:54:53 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable766b1170') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:54:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:54:53 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:54:53 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:54:53 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_not_existing.yaml new file mode 100644 index 000000000000..e87c20e1c288 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_not_existing.yaml @@ -0,0 +1,162 @@ +interactions: +- request: + body: '{"TableName": "uttable7f3c16ea"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:55:55 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:55:55 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7f3c16ea","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:55:55 GMT + etag: + - W/"datetime'2020-09-17T16%3A55%3A56.2298375Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable7f3c16ea') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk7f3c16ea", "RowKey": "rk7f3c16ea", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:55:56 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:55:56 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttable7f3c16ea(PartitionKey='pk7f3c16ea',RowKey='rk7f3c16ea') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: a79455bf-f906-11ea-bb61-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:a79455bf-f906-11ea-bb61-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:55:55 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:55:56 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:55:56 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable7f3c16ea') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:55:56 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:55:56 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:55:56 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:55:56 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..95413fccbf52 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_doesnt_match.yaml @@ -0,0 +1,212 @@ +interactions: +- request: + body: '{"TableName": "uttable43a01a11"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:07:18 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:07:18 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable43a01a11","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:07:18 GMT + etag: + - W/"datetime'2020-09-17T17%3A07%3A19.1714823Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable43a01a11') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk43a01a11", "RowKey": "rk43a01a11", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:07:19 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:07:19 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttable43a01a11 + response: + body: + string: '{"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/uttable43a01a11/$metadata#uttable43a01a11/@Element","odata.etag":"W/\"datetime''2020-09-17T17%3A07%3A19.5898887Z''\"","PartitionKey":"pk43a01a11","RowKey":"rk43a01a11","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T17:07:19.5898887Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:07:18 GMT + etag: + - W/"datetime'2020-09-17T17%3A07%3A19.5898887Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/uttable43a01a11(PartitionKey='pk43a01a11',RowKey='rk43a01a11') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk43a01a11", "RowKey": "rk43a01a11", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:07:19 GMT + If-Match: + - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:07:19 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttable43a01a11(PartitionKey='pk43a01a11',RowKey='rk43a01a11') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 3eaee268-f908-11ea-bfef-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3eaee268-f908-11ea-bfef-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 17:07:18 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 17:07:19 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:07:19 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable43a01a11') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 17:07:19 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:07:19 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:07:19 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable5436162b"},{"TableName":"querytablefe63147d"},{"TableName":"querytable2da719db"},{"TableName":"uttable659c10f9"},{"TableName":"querytable981b173a"},{"TableName":"querytable9c05125e"},{"TableName":"querytablec80b1810"},{"TableName":"querytable98d81758"}],"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:07:19 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_matches.yaml new file mode 100644 index 000000000000..578aae5eeb40 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_merge_entity_with_if_matches.yaml @@ -0,0 +1,212 @@ +interactions: +- request: + body: '{"TableName": "uttablec52817fd"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:39:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:39:11 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec52817fd","odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:39:11 GMT + etag: + - W/"datetime'2020-09-17T17%3A39%3A12.3757063Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/Tables('uttablec52817fd') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkc52817fd", "RowKey": "rkc52817fd", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:39:12 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:39:12 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/uttablec52817fd + response: + body: + string: '{"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/uttablec52817fd/$metadata#uttablec52817fd/@Element","odata.etag":"W/\"datetime''2020-09-17T17%3A39%3A12.8844295Z''\"","PartitionKey":"pkc52817fd","RowKey":"rkc52817fd","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T17:39:12.8844295Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:39:11 GMT + etag: + - W/"datetime'2020-09-17T17%3A39%3A12.8844295Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/uttablec52817fd(PartitionKey='pkc52817fd',RowKey='rkc52817fd') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkc52817fd", "RowKey": "rkc52817fd", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:39:12 GMT + If-Match: + - W/"datetime'2020-09-17T17%3A39%3A12.8844295Z'" + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:39:12 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://cosmostablescosmosname.table.cosmos.azure.com/uttablec52817fd(PartitionKey='pkc52817fd',RowKey='rkc52817fd') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: b317e4c5-f90c-11ea-a19d-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:b317e4c5-f90c-11ea-a19d-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 17:39:11 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 17:39:12 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:39:12 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables('uttablec52817fd') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 17:39:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 17:39:13 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 17:39:13 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable1d2351374"},{"TableName":"listtable3d2351374"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable33a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"listtable23a8d15b3"}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 17:39:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml new file mode 100644 index 000000000000..d4c417797e75 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml @@ -0,0 +1,199 @@ +interactions: +- request: + body: '{"TableName": "uttablefd871474"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablefd871474","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:08 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A09.1410439Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkfd871474", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkfd871474", "RowKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '130' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:09 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:08 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:09 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:08 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:14:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:09 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:14:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:09 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:10 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_operations_on_entity_with_partition_key_having_single_quote.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_operations_on_entity_with_partition_key_having_single_quote.yaml new file mode 100644 index 000000000000..0f0a849d87a4 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_operations_on_entity_with_partition_key_having_single_quote.yaml @@ -0,0 +1,210 @@ +interactions: +- request: + body: '{"TableName": "uttable85a02526"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:58:04 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:58:04 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable85a02526","odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:58:04 GMT + etag: + - W/"datetime'2020-09-17T16%3A58%3A04.9071111Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/Tables('uttable85a02526') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "a''''''''b", "RowKey": "a''''''''b", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '529' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:58:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:58:05 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://seankanecosmos.table.cosmos.azure.com/uttable85a02526 + response: + body: + string: '{"odata.metadata":"https://seankanecosmos.table.cosmos.azure.com/uttable85a02526/$metadata#uttable85a02526/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A58%3A05.3770247Z''\"","PartitionKey":"a''''''''b","RowKey":"a''''''''b","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:58:05.3770247Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:58:05 GMT + etag: + - W/"datetime'2020-09-17T16%3A58%3A05.3770247Z'" + location: + - https://seankanecosmos.table.cosmos.azure.com/uttable85a02526(PartitionKey='a''''''''b',RowKey='a''''''''b') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "a''''''''b", "RowKey": "a''''''''b", "age": "abc", "sex": + "female", "sign": "aquarius", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '172' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:58:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:58:05 GMT + x-ms-version: + - '2019-07-07' + method: PATCH + uri: https://seankanecosmos.table.cosmos.azure.com/uttable85a02526(PartitionKey='a%27%27%27%27b',RowKey='a%27%27%27%27b') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: f45b0e77-f906-11ea-89ba-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:f45b0e77-f906-11ea-89ba-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 16:58:05 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:58:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:58:05 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://seankanecosmos.table.cosmos.azure.com/Tables('uttable85a02526') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:58:05 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:58:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:58:05 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://seankanecosmos.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://seankanecosmos.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:58:05 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml new file mode 100644 index 000000000000..b02a91e5db86 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml @@ -0,0 +1,296 @@ +interactions: +- request: + body: '{"TableName": "uttable9c05125e"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:24 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A25.4972935Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytable9c05125e"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:25 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:26 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A25.9755015Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable9c05125e') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk9c05125e1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:26 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:26 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A26.4612871Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e1') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk9c05125e12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:26 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:26 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A26.5155591Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e12') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:26 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e() + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable9c05125e"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:26 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:14:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:26 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:14:26 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:26 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:26 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml new file mode 100644 index 000000000000..40a0a8d8e1f2 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml @@ -0,0 +1,296 @@ +interactions: +- request: + body: '{"TableName": "uttablec80b1810"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:41 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:42 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A42.6951687Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytablec80b1810"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:42 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:43 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A43.2257031Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablec80b1810') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc80b18101", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:43 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7045255Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:43 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A43.7045255Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b18101') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc80b181012", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:43 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7671943Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:43 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A43.7671943Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b181012') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=fullmetadata + x-ms-date: + - Thu, 01 Oct 2020 01:14:43 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810() + response: + body: + string: '{"value":[{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7045255Z"},{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7671943Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablec80b1810"}' + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:14:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:14:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:43 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:14:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:43 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:43 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml new file mode 100644 index 000000000000..2257527518a3 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml @@ -0,0 +1,296 @@ +interactions: +- request: + body: '{"TableName": "uttable981b173a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:59 GMT + etag: + - W/"datetime'2020-10-01T01%3A14%3A59.6714503Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytable981b173a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:14:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:14:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:59 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A00.1689095Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable981b173a') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk981b173a1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:00 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7310855Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:59 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A00.7310855Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a1') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk981b173a12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:00 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7846407Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:14:59 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A00.7846407Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a12') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=nometadata + x-ms-date: + - Thu, 01 Oct 2020 01:15:00 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a() + response: + body: + string: '{"value":[{"PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"},{"PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}]}' + headers: + content-type: + - application/json;odata=nometadata + date: + - Thu, 01 Oct 2020 01:14:59 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:15:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:00 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:15:01 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:00 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:01 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml new file mode 100644 index 000000000000..16079027ba84 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml @@ -0,0 +1,202 @@ +interactions: +- request: + body: '{"TableName": "uttable98cd175e"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:16 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable98cd175e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:16 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A16.5877255Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk98cd175e", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk98cd175e", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:16 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e/$metadata#uttable98cd175e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:16 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A17.0206727Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e(PartitionKey='pk98cd175e',RowKey='rk98cd175e') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:16 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e() + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable98cd175e"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:15:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:16 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:15:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:17 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_select.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_select.yaml new file mode 100644 index 000000000000..9afd4ce9e5db --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_select.yaml @@ -0,0 +1,373 @@ +interactions: +- request: + body: '{"TableName": "uttable98d81758"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:06 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:06 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable98d81758","odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:06 GMT + etag: + - W/"datetime'2020-09-17T16%3A46%3A07.2810503Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/Tables('uttable98d81758') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytable98d81758"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:07 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:07 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified table already exists.\\nRequestID:4891431f-f905-11ea-ad71-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:06 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:46:07 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:07 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables('querytable98d81758') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:46:07 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: '{"TableName": "querytable98d81758"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:08 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:08 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable98d81758","odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:08 GMT + etag: + - W/"datetime'2020-09-17T16%3A46%3A08.6352903Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/Tables('querytable98d81758') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk98d81758", "RowKey": "rk98d817581", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '538' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:08 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:08 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758 + response: + body: + string: '{"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758/$metadata#querytable98d81758/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A46%3A09.1443207Z''\"","PartitionKey":"pk98d81758","RowKey":"rk98d817581","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:46:09.1443207Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:08 GMT + etag: + - W/"datetime'2020-09-17T16%3A46%3A09.1443207Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758(PartitionKey='pk98d81758',RowKey='rk98d817581') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk98d81758", "RowKey": "rk98d8175812", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '539' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:09 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:09 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758 + response: + body: + string: '{"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758/$metadata#querytable98d81758/@Element","odata.etag":"W/\"datetime''2020-09-17T16%3A46%3A09.1947015Z''\"","PartitionKey":"pk98d81758","RowKey":"rk98d8175812","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T16:46:09.1947015Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:08 GMT + etag: + - W/"datetime'2020-09-17T16%3A46%3A09.1947015Z'" + location: + - https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758(PartitionKey='pk98d81758',RowKey='rk98d8175812') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:09 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:09 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/querytable98d81758()?$select=age%2C%20sex + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-09-17T16%3A46%3A09.1443207Z''\"","age@odata.type":"Edm.Int64","age":"39"," + sex":null},{"odata.etag":"W/\"datetime''2020-09-17T16%3A46%3A09.1947015Z''\"","age@odata.type":"Edm.Int64","age":"39"," + sex":null}],"odata.metadata":"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#querytable98d81758"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:08 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Sep 2020 16:46:09 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:09 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables('uttable98d81758') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 17 Sep 2020 16:46:08 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 16:46:09 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 16:46:09 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"value\":[{\"TableName\":\"mytable\"},{\"TableName\":\"uttable659c10f9\"},{\"TableName\":\"\u554A\u9F44\u4E02\u72DB\u72DC\"},{\"TableName\":\"querytable98d81758\"}],\"odata.metadata\":\"https://cosmostablescosmosname.table.cosmos.azure.com/$metadata#Tables\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 17 Sep 2020 16:46:08 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml new file mode 100644 index 000000000000..87ce9c2fd999 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml @@ -0,0 +1,350 @@ +interactions: +- request: + body: '{"TableName": "uttable5436162b"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:32 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:32 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:32 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A32.7987719Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytable5436162b"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:32 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:32 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A33.2164615Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable5436162b') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5436162b1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A33.7223175Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b1') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5436162b12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A33.7715719Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b12') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5436162b123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '580' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.8290183Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.8290183Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A33.8290183Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b123') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:33 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b()?$top=2 + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable5436162b"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-continuation-nextpartitionkey: + - '{"token":"aI0BAI7bs-ICAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: + - NA + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:15:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:33 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:15:33 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:34 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:34 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:33 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml new file mode 100644 index 000000000000..cf7a6da5be71 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml @@ -0,0 +1,526 @@ +interactions: +- request: + body: '{"TableName": "uttable2da719db"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A49.6372231Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytable2da719db"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.1324295Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2da719db') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2da719db1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.5827847Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2da719db12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.6338823Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2da719db123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '580' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.6861063Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db123') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2da719db1234", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '581' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.7490823Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1234') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2da719db12345", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '582' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + etag: + - W/"datetime'2020-10-01T01%3A15%3A50.8151303Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12345') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2 + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-continuation-nextpartitionkey: + - '{"token":"aI0BAIjOg4YCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: + - NA + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YCAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-continuation-nextpartitionkey: + - '{"token":"aI0BAIjOg4YEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: + - NA + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YEAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:49 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:15:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:50 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:15:51 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:15:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:15:51 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:15:51 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml new file mode 100644 index 000000000000..2c621198cb7a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: '{"TableName": "uttabled5ad139d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttabled5ad139d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:07 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A06.8054023Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkd5ad139d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd5ad139d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:07 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d/$metadata#uttabled5ad139d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A16%3A07.3010183Z''\"","PartitionKey":"pkd5ad139d","RowKey":"rkd5ad139d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:16:07.3010183Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:07 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A07.3010183Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d(PartitionKey='pkd5ad139d',RowKey='rkd5ad139d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:16:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:07 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:16:07 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:07 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:07 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml new file mode 100644 index 000000000000..77486e96bbc9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml @@ -0,0 +1,196 @@ +interactions: +- request: + body: '{"TableName": "uttablefe63147d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:22 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:23 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A23.0771719Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"TableName": "querytablefe63147d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:24 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A23.6513287Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablefe63147d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:24 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablefe63147d() + response: + body: + string: '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablefe63147d"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:16:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:24 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:16:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:24 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:24 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml new file mode 100644 index 000000000000..a9b44c64472f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml @@ -0,0 +1,244 @@ +interactions: +- request: + body: '{"TableName": "uttable26b6152f"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:39 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:39 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable26b6152f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:40 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A40.4289543Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk26b6152f", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": + "\ua015", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:40 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A40.9632775Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='rk26b6152f') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", + "RowKey": "test2", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": + "hello", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '227' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:40 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A41.0202119Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='test2') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:40 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f() + response: + body: + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable26b6152f\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:16:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:40 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:16:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:41 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml new file mode 100644 index 000000000000..0a4fe06ef34b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml @@ -0,0 +1,244 @@ +interactions: +- request: + body: '{"TableName": "uttable3c8f15ab"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:56 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:56 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable3c8f15ab","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:56 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A56.8899591Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk3c8f15ab", "RowKey@odata.type": "Edm.String", "Description": "\ua015", + "Description@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '195' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:56 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A57.3673479Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='rk3c8f15ab') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", + "RowKey": "test2", "RowKey@odata.type": "Edm.String", "Description": "\ua015", + "Description@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '190' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:56 GMT + etag: + - W/"datetime'2020-10-01T01%3A16%3A57.4277639Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='test2') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:57 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab() + response: + body: + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable3c8f15ab\"}" + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:16:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:57 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:16:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:16:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:16:57 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:16:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml new file mode 100644 index 000000000000..e87b63303740 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml @@ -0,0 +1,250 @@ +interactions: +- request: + body: '{"TableName": "uttable88a411e3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable88a411e3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A24.5894151Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:25 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.3736967Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:25.3736967Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A25.3736967Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:25 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:25 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:18:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:25 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.4297095Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:18:25.4297095Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:25 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:18:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:25 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:18:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:25 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:25 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml new file mode 100644 index 000000000000..0942ebaa4634 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: '{"TableName": "uttable974c175d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable974c175d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:40 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A41.3170695Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk974c175d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk974c175d", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:41 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:41 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable974c175d(PartitionKey='pk974c175d',RowKey='rk974c175d') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:0ab16548-0384-11eb-a2cb-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:18:40 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:18:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:18:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:41 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:41 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..bb1ac2eefb32 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml @@ -0,0 +1,214 @@ +interactions: +- request: + body: '{"TableName": "uttable5f481a84"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:56 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:56 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5f481a84","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A57.5020039Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84/$metadata#uttable5f481a84/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A58.0573191Z''\"","PartitionKey":"pk5f481a84","RowKey":"rk5f481a84","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:58.0573191Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:57 GMT + etag: + - W/"datetime'2020-10-01T01%3A18%3A58.0573191Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:57 GMT + If-Match: + - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:57 GMT + x-ms-version: + - '2019-02-02' + method: PATCH + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') + response: + body: + string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 147be270-0384-11eb-a940-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:147be270-0384-11eb-a940-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 01 Oct 2020 01:18:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:18:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:57 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:18:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:18:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:18:58 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:18:57 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml new file mode 100644 index 000000000000..1fc66146a9c8 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml @@ -0,0 +1,250 @@ +interactions: +- request: + body: '{"TableName": "uttablede911870"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:13 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablede911870","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:19:13 GMT + etag: + - W/"datetime'2020-10-01T01%3A19%3A13.9689479Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Ok +- request: + body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:14 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.3695367Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:19:14.3695367Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:19:13 GMT + etag: + - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + location: + - https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:14 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:14 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:19:13 GMT + etag: + - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:14 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.4223751Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:19:14.4223751Z"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:19:13 GMT + etag: + - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 01 Oct 2020 01:19:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:14 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 01 Oct 2020 01:19:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:14 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:14 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + headers: + content-type: + - application/json;odata=minimalmetadata + date: + - Thu, 01 Oct 2020 01:19:13 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 200 + message: Ok +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_binary_property_value.yaml new file mode 100644 index 000000000000..60f9e2d3362d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_binary_property_value.yaml @@ -0,0 +1,130 @@ +interactions: +- request: + body: '{"TableName": "uttableaf7217c6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:29 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttableaf7217c6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:29 GMT + etag: W/"datetime'2020-10-01T01%3A19%3A30.1993479Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf7217c6') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkaf7217c6", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkaf7217c6", "RowKey@odata.type": "Edm.String", "binary": "AQIDBAUGBwgJCg==", + "binary@odata.type": "Edm.Binary"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '195' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:30 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6/$metadata#uttableaf7217c6/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A30.6916871Z''\"","PartitionKey":"pkaf7217c6","RowKey":"rkaf7217c6","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:19:30.6916871Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:29 GMT + etag: W/"datetime'2020-10-01T01%3A19%3A30.6916871Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6(PartitionKey='pkaf7217c6',RowKey='rkaf7217c6') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:30 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6(PartitionKey='pkaf7217c6',RowKey='rkaf7217c6') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6/$metadata#uttableaf7217c6/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A30.6916871Z''\"","PartitionKey":"pkaf7217c6","RowKey":"rkaf7217c6","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:19:30.6916871Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:29 GMT + etag: W/"datetime'2020-10-01T01%3A19%3A30.6916871Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf7217c6(PartitionKey='pkaf7217c6',RowKey='rkaf7217c6') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:19:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:30 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf7217c6') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:19:30 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf7217c6') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity.yaml new file mode 100644 index 000000000000..5640578816f7 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity.yaml @@ -0,0 +1,164 @@ +interactions: +- request: + body: '{"TableName": "uttablefc291450"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablefc291450","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:46 GMT + etag: W/"datetime'2020-10-01T01%3A19%3A46.2922247Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefc291450') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkfc291450", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkfc291450", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:46 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450/$metadata#uttablefc291450/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A46.7588615Z''\"","PartitionKey":"pkfc291450","RowKey":"rkfc291450","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:19:46.7588615Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:46 GMT + etag: W/"datetime'2020-10-01T01%3A19%3A46.7588615Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450(PartitionKey='pkfc291450',RowKey='rkfc291450') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:46 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:46 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450(PartitionKey='pkfc291450',RowKey='rkfc291450') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:19:46 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450(PartitionKey='pkfc291450',RowKey='rkfc291450') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:19:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:46 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450(PartitionKey='pkfc291450',RowKey='rkfc291450') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:3189ac19-0384-11eb-9f96-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:19:46 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablefc291450(PartitionKey='pkfc291450',RowKey='rkfc291450') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:19:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:19:46 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefc291450') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:19:46 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefc291450') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_not_existing.yaml new file mode 100644 index 000000000000..cb137bd305dc --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_not_existing.yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: '{"TableName": "uttable2a6919ca"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2a6919ca","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:02 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A02.4295431Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2a6919ca') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:02 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:02 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2a6919ca(PartitionKey='pk2a6919ca',RowKey='rk2a6919ca') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:3b155def-0384-11eb-9620-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:20:02 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable2a6919ca(PartitionKey='pk2a6919ca',RowKey='rk2a6919ca') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:20:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:02 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2a6919ca') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:20:02 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2a6919ca') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..cb0af128a115 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_doesnt_match.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: '{"TableName": "uttable5cd1cf1"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:18 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:18 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable5cd1cf1","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:18 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A18.6161159Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5cd1cf1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk5cd1cf1", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5cd1cf1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '575' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:18 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:18 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1/$metadata#uttable5cd1cf1/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A20%3A19.0971911Z''\"","PartitionKey":"pk5cd1cf1","RowKey":"rk5cd1cf1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:20:19.0971911Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:18 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A19.0971911Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1(PartitionKey='pk5cd1cf1',RowKey='rk5cd1cf1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:18 GMT + If-Match: + - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:18 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1(PartitionKey='pk5cd1cf1',RowKey='rk5cd1cf1') + response: + body: + string: "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + update condition specified in the request was not satisfied.\\nRequestID:44c913a8-0384-11eb-9e14-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:20:18 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 412 + message: Precondition Failed + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable5cd1cf1(PartitionKey='pk5cd1cf1',RowKey='rk5cd1cf1') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:20:18 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:18 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5cd1cf1') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:20:18 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5cd1cf1') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_matches.yaml new file mode 100644 index 000000000000..fff26b3942c8 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_delete_entity_with_if_matches.yaml @@ -0,0 +1,164 @@ +interactions: +- request: + body: '{"TableName": "uttable78f51add"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:34 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:34 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable78f51add","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:34 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A34.9265927Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable78f51add') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk78f51add", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk78f51add", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:35 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add/$metadata#uttable78f51add/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A20%3A35.4629639Z''\"","PartitionKey":"pk78f51add","RowKey":"rk78f51add","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:20:35.4629639Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:34 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A35.4629639Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add(PartitionKey='pk78f51add',RowKey='rk78f51add') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:35 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A20%3A35.4629639Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:35 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add(PartitionKey='pk78f51add',RowKey='rk78f51add') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:20:34 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add(PartitionKey='pk78f51add',RowKey='rk78f51add') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:35 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add(PartitionKey='pk78f51add',RowKey='rk78f51add') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:4e925ea1-0384-11eb-933d-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:34 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable78f51add(PartitionKey='pk78f51add',RowKey='rk78f51add') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:20:35 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:35 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable78f51add') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:20:35 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable78f51add') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_empty_and_spaces_property_value.yaml new file mode 100644 index 000000000000..1e58bca95eef --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_empty_and_spaces_property_value.yaml @@ -0,0 +1,138 @@ +interactions: +- request: + body: '{"TableName": "uttableb1e51be0"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:50 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttableb1e51be0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:51 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A51.2645127Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1e51be0') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkb1e51be0", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkb1e51be0", "RowKey@odata.type": "Edm.String", "EmptyByte": "", + "EmptyByte@odata.type": "Edm.String", "EmptyUnicode": "", "EmptyUnicode@odata.type": + "Edm.String", "SpacesOnlyByte": " ", "SpacesOnlyByte@odata.type": "Edm.String", + "SpacesOnlyUnicode": " ", "SpacesOnlyUnicode@odata.type": "Edm.String", "SpacesBeforeByte": + " Text", "SpacesBeforeByte@odata.type": "Edm.String", "SpacesBeforeUnicode": + " Text", "SpacesBeforeUnicode@odata.type": "Edm.String", "SpacesAfterByte": + "Text ", "SpacesAfterByte@odata.type": "Edm.String", "SpacesAfterUnicode": + "Text ", "SpacesAfterUnicode@odata.type": "Edm.String", "SpacesBeforeAndAfterByte": + " Text ", "SpacesBeforeAndAfterByte@odata.type": "Edm.String", "SpacesBeforeAndAfterUnicode": + " Text ", "SpacesBeforeAndAfterUnicode@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '896' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0/$metadata#uttableb1e51be0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A20%3A51.8823943Z''\"","PartitionKey":"pkb1e51be0","RowKey":"rkb1e51be0","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:20:51.8823943Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:51 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A51.8823943Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0(PartitionKey='pkb1e51be0',RowKey='rkb1e51be0') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:20:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:51 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0(PartitionKey='pkb1e51be0',RowKey='rkb1e51be0') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0/$metadata#uttableb1e51be0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A20%3A51.8823943Z''\"","PartitionKey":"pkb1e51be0","RowKey":"rkb1e51be0","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:20:51.8823943Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:20:51 GMT + etag: W/"datetime'2020-10-01T01%3A20%3A51.8823943Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1e51be0(PartitionKey='pkb1e51be0',RowKey='rkb1e51be0') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:20:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:20:51 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1e51be0') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:20:52 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1e51be0') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity.yaml new file mode 100644 index 000000000000..04088ee9233c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttablec117131d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:07 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec117131d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:07 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A07.6032519Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec117131d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkc117131d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc117131d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:07 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d/$metadata#uttablec117131d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A08.0347655Z''\"","PartitionKey":"pkc117131d","RowKey":"rkc117131d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:08.0347655Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:08 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A08.0347655Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d(PartitionKey='pkc117131d',RowKey='rkc117131d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:07 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d(PartitionKey='pkc117131d',RowKey='rkc117131d') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d/$metadata#uttablec117131d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A08.0347655Z''\"","PartitionKey":"pkc117131d","RowKey":"rkc117131d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:08.0347655Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:08 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A08.0347655Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec117131d(PartitionKey='pkc117131d',RowKey='rkc117131d') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:21:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:07 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec117131d') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:21:08 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec117131d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_full_metadata.yaml new file mode 100644 index 000000000000..8ba9d090a178 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_full_metadata.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttablef78f18cf"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablef78f18cf","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:23 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A24.0850439Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef78f18cf') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkf78f18cf", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkf78f18cf", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:24 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf/$metadata#uttablef78f18cf/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A24.5844487Z''\"","PartitionKey":"pkf78f18cf","RowKey":"rkf78f18cf","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:24.5844487Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:23 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A24.5844487Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf(PartitionKey='pkf78f18cf',RowKey='rkf78f18cf') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf +- request: + body: null + headers: + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=fullmetadata + x-ms-date: + - Thu, 01 Oct 2020 01:21:24 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf(PartitionKey='pkf78f18cf',RowKey='rkf78f18cf') + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttablef78f18cf","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf(PartitionKey=''pkf78f18cf'',RowKey=''rkf78f18cf'')","odata.editLink":"uttablef78f18cf(PartitionKey=''pkf78f18cf'',RowKey=''rkf78f18cf'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf/$metadata#uttablef78f18cf/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A24.5844487Z''\"","PartitionKey":"pkf78f18cf","RowKey":"rkf78f18cf","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:21:24.5844487Z"}' + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:21:23 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A24.5844487Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablef78f18cf(PartitionKey='pkf78f18cf',RowKey='rkf78f18cf') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:21:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:24 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef78f18cf') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:21:25 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef78f18cf') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_if_match.yaml new file mode 100644 index 000000000000..a1d8a0a54abd --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_if_match.yaml @@ -0,0 +1,164 @@ +interactions: +- request: + body: '{"TableName": "uttable7efd16b7"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7efd16b7","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:40 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A40.5862919Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7efd16b7') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk7efd16b7", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7efd16b7", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7/$metadata#uttable7efd16b7/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A41.0894855Z''\"","PartitionKey":"pk7efd16b7","RowKey":"rk7efd16b7","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:41.0894855Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:40 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A41.0894855Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7(PartitionKey='pk7efd16b7',RowKey='rk7efd16b7') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:40 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7(PartitionKey='pk7efd16b7',RowKey='rk7efd16b7') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7/$metadata#uttable7efd16b7/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A41.0894855Z''\"","PartitionKey":"pk7efd16b7","RowKey":"rk7efd16b7","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:41.0894855Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:40 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A41.0894855Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7(PartitionKey='pk7efd16b7',RowKey='rk7efd16b7') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:41 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A21%3A41.0894855Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7(PartitionKey='pk7efd16b7',RowKey='rk7efd16b7') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:21:40 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7efd16b7(PartitionKey='pk7efd16b7',RowKey='rk7efd16b7') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:21:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7efd16b7') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:21:40 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7efd16b7') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_no_metadata.yaml new file mode 100644 index 000000000000..4d262aeea182 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_no_metadata.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttablec62117f9"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:56 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:56 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec62117f9","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:56 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A56.7814663Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec62117f9') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkc62117f9", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc62117f9", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9/$metadata#uttablec62117f9/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A21%3A57.2521991Z''\"","PartitionKey":"pkc62117f9","RowKey":"rkc62117f9","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:57.2521991Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:21:56 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A57.2521991Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9(PartitionKey='pkc62117f9',RowKey='rkc62117f9') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9 +- request: + body: null + headers: + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:21:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=nometadata + x-ms-date: + - Thu, 01 Oct 2020 01:21:57 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9(PartitionKey='pkc62117f9',RowKey='rkc62117f9') + response: + body: + string: '{"PartitionKey":"pkc62117f9","RowKey":"rkc62117f9","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:21:57.2521991Z"}' + headers: + content-type: application/json;odata=nometadata + date: Thu, 01 Oct 2020 01:21:56 GMT + etag: W/"datetime'2020-10-01T01%3A21%3A57.2521991Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec62117f9(PartitionKey='pkc62117f9',RowKey='rkc62117f9') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:21:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:21:57 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec62117f9') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:21:57 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec62117f9') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_not_existing.yaml new file mode 100644 index 000000000000..a9bdf780fd74 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_not_existing.yaml @@ -0,0 +1,93 @@ +interactions: +- request: + body: '{"TableName": "uttabledfb11897"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:12 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttabledfb11897","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:12 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A12.9720327Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledfb11897') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:13 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledfb11897(PartitionKey='pkdfb11897',RowKey='rkdfb11897') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:88ff4de3-0384-11eb-bfd7-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/uttabledfb11897(PartitionKey='pkdfb11897',RowKey='rkdfb11897') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:22:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:13 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledfb11897') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:22:13 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledfb11897') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_hook.yaml new file mode 100644 index 000000000000..1c9048a130f6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_hook.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttable97221748"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:28 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:28 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable97221748","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:29 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A29.2262919Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable97221748') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk97221748", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk97221748", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:29 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748/$metadata#uttable97221748/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A22%3A29.6671239Z''\"","PartitionKey":"pk97221748","RowKey":"rk97221748","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:22:29.6671239Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:29 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A29.6671239Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748(PartitionKey='pk97221748',RowKey='rk97221748') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:29 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748(PartitionKey='pk97221748',RowKey='rk97221748') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748/$metadata#uttable97221748/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A22%3A29.6671239Z''\"","PartitionKey":"pk97221748","RowKey":"rk97221748","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:22:29.6671239Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:29 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A29.6671239Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable97221748(PartitionKey='pk97221748',RowKey='rk97221748') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:22:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:29 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable97221748') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:22:29 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable97221748') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_special_doubles.yaml new file mode 100644 index 000000000000..a541293626c8 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_get_entity_with_special_doubles.yaml @@ -0,0 +1,131 @@ +interactions: +- request: + body: '{"TableName": "uttableb1d31bc5"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:44 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttableb1d31bc5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:45 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A45.4050823Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1d31bc5') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkb1d31bc5", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkb1d31bc5", "RowKey@odata.type": "Edm.String", "inf": "Infinity", + "inf@odata.type": "Edm.Double", "negativeinf": "-Infinity", "negativeinf@odata.type": + "Edm.Double", "nan": "NaN", "nan@odata.type": "Edm.Double"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '295' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5/$metadata#uttableb1d31bc5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A22%3A45.8306567Z''\"","PartitionKey":"pkb1d31bc5","RowKey":"rkb1d31bc5","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:22:45.8306567Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:45 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A45.8306567Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5(PartitionKey='pkb1d31bc5',RowKey='rkb1d31bc5') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:22:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:45 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5(PartitionKey='pkb1d31bc5',RowKey='rkb1d31bc5') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5/$metadata#uttableb1d31bc5/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A22%3A45.8306567Z''\"","PartitionKey":"pkb1d31bc5","RowKey":"rkb1d31bc5","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:22:45.8306567Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:22:45 GMT + etag: W/"datetime'2020-10-01T01%3A22%3A45.8306567Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableb1d31bc5(PartitionKey='pkb1d31bc5',RowKey='rkb1d31bc5') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:22:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:22:45 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1d31bc5') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:22:45 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableb1d31bc5') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_conflict.yaml new file mode 100644 index 000000000000..2d9ecd93cbb6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_conflict.yaml @@ -0,0 +1,144 @@ +interactions: +- request: + body: '{"TableName": "uttablec7c91823"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec7c91823","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:01 GMT + etag: W/"datetime'2020-10-01T01%3A23%3A01.4896647Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec7c91823') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkc7c91823", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc7c91823", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823/$metadata#uttablec7c91823/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A23%3A01.8931207Z''\"","PartitionKey":"pkc7c91823","RowKey":"rkc7c91823","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:23:01.8931207Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:01 GMT + etag: W/"datetime'2020-10-01T01%3A23%3A01.8931207Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823(PartitionKey='pkc7c91823',RowKey='rkc7c91823') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823 +- request: + body: '{"PartitionKey": "pkc7c91823", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc7c91823", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823 + response: + body: + string: "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified entity already exists.\\nRequestID:a5d1ae7e-0384-11eb-bc74-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:01 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 409 + message: Conflict + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec7c91823 +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:23:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:01 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec7c91823') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:23:02 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec7c91823') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_dictionary.yaml new file mode 100644 index 000000000000..9357b2c8864a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_dictionary.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: '{"TableName": "uttablef9491907"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:05 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablef9491907","odata.metadata":"https://cosmostestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:05 GMT + etag: W/"datetime'2020-09-17T20%3A06%3A05.6075271Z'" + location: https://cosmostestcosmosname.table.cosmos.azure.com/Tables('uttablef9491907') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkf9491907", "RowKey": "rkf9491907", "age": "39", "age@odata.type": + "Edm.Int64", "sex": "male", "married": true, "deceased": false, "ratio": 3.1, + "evenratio": 3.0, "large": "933311100", "large@odata.type": "Edm.Int64", "Birthday": + "1973-10-04T00:00:00Z", "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": + "Edm.Binary", "other": 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '537' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:05 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/uttablef9491907 + response: + body: + string: '{"odata.metadata":"https://cosmostestcosmosname.table.cosmos.azure.com/uttablef9491907/$metadata#uttablef9491907/@Element","odata.etag":"W/\"datetime''2020-09-17T20%3A06%3A06.0525575Z''\"","PartitionKey":"pkf9491907","RowKey":"rkf9491907","age@odata.type":"Edm.Int64","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large@odata.type":"Edm.Int64","large":"933311100","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-09-17T20:06:06.0525575Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:05 GMT + etag: W/"datetime'2020-09-17T20%3A06%3A06.0525575Z'" + location: https://cosmostestcosmosname.table.cosmos.azure.com/uttablef9491907(PartitionKey='pkf9491907',RowKey='rkf9491907') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/uttablef9491907 +- request: + body: null + headers: + Date: + - Thu, 17 Sep 2020 20:06:05 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:05 GMT + x-ms-version: + - '2019-07-07' + method: DELETE + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables('uttablef9491907') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 17 Sep 2020 20:06:05 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables('uttablef9491907') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_pk.yaml new file mode 100644 index 000000000000..73f99c34762f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_pk.yaml @@ -0,0 +1,99 @@ +interactions: +- request: + body: '{"TableName": "uttable7e0a1b30"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:17 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7e0a1b30","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:18 GMT + etag: W/"datetime'2020-10-01T01%3A23%3A17.6542215Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0a1b30') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"RowKey": "rk", "RowKey@odata.type": "Edm.String", "PartitionKey": "", + "PartitionKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '112' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:18 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:18 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7e0a1b30 + response: + body: + string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey + cannot be empty\\r\\nActivityId: af9098c1-0384-11eb-a334-58961df361d1, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:af9098c1-0384-11eb-a334-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:23:18 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 400 + message: Bad Request + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7e0a1b30 +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:23:18 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:18 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0a1b30') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:23:18 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0a1b30') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_rk.yaml new file mode 100644 index 000000000000..23aa9b9b1b03 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_empty_string_rk.yaml @@ -0,0 +1,99 @@ +interactions: +- request: + body: '{"TableName": "uttable7e0e1b32"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7e0e1b32","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:34 GMT + etag: W/"datetime'2020-10-01T01%3A23%3A34.0388359Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0e1b32') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk", "PartitionKey@odata.type": "Edm.String", "RowKey": + "", "RowKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '112' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:34 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:34 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7e0e1b32 + response: + body: + string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey + cannot be empty\\r\\nActivityId: b934daaf-0384-11eb-8aca-58961df361d1, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:b934daaf-0384-11eb-8aca-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:23:34 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 400 + message: Bad Request + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7e0e1b32 +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:23:34 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:34 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0e1b32') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:23:34 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7e0e1b32') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_pk.yaml new file mode 100644 index 000000000000..20050533e950 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_pk.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "uttablef9e31905"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:23:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablef9e31905","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:23:50 GMT + etag: W/"datetime'2020-10-01T01%3A23%3A50.0833799Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e31905') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:23:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:23:50 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e31905') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:23:50 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e31905') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_rk.yaml new file mode 100644 index 000000000000..9fc3da9d8bc6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_missing_rk.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "uttablef9e71907"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:05 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablef9e71907","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:06 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A06.3381511Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e71907') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:24:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:06 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e71907') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:24:06 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef9e71907') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_property_name_too_long.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_property_name_too_long.yaml new file mode 100644 index 000000000000..bd96bcb0970c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_property_name_too_long.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable48201e16"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:08 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:08 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 9a295dd4-2464-4ba5-b749-66d8ddb711fd, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:39bcf805-f921-11ea-b837-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:07 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_too_many_properties.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_too_many_properties.yaml new file mode 100644 index 000000000000..20ece8463a1b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_too_many_properties.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttableee861ce3"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:08 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:08 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 36a3776b-acfb-447e-922e-d06f8d096da6, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:39de6d3a-f921-11ea-a3dd-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:08 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_full_metadata.yaml new file mode 100644 index 000000000000..b0c98a8669c5 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_full_metadata.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttabled0ac1c3f"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:21 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttabled0ac1c3f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:22 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A22.5055751Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled0ac1c3f') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkd0ac1c3f", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd0ac1c3f", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=fullmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:22 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttabled0ac1c3f","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f(PartitionKey=''pkd0ac1c3f'',RowKey=''rkd0ac1c3f'')","odata.editLink":"uttabled0ac1c3f(PartitionKey=''pkd0ac1c3f'',RowKey=''rkd0ac1c3f'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f/$metadata#uttabled0ac1c3f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A24%3A22.9358599Z''\"","PartitionKey":"pkd0ac1c3f","RowKey":"rkd0ac1c3f","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:24:22.9358599Z"}' + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:24:22 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A22.9358599Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f(PartitionKey='pkd0ac1c3f',RowKey='rkd0ac1c3f') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f +- request: + body: null + headers: + Accept: + - application/json;odata=fullmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:22 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f(PartitionKey='pkd0ac1c3f',RowKey='rkd0ac1c3f') + response: + body: + string: '{"odata.type":"tablestestcosmosname.uttabled0ac1c3f","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f(PartitionKey=''pkd0ac1c3f'',RowKey=''rkd0ac1c3f'')","odata.editLink":"uttabled0ac1c3f(PartitionKey=''pkd0ac1c3f'',RowKey=''rkd0ac1c3f'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f/$metadata#uttabled0ac1c3f/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A24%3A22.9358599Z''\"","PartitionKey":"pkd0ac1c3f","RowKey":"rkd0ac1c3f","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:24:22.9358599Z"}' + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:24:22 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A22.9358599Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttabled0ac1c3f(PartitionKey='pkd0ac1c3f',RowKey='rkd0ac1c3f') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:24:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:22 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled0ac1c3f') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:24:22 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled0ac1c3f') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_hook.yaml new file mode 100644 index 000000000000..42e2ab26f76b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_hook.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttablee0e6189d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:38 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablee0e6189d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:39 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A38.6092039Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee0e6189d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pke0e6189d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rke0e6189d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:38 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d/$metadata#uttablee0e6189d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A24%3A39.1209991Z''\"","PartitionKey":"pke0e6189d","RowKey":"rke0e6189d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:24:39.1209991Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:39 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A39.1209991Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d(PartitionKey='pke0e6189d',RowKey='rke0e6189d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:38 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d(PartitionKey='pke0e6189d',RowKey='rke0e6189d') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d/$metadata#uttablee0e6189d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A24%3A39.1209991Z''\"","PartitionKey":"pke0e6189d","RowKey":"rke0e6189d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:24:39.1209991Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:39 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A39.1209991Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablee0e6189d(PartitionKey='pke0e6189d',RowKey='rke0e6189d') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:24:39 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:39 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee0e6189d') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:24:39 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee0e6189d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int32_value_throws.yaml new file mode 100644 index 000000000000..efb0978096d4 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int32_value_throws.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "uttable1ccf2088"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:24:54 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:54 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable1ccf2088","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:24:54 GMT + etag: W/"datetime'2020-10-01T01%3A24%3A54.7373063Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1ccf2088') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:24:54 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:24:54 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1ccf2088') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:24:54 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1ccf2088') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int64_value_throws.yaml new file mode 100644 index 000000000000..1bf75c57663b --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_large_int64_value_throws.yaml @@ -0,0 +1,63 @@ +interactions: +- request: + body: '{"TableName": "uttable1d18208d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:10 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable1d18208d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:10 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A10.6660359Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1d18208d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:25:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:10 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1d18208d') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:25:10 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable1d18208d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_no_metadata.yaml new file mode 100644 index 000000000000..2334c2382d41 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_entity_with_no_metadata.yaml @@ -0,0 +1,134 @@ +interactions: +- request: + body: '{"TableName": "uttable985e1b69"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:26 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable985e1b69","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:26 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A26.6406407Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable985e1b69') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk985e1b69", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk985e1b69", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=nometadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:26 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable985e1b69 + response: + body: + string: '{"PartitionKey":"pk985e1b69","RowKey":"rk985e1b69","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:27.0432775Z"}' + headers: + content-type: application/json;odata=nometadata + date: Thu, 01 Oct 2020 01:25:26 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A27.0432775Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable985e1b69(PartitionKey='pk985e1b69',RowKey='rk985e1b69') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable985e1b69 +- request: + body: null + headers: + Accept: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:26 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable985e1b69(PartitionKey='pk985e1b69',RowKey='rk985e1b69') + response: + body: + string: '{"PartitionKey":"pk985e1b69","RowKey":"rk985e1b69","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:27.0432775Z"}' + headers: + content-type: application/json;odata=nometadata + date: Thu, 01 Oct 2020 01:25:26 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A27.0432775Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable985e1b69(PartitionKey='pk985e1b69',RowKey='rk985e1b69') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:25:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:26 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable985e1b69') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:25:26 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable985e1b69') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_existing_entity.yaml new file mode 100644 index 000000000000..8ebdf9875f56 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_existing_entity.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable22992102"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:10 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + d0617179-837d-4086-b674-6faf023e516e, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3aad5305-f921-11ea-a743-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_non_existing_entity.yaml new file mode 100644 index 000000000000..7e5dbb9e5a45 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_merge_entity_with_non_existing_entity.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttableaa3b22ac"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:10 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + d2fc0a2f-becd-47f3-97ee-1415e8eac191, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3ad01045-f921-11ea-bcae-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_existing_entity.yaml new file mode 100644 index 000000000000..909c8eaf0f19 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_existing_entity.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable647f21ce"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:10 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 779d52d3-f076-454d-8e12-7ead39ec051f, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3af2ea12-f921-11ea-9eee-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_non_existing_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_non_existing_entity.yaml new file mode 100644 index 000000000000..ddada18f8d75 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_insert_or_replace_entity_with_non_existing_entity.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttableef512378"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:10 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:10 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + a6db568a-9a08-4b73-8f53-0a482c7079ff, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3b14ef5f-f921-11ea-b855-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:10 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity.yaml new file mode 100644 index 000000000000..34b1625c30d4 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttablee85413ed"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:11 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 3d4996d4-cd2e-439e-bf13-8ce5664477c0, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3b3b3ad7-f921-11ea-86c7-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:11 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_not_existing.yaml new file mode 100644 index 000000000000..152f0f98bf5f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_not_existing.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable118d1967"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:11 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 8e74e867-c9fb-4017-af21-4dda5ad15275, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3b5a0b3e-f921-11ea-b5a5-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:11 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..486ba14d88c1 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_doesnt_match.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttablee9ca1c8e"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:11 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 9112833d-48d2-4de6-91de-b31d07aad29b, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3b854886-f921-11ea-a4dc-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:11 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_matches.yaml new file mode 100644 index 000000000000..b1f1b923f8ba --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_merge_entity_with_if_matches.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable5ef01a7a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:11 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:11 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 476a9aec-df4b-4d6b-b29a-4c865fd561c2, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3baa36d3-f921-11ea-89ec-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_none_property_value.yaml new file mode 100644 index 000000000000..f4674438f035 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_none_property_value.yaml @@ -0,0 +1,129 @@ +interactions: +- request: + body: '{"TableName": "uttable80ea16f1"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:42 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable80ea16f1","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:42 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A42.6747399Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable80ea16f1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk80ea16f1", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk80ea16f1", "RowKey@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '130' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:42 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1/$metadata#uttable80ea16f1/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A43.1479303Z''\"","PartitionKey":"pk80ea16f1","RowKey":"rk80ea16f1","Timestamp":"2020-10-01T01:25:43.1479303Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:42 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A43.1479303Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1(PartitionKey='pk80ea16f1',RowKey='rk80ea16f1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:43 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1(PartitionKey='pk80ea16f1',RowKey='rk80ea16f1') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1/$metadata#uttable80ea16f1/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A43.1479303Z''\"","PartitionKey":"pk80ea16f1","RowKey":"rk80ea16f1","Timestamp":"2020-10-01T01:25:43.1479303Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:42 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A43.1479303Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable80ea16f1(PartitionKey='pk80ea16f1',RowKey='rk80ea16f1') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:25:43 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:43 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable80ea16f1') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:25:43 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable80ea16f1') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities.yaml new file mode 100644 index 000000000000..9af9c59c059d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities.yaml @@ -0,0 +1,235 @@ +interactions: +- request: + body: '{"TableName": "uttable12f714db"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:58 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:58 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable12f714db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:59 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A58.7986439Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable12f714db') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytable12f714db"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable12f714db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:59 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A59.3101319Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable12f714db') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk12f714db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk12f714db1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db/$metadata#querytable12f714db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A59.7629447Z''\"","PartitionKey":"pk12f714db","RowKey":"rk12f714db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:59.7629447Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:59 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A59.7629447Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db(PartitionKey='pk12f714db',RowKey='rk12f714db1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db +- request: + body: '{"PartitionKey": "pk12f714db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk12f714db12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db/$metadata#querytable12f714db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A59.8158855Z''\"","PartitionKey":"pk12f714db","RowKey":"rk12f714db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:59.8158855Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:59 GMT + etag: W/"datetime'2020-10-01T01%3A25%3A59.8158855Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db(PartitionKey='pk12f714db',RowKey='rk12f714db12') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:25:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:59 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db() + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A59.7629447Z''\"","PartitionKey":"pk12f714db","RowKey":"rk12f714db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:59.7629447Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A25%3A59.8158855Z''\"","PartitionKey":"pk12f714db","RowKey":"rk12f714db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:25:59.8158855Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable12f714db"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:25:59 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable12f714db() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:25:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:25:59 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable12f714db') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:00 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable12f714db') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:00 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable12f714db') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:00 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable12f714db') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_full_metadata.yaml new file mode 100644 index 000000000000..21135ee109df --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_full_metadata.yaml @@ -0,0 +1,235 @@ +interactions: +- request: + body: '{"TableName": "uttable61d31a8d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:15 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:15 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable61d31a8d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:15 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A15.8098439Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable61d31a8d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytable61d31a8d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:15 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:15 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable61d31a8d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:15 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A16.2607111Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable61d31a8d') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk61d31a8d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk61d31a8d1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:16 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d/$metadata#querytable61d31a8d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A16.7227399Z''\"","PartitionKey":"pk61d31a8d","RowKey":"rk61d31a8d1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:16.7227399Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:15 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A16.7227399Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d(PartitionKey='pk61d31a8d',RowKey='rk61d31a8d1') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d +- request: + body: '{"PartitionKey": "pk61d31a8d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk61d31a8d12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:16 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d/$metadata#querytable61d31a8d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A16.7670791Z''\"","PartitionKey":"pk61d31a8d","RowKey":"rk61d31a8d12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:16.7670791Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:15 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A16.7670791Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d(PartitionKey='pk61d31a8d',RowKey='rk61d31a8d12') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d +- request: + body: null + headers: + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=fullmetadata + x-ms-date: + - Thu, 01 Oct 2020 01:26:16 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d() + response: + body: + string: '{"value":[{"odata.type":"tablestestcosmosname.querytable61d31a8d","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d(PartitionKey=''pk61d31a8d'',RowKey=''rk61d31a8d1'')","odata.editLink":"querytable61d31a8d(PartitionKey=''pk61d31a8d'',RowKey=''rk61d31a8d1'')","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A16.7227399Z''\"","PartitionKey":"pk61d31a8d","RowKey":"rk61d31a8d1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:26:16.7227399Z"},{"odata.type":"tablestestcosmosname.querytable61d31a8d","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d(PartitionKey=''pk61d31a8d'',RowKey=''rk61d31a8d12'')","odata.editLink":"querytable61d31a8d(PartitionKey=''pk61d31a8d'',RowKey=''rk61d31a8d12'')","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A16.7670791Z''\"","PartitionKey":"pk61d31a8d","RowKey":"rk61d31a8d12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:26:16.7670791Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable61d31a8d"}' + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:26:15 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable61d31a8d() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:16 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable61d31a8d') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:16 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable61d31a8d') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:16 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable61d31a8d') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:16 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable61d31a8d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_no_metadata.yaml new file mode 100644 index 000000000000..093fb0ebe779 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_no_metadata.yaml @@ -0,0 +1,235 @@ +interactions: +- request: + body: '{"TableName": "uttable2ce919b7"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:32 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:32 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2ce919b7","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:32 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A32.6208519Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2ce919b7') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytable2ce919b7"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:32 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:32 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable2ce919b7","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:32 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A33.0721287Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2ce919b7') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk2ce919b7", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2ce919b71", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7/$metadata#querytable2ce919b7/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A33.5395847Z''\"","PartitionKey":"pk2ce919b7","RowKey":"rk2ce919b71","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:33.5395847Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:32 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A33.5395847Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7(PartitionKey='pk2ce919b7',RowKey='rk2ce919b71') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7 +- request: + body: '{"PartitionKey": "pk2ce919b7", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2ce919b712", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:33 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7/$metadata#querytable2ce919b7/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A33.5850503Z''\"","PartitionKey":"pk2ce919b7","RowKey":"rk2ce919b712","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:33.5850503Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:32 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A33.5850503Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7(PartitionKey='pk2ce919b7',RowKey='rk2ce919b712') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7 +- request: + body: null + headers: + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + accept: + - application/json;odata=nometadata + x-ms-date: + - Thu, 01 Oct 2020 01:26:33 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7() + response: + body: + string: '{"value":[{"PartitionKey":"pk2ce919b7","RowKey":"rk2ce919b71","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:33.5395847Z"},{"PartitionKey":"pk2ce919b7","RowKey":"rk2ce919b712","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:33.5850503Z"}]}' + headers: + content-type: application/json;odata=nometadata + date: Thu, 01 Oct 2020 01:26:32 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable2ce919b7() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:33 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2ce919b7') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:33 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2ce919b7') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:33 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:33 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2ce919b7') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:33 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2ce919b7') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_filter.yaml new file mode 100644 index 000000000000..1c423f749141 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_filter.yaml @@ -0,0 +1,133 @@ +interactions: +- request: + body: '{"TableName": "uttable2d9b19db"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2d9b19db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:50 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A49.7033223Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2d9b19db') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk2d9b19db", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2d9b19db", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db/$metadata#uttable2d9b19db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A50.1866503Z''\"","PartitionKey":"pk2d9b19db","RowKey":"rk2d9b19db","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:50.1866503Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:50 GMT + etag: W/"datetime'2020-10-01T01%3A26%3A50.1866503Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db(PartitionKey='pk2d9b19db',RowKey='rk2d9b19db') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:26:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db() + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A26%3A50.1866503Z''\"","PartitionKey":"pk2d9b19db","RowKey":"rk2d9b19db","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:26:50.1866503Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable2d9b19db"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:26:50 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable2d9b19db() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:26:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:26:50 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2d9b19db') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:26:50 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2d9b19db') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_select.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_select.yaml new file mode 100644 index 000000000000..34fd66ad033c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_select.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable2da619d5"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:13 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:13 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 3b94a665-85ff-44b4-b869-bd00bd378f1e, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3ca316e9-f921-11ea-99c5-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:13 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top.yaml new file mode 100644 index 000000000000..3073f622a983 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top.yaml @@ -0,0 +1,307 @@ +interactions: +- request: + body: '{"TableName": "uttablee17e18a8"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:05 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablee17e18a8","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A05.8668551Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee17e18a8') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytablee17e18a8"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytablee17e18a8","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A06.3834631Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablee17e18a8') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pke17e18a8", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rke17e18a81", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8/$metadata#querytablee17e18a8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.8648455Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a81","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.8648455Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A06.8648455Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8(PartitionKey='pke17e18a8',RowKey='rke17e18a81') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 +- request: + body: '{"PartitionKey": "pke17e18a8", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rke17e18a812", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8/$metadata#querytablee17e18a8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.9071367Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a812","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.9071367Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A06.9071367Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8(PartitionKey='pke17e18a8',RowKey='rke17e18a812') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 +- request: + body: '{"PartitionKey": "pke17e18a8", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rke17e18a8123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '580' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8/$metadata#querytablee17e18a8/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.9534215Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a8123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.9534215Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A06.9534215Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8(PartitionKey='pke17e18a8',RowKey='rke17e18a8123') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8()?$top=2 + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.8648455Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a81","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.8648455Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.9071367Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a812","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.9071367Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablee17e18a8"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-continuation-nextpartitionkey: '{"token":"aI0BAIwvfAsCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: NA + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8()?$top=2 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAIwvfAsCAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A06.9534215Z''\"","PartitionKey":"pke17e18a8","RowKey":"rke17e18a8123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:06.9534215Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablee17e18a8"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:06 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytablee17e18a8()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAIwvfAsCAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:06 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee17e18a8') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:07 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee17e18a8') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:07 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablee17e18a8') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:07 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablee17e18a8') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top_and_next.yaml new file mode 100644 index 000000000000..8168a666e90f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_entities_with_top_and_next.yaml @@ -0,0 +1,420 @@ +interactions: +- request: + body: '{"TableName": "uttabled1541c58"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:22 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttabled1541c58","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:22 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A22.9966343Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled1541c58') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytabled1541c58"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytabled1541c58","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:22 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A23.4876423Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytabled1541c58') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkd1541c58", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd1541c581", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '578' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58/$metadata#querytabled1541c58/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A23.9500807Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c581","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:23.9500807Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:22 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A23.9500807Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58(PartitionKey='pkd1541c58',RowKey='rkd1541c581') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 +- request: + body: '{"PartitionKey": "pkd1541c58", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd1541c5812", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '579' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58/$metadata#querytabled1541c58/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A23.9961607Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c5812","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:23.9961607Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A23.9961607Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58(PartitionKey='pkd1541c58',RowKey='rkd1541c5812') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 +- request: + body: '{"PartitionKey": "pkd1541c58", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd1541c58123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '580' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58/$metadata#querytabled1541c58/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.0460295Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c58123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.0460295Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A24.0460295Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58(PartitionKey='pkd1541c58',RowKey='rkd1541c58123') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 +- request: + body: '{"PartitionKey": "pkd1541c58", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd1541c581234", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '581' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58/$metadata#querytabled1541c58/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.0937479Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c581234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.0937479Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A24.0937479Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58(PartitionKey='pkd1541c58',RowKey='rkd1541c581234') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 +- request: + body: '{"PartitionKey": "pkd1541c58", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd1541c5812345", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '582' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58/$metadata#querytabled1541c58/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.1409543Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c5812345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.1409543Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A24.1409543Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58(PartitionKey='pkd1541c58',RowKey='rkd1541c5812345') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:23 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2 + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A23.9500807Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c581","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:23.9500807Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A23.9961607Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c5812","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:23.9961607Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytabled1541c58"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-continuation-nextpartitionkey: '{"token":"aI0BAK16bRICAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: NA + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:24 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAK16bRICAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.0460295Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c58123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.0460295Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.0937479Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c581234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.0937479Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytabled1541c58"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-continuation-nextpartitionkey: '{"token":"aI0BAK16bRIEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + x-ms-continuation-nextrowkey: NA + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAK16bRICAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:24 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAK16bRIEAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA + response: + body: + string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A27%3A24.1409543Z''\"","PartitionKey":"pkd1541c58","RowKey":"rkd1541c5812345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:27:24.1409543Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytabled1541c58"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:23 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytabled1541c58()?$top=2&NextPartitionKey=%7B%22token%22:%22aI0BAK16bRIEAAAAAAAAAA%3D%3D%22,%22range%22:%7B%22min%22:%22%22,%22max%22:%22FF%22%7D%7D&NextRowKey=NA +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:24 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled1541c58') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:23 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled1541c58') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:24 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:24 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytabled1541c58') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:23 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytabled1541c58') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_zero_entities.yaml new file mode 100644 index 000000000000..8d1e7a44c5ae --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_query_zero_entities.yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: '{"TableName": "uttable81c616fa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:39 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:39 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable81c616fa","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:39 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A40.1198599Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable81c616fa') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"TableName": "querytable81c616fa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"querytable81c616fa","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:40 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A40.6118919Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable81c616fa') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:40 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable81c616fa() + response: + body: + string: '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable81c616fa"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:40 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/querytable81c616fa() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:40 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable81c616fa') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:40 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable81c616fa') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable81c616fa') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:40 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable81c616fa') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_timezone.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_timezone.yaml new file mode 100644 index 000000000000..52b10436a04c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_timezone.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: '{"TableName": "uttable9c15124c"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Sep 2020 20:06:14 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 20:06:14 GMT + x-ms-version: + - '2019-07-07' + method: POST + uri: https://cosmostestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: "{\"odata.error\":{\"code\":\"429\",\"message\":{\"lang\":\"en-us\",\"value\":\"Message: + {\\\"Errors\\\":[\\\"Request rate is large. More Request Units may be needed, + so no changes were made. Please retry this request later. Learn more: http://aka.ms/cosmosdb-error-429\\\"]}\\r\\nActivityId: + 42b436f5-972b-4f63-86aa-e46935c97e1d, Request URI: /apps/601902c2-6efc-451c-b73c-a3093c994abb/services/edddf78d-cb65-4d5d-95a8-45ba80155148/partitions/8e6b4f42-63aa-45e9-b4f0-cb9270cdab0e/replicas/132447198008083897p, + RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0, documentdb-dotnet-sdk/2.11.0 + Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3d446231-f921-11ea-b176-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 17 Sep 2020 20:06:14 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 429 + message: Too Many Requests + url: https://cosmostables4lo5zhb5qk2h.table.cosmos.azure.com/Tables +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_name.yaml new file mode 100644 index 000000000000..f00fa570f63a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_name.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: '{"TableName": "uttableaf0417ac"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:56 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:56 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttableaf0417ac","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:57 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A56.9210375Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf0417ac') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkaf0417ac", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkaf0417ac", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": + "\ua015", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '233' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac/$metadata#uttableaf0417ac/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A27%3A57.3915655Z'\\\"\",\"PartitionKey\":\"pkaf0417ac\",\"RowKey\":\"rkaf0417ac\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:27:57.3915655Z\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:57 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A57.3915655Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac(PartitionKey='pkaf0417ac',RowKey='rkaf0417ac') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac +- request: + body: '{"PartitionKey": "pkaf0417ac", "PartitionKey@odata.type": "Edm.String", + "RowKey": "test2", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": + "hello", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '227' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:57 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac/$metadata#uttableaf0417ac/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A27%3A57.4344711Z'\\\"\",\"PartitionKey\":\"pkaf0417ac\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:27:57.4344711Z\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:57 GMT + etag: W/"datetime'2020-10-01T01%3A27%3A57.4344711Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac(PartitionKey='pkaf0417ac',RowKey='test2') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:27:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:57 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac() + response: + body: + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A27%3A57.3915655Z'\\\"\",\"PartitionKey\":\"pkaf0417ac\",\"RowKey\":\"rkaf0417ac\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:27:57.3915655Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A27%3A57.4344711Z'\\\"\",\"PartitionKey\":\"pkaf0417ac\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:27:57.4344711Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttableaf0417ac\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:27:57 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttableaf0417ac() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:27:57 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:27:57 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf0417ac') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:27:57 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttableaf0417ac') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_value.yaml new file mode 100644 index 000000000000..8a62bd9d9785 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_unicode_property_value.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: '{"TableName": "uttablec75a1828"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:12 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttablec75a1828","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:12 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A13.1193863Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec75a1828') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pkc75a1828", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc75a1828", "RowKey@odata.type": "Edm.String", "Description": "\ua015", + "Description@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '195' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:13 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828 + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828/$metadata#uttablec75a1828/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A28%3A13.4985735Z'\\\"\",\"PartitionKey\":\"pkc75a1828\",\"RowKey\":\"rkc75a1828\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:28:13.4985735Z\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:12 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A13.4985735Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828(PartitionKey='pkc75a1828',RowKey='rkc75a1828') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828 +- request: + body: '{"PartitionKey": "pkc75a1828", "PartitionKey@odata.type": "Edm.String", + "RowKey": "test2", "RowKey@odata.type": "Edm.String", "Description": "\ua015", + "Description@odata.type": "Edm.String"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '190' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:13 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828 + response: + body: + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828/$metadata#uttablec75a1828/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A28%3A13.5445511Z'\\\"\",\"PartitionKey\":\"pkc75a1828\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:28:13.5445511Z\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:12 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A13.5445511Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828(PartitionKey='pkc75a1828',RowKey='test2') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:13 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828() + response: + body: + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A28%3A13.4985735Z'\\\"\",\"PartitionKey\":\"pkc75a1828\",\"RowKey\":\"rkc75a1828\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:28:13.4985735Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A28%3A13.5445511Z'\\\"\",\"PartitionKey\":\"pkc75a1828\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:28:13.5445511Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttablec75a1828\"}" + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:12 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttablec75a1828() +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:28:13 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:13 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec75a1828') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:28:13 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec75a1828') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_not_existing.yaml new file mode 100644 index 000000000000..9612ccf8fd72 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_not_existing.yaml @@ -0,0 +1,103 @@ +interactions: +- request: + body: '{"TableName": "uttable2c1a19da"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:28 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:28 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable2c1a19da","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:30 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A29.7265159Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2c1a19da') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk2c1a19da", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2c1a19da", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:29 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:29 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2c1a19da(PartitionKey='pk2c1a19da',RowKey='rk2c1a19da') + response: + body: + string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:6975f157-0385-11eb-875d-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:28:30 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 404 + message: Not Found + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable2c1a19da(PartitionKey='pk2c1a19da',RowKey='rk2c1a19da') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:28:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:30 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2c1a19da') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:28:30 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2c1a19da') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_doesnt_match.yaml new file mode 100644 index 000000000000..3f021fdac2df --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_doesnt_match.yaml @@ -0,0 +1,144 @@ +interactions: +- request: + body: '{"TableName": "uttable7fe1d01"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7fe1d01","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:46 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A45.8939399Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7fe1d01') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk7fe1d01", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7fe1d01", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '575' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:46 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01 + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01/$metadata#uttable7fe1d01/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A28%3A46.4009223Z''\"","PartitionKey":"pk7fe1d01","RowKey":"rk7fe1d01","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:28:46.4009223Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:28:46 GMT + etag: W/"datetime'2020-10-01T01%3A28%3A46.4009223Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01(PartitionKey='pk7fe1d01',RowKey='rk7fe1d01') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01 +- request: + body: '{"PartitionKey": "pk7fe1d01", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7fe1d01", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Content-Length: + - '351' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:28:46 GMT + If-Match: + - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:46 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01(PartitionKey='pk7fe1d01',RowKey='rk7fe1d01') + response: + body: + string: "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + update condition specified in the request was not satisfied.\\nRequestID:732a1b89-0385-11eb-a8d7-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 01 Oct 2020 01:28:46 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 412 + message: Precondition Failed + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7fe1d01(PartitionKey='pk7fe1d01',RowKey='rk7fe1d01') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:28:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:28:46 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7fe1d01') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:28:46 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7fe1d01') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_matches.yaml new file mode 100644 index 000000000000..b00bc0748965 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos_async.test_update_entity_with_if_matches.yaml @@ -0,0 +1,173 @@ +interactions: +- request: + body: '{"TableName": "uttable7ad61aed"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:29:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:29:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables + response: + body: + string: '{"TableName":"uttable7ad61aed","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:29:02 GMT + etag: W/"datetime'2020-10-01T01%3A29%3A02.3974407Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7ad61aed') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables +- request: + body: '{"PartitionKey": "pk7ad61aed", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7ad61aed", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": + 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '577' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:29:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:29:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed/$metadata#uttable7ad61aed/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A29%3A02.8514823Z''\"","PartitionKey":"pk7ad61aed","RowKey":"rk7ad61aed","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:29:02.8514823Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:29:02 GMT + etag: W/"datetime'2020-10-01T01%3A29%3A02.8514823Z'" + location: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed(PartitionKey='pk7ad61aed',RowKey='rk7ad61aed') + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 201 + message: Created + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed +- request: + body: '{"PartitionKey": "pk7ad61aed", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7ad61aed", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": + "Edm.DateTime"}' + headers: + Accept: + - application/json + Content-Length: + - '353' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:29:02 GMT + If-Match: + - W/"datetime'2020-10-01T01%3A29%3A02.8514823Z'" + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:29:02 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed(PartitionKey='pk7ad61aed',RowKey='rk7ad61aed') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:29:02 GMT + etag: W/"datetime'2020-10-01T01%3A29%3A02.9036039Z'" + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed(PartitionKey='pk7ad61aed',RowKey='rk7ad61aed') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 01 Oct 2020 01:29:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:29:02 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed(PartitionKey='pk7ad61aed',RowKey='rk7ad61aed') + response: + body: + string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed/$metadata#uttable7ad61aed/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A29%3A02.9036039Z''\"","PartitionKey":"pk7ad61aed","RowKey":"rk7ad61aed","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:29:02.9036039Z"}' + headers: + content-type: application/json;odata=minimalmetadata + date: Thu, 01 Oct 2020 01:29:02 GMT + etag: W/"datetime'2020-10-01T01%3A29%3A02.9036039Z'" + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 200 + message: Ok + url: https://tablestestcosmosname.table.cosmos.azure.com/uttable7ad61aed(PartitionKey='pk7ad61aed',RowKey='rk7ad61aed') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 01 Oct 2020 01:29:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:29:02 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7ad61aed') + response: + body: + string: '' + headers: + content-length: '0' + date: Thu, 01 Oct 2020 01:29:02 GMT + server: Microsoft-HTTPAPI/2.0 + status: + code: 204 + message: No Content + url: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable7ad61aed') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_retention_too_long.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_retention_too_long.yaml index 8bbad992b135..7867c0f6538b 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_retention_too_long.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_retention_too_long.yaml @@ -15,30 +15,30 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:18 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: 'InvalidXmlDocumentXML specified is not syntactically valid. - RequestId:881e7ef3-5002-0074-5f73-8cee41000000 + RequestId:fb6f6461-8002-000b-6492-97c615000000 - Time:2020-09-16T21:52:08.4760441Z' + Time:2020-10-01T01:29:18.6264104Z' headers: content-length: - '327' content-type: - application/xml date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:17 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_cors.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_cors.yaml index 662083ff387c..8db59050aac2 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_cors.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_cors.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:18 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:18 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: date: - - Wed, 16 Sep 2020 21:52:08 GMT + - Thu, 01 Oct 2020 01:29:18 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5GETwww.xyz.com1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: - application/xml date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_hour_metrics.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_hour_metrics.yaml index 37d3feabaed7..322bcf07d72c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_hour_metrics.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_hour_metrics.yaml @@ -15,21 +15,21 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: date: - - Wed, 16 Sep 2020 21:52:38 GMT + - Thu, 01 Oct 2020 01:29:48 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -49,24 +49,24 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:53:09 GMT + - Thu, 01 Oct 2020 01:30:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:53:09 GMT + - Thu, 01 Oct 2020 01:30:19 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue51.0truetruetrue5GETwww.xyz.com1.0falsefalsefalsefalse1.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: - application/xml date: - - Wed, 16 Sep 2020 21:53:08 GMT + - Thu, 01 Oct 2020 01:30:18 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_logging.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_logging.yaml index ffcc42a51a12..742e0492347b 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_logging.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_logging.yaml @@ -15,21 +15,21 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:53:09 GMT + - Thu, 01 Oct 2020 01:30:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:53:09 GMT + - Thu, 01 Oct 2020 01:30:19 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: date: - - Wed, 16 Sep 2020 21:53:09 GMT + - Thu, 01 Oct 2020 01:30:19 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -49,24 +49,24 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetruetrue51.0truetruetrue51.0truetruetrue5GETwww.xyz.com1.0truetruetruetrue51.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: - application/xml date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_minute_metrics.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_minute_metrics.yaml index 3dcb03939853..5ebf87d5b12e 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_minute_metrics.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties.test_set_minute_metrics.yaml @@ -15,21 +15,21 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: date: - - Wed, 16 Sep 2020 21:53:39 GMT + - Thu, 01 Oct 2020 01:30:49 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -49,15 +49,15 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:54:09 GMT + - Thu, 01 Oct 2020 01:31:19 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:54:09 GMT + - Thu, 01 Oct 2020 01:31:19 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetruetrue51.0truetruetrue51.0truetruetrue5GETwww.xyz.com1.0falsefalsefalsefalse1.0falsefalse1.0falsefalseInvalidXmlDocumentXML specified is not syntactically valid. - RequestId:837c562e-e002-000b-5173-8c7073000000 + RequestId:7dd846ed-9002-005b-3292-97d91d000000 - Time:2020-09-16T21:54:40.7127001Z' + Time:2020-10-01T01:31:51.0538681Z' headers: content-length: - '327' content-type: - application/xml date: - - Wed, 16 Sep 2020 21:54:40 GMT + - Thu, 01 Oct 2020 01:31:50 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_cors_async.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_cors_async.yaml index f224774c6a33..71fd2ff62fde 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_cors_async.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_cors_async.yaml @@ -12,49 +12,49 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:54:40 GMT + - Thu, 01 Oct 2020 01:31:50 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:54:40 GMT + - Thu, 01 Oct 2020 01:31:50 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - date: Wed, 16 Sep 2020 21:54:40 GMT + date: Thu, 01 Oct 2020 01:31:50 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 202 message: Accepted - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:55:11 GMT + - Thu, 01 Oct 2020 01:32:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:55:11 GMT + - Thu, 01 Oct 2020 01:32:21 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalsefalsefalse1.0falsefalse1.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:55:10 GMT + date: Thu, 01 Oct 2020 01:32:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin @@ -62,5 +62,5 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_hour_metrics_async.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_hour_metrics_async.yaml index a0624922a940..244ce43d902d 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_hour_metrics_async.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_hour_metrics_async.yaml @@ -11,49 +11,49 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:55:11 GMT + - Thu, 01 Oct 2020 01:32:21 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:55:11 GMT + - Thu, 01 Oct 2020 01:32:21 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - date: Wed, 16 Sep 2020 21:55:11 GMT + date: Thu, 01 Oct 2020 01:32:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 202 message: Accepted - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:55:41 GMT + - Thu, 01 Oct 2020 01:32:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:55:41 GMT + - Thu, 01 Oct 2020 01:32:51 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:55:41 GMT + date: Thu, 01 Oct 2020 01:32:51 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin @@ -61,5 +61,5 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_logging_async.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_logging_async.yaml index c6e7719e9bca..265930b13575 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_logging_async.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_logging_async.yaml @@ -11,49 +11,49 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:55:41 GMT + - Thu, 01 Oct 2020 01:32:51 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:55:41 GMT + - Thu, 01 Oct 2020 01:32:51 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - date: Wed, 16 Sep 2020 21:55:42 GMT + date: Thu, 01 Oct 2020 01:32:52 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 202 message: Accepted - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:56:12 GMT + - Thu, 01 Oct 2020 01:33:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:56:12 GMT + - Thu, 01 Oct 2020 01:33:22 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetruetrue51.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:56:11 GMT + date: Thu, 01 Oct 2020 01:33:21 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin @@ -61,5 +61,5 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_minute_metrics_async.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_minute_metrics_async.yaml index 03b9851369c4..7784c9ab135c 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_minute_metrics_async.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_set_minute_metrics_async.yaml @@ -11,49 +11,49 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:56:12 GMT + - Thu, 01 Oct 2020 01:33:22 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:56:12 GMT + - Thu, 01 Oct 2020 01:33:22 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - date: Wed, 16 Sep 2020 21:56:12 GMT + date: Thu, 01 Oct 2020 01:33:22 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 202 message: Accepted - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:56:42 GMT + - Thu, 01 Oct 2020 01:33:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:56:42 GMT + - Thu, 01 Oct 2020 01:33:52 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetruetrue51.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:56:42 GMT + date: Thu, 01 Oct 2020 01:33:52 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin @@ -61,5 +61,5 @@ interactions: status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_table_service_properties_async.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_table_service_properties_async.yaml index f4993e6707a7..01b585f6c866 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_table_service_properties_async.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_properties_async.test_table_service_properties_async.yaml @@ -12,54 +12,54 @@ interactions: Content-Type: - application/xml Date: - - Wed, 16 Sep 2020 21:56:42 GMT + - Thu, 01 Oct 2020 01:33:52 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:56:42 GMT + - Thu, 01 Oct 2020 01:33:52 GMT x-ms-version: - '2019-02-02' method: PUT - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - date: Wed, 16 Sep 2020 21:56:42 GMT + date: Thu, 01 Oct 2020 01:33:52 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 202 message: Accepted - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml Date: - - Wed, 16 Sep 2020 21:57:12 GMT + - Thu, 01 Oct 2020 01:34:23 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:57:12 GMT + - Thu, 01 Oct 2020 01:34:23 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://storagename.table.core.windows.net/?restype=service&comp=properties + uri: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalsefalsefalse1.0falsefalse1.0falsefalse" headers: content-type: application/xml - date: Wed, 16 Sep 2020 21:57:12 GMT + date: Thu, 01 Oct 2020 01:34:22 GMT server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-version: '2019-02-02' status: code: 200 message: OK - url: https://pyacrstoragewrla36mtikyp.table.core.windows.net/?restype=service&comp=properties + url: https://tablesteststorname.table.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_f.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_f.yaml index 3dfd7d26aebf..c20af1efbb54 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_f.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_f.yaml @@ -9,11 +9,11 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:57:32 GMT + - Thu, 01 Oct 2020 01:35:11 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:57:32 GMT + - Thu, 01 Oct 2020 01:35:11 GMT x-ms-version: - '2019-02-02' method: GET @@ -25,7 +25,7 @@ interactions: content-type: - application/xml date: - - Wed, 16 Sep 2020 21:57:33 GMT + - Thu, 01 Oct 2020 01:35:11 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_when_unavailable.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_when_unavailable.yaml index 032e386f5d78..32585a77ecdf 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_when_unavailable.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats.test_table_service_stats_when_unavailable.yaml @@ -9,11 +9,11 @@ interactions: Connection: - keep-alive Date: - - Wed, 16 Sep 2020 21:57:55 GMT + - Thu, 01 Oct 2020 01:35:12 GMT User-Agent: - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 16 Sep 2020 21:57:55 GMT + - Thu, 01 Oct 2020 01:35:12 GMT x-ms-version: - '2019-02-02' method: GET @@ -25,7 +25,7 @@ interactions: content-type: - application/xml date: - - Wed, 16 Sep 2020 21:57:55 GMT + - Thu, 01 Oct 2020 01:35:12 GMT server: - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_f.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_f.yaml new file mode 100644 index 000000000000..1ae56763d724 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_f.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 01 Oct 2020 01:38:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:38:55 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablesteststorname-secondary.table.core.windows.net/?restype=service&comp=stats + response: + body: + string: "\uFEFFunavailable" + headers: + content-type: application/xml + date: Thu, 01 Oct 2020 01:38:55 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://tablesteststorname-secondary.table.core.windows.net/?restype=service&comp=stats +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_when_unavailable.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_when_unavailable.yaml new file mode 100644 index 000000000000..1ae56763d724 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_async.test_table_service_stats_when_unavailable.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 01 Oct 2020 01:38:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 01 Oct 2020 01:38:55 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://tablesteststorname-secondary.table.core.windows.net/?restype=service&comp=stats + response: + body: + string: "\uFEFFunavailable" + headers: + content-type: application/xml + date: Thu, 01 Oct 2020 01:38:55 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://tablesteststorname-secondary.table.core.windows.net/?restype=service&comp=stats +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_f.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_f.yaml new file mode 100644 index 000000000000..b581e6f9c931 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_f.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Sep 2020 18:22:18 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 18:22:18 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname-secondary.table.cosmos.azure.com/?restype=service&comp=stats + response: + body: + string: "{\"odata.error\":{\"code\":\"NotImplemented\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + requested operation is not supported.\\r\\nActivityId: b8080e38-f912-11ea-8379-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:b8080e38-f912-11ea-8379-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 18:22:17 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 501 + message: Not Implemented +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_when_unavailable.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_when_unavailable.yaml new file mode 100644 index 000000000000..acaa78fca2e9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos.test_table_service_stats_when_unavailable.yaml @@ -0,0 +1,38 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Sep 2020 18:22:18 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 18:22:18 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://cosmostablescosmosname-secondary.table.cosmos.azure.com/?restype=service&comp=stats + response: + body: + string: "{\"odata.error\":{\"code\":\"NotImplemented\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + requested operation is not supported.\\r\\nActivityId: b86ffa83-f912-11ea-941b-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:b86ffa83-f912-11ea-941b-58961df361d1\\n\"}}}\r\n" + headers: + content-type: + - application/json;odata=fullmetadata + date: + - Thu, 17 Sep 2020 18:22:18 GMT + server: + - Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + status: + code: 501 + message: Not Implemented +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_f.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_f.yaml new file mode 100644 index 000000000000..8260c35c1a67 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_f.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Sep 2020 21:10:47 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 21:10:47 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://pyacrstoragecosmosname-secondary.table.cosmos.azure.com/?restype=service&comp=stats + response: + body: + string: "{\"odata.error\":{\"code\":\"NotImplemented\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + requested operation is not supported.\\r\\nActivityId: 41d76414-f92a-11ea-8a2f-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:41d76414-f92a-11ea-8a2f-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 17 Sep 2020 21:10:48 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 501 + message: Not Implemented + url: https://pyacrstorageastpp3w7ospo-secondary.table.cosmos.azure.com/?restype=service&comp=stats +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_when_unavailable.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_when_unavailable.yaml new file mode 100644 index 000000000000..989a9ff3ff23 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_service_stats_cosmos_async.test_table_service_stats_when_unavailable.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Sep 2020 21:11:52 GMT + User-Agent: + - azsdk-python-data-tables/2019-07-07 Python/3.8.4 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Sep 2020 21:11:52 GMT + x-ms-version: + - '2019-07-07' + method: GET + uri: https://pyacrstoragecosmosname-secondary.table.cosmos.azure.com/?restype=service&comp=stats + response: + body: + string: "{\"odata.error\":{\"code\":\"NotImplemented\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + requested operation is not supported.\\r\\nActivityId: 68354dcc-f92a-11ea-8b94-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:68354dcc-f92a-11ea-8b94-58961df361d1\\n\"}}}\r\n" + headers: + content-type: application/json;odata=fullmetadata + date: Thu, 17 Sep 2020 21:11:52 GMT + server: Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + status: + code: 501 + message: Not Implemented + url: https://pyacrstorageastpp3w7ospo-secondary.table.cosmos.azure.com/?restype=service&comp=stats +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/test_table.py b/sdk/tables/azure-data-tables/tests/test_table.py index a8bdb7f0fe8e..7cd0244f84a8 100644 --- a/sdk/tables/azure-data-tables/tests/test_table.py +++ b/sdk/tables/azure-data-tables/tests/test_table.py @@ -40,6 +40,7 @@ ResourceNotFoundError, ResourceExistsError) +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer from _shared.testcase import TableTestCase, GlobalStorageAccountPreparer # ------------------------------------------------------------------------------ @@ -86,7 +87,9 @@ def _delete_table(self, ts, table): pass # --Test cases for tables -------------------------------------------------- - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_properties(self, resource_group, location, storage_account, storage_account_key): # # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -108,7 +111,8 @@ def test_create_properties(self, resource_group, location, storage_account, stor ps = ts.get_service_properties() ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table(self, resource_group, location, storage_account, storage_account_key): # # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -122,7 +126,8 @@ def test_create_table(self, resource_group, location, storage_account, storage_a assert created.table_name == table_name ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_fail_on_exist(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -132,7 +137,6 @@ def test_create_table_fail_on_exist(self, resource_group, location, storage_acco created = ts.create_table(table_name) with self.assertRaises(ResourceExistsError): ts.create_table(table_name) - print(created) name_filter = "TableName eq '{}'".format(table_name) existing = list(ts.query_tables(filter=name_filter)) @@ -141,7 +145,8 @@ def test_create_table_fail_on_exist(self, resource_group, location, storage_acco self.assertIsNotNone(created) ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_if_exists(self, resource_group, location, storage_account, storage_account_key): ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) table_name = self._get_table_reference() @@ -154,7 +159,8 @@ def test_create_table_if_exists(self, resource_group, location, storage_account, self.assertEqual(t0.table_name, t1.table_name) ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_if_exists_new_table(self, resource_group, location, storage_account, storage_account_key): ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) table_name = self._get_table_reference() @@ -165,7 +171,8 @@ def test_create_table_if_exists_new_table(self, resource_group, location, storag self.assertEqual(t.table_name, table_name) ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_invalid_name(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -177,7 +184,8 @@ def test_create_table_invalid_name(self, resource_group, location, storage_accou assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_table_invalid_name(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -189,8 +197,9 @@ def test_delete_table_invalid_name(self, resource_group, location, storage_accou assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() - def test_list_tables(self, resource_group, location, storage_account, storage_account_key): + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") + def test_query_tables(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) t = self._create_table(ts) @@ -207,7 +216,8 @@ def test_list_tables(self, resource_group, location, storage_account, storage_ac self.assertIsNotNone(tables[0]) ts.delete_table(t.table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_tables_with_filter(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -225,7 +235,8 @@ def test_query_tables_with_filter(self, resource_group, location, storage_accoun self.assertEqual(len(tables), 1) ts.delete_table(t.table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_tables_with_num_results(self, resource_group, location, storage_account, storage_account_key): # Arrange prefix = 'listtable' @@ -246,8 +257,9 @@ def test_query_tables_with_num_results(self, resource_group, location, storage_a self.assertEqual(len(small_page), 3) self.assertGreaterEqual(len(big_page), 4) - @GlobalStorageAccountPreparer() - def test_list_tables_with_marker(self, resource_group, location, storage_account, storage_account_key): + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") + def test_query_tables_with_marker(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) prefix = 'listtable' @@ -270,7 +282,8 @@ def test_list_tables_with_marker(self, resource_group, location, storage_account self.assertEqual(len(tables2), 2) self.assertNotEqual(tables1, tables2) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_table_with_existing_table(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -284,7 +297,8 @@ def test_delete_table_with_existing_table(self, resource_group, location, storag self.assertIsNone(deleted) self.assertEqual(len(existing), 0) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_table_with_non_existing_table_fail_not_exist(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -297,7 +311,9 @@ def test_delete_table_with_non_existing_table_fail_not_exist(self, resource_grou # Assert - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_unicode_create_table_unicode_name(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -313,7 +329,8 @@ def test_unicode_create_table_unicode_name(self, resource_group, location, stora assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_table_acl(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -331,7 +348,9 @@ def test_get_table_acl(self, resource_group, location, storage_account, storage_ finally: ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -351,7 +370,9 @@ def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, locat finally: ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_table_acl_with_empty_signed_identifier(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -374,7 +395,9 @@ def test_set_table_acl_with_empty_signed_identifier(self, resource_group, locati finally: ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_table_acl_with_signed_identifiers(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -400,7 +423,8 @@ def test_set_table_acl_with_signed_identifiers(self, resource_group, location, s finally: ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_table_acl_too_many_ids(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -421,7 +445,8 @@ def test_set_table_acl_too_many_ids(self, resource_group, location, storage_acco ts.delete_table(table.table_name) @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_account_sas(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only @@ -467,11 +492,12 @@ def test_account_sas(self, resource_group, location, storage_account, storage_ac self._delete_table(table=table, ts=tsc) @pytest.mark.skip("msrest fails deserialization: https://github.com/Azure/msrest-for-python/issues/192") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_locale(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) - table = self._get_table_reference() + table = (self._get_table_reference()) init_locale = locale.getlocale() if os.name == "nt": culture = "Spanish_Spain" @@ -480,19 +506,18 @@ def test_locale(self, resource_group, location, storage_account, storage_account else: culture = 'es_ES.utf8' - try: - locale.setlocale(locale.LC_ALL, culture) - e = None + locale.setlocale(locale.LC_ALL, culture) + e = None - # Act - table.create_table() - try: - resp = ts.query_tables() - except: - e = sys.exc_info()[0] + # Act + ts.create_table(table) - # Assert - self.assertIsNone(e) - finally: - ts.delete_table(table.table_name) - locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') + resp = ts.list_tables() + + e = sys.exc_info()[0] + + # Assert + self.assertIsNone(e) + + ts.delete_table(table) + locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') diff --git a/sdk/tables/azure-data-tables/tests/test_table_async.py b/sdk/tables/azure-data-tables/tests/test_table_async.py index 81c338a845fd..6355d03ba17f 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_async.py @@ -4,6 +4,7 @@ from datetime import datetime, timedelta import pytest +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer from azure.core.exceptions import ResourceNotFoundError, ResourceExistsError, HttpResponseError from _shared.asynctestcase import AsyncTableTestCase from _shared.testcase import GlobalStorageAccountPreparer @@ -39,7 +40,7 @@ async def _create_table(self, ts, prefix=TEST_TABLE_PREFIX, table_list=None): if table_list is not None: table_list.append(table) except ResourceExistsError: - table = await ts.get_table_client(table_name) + table = ts.get_table_client(table_name) return table async def _delete_table(self, ts, table): @@ -51,29 +52,9 @@ async def _delete_table(self, ts, table): pass # --Test cases for tables -------------------------------------------------- - @GlobalStorageAccountPreparer() - async def test_create_properties(self, resource_group, location, storage_account, storage_account_key): - # # Arrange - ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) - table_name = self._get_table_reference() - # Act - created = await ts.create_table(table_name) - - # Assert - assert created.table_name == table_name - - properties = await ts.get_service_properties() - await ts.set_service_properties(analytics_logging=TableAnalyticsLogging(write=True)) - # have to wait for return to service - p = await ts.get_service_properties() - # have to wait for return to service - await ts.set_service_properties(minute_metrics= Metrics(enabled=True, include_apis=True, - retention_policy=RetentionPolicy(enabled=True, days=5))) - - ps = await ts.get_service_properties() - await ts.delete_table(table_name) - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_table(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -86,7 +67,9 @@ async def test_create_table(self, resource_group, location, storage_account, sto assert created.table_name == table_name await ts.delete_table(table_name=table_name) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_table_fail_on_exist(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -106,31 +89,8 @@ async def test_create_table_fail_on_exist(self, resource_group, location, storag # TODO: the AsyncItemPaged does not have a length property, and cannot be used as an iterator await ts.delete_table(table_name=table_name) - @GlobalStorageAccountPreparer() - async def test_create_table_if_exists(self, resource_group, location, storage_account, storage_account_key): - ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) - table_name = self._get_table_reference() - - t0 = await ts.create_table(table_name) - t1 = await ts.create_table_if_not_exists(table_name) - - self.assertIsNotNone(t0) - self.assertIsNotNone(t1) - self.assertEqual(t0.table_name, t1.table_name) - await ts.delete_table(table_name) - - @GlobalStorageAccountPreparer() - async def test_create_table_if_exists_new_table(self, resource_group, location, storage_account, storage_account_key): - ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) - table_name = self._get_table_reference() - - t = await ts.create_table_if_not_exists(table_name) - - self.assertIsNotNone(t) - self.assertEqual(t.table_name, table_name) - await ts.delete_table(table_name) - - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_table_invalid_name(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -142,7 +102,8 @@ async def test_create_table_invalid_name(self, resource_group, location, storage assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_table_invalid_name(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -154,7 +115,9 @@ async def test_delete_table_invalid_name(self, resource_group, location, storage assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_list_tables(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -174,7 +137,9 @@ async def test_list_tables(self, resource_group, location, storage_account, stor self.assertIsNotNone(tables[0]) await ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_tables_with_filter(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -196,29 +161,8 @@ async def test_query_tables_with_filter(self, resource_group, location, storage_ await ts.delete_table(table.table_name) @pytest.mark.skip("pending") - # TODO: TablePropertiesPaged is not an iterator, should inherit from AsyncPageIterator - @GlobalStorageAccountPreparer() - async def test_query_tables_with_num_results(self, resource_group, location, storage_account, storage_account_key): - # Arrange - prefix = 'listtable' - ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) - table_list = [] - for i in range(0, 4): - await self._create_table(ts, prefix + str(i), table_list) - - # Act - small_page = [] - big_page = [] - for s in next(ts.list_tables(results_per_page=3).by_page()): - small_page.append(s) - for t in next(ts.list_tables().by_page()): - big_page.append(t) - - # Assert - self.assertEqual(len(small_page), 3) - self.assertGreaterEqual(len(big_page), 4) - - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_list_tables_with_num_results(self, resource_group, location, storage_account, storage_account_key): # Arrange prefix = 'listtable' @@ -239,8 +183,9 @@ async def test_list_tables_with_num_results(self, resource_group, location, stor self.assertEqual(len(small_page), 2) self.assertGreaterEqual(len(big_page), 4) - # @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_list_tables_with_marker(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -272,7 +217,9 @@ async def test_list_tables_with_marker(self, resource_group, location, storage_a self.assertEqual(tables2_len, 2) self.assertNotEqual(tables1, tables2) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_table_with_existing_table(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -288,7 +235,9 @@ async def test_delete_table_with_existing_table(self, resource_group, location, tables.append(e) self.assertEqual(tables, []) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_table_with_non_existing_table_fail_not_exist(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -299,7 +248,11 @@ async def test_delete_table_with_non_existing_table_fail_not_exist(self, resourc with self.assertRaises(ResourceNotFoundError): await ts.delete_table(table_name) - @GlobalStorageAccountPreparer() + # Assert + + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_unicode_create_table_unicode_name(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -316,7 +269,8 @@ async def test_unicode_create_table_unicode_name(self, resource_group, location, assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_table_acl(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -334,7 +288,9 @@ async def test_get_table_acl(self, resource_group, location, storage_account, st finally: await ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -355,8 +311,10 @@ async def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, # self._delete_table(table) await ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() - async def test_set_table_acl_with_none_signed_identifier(self, resource_group, location, storage_account, + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") + async def test_set_table_acl_with_empty_signed_identifier(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -379,7 +337,9 @@ async def test_set_table_acl_with_none_signed_identifier(self, resource_group, l # self._delete_table(table) await ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_table_acl_with_signed_identifiers(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -397,16 +357,18 @@ async def test_set_table_acl_with_signed_identifiers(self, resource_group, locat permission=TableSasPermissions(read=True)) try: await client.set_table_access_policy(signed_identifiers=identifiers) + # Assert acl = await client.get_table_access_policy() self.assertIsNotNone(acl) self.assertEqual(len(acl), 1) self.assertTrue('testid' in acl) finally: - # self._delete_table(table) await ts.delete_table(table.table_name) - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_table_acl_too_many_ids(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -427,7 +389,8 @@ async def test_set_table_acl_too_many_ids(self, resource_group, location, storag await ts.delete_table(table.table_name) @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_account_sas(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only @@ -475,7 +438,8 @@ async def test_account_sas(self, resource_group, location, storage_account, stor await self._delete_table(table=table, ts=tsc) @pytest.mark.skip("msrest fails deserialization: https://github.com/Azure/msrest-for-python/issues/192") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_locale(self, resource_group, location, storage_account, storage_account_key): # Arrange ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -488,19 +452,18 @@ async def test_locale(self, resource_group, location, storage_account, storage_a else: culture = 'es_ES.utf8' - try: - locale.setlocale(locale.LC_ALL, culture) - e = None + locale.setlocale(locale.LC_ALL, culture) + e = None - # Act - await table.create_table() - try: - resp = ts.list_tables() - except: - e = sys.exc_info()[0] + # Act + await ts.create_table(table) - # Assert - self.assertIsNone(e) - finally: - await ts.delete_table(table.table_name) - locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') + resp = ts.list_tables() + + e = sys.exc_info()[0] + + # Assert + self.assertIsNone(e) + + await ts.delete_table(table) + locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') diff --git a/sdk/tables/azure-data-tables/tests/test_table_batch.py b/sdk/tables/azure-data-tables/tests/test_table_batch.py index 93bca35e8a6f..0f3ac5d8ec60 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_batch.py +++ b/sdk/tables/azure-data-tables/tests/test_table_batch.py @@ -18,7 +18,9 @@ ResourceExistsError) from azure.data.tables import EdmType, TableEntity, EntityProperty -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase, LogCaptured +from _shared.testcase import TableTestCase, LogCaptured + +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer #------------------------------------------------------------------------------ TEST_TABLE_PREFIX = 'table' @@ -175,7 +177,8 @@ def test_inferred_types(self): self.assertEqual(entity.test8.type, EdmType.INT64) @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_insert(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -202,7 +205,8 @@ def test_batch_insert(self, resource_group, location, storage_account, storage_a self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_update(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -235,7 +239,8 @@ def test_batch_update(self, resource_group, location, storage_account, storage_a self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_merge(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -272,7 +277,8 @@ def test_batch_merge(self, resource_group, location, storage_account, storage_ac self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_update_if_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -295,7 +301,8 @@ def test_batch_update_if_match(self, resource_group, location, storage_account, self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_update_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -327,7 +334,8 @@ def test_batch_update_if_doesnt_match(self, resource_group, location, storage_ac self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_insert_replace(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -357,7 +365,8 @@ def test_batch_insert_replace(self, resource_group, location, storage_account, s self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_insert_merge(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -387,7 +396,8 @@ def test_batch_insert_merge(self, resource_group, location, storage_account, sto self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_delete(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -417,7 +427,8 @@ def test_batch_delete(self, resource_group, location, storage_account, storage_a self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_inserts(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -445,7 +456,8 @@ def test_batch_inserts(self, resource_group, location, storage_account, storage_ self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_all_operations_together(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -493,7 +505,8 @@ def test_batch_all_operations_together(self, resource_group, location, storage_a self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_all_operations_together_context_manager(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -539,7 +552,8 @@ def test_batch_all_operations_together_context_manager(self, resource_group, loc self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_reuse(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -597,7 +611,8 @@ def test_batch_reuse(self, resource_group, location, storage_account, storage_ac self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_same_row_operations_fail(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -621,7 +636,8 @@ def test_batch_same_row_operations_fail(self, resource_group, location, storage_ self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_different_partition_operations_fail(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -646,7 +662,8 @@ def test_batch_different_partition_operations_fail(self, resource_group, locatio self._tear_down() @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_batch_too_many_ops(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) diff --git a/sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py new file mode 100644 index 000000000000..702046bf6463 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py @@ -0,0 +1,692 @@ +# 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. +# -------------------------------------------------------------------------- + +import unittest +import pytest + +import uuid +from datetime import datetime +from dateutil.tz import tzutc + +from azure.core import MatchConditions +from azure.core.exceptions import ( + ResourceExistsError) +from azure.data.tables import EdmType, TableEntity, EntityProperty + +from _shared.testcase import TableTestCase, LogCaptured, RERUNS_DELAY +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer + +#------------------------------------------------------------------------------ +TEST_TABLE_PREFIX = 'table' +#------------------------------------------------------------------------------ + +class StorageTableClientTest(TableTestCase): + + def _set_up(self, cosmos_account, cosmos_account_key): + self.ts = TableServiceClient(self.account_url(cosmos_account, "table"), cosmos_account_key) + self.table_name = self.get_resource_name('uttable') + self.table = self.ts.get_table_client(self.table_name) + if self.is_live: + try: + self.ts.create_table(self.table_name) + except ResourceExistsError: + pass + + self.test_tables = [] + + def _tear_down(self): + if self.is_live: + try: + self.ts.delete_table(self.table_name) + except: + pass + + for table_name in self.test_tables: + try: + self.ts.delete_table(table_name) + except: + pass + + #--Helpers----------------------------------------------------------------- + + def _get_table_reference(self, prefix=TEST_TABLE_PREFIX): + table_name = self.get_resource_name(prefix) + self.test_tables.append(table_name) + return self.ts.get_table_client(table_name) + + def _create_random_entity_dict(self, pk=None, rk=None): + ''' + Creates a dictionary-based entity with fixed values, using all + of the supported data types. + ''' + partition = pk if pk is not None else self.get_resource_name('pk') + row = rk if rk is not None else self.get_resource_name('rk') + properties = { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 39, + 'sex': 'male', + 'married': True, + 'deceased': False, + 'optional': None, + 'ratio': 3.1, + 'evenratio': 3.0, + 'large': 933311100, + 'Birthday': datetime(1973, 10, 4, tzinfo=tzutc()), + 'birthday': datetime(1970, 10, 4, tzinfo=tzutc()), + 'binary': b'binary', + 'other': EntityProperty(20, EdmType.INT32), + 'clsid': uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833') + } + return Entity(**properties) + + def _create_updated_entity_dict(self, partition, row): + ''' + Creates a dictionary-based entity with fixed values, with a + different set of values than the default entity. It + adds fields, changes field values, changes field types, + and removes fields when compared to the default entity. + ''' + return { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 'abc', + 'sex': 'female', + 'sign': 'aquarius', + 'birthday': datetime(1991, 10, 4, tzinfo=tzutc()) + } + + def _assert_default_entity(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'], 39) + self.assertEqual(entity['sex'], 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'], 933311100) + self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['binary'], b'binary') + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) + self.assertTrue('metadata' in entity.odata) + self.assertIsNotNone(entity.timestamp) + self.assertIsInstance(entity.timestamp, datetime) + if headers: + self.assertTrue("etag" in headers) + self.assertIsNotNone(headers['etag']) + + def _assert_updated_entity(self, entity): + ''' + Asserts that the entity passed in matches the updated entity. + ''' + self.assertEqual(entity.age, 'abc') + self.assertEqual(entity.sex, 'female') + self.assertFalse(hasattr(entity, "married")) + self.assertFalse(hasattr(entity, "deceased")) + self.assertEqual(entity.sign, 'aquarius') + self.assertFalse(hasattr(entity, "optional")) + self.assertFalse(hasattr(entity, "ratio")) + self.assertFalse(hasattr(entity, "evenratio")) + self.assertFalse(hasattr(entity, "large")) + self.assertFalse(hasattr(entity, "Birthday")) + self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) + self.assertFalse(hasattr(entity, "other")) + self.assertFalse(hasattr(entity, "clsid")) + self.assertIsNotNone(entity.odata['etag']) + self.assertIsNotNone(entity.timestamp) + self.assertIsInstance(entity.timestamp, datetime) + + #--Test cases for batch --------------------------------------------- + + def test_inferred_types(self): + # Arrange + # Act + entity = TableEntity() + entity.PartitionKey = '003' + entity.RowKey = 'batch_all_operations_together-1' + entity.test = EntityProperty(True) + entity.test2 = EntityProperty(b'abcdef') + entity.test3 = EntityProperty(u'c9da6455-213d-42c9-9a79-3e9149a57833') + entity.test4 = EntityProperty(datetime(1973, 10, 4, tzinfo=tzutc())) + entity.test5 = EntityProperty(u"stringystring") + entity.test6 = EntityProperty(3.14159) + entity.test7 = EntityProperty(100) + entity.test8 = EntityProperty(10, EdmType.INT64) + + # Assert + self.assertEqual(entity.test.type, EdmType.BOOLEAN) + self.assertEqual(entity.test2.type, EdmType.BINARY) + self.assertEqual(entity.test3.type, EdmType.GUID) + self.assertEqual(entity.test4.type, EdmType.DATETIME) + self.assertEqual(entity.test5.type, EdmType.STRING) + self.assertEqual(entity.test6.type, EdmType.DOUBLE) + self.assertEqual(entity.test7.type, EdmType.INT32) + self.assertEqual(entity.test8.type, EdmType.INT64) + + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_insert(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_insert' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + + batch = self.table.create_batch() + batch.create_item(entity) + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + result, headers = self.table.read_item('001', 'batch_insert', response_hook=lambda e, h: (e, h)) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_update(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_update' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + self.table.create_item(entity) + + entity = self.table.read_item('001', 'batch_update') + self.assertEqual(3, entity.test3) + entity.test2 = 'value1' + + batch = self.table.create_batch() + batch.update_item(entity) + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + result, headers = self.table.read_item('001', 'batch_update', response_hook=lambda e, h: (e, h)) + self.assertEqual('value1', result.test2) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_merge(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_merge' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + self.table.create_item(entity) + + entity = self.table.read_item('001', 'batch_merge') + self.assertEqual(3, entity.test3) + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_merge' + entity.test2 = 'value1' + + batch = self.table.create_batch() + batch.update_item(entity, mode='MERGE') + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + entity, headers = self.table.read_item('001', 'batch_merge', response_hook=lambda e, h: (e, h)) + self.assertEqual('value1', entity.test2) + self.assertEqual(1234567890, entity.test4) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_update_if_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + etag = self.table.create_item(entity, response_hook=lambda e, h: h['etag']) + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + batch = self.table.create_batch() + batch.update_item(sent_entity, etag=etag, match_condition=MatchConditions.IfNotModified) + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + entity, headers = self.table.read_item(entity['PartitionKey'], entity['RowKey'], response_hook=lambda e, h: (e, h)) + self._assert_updated_entity(entity) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_update_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + self.table.create_item(entity) + + # Act + sent_entity1 = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + + batch = self.table.create_batch() + batch.update_item( + sent_entity1, + etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + try: + self.table.commit_batch(batch) + except PartialBatchErrorException as error: + pass # TODO + #self.assertEqual(error.code, 'UpdateConditionNotSatisfied') + #self.assertTrue('The update condition specified in the request was not satisfied.' in str(error)) + else: + self.fail('AzureBatchOperationError was expected') + + # Assert + received_entity = self.table.read_item(entity['PartitionKey'], entity['RowKey']) + self._assert_default_entity(received_entity) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_insert_replace(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_insert_replace' + entity.test = True + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + + batch = self.table.create_batch() + batch.upsert_item(entity) + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + entity, headers = self.table.read_item('001', 'batch_insert_replace', response_hook=lambda e, h: (e, h)) + self.assertIsNotNone(entity) + self.assertEqual('value', entity.test2) + self.assertEqual(1234567890, entity.test4) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_insert_merge(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_insert_merge' + entity.test = True + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + + batch = self.table.create_batch() + batch.upsert_item(entity, mode='MERGE') + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + entity, headers = self.table.read_item('001', 'batch_insert_merge', response_hook=lambda e, h: (e, h)) + self.assertIsNotNone(entity) + self.assertEqual('value', entity.test2) + self.assertEqual(1234567890, entity.test4) + self.assertEqual(list(resp)[0].headers['Etag'], headers['etag']) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_delete(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '001' + entity.RowKey = 'batch_delete' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + self.table.create_item(entity) + + entity = self.table.read_item('001', 'batch_delete') + self.assertEqual(3, entity.test3) + + batch = self.table.create_batch() + batch.delete_item('001', 'batch_delete') + resp = self.table.commit_batch(batch) + + # Assert + self.assertIsNotNone(resp) + self.assertEqual(list(resp)[0].status_code, 204) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_inserts(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = 'batch_inserts' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + + batch = self.table.create_batch() + for i in range(100): + entity.RowKey = str(i) + batch.create_item(entity) + self.table.commit_batch(batch) + + entities = list(self.table.query_items("PartitionKey eq 'batch_inserts'")) + + # Assert + self.assertIsNotNone(entities) + self.assertEqual(100, len(entities)) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_all_operations_together(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '003' + entity.RowKey = 'batch_all_operations_together-1' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-2' + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-4' + self.table.create_item(entity) + + batch = self.table.create_batch() + entity.RowKey = 'batch_all_operations_together' + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-1' + batch.delete_item(entity.PartitionKey, entity.RowKey) + entity.RowKey = 'batch_all_operations_together-2' + entity.test3 = 10 + batch.update_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + entity.test3 = 100 + batch.update_item(entity, mode='MERGE') + entity.RowKey = 'batch_all_operations_together-4' + entity.test3 = 10 + batch.upsert_item(entity) + entity.RowKey = 'batch_all_operations_together-5' + batch.upsert_item(entity, mode='MERGE') + resp = self.table.commit_batch(batch) + + # Assert + self.assertEqual(6, len(list(resp))) + entities = list(self.table.query_items("PartitionKey eq '003'")) + self.assertEqual(5, len(entities)) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_all_operations_together_context_manager(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + entity = Entity() + entity.PartitionKey = '003' + entity.RowKey = 'batch_all_operations_together-1' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-2' + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + self.table.create_item(entity) + entity.RowKey = 'batch_all_operations_together-4' + self.table.create_item(entity) + + with self.table.create_batch() as batch: + entity.RowKey = 'batch_all_operations_together' + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-1' + batch.delete_item(entity.PartitionKey, entity.RowKey) + entity.RowKey = 'batch_all_operations_together-2' + entity.test3 = 10 + batch.update_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + entity.test3 = 100 + batch.update_item(entity, mode='MERGE') + entity.RowKey = 'batch_all_operations_together-4' + entity.test3 = 10 + batch.upsert_item(entity) + entity.RowKey = 'batch_all_operations_together-5' + batch.upsert_item(entity, mode='MERGE') + + # Assert + entities = list(self.table.query_items("PartitionKey eq '003'")) + self.assertEqual(5, len(entities)) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_reuse(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table2 = self._get_table_reference('table2') + table2.create_table() + + # Act + entity = Entity() + entity.PartitionKey = '003' + entity.RowKey = 'batch_all_operations_together-1' + entity.test = EntityProperty(True) + entity.test2 = 'value' + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime.utcnow() + + batch = TableBatchClient() + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-2' + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-4' + batch.create_item(entity) + + self.table.commit_batch(batch) + table2.commit_batch(batch) + + batch = TableBatchClient() + entity.RowKey = 'batch_all_operations_together' + batch.create_item(entity) + entity.RowKey = 'batch_all_operations_together-1' + batch.delete_item(entity.PartitionKey, entity.RowKey) + entity.RowKey = 'batch_all_operations_together-2' + entity.test3 = 10 + batch.update_item(entity) + entity.RowKey = 'batch_all_operations_together-3' + entity.test3 = 100 + batch.update_item(entity, mode='MERGE') + entity.RowKey = 'batch_all_operations_together-4' + entity.test3 = 10 + batch.upsert_item(entity) + entity.RowKey = 'batch_all_operations_together-5' + batch.upsert_item(entity, mode='MERGE') + + self.table.commit_batch(batch) + resp = table2.commit_batch(batch) + + # Assert + self.assertEqual(6, len(list(resp))) + entities = list(self.table.query_items("PartitionKey eq '003'")) + self.assertEqual(5, len(entities)) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_same_row_operations_fail(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict('001', 'batch_negative_1') + self.table.create_item(entity) + + # Act + batch = self.table.create_batch() + + entity = self._create_updated_entity_dict( + '001', 'batch_negative_1') + batch.update_item(entity) + entity = self._create_random_entity_dict( + '001', 'batch_negative_1') + + # Assert + with self.assertRaises(ValueError): + batch.update_item(entity, mode='MERGE') + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_different_partition_operations_fail(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict('001', 'batch_negative_1') + self.table.create_item(entity) + + # Act + batch = self.table.create_batch() + + entity = self._create_updated_entity_dict( + '001', 'batch_negative_1') + batch.update_item(entity) + + entity = self._create_random_entity_dict( + '002', 'batch_negative_1') + + # Assert + with self.assertRaises(ValueError): + batch.create_item(entity) + finally: + self._tear_down() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_batch_too_many_ops(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict('001', 'batch_negative_1') + self.table.create_item(entity) + + # Act + with self.assertRaises(ValueError): + batch = self.table.create_batch() + for i in range(0, 101): + entity = Entity() + entity.PartitionKey = 'large' + entity.RowKey = 'item{0}'.format(i) + batch.create_item(entity) + + # Assert + finally: + self._tear_down() + +#------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_client.py b/sdk/tables/azure-data-tables/tests/test_table_client.py index 18f3facd5f85..9ccd73d9e8ab 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client.py @@ -10,20 +10,18 @@ from azure.data.tables import TableServiceClient, TableClient from azure.data.tables._version import VERSION from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer -# from azure.data.tabless import ( -# VERSION, -# TableServiceClient, -# TableClient, -# ) -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase +from _shared.testcase import ( + GlobalStorageAccountPreparer, + TableTestCase +) + +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer from azure.core.exceptions import HttpResponseError # ------------------------------------------------------------------------------ SERVICES = { TableServiceClient: 'table', TableClient: 'table', - # TableServiceClient: 'cosmos', - # TableClient: 'cosmos', } _CONNECTION_ENDPOINTS = {'table': 'TableEndpoint', 'cosmos': 'TableEndpoint'} @@ -45,12 +43,10 @@ def validate_standard_account_endpoints(self, service, account_name, account_key self.assertTrue( ('{}.{}'.format(account_name, 'table.core.windows.net') in service.url) or ('{}.{}'.format(account_name, 'table.cosmos.azure.com') in service.url)) - # self.assertTrue( - # ('{}-secondary.{}'.format(account_name, 'table.core.windows.net') in service.secondary_endpoint) or - # ('{}-secondary.{}'.format(account_name, 'table.cosmos.azure.com') in service.secondary_endpoint)) # --Direct Parameters Test Cases -------------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_key(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -63,7 +59,8 @@ def test_create_service_with_key(self, resource_group, location, storage_account self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): @@ -75,7 +72,8 @@ def test_create_service_with_connection_string(self, resource_group, location, s self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_sas(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -94,7 +92,8 @@ def test_create_service_with_sas(self, resource_group, location, storage_account self.assertTrue(service.url.endswith(self.sas_token)) self.assertIsNone(service.credential) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_token(self, resource_group, location, storage_account, storage_account_key): url = self.account_url(storage_account, "table") suffix = '.table.core.windows.net' @@ -112,7 +111,8 @@ def test_create_service_with_token(self, resource_group, location, storage_accou self.assertFalse(hasattr(service.credential, 'account_key')) self.assertTrue(hasattr(service.credential, 'get_token')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_token_and_http(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES: # Act @@ -120,7 +120,8 @@ def test_create_service_with_token_and_http(self, resource_group, location, stor url = self.account_url(storage_account, "table").replace('https', 'http') service_type(url, credential=self.token_credential, table_name='foo') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_china(self, resource_group, location, storage_account, storage_account_key): # Arrange # TODO: Confirm regional cloud cosmos URLs @@ -140,7 +141,8 @@ def test_create_service_china(self, resource_group, location, storage_account, s self.assertTrue(service._primary_endpoint.startswith( 'https://{}.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_protocol(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -154,7 +156,8 @@ def test_create_service_protocol(self, resource_group, location, storage_account self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'http') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_empty_key(self, resource_group, location, storage_account, storage_account_key): # Arrange TABLE_SERVICES = [TableServiceClient, TableClient] @@ -171,7 +174,8 @@ def test_create_service_empty_key(self, resource_group, location, storage_accoun self.assertEqual( str(e.exception), "You need to provide either a SAS token or an account shared key to authenticate.") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_socket_timeout(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -189,7 +193,8 @@ def test_create_service_with_socket_timeout(self, resource_group, location, stor assert default_service._client._client._pipeline._transport.connection_config.timeout in [20, (20, 2000)] # --Connection String Test Cases -------------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_key(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};AccountKey={};'.format(storage_account.name, storage_account_key) @@ -202,7 +207,8 @@ def test_create_service_with_connection_string_key(self, resource_group, locatio self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_sas(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};SharedAccessSignature={};'.format(storage_account.name, self.sas_token) @@ -218,7 +224,8 @@ def test_create_service_with_connection_string_sas(self, resource_group, locatio self.assertTrue(service.url.endswith(self.sas_token)) self.assertIsNone(service.credential) - @GlobalStorageAccountPreparer() # TODO: Prepare Cosmos tables account + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_cosmos(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};TableEndpoint=https://{0}.table.cosmos.azure.com:443/;'.format( @@ -237,7 +244,8 @@ def test_create_service_with_connection_string_cosmos(self, resource_group, loca self.assertTrue(service._primary_endpoint.startswith('https://' + storage_account.name + '.table.cosmos.azure.com')) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_endpoint_protocol(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};AccountKey={};DefaultEndpointsProtocol=http;EndpointSuffix=core.chinacloudapi.cn;'.format( @@ -257,7 +265,8 @@ def test_create_service_with_connection_string_endpoint_protocol(self, resource_ 'http://{}.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) self.assertEqual(service.scheme, 'http') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_emulated(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -267,7 +276,8 @@ def test_create_service_with_connection_string_emulated(self, resource_group, lo with self.assertRaises(ValueError): service = service_type[0].from_connection_string(conn_string, table_name="foo") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_connection_string_custom_domain(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -284,7 +294,8 @@ def test_create_service_with_connection_string_custom_domain(self, resource_grou self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_conn_str_custom_domain_trailing_slash(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -301,7 +312,8 @@ def test_create_service_with_conn_str_custom_domain_trailing_slash(self, resourc self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_conn_str_custom_domain_sec_override(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -319,7 +331,8 @@ def test_create_service_with_conn_str_custom_domain_sec_override(self, resource_ self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_conn_str_fails_if_sec_without_primary(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): # Arrange @@ -333,7 +346,8 @@ def test_create_service_with_conn_str_fails_if_sec_without_primary(self, resourc with self.assertRaises(ValueError): service = service_type[0].from_connection_string(conn_string, table_name="foo") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_conn_str_succeeds_if_sec_with_primary(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): # Arrange @@ -353,7 +367,8 @@ def test_create_service_with_conn_str_succeeds_if_sec_with_primary(self, resourc self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_service_with_custom_account_endpoint_path(self, resource_group, location, storage_account, storage_account_key): custom_account_url = "http://local-machine:11002/custom/account/path/" + self.sas_token for service_type in SERVICES.items(): @@ -389,7 +404,9 @@ def test_create_service_with_custom_account_endpoint_path(self, resource_group, self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_user_agent_default(self, resource_group, location, storage_account, storage_account_key): service = TableServiceClient(self.account_url(storage_account, "table"), credential=storage_account_key) @@ -404,7 +421,9 @@ def callback(response): tables = list(service.list_tables(raw_response_hook=callback)) self.assertIsInstance(tables, list) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_user_agent_custom(self, resource_group, location, storage_account, storage_account_key): custom_app = "TestApp/v1.0" service = TableServiceClient( @@ -436,7 +455,8 @@ def callback(response): tables = list(service.list_tables(raw_response_hook=callback, user_agent="TestApp/v2.0")) self.assertIsInstance(tables, list) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_user_agent_append(self, resource_group, location, storage_account, storage_account_key): service = TableServiceClient(self.account_url(storage_account, "table"), credential=storage_account_key) @@ -451,43 +471,43 @@ def callback(response): ) custom_headers = {'User-Agent': 'customer_user_agent'} - tables = list(service.list_tables(raw_response_hook=callback, headers=custom_headers)) - self.assertIsInstance(tables, list) + tables = service.list_tables(raw_response_hook=callback, headers=custom_headers) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_client_with_complete_table_url(self, resource_group, location, storage_account, storage_account_key): # Arrange table_url = self.account_url(storage_account, "table") + "/foo" service = TableClient(table_url, table_name='bar', credential=storage_account_key) - # Assert + # Assert self.assertEqual(service.scheme, 'https') self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, storage_account.name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_create_table_client_with_complete_url(self, resource_group, location, storage_account, storage_account_key): # Arrange table_url = "https://{}.table.core.windows.net:443/foo".format(storage_account.name) service = TableClient(account_url=table_url, table_name='bar', credential=storage_account_key) - # Assert + # Assert self.assertEqual(service.scheme, 'https') self.assertEqual(service.table_name, 'bar') self.assertEqual(service.account_name, storage_account.name) - @GlobalStorageAccountPreparer() - def test_create_table_client_with_invalid_name(self, resource_group, location, storage_account, storage_account_key): + def test_create_table_client_with_invalid_name(self): # Arrange - table_url = "https://{}.table.core.windows.net:443/foo".format(storage_account.name) + table_url = "https://{}.table.core.windows.net:443/foo".format("test") invalid_table_name = "my_table" # Assert with pytest.raises(ValueError) as excinfo: - service = TableClient(account_url=table_url, table_name=invalid_table_name, credential=storage_account_key) + service = TableClient(account_url=table_url, table_name=invalid_table_name, credential="storage_account_key") - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str(excinfo) + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long." in str(excinfo) - @GlobalStorageAccountPreparer() def test_error_with_malformed_conn_str(self): # Arrange @@ -504,7 +524,8 @@ def test_error_with_malformed_conn_str(self): self.assertEqual( str(e.exception), "Connection string missing required connection details.") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_closing_pipeline_client(self, resource_group, location, storage_account, storage_account_key): # Arrange for client, url in SERVICES.items(): @@ -517,7 +538,8 @@ def test_closing_pipeline_client(self, resource_group, location, storage_account assert hasattr(service, 'close') service.close() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_closing_pipeline_client_simple(self, resource_group, location, storage_account, storage_account_key): # Arrange for client, url in SERVICES.items(): @@ -525,6 +547,7 @@ def test_closing_pipeline_client_simple(self, resource_group, location, storage_ service = client( self.account_url(storage_account, "table"), credential=storage_account_key, table_name='table') service.close() + # ------------------------------------------------------------------------------ if __name__ == '__main__': unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_async.py b/sdk/tables/azure-data-tables/tests/test_table_client_async.py index b00f20ad6b05..addd5f8d9b96 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client_async.py @@ -9,9 +9,15 @@ from azure.data.tables.aio import TableServiceClient, TableClient from azure.data.tables._version import VERSION -from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer - -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase +from devtools_testutils import ( + ResourceGroupPreparer, + CachedResourceGroupPreparer, + CachedStorageAccountPreparer +) +from _shared.testcase import ( + GlobalStorageAccountPreparer, + TableTestCase +) from azure.core.exceptions import HttpResponseError # ------------------------------------------------------------------------------ @@ -20,9 +26,9 @@ TableClient: 'table', } -_CONNECTION_ENDPOINTS = {'table': 'TableEndpoint', 'cosmos': 'TableEndpoint'} +_CONNECTION_ENDPOINTS = {'table': 'TableEndpoint'} -_CONNECTION_ENDPOINTS_SECONDARY = {'table': 'TableSecondaryEndpoint', 'cosmos': 'TableSecondaryEndpoint'} +_CONNECTION_ENDPOINTS_SECONDARY = {'table': 'TableSecondaryEndpoint'} class StorageTableClientTest(TableTestCase): def setUp(self): @@ -44,7 +50,8 @@ def validate_standard_account_endpoints(self, service, account_name, account_key # ('{}-secondary.{}'.format(account_name, 'table.cosmos.azure.com') in service.secondary_endpoint)) # --Direct Parameters Test Cases -------------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_key_async(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -57,7 +64,8 @@ async def test_create_service_with_key_async(self, resource_group, location, sto self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_async(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): @@ -69,7 +77,8 @@ async def test_create_service_with_connection_string_async(self, resource_group, self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_sas_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -88,7 +97,8 @@ async def test_create_service_with_sas_async(self, resource_group, location, sto self.assertTrue(service.url.endswith(self.sas_token)) self.assertIsNone(service.credential) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_token_async(self, resource_group, location, storage_account, storage_account_key): url = self.account_url(storage_account, "table") suffix = '.table.core.windows.net' @@ -106,7 +116,8 @@ async def test_create_service_with_token_async(self, resource_group, location, s self.assertFalse(hasattr(service.credential, 'account_key')) self.assertTrue(hasattr(service.credential, 'get_token')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_token_and_http_async(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES: # Act @@ -114,7 +125,8 @@ async def test_create_service_with_token_and_http_async(self, resource_group, lo url = self.account_url(storage_account, "table").replace('https', 'http') service_type(url, credential=self.token_credential, table_name='foo') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_china_async(self, resource_group, location, storage_account, storage_account_key): # Arrange # TODO: Confirm regional cloud cosmos URLs @@ -133,10 +145,9 @@ async def test_create_service_china_async(self, resource_group, location, storag self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith( 'https://{}.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) - # self.assertTrue(service.secondary_endpoint.startswith( - # 'https://{}-secondary.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_protocol_async(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -150,8 +161,8 @@ async def test_create_service_protocol_async(self, resource_group, location, sto self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'http') - - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_empty_key_async(self, resource_group, location, storage_account, storage_account_key): # Arrange TABLE_SERVICES = [TableServiceClient, TableClient] @@ -164,8 +175,8 @@ async def test_create_service_empty_key_async(self, resource_group, location, st self.assertEqual( str(e.exception), "You need to provide either a SAS token or an account shared key to authenticate.") - - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_socket_timeout_async(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -183,7 +194,8 @@ async def test_create_service_with_socket_timeout_async(self, resource_group, lo assert default_service._client._client._pipeline._transport.connection_config.timeout in [20, (20, 2000)] # --Connection String Test Cases -------------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_key_async(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};AccountKey={};'.format(storage_account.name, storage_account_key) @@ -196,7 +208,8 @@ async def test_create_service_with_connection_string_key_async(self, resource_gr self.validate_standard_account_endpoints(service, storage_account.name, storage_account_key) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_sas_async(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};SharedAccessSignature={};'.format(storage_account.name, self.sas_token) @@ -212,7 +225,8 @@ async def test_create_service_with_connection_string_sas_async(self, resource_gr self.assertTrue(service.url.endswith(self.sas_token)) self.assertIsNone(service.credential) - @GlobalStorageAccountPreparer() # TODO: Prepare Cosmos tables account + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_cosmos_async(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};TableEndpoint=https://{0}.table.cosmos.azure.com:443/;'.format( @@ -232,7 +246,8 @@ async def test_create_service_with_connection_string_cosmos_async(self, resource # self.assertTrue(service.secondary_endpoint.startswith('https://' + storage_account.name + '-secondary.table.cosmos.azure.com')) self.assertEqual(service.scheme, 'https') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_endpoint_protocol_async(self, resource_group, location, storage_account, storage_account_key): # Arrange conn_string = 'AccountName={};AccountKey={};DefaultEndpointsProtocol=http;EndpointSuffix=core.chinacloudapi.cn;'.format( @@ -250,12 +265,10 @@ async def test_create_service_with_connection_string_endpoint_protocol_async(sel self.assertTrue( service._primary_endpoint.startswith( 'http://{}.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) - # self.assertTrue( - # service.secondary_endpoint.startswith( - # 'http://{}-secondary.{}.core.chinacloudapi.cn'.format(storage_account.name, "table"))) self.assertEqual(service.scheme, 'http') - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_emulated_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -265,7 +278,8 @@ async def test_create_service_with_connection_string_emulated_async(self, resour with self.assertRaises(ValueError): service = service_type[0].from_connection_string(conn_string, table_name="foo") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_connection_string_custom_domain_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -281,9 +295,9 @@ async def test_create_service_with_connection_string_custom_domain_async(self, r self.assertEqual(service.credential.account_name, storage_account.name) self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - # self.assertTrue(service.secondary_endpoint.startswith('https://' + storage_account.name + '-secondary.table.core.windows.net')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_conn_str_custom_domain_trailing_slash_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -299,9 +313,9 @@ async def test_create_service_with_conn_str_custom_domain_trailing_slash_async(s self.assertEqual(service.credential.account_name, storage_account.name) self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - # self.assertTrue(service.secondary_endpoint.startswith('https://' + storage_account.name + '-secondary.table.core.windows.net')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_conn_str_custom_domain_sec_override_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for service_type in SERVICES.items(): @@ -318,9 +332,9 @@ async def test_create_service_with_conn_str_custom_domain_sec_override_async(sel self.assertEqual(service.credential.account_name, storage_account.name) self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - # self.assertTrue(service.secondary_endpoint.startswith('https://www-sec.mydomain.com')) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_conn_str_fails_if_sec_without_primary_async(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): # Arrange @@ -328,13 +342,12 @@ async def test_create_service_with_conn_str_fails_if_sec_without_primary_async(s storage_account.name, storage_account_key, _CONNECTION_ENDPOINTS_SECONDARY.get(service_type[1])) - # Act - # Fails if primary excluded with self.assertRaises(ValueError): service = service_type[0].from_connection_string(conn_string, table_name="foo") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_conn_str_succeeds_if_sec_with_primary_async(self, resource_group, location, storage_account, storage_account_key): for service_type in SERVICES.items(): # Arrange @@ -354,7 +367,9 @@ async def test_create_service_with_conn_str_succeeds_if_sec_with_primary_async(s self.assertEqual(service.credential.account_key, storage_account_key) self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_service_with_custom_account_endpoint_path_async(self, resource_group, location, storage_account, storage_account_key): custom_account_url = "http://local-machine:11002/custom/account/path/" + self.sas_token for service_type in SERVICES.items(): @@ -390,7 +405,9 @@ async def test_create_service_with_custom_account_endpoint_path_async(self, reso self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_user_agent_default_async(self, resource_group, location, storage_account, storage_account_key): service = TableServiceClient(self.account_url(storage_account, "table"), credential=storage_account_key) @@ -406,7 +423,9 @@ def callback(response): tables = service.list_tables(raw_response_hook=callback) self.assertIsNotNone(tables) - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_user_agent_custom_async(self, resource_group, location, storage_account, storage_account_key): custom_app = "TestApp/v1.0" service = TableServiceClient( @@ -438,8 +457,10 @@ def callback(response): tables = service.list_tables(raw_response_hook=callback, user_agent="TestApp/v2.0") self.assertIsNotNone(tables) - @GlobalStorageAccountPreparer() - async def test_user_agent_append_async(self, resource_group, location, storage_account, storage_account_key): + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") + async def test_user_agent_append(self, resource_group, location, storage_account, storage_account_key): + # TODO: fix this one service = TableServiceClient(self.account_url(storage_account, "table"), credential=storage_account_key) def callback(response): @@ -454,42 +475,42 @@ def callback(response): custom_headers = {'User-Agent': 'customer_user_agent'} tables = service.list_tables(raw_response_hook=callback, headers=custom_headers) - self.assertIsNotNone(tables) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_table_client_with_complete_table_url_async(self, resource_group, location, storage_account, storage_account_key): # Arrange table_url = self.account_url(storage_account, "table") + "/foo" service = TableClient(table_url, table_name='bar', credential=storage_account_key) - # Assert + # Assert self.assertEqual(service.scheme, 'https') self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, storage_account.name) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_create_table_client_with_complete_url_async(self, resource_group, location, storage_account, storage_account_key): # Arrange table_url = "https://{}.table.core.windows.net:443/foo".format(storage_account.name) service = TableClient(account_url=table_url, table_name='bar', credential=storage_account_key) - # Assert + # Assert self.assertEqual(service.scheme, 'https') self.assertEqual(service.table_name, 'bar') self.assertEqual(service.account_name, storage_account.name) - @GlobalStorageAccountPreparer() - async def test_create_table_client_with_invalid_name_async(self, resource_group, location, storage_account, storage_account_key): + async def test_create_table_client_with_invalid_name_async(self): # Arrange - table_url = "https://{}.table.core.windows.net:443/foo".format(storage_account.name) + table_url = "https://{}.table.core.windows.net:443/foo".format("storage_account_name") invalid_table_name = "my_table" # Assert with pytest.raises(ValueError) as excinfo: - service = TableClient(account_url=table_url, table_name=invalid_table_name, credential=storage_account_key) + service = TableClient(account_url=table_url, table_name=invalid_table_name, credential="storage_account_key") - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str(excinfo) + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long."in str(excinfo) - @GlobalStorageAccountPreparer() async def test_error_with_malformed_conn_str_async(self): # Arrange @@ -506,7 +527,8 @@ async def test_error_with_malformed_conn_str_async(self): self.assertEqual( str(e.exception), "Connection string missing required connection details.") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_closing_pipeline_client_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for client, url in SERVICES.items(): @@ -519,7 +541,8 @@ async def test_closing_pipeline_client_async(self, resource_group, location, sto assert hasattr(service, 'close') await service.close() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_closing_pipeline_client_simple_async(self, resource_group, location, storage_account, storage_account_key): # Arrange for client, url in SERVICES.items(): diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py new file mode 100644 index 000000000000..8dc68e779e74 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py @@ -0,0 +1,627 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import unittest +import pytest +import platform +from time import sleep + +from azure.data.tables import TableServiceClient, TableClient +from azure.data.tables._version import VERSION +from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer +from _shared.testcase import ( + GlobalStorageAccountPreparer, + TableTestCase, + RERUNS_DELAY, + SLEEP_DELAY +) +from azure.core.exceptions import HttpResponseError +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer + +# ------------------------------------------------------------------------------ +SERVICES = { + TableServiceClient: 'cosmos', + TableClient: 'cosmos', +} + +_CONNECTION_ENDPOINTS = {'table': 'TableEndpoint', 'cosmos': 'TableEndpoint'} + +_CONNECTION_ENDPOINTS_SECONDARY = {'table': 'TableSecondaryEndpoint', 'cosmos': 'TableSecondaryEndpoint'} + +class StorageTableClientTest(TableTestCase): + def setUp(self): + super(StorageTableClientTest, self).setUp() + self.sas_token = self.generate_sas_token() + self.token_credential = self.generate_oauth_token() + + # --Helpers----------------------------------------------------------------- + def validate_standard_account_endpoints(self, service, account_name, account_key): + self.assertIsNotNone(service) + self.assertEqual(service.account_name, account_name) + self.assertEqual(service.credential.account_name, account_name) + self.assertEqual(service.credential.account_key, account_key) + self.assertTrue( + ('{}.{}'.format(account_name, 'table.core.windows.net') in service.url) or + ('{}.{}'.format(account_name, 'table.cosmos.azure.com') in service.url)) + + # --Direct Parameters Test Cases -------------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_key(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, url), credential=cosmos_account_key, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string(self, resource_group, location, cosmos_account, cosmos_account_key): + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string( + self.connection_string(cosmos_account, cosmos_account_key), table_name="test") + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_sas(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + suffix = '.table.core.windows.net' + if 'cosmos' in url: + suffix = '.table.cosmos.azure.com' + for service_type in SERVICES: + # Act + service = service_type( + self.account_url(cosmos_account, "cosmos"), credential=self.sas_token, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + suffix)) + self.assertTrue(service.url.endswith(self.sas_token)) + self.assertIsNone(service.credential) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_token(self, resource_group, location, cosmos_account, cosmos_account_key): + url = self.account_url(cosmos_account, "cosmos") + suffix = '.table.core.windows.net' + if 'cosmos' in url: + suffix = '.table.cosmos.azure.com' + for service_type in SERVICES: + # Act + service = service_type(url, credential=self.token_credential, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + suffix)) + self.assertEqual(service.credential, self.token_credential) + self.assertFalse(hasattr(service.credential, 'account_key')) + self.assertTrue(hasattr(service.credential, 'get_token')) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_token_and_http(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES: + # Act + with self.assertRaises(ValueError): + url = self.account_url(cosmos_account, "cosmos").replace('https', 'http') + service_type(url, credential=self.token_credential, table_name='foo') + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_china(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + # TODO: Confirm regional cloud cosmos URLs + for service_type in SERVICES.items(): + # Act + url = self.account_url(cosmos_account, "cosmos").replace('core.windows.net', 'core.chinacloudapi.cn') + if 'cosmos.azure' in url: + pytest.skip("Confirm cosmos national cloud URLs") + service = service_type[0]( + url, credential=cosmos_account_key, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith( + 'https://{}.{}.core.chinacloudapi.cn'.format(cosmos_account.name, "cosmos"))) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_protocol(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for service_type in SERVICES.items(): + # Act + url = self.account_url(cosmos_account, "cosmos").replace('https', 'http') + service = service_type[0]( + url, credential=cosmos_account_key, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'http') + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_empty_key(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + TABLE_SERVICES = [TableServiceClient, TableClient] + + for service_type in TABLE_SERVICES: + # Act + with self.assertRaises(ValueError) as e: + test_service = service_type('testaccount', credential='', table_name='foo') + + self.assertEqual( + str(e.exception), "You need to provide either a SAS token or an account shared key to authenticate.") + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_socket_timeout(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for service_type in SERVICES.items(): + # Act + default_service = service_type[0]( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='foo') + service = service_type[0]( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, + table_name='foo', connection_timeout=22) + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + assert service._client._client._pipeline._transport.connection_config.timeout == 22 + assert default_service._client._client._pipeline._transport.connection_config.timeout in [20, (20, 2000)] + if self.is_live: + sleep(SLEEP_DELAY) + + # --Connection String Test Cases -------------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_key(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};AccountKey={};'.format(cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string(conn_string, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos differential") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_sas(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};SharedAccessSignature={};'.format(cosmos_account.name, self.sas_token) + + for service_type in SERVICES: + # Act + service = service_type.from_connection_string(conn_string, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + '.table.core.windows.net')) + self.assertTrue(service.url.endswith(self.sas_token)) + self.assertIsNone(service.credential) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_cosmos(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};TableEndpoint=https://{0}.table.cosmos.azure.com:443/;'.format( + cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES: + # Act + service = service_type.from_connection_string(conn_string, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + '.table.cosmos.azure.com')) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://' + cosmos_account.name + '.table.cosmos.azure.com')) + self.assertEqual(service.scheme, 'https') + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_endpoint_protocol(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};AccountKey={};DefaultEndpointsProtocol=http;EndpointSuffix=core.chinacloudapi.cn;'.format( + cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue( + service._primary_endpoint.startswith( + 'http://{}.{}.core.chinacloudapi.cn'.format(cosmos_account.name, "cosmos"))) + self.assertEqual(service.scheme, 'http') + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_emulated(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'UseDevelopmentStorage=true;'.format(cosmos_account.name, cosmos_account_key) + + # Act + with self.assertRaises(ValueError): + service = service_type[0].from_connection_string(conn_string, table_name="foo") + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_connection_string_custom_domain(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_conn_str_custom_domain_trailing_slash(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com/;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_conn_str_custom_domain_sec_override(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com/;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string( + conn_string, secondary_hostname="www-sec.mydomain.com", table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_conn_str_fails_if_sec_without_primary(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES.items(): + # Arrange + conn_string = 'AccountName={};AccountKey={};{}=www.mydomain.com;'.format( + cosmos_account.name, cosmos_account_key, + _CONNECTION_ENDPOINTS_SECONDARY.get(service_type[1])) + + # Act + + # Fails if primary excluded + with self.assertRaises(ValueError): + service = service_type[0].from_connection_string(conn_string, table_name="foo") + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_conn_str_succeeds_if_sec_with_primary(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES.items(): + # Arrange + conn_string = 'AccountName={};AccountKey={};{}=www.mydomain.com;{}=www-sec.mydomain.com;'.format( + cosmos_account.name, + cosmos_account_key, + _CONNECTION_ENDPOINTS.get(service_type[1]), + _CONNECTION_ENDPOINTS_SECONDARY.get(service_type[1])) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_service_with_custom_account_endpoint_path(self, resource_group, location, cosmos_account, cosmos_account_key): + custom_account_url = "http://local-machine:11002/custom/account/path/" + self.sas_token + for service_type in SERVICES.items(): + conn_string = 'DefaultEndpointsProtocol=http;AccountName={};AccountKey={};TableEndpoint={};'.format( + cosmos_account.name, cosmos_account_key, custom_account_url) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + + service = TableServiceClient(account_url=custom_account_url) + self.assertEqual(service.account_name, None) + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + # mine doesnt have a question mark at the end + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + service = TableClient(account_url=custom_account_url, table_name="foo") + self.assertEqual(service.account_name, None) + self.assertEqual(service.table_name, "foo") + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + service = TableClient.from_table_url("http://local-machine:11002/custom/account/path/foo" + self.sas_token) + self.assertEqual(service.account_name, None) + self.assertEqual(service.table_name, "foo") + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_user_agent_default(self, resource_group, location, cosmos_account, cosmos_account_key): + service = TableServiceClient(self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertEqual( + response.http_request.headers['User-Agent'], + "azsdk-python-storage-table/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform())) + + tables = list(service.list_tables(raw_response_hook=callback)) + self.assertIsInstance(tables, list) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_user_agent_custom(self, resource_group, location, cosmos_account, cosmos_account_key): + custom_app = "TestApp/v1.0" + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, user_agent=custom_app) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertIn( + "TestApp/v1.0 azsdk-python-data-tables/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform()), + response.http_request.headers['User-Agent'] + ) + + tables = list(service.list_tables(raw_response_hook=callback)) + self.assertIsInstance(tables, list) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertIn( + "TestApp/v2.0 TestApp/v1.0 azsdk-python-data-tables/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform()), + response.http_request.headers['User-Agent'] + ) + + tables = list(service.list_tables(raw_response_hook=callback, user_agent="TestApp/v2.0")) + self.assertIsInstance(tables, list) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_user_agent_append(self, resource_group, location, cosmos_account, cosmos_account_key): + service = TableServiceClient(self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertEqual( + response.http_request.headers['User-Agent'], + "azsdk-python-storage-tables/{} Python/{} ({}) customer_user_agent".format( + VERSION, + platform.python_version(), + platform.platform()) + ) + + custom_headers = {'User-Agent': 'customer_user_agent'} + tables = service.list_tables(raw_response_hook=callback, headers=custom_headers) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("kierans theory") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_table_client_with_complete_table_url(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_url = self.account_url(cosmos_account, "cosmos") + "/foo" + service = TableClient(table_url, table_name='bar', credential=cosmos_account_key) + + # Assert + self.assertEqual(service.scheme, 'https') + self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, cosmos_account.name) + + @pytest.mark.skip("cosmos differential") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_table_client_with_complete_url(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_url = "https://{}.table.cosmos.azure.com:443/foo".format(cosmos_account.name) + service = TableClient(account_url=table_url, table_name='bar', credential=cosmos_account_key) + + # Assert + self.assertEqual(service.scheme, 'https') + self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, cosmos_account.name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("kierans theory") + def test_create_table_client_with_invalid_name(self): + # Arrange + table_url = "https://{}.table.cosmos.azure.com:443/foo".format("cosmos_account_name") + invalid_table_name = "my_table" + + # Assert + with pytest.raises(ValueError) as excinfo: + service = TableClient(account_url=table_url, table_name=invalid_table_name, credential="cosmos_account_key") + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long." in str(excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + def test_error_with_malformed_conn_str(self): + # Arrange + + for conn_str in ["", "foobar", "foobar=baz=foo", "foo;bar;baz", "foo=;bar=;", "=", ";", "=;=="]: + for service_type in SERVICES.items(): + # Act + with self.assertRaises(ValueError) as e: + service = service_type[0].from_connection_string(conn_str, table_name="test") + + if conn_str in("", "foobar", "foo;bar;baz", ";"): + self.assertEqual( + str(e.exception), "Connection string is either blank or malformed.") + elif conn_str in ("foobar=baz=foo" , "foo=;bar=;", "=", "=;=="): + self.assertEqual( + str(e.exception), "Connection string missing required connection details.") + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_closing_pipeline_client(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='table') + + # Assert + with service: + assert hasattr(service, 'close') + service.close() + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_closing_pipeline_client_simple(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='table') + service.close() + + if self.is_live: + sleep(SLEEP_DELAY) + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py new file mode 100644 index 000000000000..dc171fa4bac5 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py @@ -0,0 +1,563 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import unittest +import pytest +import platform +from time import sleep + +from azure.data.tables.aio import TableServiceClient, TableClient +from azure.data.tables._version import VERSION +from devtools_testutils import ( + ResourceGroupPreparer, + CachedResourceGroupPreparer, +) +from _shared.testcase import ( + GlobalStorageAccountPreparer, + TableTestCase, + RERUNS_DELAY, + SLEEP_DELAY +) +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from azure.core.exceptions import HttpResponseError +# ------------------------------------------------------------------------------ +SERVICES = { + TableServiceClient: 'cosmos', + TableClient: 'cosmos', +} + + +_CONNECTION_ENDPOINTS = {'table': 'TableEndpoint', 'cosmos': 'TableEndpoint'} + +_CONNECTION_ENDPOINTS_SECONDARY = {'table': 'TableSecondaryEndpoint', 'cosmos': 'TableSecondaryEndpoint'} + +class StorageTableClientTest(TableTestCase): + def setUp(self): + super(StorageTableClientTest, self).setUp() + self.sas_token = self.generate_sas_token() + self.token_credential = self.generate_oauth_token() + + # --Helpers----------------------------------------------------------------- + def validate_standard_account_endpoints(self, service, account_name, account_key): + self.assertIsNotNone(service) + self.assertEqual(service.account_name, account_name) + self.assertEqual(service.credential.account_name, account_name) + self.assertEqual(service.credential.account_key, account_key) + self.assertTrue( + ('{}.{}'.format(account_name, 'table.core.windows.net') in service.url) or + ('{}.{}'.format(account_name, 'table.cosmos.azure.com') in service.url)) + + # --Direct Parameters Test Cases -------------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_key_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, url), credential=cosmos_account_key, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_async(self, resource_group, location, cosmos_account, cosmos_account_key): + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string( + self.connection_string(cosmos_account, cosmos_account_key), table_name="test") + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_sas_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + suffix = '.table.core.windows.net' + if 'cosmos' in url: + suffix = '.table.cosmos.azure.com' + for service_type in SERVICES: + # Act + service = service_type( + self.account_url(cosmos_account, "cosmos"), credential=self.sas_token, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + suffix)) + self.assertTrue(service.url.endswith(self.sas_token)) + self.assertIsNone(service.credential) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_token_async(self, resource_group, location, cosmos_account, cosmos_account_key): + url = self.account_url(cosmos_account, "cosmos") + suffix = '.table.core.windows.net' + if 'cosmos' in url: + suffix = '.table.cosmos.azure.com' + for service_type in SERVICES: + # Act + service = service_type(url, credential=self.token_credential, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + suffix)) + self.assertEqual(service.credential, self.token_credential) + self.assertFalse(hasattr(service.credential, 'account_key')) + self.assertTrue(hasattr(service.credential, 'get_token')) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_token_and_http_async(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES: + # Act + with self.assertRaises(ValueError): + url = self.account_url(cosmos_account, "cosmos").replace('https', 'http') + service_type(url, credential=self.token_credential, table_name='foo') + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_china_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + # TODO: Confirm regional cloud cosmos URLs + for service_type in SERVICES.items(): + # Act + url = self.account_url(cosmos_account, "cosmos").replace('core.windows.net', 'core.chinacloudapi.cn') + if 'cosmos.azure' in url: + pytest.skip("Confirm cosmos national cloud URLs") + service = service_type[0]( + url, credential=cosmos_account_key, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith( + 'https://{}.{}.core.chinacloudapi.cn'.format(cosmos_account.name, "cosmos"))) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_protocol_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for service_type in SERVICES.items(): + # Act + url = self.account_url(cosmos_account, "cosmos").replace('https', 'http') + service = service_type[0]( + url, credential=cosmos_account_key, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'http') + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_empty_key_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + TABLE_SERVICES = [TableServiceClient, TableClient] + + for service_type in TABLE_SERVICES: + # Act + with self.assertRaises(ValueError) as e: + test_service = service_type('testaccount', credential='', table_name='foo') + + self.assertEqual( + str(e.exception), "You need to provide either a SAS token or an account shared key to authenticate.") + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_socket_timeout_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + + for service_type in SERVICES.items(): + # Act + default_service = service_type[0]( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='foo') + service = service_type[0]( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, + table_name='foo', connection_timeout=22) + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + assert service._client._client._pipeline._transport.connection_config.timeout == 22 + assert default_service._client._client._pipeline._transport.connection_config.timeout in [20, (20, 2000)] + + # --Connection String Test Cases -------------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_key_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};AccountKey={};'.format(cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string(conn_string, table_name='foo') + + # Assert + self.validate_standard_account_endpoints(service, cosmos_account.name, cosmos_account_key) + self.assertEqual(service.scheme, 'https') + + @pytest.mark.skip("Error with sas formation") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_sas_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};SharedAccessSignature={};'.format(cosmos_account.name, self.sas_token) + + for service_type in SERVICES: + # Act + service = service_type.from_connection_string(conn_string, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + '.table.core.windows.net')) + self.assertTrue(service.url.endswith(self.sas_token)) + self.assertIsNone(service.credential) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_cosmos_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};TableEndpoint=https://{0}.table.cosmos.azure.com:443/;'.format( + cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES: + # Act + service = service_type.from_connection_string(conn_string, table_name='foo') + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertTrue(service.url.startswith('https://' + cosmos_account.name + '.table.cosmos.azure.com')) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://' + cosmos_account.name + '.table.cosmos.azure.com')) + self.assertEqual(service.scheme, 'https') + + @pytest.mark.skip("Error with china cloud") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_endpoint_protocol_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + conn_string = 'AccountName={};AccountKey={};DefaultEndpointsProtocol=http;EndpointSuffix=core.chinacloudapi.cn;'.format( + cosmos_account.name, cosmos_account_key) + + for service_type in SERVICES.items(): + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue( + service._primary_endpoint.startswith( + 'http://{}.{}.core.chinacloudapi.cn'.format(cosmos_account.name, "cosmos"))) + self.assertEqual(service.scheme, 'http') + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_emulated_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'UseDevelopmentStorage=true;'.format(cosmos_account.name, cosmos_account_key) + + # Act + with self.assertRaises(ValueError): + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_connection_string_custom_domain_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_conn_str_custom_domain_trailing_slash_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com/;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_conn_str_custom_domain_sec_override_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for service_type in SERVICES.items(): + conn_string = 'AccountName={};AccountKey={};TableEndpoint=www.mydomain.com/;'.format( + cosmos_account.name, cosmos_account_key) + + # Act + service = service_type[0].from_connection_string( + conn_string, secondary_hostname="www-sec.mydomain.com", table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_conn_str_fails_if_sec_without_primary_async(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES.items(): + # Arrange + conn_string = 'AccountName={};AccountKey={};{}=www.mydomain.com;'.format( + cosmos_account.name, cosmos_account_key, + _CONNECTION_ENDPOINTS_SECONDARY.get(service_type[1])) + + # Fails if primary excluded + with self.assertRaises(ValueError): + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_conn_str_succeeds_if_sec_with_primary_async(self, resource_group, location, cosmos_account, cosmos_account_key): + for service_type in SERVICES.items(): + # Arrange + conn_string = 'AccountName={};AccountKey={};{}=www.mydomain.com;{}=www-sec.mydomain.com;'.format( + cosmos_account.name, + cosmos_account_key, + _CONNECTION_ENDPOINTS.get(service_type[1]), + _CONNECTION_ENDPOINTS_SECONDARY.get(service_type[1])) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertIsNotNone(service) + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertTrue(service._primary_endpoint.startswith('https://www.mydomain.com')) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_service_with_custom_account_endpoint_path_async(self, resource_group, location, cosmos_account, cosmos_account_key): + custom_account_url = "http://local-machine:11002/custom/account/path/" + self.sas_token + for service_type in SERVICES.items(): + conn_string = 'DefaultEndpointsProtocol=http;AccountName={};AccountKey={};TableEndpoint={};'.format( + cosmos_account.name, cosmos_account_key, custom_account_url) + + # Act + service = service_type[0].from_connection_string(conn_string, table_name="foo") + + # Assert + self.assertEqual(service.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_name, cosmos_account.name) + self.assertEqual(service.credential.account_key, cosmos_account_key) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + + service = TableServiceClient(account_url=custom_account_url) + self.assertEqual(service.account_name, None) + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + # mine doesnt have a question mark at the end + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + service = TableClient(account_url=custom_account_url, table_name="foo") + self.assertEqual(service.account_name, None) + self.assertEqual(service.table_name, "foo") + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + service = TableClient.from_table_url("http://local-machine:11002/custom/account/path/foo" + self.sas_token) + self.assertEqual(service.account_name, None) + self.assertEqual(service.table_name, "foo") + self.assertEqual(service.credential, None) + self.assertEqual(service._primary_hostname, 'local-machine:11002/custom/account/path') + self.assertTrue(service.url.startswith('http://local-machine:11002/custom/account/path')) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_user_agent_default_async(self, resource_group, location, cosmos_account, cosmos_account_key): + service = TableServiceClient(self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertEqual( + response.http_request.headers['User-Agent'], + "azsdk-python-storage-table/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform())) + + tables = list(service.list_tables(raw_response_hook=callback)) + self.assertIsInstance(tables, list) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_user_agent_custom_async(self, resource_group, location, cosmos_account, cosmos_account_key): + custom_app = "TestApp/v1.0" + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, user_agent=custom_app) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertIn( + "TestApp/v1.0 azsdk-python-storage-table/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform()), + response.http_request.headers['User-Agent'] + ) + + tables = list(service.list_tables(raw_response_hook=callback)) + self.assertIsInstance(tables, list) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertIn( + "TestApp/v2.0 TestApp/v1.0 azsdk-python-storage-table/{} Python/{} ({})".format( + VERSION, + platform.python_version(), + platform.platform()), + response.http_request.headers['User-Agent'] + ) + + tables = list(service.list_tables(raw_response_hook=callback, user_agent="TestApp/v2.0")) + self.assertIsInstance(tables, list) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_user_agent_append(self, resource_group, location, cosmos_account, cosmos_account_key): + # TODO: fix this one + service = TableServiceClient(self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key) + + def callback(response): + self.assertTrue('User-Agent' in response.http_request.headers) + self.assertEqual( + response.http_request.headers['User-Agent'], + "azsdk-python-storage-tables/{} Python/{} ({}) customer_user_agent".format( + VERSION, + platform.python_version(), + platform.platform()) + ) + + custom_headers = {'User-Agent': 'customer_user_agent'} + tables = service.list_tables(raw_response_hook=callback, headers=custom_headers) + + @pytest.mark.skip("kierans theory") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_table_client_with_complete_table_url_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_url = self.account_url(cosmos_account, "cosmos") + "/foo" + service = TableClient(table_url, table_name='bar', credential=cosmos_account_key) + + # Assert + self.assertEqual(service.scheme, 'https') + self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, cosmos_account.name) + + @pytest.mark.skip("cosmos differential") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_table_client_with_complete_url_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_url = "https://{}.table.cosmos.azure.com:443/foo".format(cosmos_account.name) + service = TableClient(table_url, table_name='bar', credential=cosmos_account_key) + + # Assert + self.assertEqual(service.scheme, 'https') + self.assertEqual(service.table_name, 'bar') + self.assertEqual(service.account_name, cosmos_account.name) + + @pytest.mark.skip("kierans theory") + async def test_create_table_client_with_invalid_name_async(self): + # Arrange + table_url = "https://{}.table.cosmos.azure.com:443/foo".format("cosmos_account_name") + invalid_table_name = "my_table" + + # Assert + with self.assertRaises(ValueError) as excinfo: + service = TableClient(account_url=table_url, table_name=invalid_table_name, credential="cosmos_account_key") + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str(excinfo) + + async def test_error_with_malformed_conn_str_async(self): + # Arrange + + for conn_str in ["", "foobar", "foobar=baz=foo", "foo;bar;baz", "foo=;bar=;", "=", ";", "=;=="]: + for service_type in SERVICES.items(): + # Act + with self.assertRaises(ValueError) as e: + service = service_type[0].from_connection_string(conn_str, table_name="test") + + if conn_str in("", "foobar", "foo;bar;baz", ";"): + self.assertEqual( + str(e.exception), "Connection string is either blank or malformed.") + elif conn_str in ("foobar=baz=foo" , "foo=;bar=;", "=", "=;=="): + self.assertEqual( + str(e.exception), "Connection string missing required connection details.") + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_closing_pipeline_client_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='table') + + # Assert + async with service: + assert hasattr(service, 'close') + await service.close() + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_closing_pipeline_client_simple_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + for client, url in SERVICES.items(): + # Act + service = client( + self.account_url(cosmos_account, "cosmos"), credential=cosmos_account_key, table_name='table') + await service.close() +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py new file mode 100644 index 000000000000..c6438676f112 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py @@ -0,0 +1,549 @@ +# 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. +# -------------------------------------------------------------------------- +import pytest +import sys +import locale +import os +from time import sleep + +from azure.data.tables import TableServiceClient +from datetime import ( + datetime, + timedelta, +) + +from azure.data.tables import ( + ResourceTypes, + AccountSasPermissions, + TableSasPermissions, + CorsRule, + RetentionPolicy, + UpdateMode, + AccessPolicy, + TableAnalyticsLogging, + Metrics +) +from azure.core.pipeline import Pipeline +from azure.core.pipeline.policies import ( + HeadersPolicy, + ContentDecodePolicy, +) + +from _shared.testcase import ( + TableTestCase, + GlobalStorageAccountPreparer, + RERUNS_DELAY, + SLEEP_DELAY +) +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer +from azure.data.tables._authentication import SharedKeyCredentialPolicy +from azure.data.tables._table_shared_access_signature import generate_account_sas +from azure.core.pipeline.transport import RequestsTransport +from azure.core.exceptions import ( + HttpResponseError, + ResourceNotFoundError, + ResourceExistsError +) + +from devtools_testutils import CachedResourceGroupPreparer + +# ------------------------------------------------------------------------------ +TEST_TABLE_PREFIX = 'pytablesync' +# ------------------------------------------------------------------------------ + +def _create_pipeline(account, credential, **kwargs): + # type: (Any, **Any) -> Tuple[Configuration, Pipeline] + credential_policy = SharedKeyCredentialPolicy(account_name=account.name, account_key=credential) + transport = RequestsTransport(**kwargs) + policies = [ + HeadersPolicy(), + credential_policy, + ContentDecodePolicy(response_encoding="utf-8")] + return Pipeline(transport, policies=policies) + + +class StorageTableTest(TableTestCase): + + # --Helpers----------------------------------------------------------------- + def _get_table_reference(self, prefix=TEST_TABLE_PREFIX): + table_name = self.get_resource_name(prefix) + return table_name + + def _create_table(self, ts, prefix=TEST_TABLE_PREFIX, table_list=None): + table_name = self._get_table_reference(prefix) + try: + table = ts.create_table(table_name) + if table_list is not None: + table_list.append(table) + except ResourceExistsError: + table = ts.get_table_client(table_name) + return table + + def _delete_table(self, ts, table): + if table is None: + return + try: + ts.delete_table(table.table_name) + except ResourceNotFoundError: + pass + + + # --Test cases for tables -------------------------------------------------- + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_properties(self, resource_group, location, cosmos_account, cosmos_account_key): + # # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + # Act + created = ts.create_table(table_name) + + # Assert + assert created.table_name == table_name + + properties = ts.get_service_properties() + ts.set_service_properties(analytics_logging=TableAnalyticsLogging(write=True)) + + p = ts.get_service_properties() + + ts.set_service_properties(minute_metrics= Metrics(enabled=True, include_apis=True, + retention_policy=RetentionPolicy(enabled=True, days=5))) + + ps = ts.get_service_properties() + ts.delete_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_table(self, resource_group, location, cosmos_account, cosmos_account_key): + # # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + + table_name = self._get_table_reference() + + # Act + created = ts.create_table(table_name) + + # Assert + assert created.table_name == table_name + ts.delete_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_table_fail_on_exist(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + + # Act + created = ts.create_table(table_name) + with self.assertRaises(ResourceExistsError): + ts.create_table(table_name) + + # Assert + self.assertTrue(created) + ts.delete_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_create_table_invalid_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + invalid_table_name = "my_table" + + with pytest.raises(ValueError) as excinfo: + ts.create_table(table_name=invalid_table_name) + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_table_invalid_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + invalid_table_name = "my_table" + + with pytest.raises(ValueError) as excinfo: + ts.create_table(invalid_table_name) + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_tables(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = self._create_table(ts) + + # Act + tables = list(ts.list_tables()) + + # Assert + self.assertIsNotNone(tables) + self.assertGreaterEqual(len(tables), 1) + self.assertIsNotNone(tables[0]) + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_tables_with_filter(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = self._create_table(ts) + + # Act + name_filter = "TableName eq '{}'".format(table.table_name) + tables = list(ts.query_tables(filter=name_filter)) + + # Assert + self.assertIsNotNone(tables) + self.assertEqual(len(tables), 1) + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_tables_with_num_results(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + prefix = 'listtable' + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_list = [] + for i in range(0, 4): + self._create_table(ts, prefix + str(i), table_list) + + # Act + small_page = [] + big_page = [] + for s in next(ts.list_tables(results_per_page=3).by_page()): + small_page.append(s) + for t in next(ts.list_tables().by_page()): + big_page.append(t) + + # Assert + self.assertEqual(len(small_page), 3) + self.assertGreaterEqual(len(big_page), 4) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_tables_with_marker(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + prefix = 'listtable' + table_names = [] + for i in range(0, 4): + self._create_table(ts, prefix + str(i), table_names) + + # table_names.sort() + + # Act + generator1 = ts.list_tables(results_per_page=2).by_page() + next(generator1) + generator2 = ts.list_tables(results_per_page=2).by_page( + continuation_token=generator1.continuation_token) + next(generator2) + + tables1 = generator1._current_page + tables2 = generator2._current_page + + # Assert + self.assertEqual(len(tables1), 2) + self.assertEqual(len(tables2), 2) + self.assertNotEqual(tables1, tables2) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_table_with_existing_table(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = self._create_table(ts) + + # Act + deleted = ts.delete_table(table_name=table.table_name) + + # Assert + existing = list(ts.query_tables("TableName eq '{}'".format(table.table_name))) + self.assertEqual(len(existing), 0) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_table_with_non_existing_table_fail_not_exist(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + + # Act + with self.assertRaises(HttpResponseError): + ts.delete_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_unicode_create_table_unicode_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos URLs support unicode table names") + ts = TableServiceClient(url, cosmos_account_key) + table_name = u'啊齄丂狛狜' + + # Act + with self.assertRaises(HttpResponseError): + ts.create_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_table_acl(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = self._create_table(ts) + try: + # Act + acl = table.get_table_access_policy() + + # Assert + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 0) + finally: + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = self._create_table(ts) + try: + # Act + table.set_table_access_policy(signed_identifiers={}) + + # Assert + acl = table.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 0) + finally: + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_table_acl_with_empty_signed_identifier(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = self._create_table(ts) + try: + # Act + table.set_table_access_policy(signed_identifiers={'empty': None}) + # Assert + acl = table.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 1) + self.assertIsNotNone(acl['empty']) + self.assertIsNone(acl['empty'].permission) + self.assertIsNone(acl['empty'].expiry) + self.assertIsNone(acl['empty'].start) + finally: + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_table_acl_with_signed_identifiers(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = self._create_table(ts) + client = ts.get_table_client(table_name=table.table_name) + + # Act + identifiers = dict() + identifiers['testid'] = AccessPolicy(start=datetime.utcnow() - timedelta(minutes=5), + expiry=datetime.utcnow() + timedelta(hours=1), + permission='r') + try: + client.set_table_access_policy(signed_identifiers=identifiers) + # Assert + acl = client.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 1) + self.assertTrue('testid' in acl) + finally: + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_table_acl_too_many_ids(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = self._create_table(ts) + try: + # Act + identifiers = dict() + for i in range(0, 6): + identifiers['id{}'.format(i)] = None + + # Assert + with self.assertRaises(ValueError): + table.set_table_access_policy(table_name=table.table_name, signed_identifiers=identifiers) + finally: + ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_account_sas(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + tsc = TableServiceClient(url, cosmos_account_key) + table = self._create_table(tsc) + try: + entity = { + 'PartitionKey': 'test', + 'RowKey': 'test1', + 'text': 'hello', + } + table.upsert_entity(mode=UpdateMode.MERGE, entity=entity) + + entity['RowKey'] = 'test2' + table.upsert_entity(mode=UpdateMode.MERGE, entity=entity) + + token = generate_account_sas( + cosmos_account.name, + cosmos_account_key, + resource_types=ResourceTypes(object=True), + permission=AccountSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + sas_table = service.get_table_client(table.table_name) + entities = list(sas_table.list_entities()) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0].text, 'hello') + self.assertEqual(entities[1].text, 'hello') + finally: + self._delete_table(table=table, ts=tsc) + + @pytest.mark.skip("msrest fails deserialization: https://github.com/Azure/msrest-for-python/issues/192") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_locale(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = (self._get_table_reference()) + init_locale = locale.getlocale() + if os.name == "nt": + culture = "Spanish_Spain" + elif os.name == 'posix': + culture = 'es_ES.UTF-8' + else: + culture = 'es_ES.utf8' + + locale.setlocale(locale.LC_ALL, culture) + e = None + + # Act + ts.create_table(table) + + resp = ts.list_tables() + + e = sys.exc_info()[0] + + # Assert + self.assertIsNone(e) + + ts.delete_table(table) + locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') + + if self.is_live: + sleep(SLEEP_DELAY) diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py new file mode 100644 index 000000000000..c70563741ebd --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py @@ -0,0 +1,490 @@ +import locale +import os +import sys +from datetime import datetime, timedelta +from time import sleep + +import pytest + +from devtools_testutils import CachedResourceGroupPreparer +from azure.core.exceptions import ResourceNotFoundError, ResourceExistsError, HttpResponseError +from _shared.asynctestcase import AsyncTableTestCase +from _shared.testcase import RERUNS_DELAY, SLEEP_DELAY +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from azure.data.tables import AccessPolicy, TableSasPermissions, ResourceTypes, AccountSasPermissions +from azure.data.tables.aio import TableServiceClient +from azure.data.tables._generated.models import QueryOptions +from azure.data.tables._table_shared_access_signature import generate_account_sas + +TEST_TABLE_PREFIX = 'pytableasync' + + +# ------------------------------------------------------------------------------ + +class TableTestAsync(AsyncTableTestCase): + # --Helpers----------------------------------------------------------------- + def _get_table_reference(self, prefix=TEST_TABLE_PREFIX): + table_name = self.get_resource_name(prefix) + return table_name + + async def _create_table(self, ts, prefix=TEST_TABLE_PREFIX, table_list=None): + table_name = self._get_table_reference(prefix) + try: + table = await ts.create_table(table_name) + if table_list is not None: + table_list.append(table) + except ResourceExistsError: + table = ts.get_table_client(table_name) + return table + + async def _delete_table(self, ts, table): + if table is None: + return + try: + await ts.delete_table(table.table_name) + except ResourceNotFoundError: + pass + + # --Test cases for tables -------------------------------------------------- + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_table(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + + # Act + created = await ts.create_table(table_name=table_name) + + # Assert + assert created.table_name == table_name + + await ts.delete_table(table_name=table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_table_fail_on_exist(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + + # Act + created = await ts.create_table(table_name=table_name) + with self.assertRaises(ResourceExistsError): + await ts.create_table(table_name=table_name) + + # Assert + self.assertTrue(created) + await ts.delete_table(table_name=table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_create_table_invalid_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + invalid_table_name = "my_table" + + with pytest.raises(ValueError) as excinfo: + await ts.create_table(table_name=invalid_table_name) + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_table_invalid_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + invalid_table_name = "my_table" + + with pytest.raises(ValueError) as excinfo: + await ts.create_table(invalid_table_name) + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_list_tables(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = await self._create_table(ts) + + # Act + tables = [] + async for t in ts.list_tables(): + tables.append(t) + + # Assert + self.assertIsNotNone(tables) + self.assertGreaterEqual(len(tables), 1) + self.assertIsNotNone(tables[0]) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_tables_with_filter(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = await self._create_table(ts) + + # Act + name_filter = "TableName eq '{}'".format(table.table_name) + tables = [] + async for t in ts.query_tables(filter=name_filter): + tables.append(t) + + # Assert + self.assertIsNotNone(tables) + self.assertEqual(len(tables), 1) + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("small page and large page issues") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_list_tables_with_num_results(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + prefix = 'listtable' + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_list = [] + for i in range(0, 4): + await self._create_table(ts, prefix + str(i), table_list) + + # Act + big_page = [] + async for t in ts.list_tables(): + big_page.append(t) + + small_page = [] + async for s in ts.list_tables(results_per_page=3).by_page(): + small_page.append(s) + + self.assertEqual(len(small_page), 2) + self.assertGreaterEqual(len(big_page), 4) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_list_tables_with_marker(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + prefix = 'listtable' + table_names = [] + for i in range(0, 4): + await self._create_table(ts, prefix + str(i), table_names) + + # table_names.sort() + + # Act + generator1 = ts.list_tables(query_options=QueryOptions(top=2)).by_page() + tables1 = [] + async for el in await generator1: + tables1.append(el) + generator2 = ts.list_tables(query_options=QueryOptions(top=2)).by_page( + continuation_token=generator1.continuation_token) + tables2 = [] + async for el in await generator2: + tables2.append(el) + + # Assert + self.assertEqual(len(tables1), 2) + self.assertEqual(len(tables2), 2) + self.assertNotEqual(tables1, tables2) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_table_with_existing_table(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = await self._create_table(ts) + + # Act + # deleted = table.delete_table() + deleted = await ts.delete_table(table_name=table.table_name) + + # Assert + self.assertIsNone(deleted) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_table_with_non_existing_table_fail_not_exist(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table_name = self._get_table_reference() + + # Act + with self.assertRaises(ResourceNotFoundError): + await ts.delete_table(table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_unicode_create_table_unicode_name(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos URLs support unicode table names") + ts = TableServiceClient(url, cosmos_account_key) + table_name = u'啊齄丂狛狜' + + # Act + # with self.assertRaises(HttpResponseError): + + with pytest.raises(ValueError) as excinfo: + await ts.create_table(table_name=table_name) + + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_table_acl(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = await self._create_table(ts) + try: + # Act + acl = await table.get_table_access_policy() + + # Assert + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 0) + finally: + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_table_acl_with_empty_signed_identifiers(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = await self._create_table(ts) + try: + # Act + await table.set_table_access_policy(signed_identifiers={}) + + # Assert + acl = await table.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 0) + finally: + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_table_acl_with_empty_signed_identifier(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = await self._create_table(ts) + try: + # Act + await table.set_table_access_policy(signed_identifiers={'empty': None}) + # Assert + acl = await table.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 1) + self.assertIsNotNone(acl['empty']) + self.assertIsNone(acl['empty'].permission) + self.assertIsNone(acl['empty'].expiry) + self.assertIsNone(acl['empty'].start) + finally: + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_table_acl_with_signed_identifiers(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = await self._create_table(ts) + client = ts.get_table_client(table_name=table.table_name) + + # Act + identifiers = dict() + identifiers['testid'] = AccessPolicy(start=datetime.utcnow() - timedelta(minutes=5), + expiry=datetime.utcnow() + timedelta(hours=1), + permission=TableSasPermissions(read=True)) + try: + await client.set_table_access_policy(signed_identifiers=identifiers) + + # Assert + acl = await client.get_table_access_policy() + self.assertIsNotNone(acl) + self.assertEqual(len(acl), 1) + self.assertTrue('testid' in acl) + finally: + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_table_acl_too_many_ids(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos endpoint does not support this") + ts = TableServiceClient(url, cosmos_account_key) + table = await self._create_table(ts) + try: + # Act + identifiers = dict() + for i in range(0, 6): + identifiers['id{}'.format(i)] = None + + # Assert + with self.assertRaises(ValueError): + await table.set_table_access_policy(table_name=table.table_name, signed_identifiers=identifiers) + finally: + await ts.delete_table(table.table_name) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_account_sas(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + tsc = TableServiceClient(url, cosmos_account_key) + table = await self._create_table(tsc) + try: + entity = { + 'PartitionKey': 'test', + 'RowKey': 'test1', + 'text': 'hello', + } + await table.upsert_insert_merge_entity(table_entity_properties=entity) + + entity['RowKey'] = 'test2' + await table.upsert_insert_merge_entity(table_entity_properties=entity) + + token = generate_account_sas( + cosmos_account.name, + cosmos_account_key, + resource_types=ResourceTypes(container=True), + permission=AccountSasPermissions(list=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + entities = [] + async for e in service.list_tables(): + entities.append(e) + + # Assert + self.assertEqual(len(entities), 1) + # self.assertEqual(entities[0].text, 'hello') + # self.assertEqual(entities[1].text, 'hello') + finally: + await self._delete_table(table=table, ts=tsc) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("msrest fails deserialization: https://github.com/Azure/msrest-for-python/issues/192") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_locale(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + table = (self._get_table_reference()) + init_locale = locale.getlocale() + if os.name == "nt": + culture = "Spanish_Spain" + elif os.name == 'posix': + culture = 'es_ES.UTF-8' + else: + culture = 'es_ES.utf8' + + locale.setlocale(locale.LC_ALL, culture) + e = None + + # Act + await ts.create_table(table) + + resp = ts.list_tables() + + e = sys.exc_info()[0] + + # Assert + self.assertIsNone(e) + + await ts.delete_table(table) + locale.setlocale(locale.LC_ALL, init_locale[0] or 'en_US') + + if self.is_live: + sleep(SLEEP_DELAY) diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity.py b/sdk/tables/azure-data-tables/tests/test_table_entity.py index 9b47fa85e692..3a7bf90ed417 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity.py @@ -30,18 +30,39 @@ from azure.data.tables._entity import TableEntity, EntityProperty, EdmType from azure.data.tables._models import TableSasPermissions, AccessPolicy, UpdateMode -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase, LogCaptured +from _shared.testcase import ( + GlobalStorageAccountPreparer, + TableTestCase, + LogCaptured +) +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer -# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ +SERVICE_CLIENT_ENDPOINTS = [ + # 'table', + 'cosmos', +] +# { +# TableServiceClient: 'table', +# # TableClient: 'table', +# TableServiceClient: 'cosmos', +# # TableClient: 'cosmos', +# } # ------------------------------------------------------------------------------ class StorageTableEntityTest(TableTestCase): - def _set_up(self, storage_account, storage_account_key): - self.ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) + def _set_up(self, storage_account, storage_account_key, url='table'): self.table_name = self.get_resource_name('uttable') + self.ts = TableServiceClient( + self.account_url(storage_account, url), + credential=storage_account_key, + table_name = self.table_name + ) + # self.ts = TableServiceClient(self.account_url(storage_account, url), storage_account_key) + # self.table_name = self.get_resource_name('uttable') self.table = self.ts.get_table_client(self.table_name) if self.is_live: try: @@ -58,11 +79,14 @@ def _tear_down(self): except: pass - for table_name in self.query_tables: - try: - self.ts.delete_table(table_name) - except: - pass + try: + for table_name in self.query_tables: + try: + self.ts.delete_table(table_name) + except: + pass + except AttributeError: + pass # --Helpers----------------------------------------------------------------- @@ -137,9 +161,7 @@ def _create_random_entity_dict(self, pk=None, rk=None): def _insert_random_entity(self, pk=None, rk=None): entity = self._create_random_entity_dict(pk, rk) - # etag = self.table.create_item(entity, response_hook=lambda e, h: h['etag']) metadata = self.table.create_entity(entity) - # metadata = e.metadata() return entity, metadata['etag'] def _create_updated_entity_dict(self, partition, row): @@ -184,8 +206,6 @@ def _assert_default_entity(self, entity, headers=None): # if headers: # self.assertTrue("etag" in headers) - # self.assertIsNotNone(headers['etag']) - def _assert_default_entity_json_full_metadata(self, entity, headers=None): ''' Asserts that the entity passed in matches the default entity. @@ -212,12 +232,6 @@ def _assert_default_entity_json_full_metadata(self, entity, headers=None): # self.assertTrue('etag' in entity.odata) # self.assertTrue('editLink' in entity.odata) - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) - # if headers: - # self.assertTrue("etag" in headers) - # self.assertIsNotNone(headers['etag']) - def _assert_default_entity_json_no_metadata(self, entity, headers=None): ''' Asserts that the entity passed in matches the default entity. @@ -243,11 +257,6 @@ def _assert_default_entity_json_no_metadata(self, entity, headers=None): # self.assertIsNone(entity.odata) # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) - # if headers: - # self.assertTrue("etag" in headers) - # self.assertIsNotNone(headers['etag']) - def _assert_updated_entity(self, entity): ''' Asserts that the entity passed in matches the updated entity. @@ -262,14 +271,9 @@ def _assert_updated_entity(self, entity): self.assertFalse(hasattr(entity, "evenratio")) self.assertFalse(hasattr(entity, "large")) self.assertFalse(hasattr(entity, "Birthday")) - # self.assertEqual(entity.birthday, "1991-10-04 00:00:00+00:00") self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) self.assertFalse(hasattr(entity, "other")) self.assertFalse(hasattr(entity, "clsid")) - # self.assertIsNotNone(entity.odata.etag) - - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.timestamp, datetime) def _assert_merged_entity(self, entity): ''' @@ -292,10 +296,6 @@ def _assert_merged_entity(self, entity): self.assertEqual(entity.other.value, 20) self.assertIsInstance(entity.clsid, uuid.UUID) self.assertEqual(str(entity.clsid), 'c9da6455-213d-42c9-9a79-3e9149a57833') - # self.assertIsNotNone(entity.etag) - # self.assertIsNotNone(entity.odata['etag']) - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) def _assert_valid_metadata(self, metadata): keys = metadata.keys() @@ -305,21 +305,27 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_etag(self, resource_group, location, storage_account, storage_account_key): - self._set_up(storage_account, storage_account_key) - entity, _ = self._insert_random_entity() + self._set_up(storage_account, storage_account_key) + try: - entity1 = self.table.get_entity(row_key=entity.RowKey, partition_key=entity.PartitionKey) + entity, _ = self._insert_random_entity() - with self.assertRaises(AttributeError): - etag = entity1.etag + entity1 = self.table.get_entity(row_key=entity.RowKey, partition_key=entity.PartitionKey) + with self.assertRaises(AttributeError): + etag = entity1.etag - self.assertIsNotNone(entity1.metadata()) + self.assertIsNotNone(entity1.metadata()) + finally: + self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_user_filter(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -335,7 +341,9 @@ def test_query_user_filter(self, resource_group, location, storage_account, stor finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_dictionary(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -351,7 +359,9 @@ def test_insert_entity_dictionary(self, resource_group, location, storage_accoun finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_hook(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -371,7 +381,9 @@ def test_insert_entity_with_hook(self, resource_group, location, storage_account finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -396,7 +408,9 @@ def test_insert_entity_with_no_metadata(self, resource_group, location, storage_ finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -421,7 +435,9 @@ def test_insert_entity_with_full_metadata(self, resource_group, location, storag finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_conflict(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -436,7 +452,9 @@ def test_insert_entity_conflict(self, resource_group, location, storage_account, finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_large_int32_value_throws(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -456,7 +474,9 @@ def test_insert_entity_with_large_int32_value_throws(self, resource_group, locat finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_large_int64_value_throws(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -476,7 +496,9 @@ def test_insert_entity_with_large_int64_value_throws(self, resource_group, locat finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_missing_pk(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -491,7 +513,9 @@ def test_insert_entity_missing_pk(self, resource_group, location, storage_accoun finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_empty_string_pk(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -509,7 +533,9 @@ def test_insert_entity_empty_string_pk(self, resource_group, location, storage_a finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_missing_rk(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -523,7 +549,9 @@ def test_insert_entity_missing_rk(self, resource_group, location, storage_accoun finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_empty_string_rk(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -541,7 +569,9 @@ def test_insert_entity_empty_string_rk(self, resource_group, location, storage_a finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_too_many_properties(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -560,7 +590,9 @@ def test_insert_entity_too_many_properties(self, resource_group, location, stora finally: self._tear_down() - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_property_name_too_long(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -578,7 +610,8 @@ def test_insert_entity_property_name_too_long(self, resource_group, location, st finally: self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_entity_with_enums(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -609,7 +642,8 @@ class Color(Enum): self._tear_down() # @pytest.mark.skip("pending") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -627,8 +661,9 @@ def test_get_entity(self, resource_group, location, storage_account, storage_acc finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_with_hook(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -650,8 +685,9 @@ def test_get_entity_with_hook(self, resource_group, location, storage_account, s finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_if_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -679,162 +715,9 @@ def test_get_entity_if_match(self, resource_group, location, storage_account, st finally: self._tear_down() - - @GlobalStorageAccountPreparer() - def test_get_entity_if_match_wrong_etag(self, resource_group, location, storage_account, storage_account_key): - # Arrange - self._set_up(storage_account, storage_account_key) - try: - table = self.ts.create_table("testtable") - entity = { - "PartitionKey": u"PartitionKey", - "RowKey": u"RowKey", - "Value": 1 - } - - response = table.create_entity(entity=entity) - old_etag = response["etag"] - - entity["Value"] = 2 - response = table.update_entity(entity=entity) - - with self.assertRaises(HttpResponseError): - table.delete_entity( - partition_key=entity['PartitionKey'], - row_key=entity['RowKey'], - etag=old_etag, - match_condition=MatchConditions.IfNotModified - ) - - finally: - self._tear_down() - - - @GlobalStorageAccountPreparer() - def test_get_entity_if_match_modified(self, resource_group, location, storage_account, storage_account_key): - # Arrange - self._set_up(storage_account, storage_account_key) - try: - entity, etag = self._insert_random_entity() - self._create_query_table(1) - - # Act - # Do a get and confirm the etag is parsed correctly by using it - # as a condition to delete. - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # This is ignoring the match_condition param and will delete the entity - self.table.delete_entity( - partition_key=resp['PartitionKey'], - row_key=resp['RowKey'], - etag=etag, - match_condition=MatchConditions.IfModified - ) - - with self.assertRaises(ResourceNotFoundError): - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # Assert - finally: - self._tear_down() - - - @GlobalStorageAccountPreparer() - def test_get_entity_if_match_unconditionally(self, resource_group, location, storage_account, storage_account_key): - # Arrange - self._set_up(storage_account, storage_account_key) - try: - entity, etag = self._insert_random_entity() - self._create_query_table(1) - - # Act - # Do a get and confirm the etag is parsed correctly by using it - # as a condition to delete. - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # This is ignoring the match_condition param and will delete the entity - self.table.delete_entity( - partition_key=resp['PartitionKey'], - row_key=resp['RowKey'], - etag='abcdef', - match_condition=MatchConditions.Unconditionally - ) - - with self.assertRaises(ResourceNotFoundError): - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # Assert - finally: - self._tear_down() - - - @GlobalStorageAccountPreparer() - def test_get_entity_if_match_present(self, resource_group, location, storage_account, storage_account_key): - # Arrange - self._set_up(storage_account, storage_account_key) - try: - entity, etag = self._insert_random_entity() - self._create_query_table(1) - - # Act - # Do a get and confirm the etag is parsed correctly by using it - # as a condition to delete. - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # This is ignoring the match_condition param and will delete the entity - self.table.delete_entity( - partition_key=resp['PartitionKey'], - row_key=resp['RowKey'], - etag='abcdef', - match_condition=MatchConditions.IfPresent - ) - - with self.assertRaises(ResourceNotFoundError): - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # Assert - finally: - self._tear_down() - - - @GlobalStorageAccountPreparer() - def test_get_entity_if_match_missing(self, resource_group, location, storage_account, storage_account_key): - # Arrange - self._set_up(storage_account, storage_account_key) - try: - entity, etag = self._insert_random_entity() - self._create_query_table(1) - - # Act - # Do a get and confirm the etag is parsed correctly by using it - # as a condition to delete. - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # This is ignoring the match_condition param and will delete the entity - self.table.delete_entity( - partition_key=resp['PartitionKey'], - row_key=resp['RowKey'], - etag='abcdef', - match_condition=MatchConditions.IfMissing - ) - - with self.assertRaises(ResourceNotFoundError): - resp = self.table.get_entity(partition_key=entity['PartitionKey'], - row_key=entity['RowKey']) - - # Assert - finally: - self._tear_down() - - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -854,8 +737,9 @@ def test_get_entity_full_metadata(self, resource_group, location, storage_accoun finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -875,8 +759,9 @@ def test_get_entity_no_metadata(self, resource_group, location, storage_account, finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -892,8 +777,9 @@ def test_get_entity_not_existing(self, resource_group, location, storage_account finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_get_entity_with_special_doubles(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -917,8 +803,9 @@ def test_get_entity_with_special_doubles(self, resource_group, location, storage finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_update_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -943,8 +830,9 @@ def test_update_entity(self, resource_group, location, storage_account, storage_ finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_update_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -960,8 +848,9 @@ def test_update_entity_not_existing(self, resource_group, location, storage_acco finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_update_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -982,29 +871,29 @@ def test_update_entity_with_if_matches(self, resource_group, location, storage_a finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_update_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) try: entity, _ = self._insert_random_entity() - # Act sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) with self.assertRaises(HttpResponseError): self.table.update_entity( - mode=UpdateMode.MERGE, + mode=UpdateMode.REPLACE, entity=sent_entity, etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', match_condition=MatchConditions.IfNotModified) - # Assert finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1023,8 +912,9 @@ def test_insert_or_merge_entity_with_existing_entity(self, resource_group, locat finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1044,8 +934,9 @@ def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, l finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1064,8 +955,9 @@ def test_insert_or_replace_entity_with_existing_entity(self, resource_group, loc finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1085,8 +977,9 @@ def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_merge_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1104,8 +997,9 @@ def test_merge_entity(self, resource_group, location, storage_account, storage_a finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_merge_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1121,8 +1015,9 @@ def test_merge_entity_not_existing(self, resource_group, location, storage_accou finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1144,8 +1039,9 @@ def test_merge_entity_with_if_matches(self, resource_group, location, storage_ac finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1164,8 +1060,9 @@ def test_merge_entity_with_if_doesnt_match(self, resource_group, location, stora finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1182,8 +1079,9 @@ def test_delete_entity(self, resource_group, location, storage_account, storage_ finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1198,8 +1096,9 @@ def test_delete_entity_not_existing(self, resource_group, location, storage_acco finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1217,8 +1116,9 @@ def test_delete_entity_with_if_matches(self, resource_group, location, storage_a finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_delete_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1236,8 +1136,9 @@ def test_delete_entity_with_if_doesnt_match(self, resource_group, location, stor finally: self._tear_down() - @pytest.mark.skipif(msrest.__version__ < "0.6.19", reason="msrest version must be 0.6.19") - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_unicode_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1261,8 +1162,9 @@ def test_unicode_property_value(self, resource_group, location, storage_account, finally: self._tear_down() - @pytest.mark.skipif(msrest.__version__ < "0.6.19", reason="msrest version must be 0.6.19") - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_unicode_property_name(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1286,8 +1188,9 @@ def test_unicode_property_name(self, resource_group, location, storage_account, finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_operations_on_entity_with_partition_key_having_single_quote(self, resource_group, location, storage_account, storage_account_key): @@ -1326,8 +1229,9 @@ def test_operations_on_entity_with_partition_key_having_single_quote(self, resou finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_empty_and_spaces_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1365,8 +1269,9 @@ def test_empty_and_spaces_property_value(self, resource_group, location, storage finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_none_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1384,8 +1289,9 @@ def test_none_property_value(self, resource_group, location, storage_account, st finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_binary_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1404,8 +1310,9 @@ def test_binary_property_value(self, resource_group, location, storage_account, finally: self._tear_down() - @pytest.mark.skip("timezones are three hours off") - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_timezone(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1427,8 +1334,9 @@ def test_timezone(self, resource_group, location, storage_account, storage_accou finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1445,8 +1353,9 @@ def test_query_entities(self, resource_group, location, storage_account, storage finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_zero_entities(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1461,8 +1370,9 @@ def test_query_zero_entities(self, resource_group, location, storage_account, st finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1479,8 +1389,9 @@ def test_query_entities_full_metadata(self, resource_group, location, storage_ac finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1499,7 +1410,8 @@ def test_query_entities_no_metadata(self, resource_group, location, storage_acco # TODO: move this over to the batch test file when merged @pytest.mark.skip("Batch not implemented") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_large(self, resource_group, location, storage_account, storage_account_key): # Arrange table_name = self._create_query_table(0) @@ -1531,8 +1443,9 @@ def test_query_entities_large(self, resource_group, location, storage_account, s # if it runs slowly, it will return fewer results and make the test fail self.assertEqual(len(entities), total_entities_count) - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_with_filter(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1550,8 +1463,9 @@ def test_query_entities_with_filter(self, resource_group, location, storage_acco finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_with_select(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1571,8 +1485,9 @@ def test_query_entities_with_select(self, resource_group, location, storage_acco finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_with_top(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1587,8 +1502,9 @@ def test_query_entities_with_top(self, resource_group, location, storage_account finally: self._tear_down() - - @GlobalStorageAccountPreparer() + # @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_with_top_and_next(self, resource_group, location, storage_account, storage_account_key): # Arrange self._set_up(storage_account, storage_account_key) @@ -1623,7 +1539,8 @@ def test_query_entities_with_top_and_next(self, resource_group, location, storag @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_query(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1660,7 +1577,8 @@ def test_sas_query(self, resource_group, location, storage_account, storage_acco @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_add(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1697,7 +1615,8 @@ def test_sas_add(self, resource_group, location, storage_account, storage_accoun @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_add_inside_range(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1733,7 +1652,8 @@ def test_sas_add_inside_range(self, resource_group, location, storage_account, s @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_add_outside_range(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1768,7 +1688,8 @@ def test_sas_add_outside_range(self, resource_group, location, storage_account, @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_update(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1804,7 +1725,8 @@ def test_sas_update(self, resource_group, location, storage_account, storage_acc @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_delete(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1838,7 +1760,8 @@ def test_sas_delete(self, resource_group, location, storage_account, storage_acc @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_upper_case_table_name(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1874,9 +1797,10 @@ def test_sas_upper_case_table_name(self, resource_group, location, storage_accou finally: self._tear_down() - + @pytest.mark.skip("pending") @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_sas_signed_identifier(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_async.py b/sdk/tables/azure-data-tables/tests/test_table_entity_async.py index 3b21c13bf100..a682d43d93e5 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_async.py @@ -28,18 +28,16 @@ from azure.data.tables._entity import TableEntity, EntityProperty, EdmType from azure.data.tables import TableSasPermissions, AccessPolicy, UpdateMode - -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase, LogCaptured - - -# ------------------------------------------------------------------------------ +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer +from _shared.testcase import TableTestCase, LogCaptured # ------------------------------------------------------------------------------ class StorageTableEntityTest(TableTestCase): async def _set_up(self, storage_account, storage_account_key): - self.ts = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) + account_url = self.account_url(storage_account, "table") + self.ts = TableServiceClient(account_url, storage_account_key) self.table_name = self.get_resource_name('uttable') self.table = self.ts.get_table_client(self.table_name) if self.is_live: @@ -124,7 +122,6 @@ def _create_random_entity_dict(self, pk=None, rk=None): async def _insert_random_entity(self, pk=None, rk=None): entity = self._create_random_entity_dict(pk, rk) - # , response_hook=lambda e, h: h['etag'] metadata = await self.table.create_entity(entity=entity) return entity, metadata['etag'] @@ -159,16 +156,11 @@ def _assert_default_entity(self, entity, headers=None): self.assertEqual(entity['large'].value, 933311100) self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) - self.assertEqual(entity['binary'].value, b'binary') # TODO: added the ".value" portion, verify this is correct + self.assertEqual(entity['binary'].value, b'binary') self.assertIsInstance(entity['other'], EntityProperty) self.assertEqual(entity['other'].type, EdmType.INT32) self.assertEqual(entity['other'].value, 20) self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) - # self.assertTrue('metadata' in entity.odata) - - # TODO: these are commented out / nonexistent in sync code, should we have them? - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) if headers: self.assertTrue("etag" in headers) self.assertIsNotNone(headers['etag']) @@ -193,18 +185,6 @@ def _assert_default_entity_json_full_metadata(self, entity, headers=None): self.assertEqual(entity['other'].type, EdmType.INT32) self.assertEqual(entity['other'].value, 20) self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) - # self.assertTrue('metadata' in entity.odata) - # self.assertTrue('id' in entity.odata) - # self.assertTrue('type' in entity.odata) - # self.assertTrue('etag' in entity.odata) - # self.assertTrue('editLink' in entity.odata) - - # TODO: commented out in sync, should we have these? - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) - # if headers: - # self.assertTrue("etag" in headers) - # self.assertIsNotNone(headers['etag']) def _assert_default_entity_json_no_metadata(self, entity, headers=None): ''' @@ -249,14 +229,9 @@ def _assert_updated_entity(self, entity): self.assertFalse(hasattr(entity, "evenratio")) self.assertFalse(hasattr(entity, "large")) self.assertFalse(hasattr(entity, "Birthday")) - # self.assertEqual(entity.birthday, "1991-10-04 00:00:00+00:00") self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) self.assertFalse(hasattr(entity, "other")) self.assertFalse(hasattr(entity, "clsid")) - # TODO: should these all be commented out? - # self.assertIsNotNone(entity.odata.etag) - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.timestamp, datetime) def _assert_merged_entity(self, entity): ''' @@ -278,11 +253,6 @@ def _assert_merged_entity(self, entity): self.assertEqual(entity.other.value, 20) self.assertIsInstance(entity.clsid, uuid.UUID) self.assertEqual(str(entity.clsid), 'c9da6455-213d-42c9-9a79-3e9149a57833') - # TODO: should these all be commented out? - # self.assertIsNotNone(entity.etag) - # self.assertIsNotNone(entity.odata['etag']) - # self.assertIsNotNone(entity.Timestamp) - # self.assertIsInstance(entity.Timestamp, datetime) def _assert_valid_metadata(self, metadata): keys = metadata.keys() @@ -292,7 +262,8 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_dictionary(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -303,11 +274,12 @@ async def test_insert_entity_dictionary(self, resource_group, location, storage_ resp = await self.table.create_entity(entity=entity) # Assert - self._assert_valid_metadata(resp) + self.assertIsNotNone(resp) finally: await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_with_hook(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -326,7 +298,8 @@ async def test_insert_entity_with_hook(self, resource_group, location, storage_a finally: await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_with_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -351,7 +324,8 @@ async def test_insert_entity_with_no_metadata(self, resource_group, location, st finally: await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_with_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -378,7 +352,8 @@ async def test_insert_entity_with_full_metadata(self, resource_group, location, finally: await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_conflict(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -394,7 +369,8 @@ async def test_insert_entity_conflict(self, resource_group, location, storage_ac finally: await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_with_large_int32_value_throws(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -415,7 +391,8 @@ async def test_insert_entity_with_large_int32_value_throws(self, resource_group, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_with_large_int64_value_throws(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -436,7 +413,8 @@ async def test_insert_entity_with_large_int64_value_throws(self, resource_group, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_missing_pk(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -450,7 +428,8 @@ async def test_insert_entity_missing_pk(self, resource_group, location, storage_ await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_empty_string_pk(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -468,7 +447,8 @@ async def test_insert_entity_empty_string_pk(self, resource_group, location, sto await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_missing_rk(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -484,7 +464,8 @@ async def test_insert_entity_missing_rk(self, resource_group, location, storage_ await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_empty_string_rk(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -505,7 +486,8 @@ async def test_insert_entity_empty_string_rk(self, resource_group, location, sto await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_too_many_properties(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -525,7 +507,8 @@ async def test_insert_entity_too_many_properties(self, resource_group, location, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_entity_property_name_too_long(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -545,7 +528,8 @@ async def test_insert_entity_property_name_too_long(self, resource_group, locati await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -564,7 +548,8 @@ async def test_get_entity(self, resource_group, location, storage_account, stora await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_with_hook(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -587,7 +572,8 @@ async def test_get_entity_with_hook(self, resource_group, location, storage_acco await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_if_match(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -612,7 +598,8 @@ async def test_get_entity_if_match(self, resource_group, location, storage_accou await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -633,7 +620,8 @@ async def test_get_entity_full_metadata(self, resource_group, location, storage_ await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -654,7 +642,8 @@ async def test_get_entity_no_metadata(self, resource_group, location, storage_ac await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -671,7 +660,8 @@ async def test_get_entity_not_existing(self, resource_group, location, storage_a await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_get_entity_with_special_doubles(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -697,7 +687,8 @@ async def test_get_entity_with_special_doubles(self, resource_group, location, s await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_update_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -722,7 +713,8 @@ async def test_update_entity(self, resource_group, location, storage_account, st await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_update_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -739,7 +731,8 @@ async def test_update_entity_not_existing(self, resource_group, location, storag await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_update_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -762,7 +755,8 @@ async def test_update_entity_with_if_matches(self, resource_group, location, sto await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_update_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -784,7 +778,8 @@ async def test_update_entity_with_if_doesnt_match(self, resource_group, location await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -805,7 +800,8 @@ async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -826,7 +822,8 @@ async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_gr await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -847,7 +844,8 @@ async def test_insert_or_replace_entity_with_existing_entity(self, resource_grou await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -868,7 +866,8 @@ async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_ await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_merge_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -888,7 +887,8 @@ async def test_merge_entity(self, resource_group, location, storage_account, sto await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_merge_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -905,7 +905,8 @@ async def test_merge_entity_not_existing(self, resource_group, location, storage await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -927,7 +928,8 @@ async def test_merge_entity_with_if_matches(self, resource_group, location, stor await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -948,7 +950,8 @@ async def test_merge_entity_with_if_doesnt_match(self, resource_group, location, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_entity(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -966,7 +969,8 @@ async def test_delete_entity(self, resource_group, location, storage_account, st await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_entity_not_existing(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -982,7 +986,8 @@ async def test_delete_entity_not_existing(self, resource_group, location, storag await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_entity_with_if_matches(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1001,7 +1006,8 @@ async def test_delete_entity_with_if_matches(self, resource_group, location, sto await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_delete_entity_with_if_doesnt_match(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1021,7 +1027,8 @@ async def test_delete_entity_with_if_doesnt_match(self, resource_group, location await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_unicode_property_value(self, resource_group, location, storage_account, storage_account_key): ''' regression test for github issue #57''' # Arrange @@ -1049,7 +1056,8 @@ async def test_unicode_property_value(self, resource_group, location, storage_ac await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_unicode_property_name(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1075,8 +1083,9 @@ async def test_unicode_property_name(self, resource_group, location, storage_acc finally: await self._tear_down() - @pytest.mark.skip("Authentication and conflict error") - @GlobalStorageAccountPreparer() + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_operations_on_entity_with_partition_key_having_single_quote(self, resource_group, location, storage_account, storage_account_key): @@ -1119,7 +1128,8 @@ async def test_operations_on_entity_with_partition_key_having_single_quote(self, await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_empty_and_spaces_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1159,7 +1169,8 @@ async def test_empty_and_spaces_property_value(self, resource_group, location, s await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_none_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1178,7 +1189,8 @@ async def test_none_property_value(self, resource_group, location, storage_accou await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_binary_property_value(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1198,7 +1210,8 @@ async def test_binary_property_value(self, resource_group, location, storage_acc await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_timezone(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1221,7 +1234,8 @@ async def test_timezone(self, resource_group, location, storage_account, storage await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1241,7 +1255,8 @@ async def test_query_entities(self, resource_group, location, storage_account, s await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_zero_entities(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1259,7 +1274,8 @@ async def test_query_zero_entities(self, resource_group, location, storage_accou await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_full_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1279,7 +1295,8 @@ async def test_query_entities_full_metadata(self, resource_group, location, stor await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_no_metadata(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1300,7 +1317,8 @@ async def test_query_entities_no_metadata(self, resource_group, location, storag # TODO: move this over to the batch test file when merged @pytest.mark.skip("Batch not implemented") - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_query_entities_large(self, resource_group, location, storage_account, storage_account_key): # Arrange table_name = self._create_query_table(0) @@ -1328,12 +1346,11 @@ def test_query_entities_large(self, resource_group, location, storage_account, s # Assert print('query_entities took {0} secs.'.format(elapsed_time.total_seconds())) - # azure allocates 5 seconds to execute a query - # if it runs slowly, it will return fewer results and make the test fail self.assertEqual(len(entities), total_entities_count) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_with_filter(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1354,7 +1371,8 @@ async def test_query_entities_with_filter(self, resource_group, location, storag await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_with_select(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1377,7 +1395,8 @@ async def test_query_entities_with_select(self, resource_group, location, storag await self._tear_down() - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_with_top(self, resource_group, location, storage_account, storage_account_key): # Arrange await self._set_up(storage_account, storage_account_key) @@ -1394,8 +1413,8 @@ async def test_query_entities_with_top(self, resource_group, location, storage_a finally: await self._tear_down() - - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_query_entities_with_top_and_next(self, resource_group, location, storage_account, storage_account_key): # Arrange @@ -1433,7 +1452,8 @@ async def test_query_entities_with_top_and_next(self, resource_group, location, @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_query(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1472,7 +1492,8 @@ async def test_sas_query(self, resource_group, location, storage_account, storag @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_add(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1509,7 +1530,8 @@ async def test_sas_add(self, resource_group, location, storage_account, storage_ @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_add_inside_range(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1545,7 +1567,8 @@ async def test_sas_add_inside_range(self, resource_group, location, storage_acco @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_add_outside_range(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1580,7 +1603,8 @@ async def test_sas_add_outside_range(self, resource_group, location, storage_acc @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_update(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1618,7 +1642,8 @@ async def test_sas_update(self, resource_group, location, storage_account, stora @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_delete(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1652,7 +1677,8 @@ async def test_sas_delete(self, resource_group, location, storage_account, stora @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_upper_case_table_name(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") @@ -1691,8 +1717,10 @@ async def test_sas_upper_case_table_name(self, resource_group, location, storage await self._tear_down() + @pytest.mark.skip("pending") @pytest.mark.live_test_only - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_sas_signed_identifier(self, resource_group, location, storage_account, storage_account_key): # SAS URL is calculated from storage key, so this test runs live only url = self.account_url(storage_account, "table") diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py new file mode 100644 index 000000000000..8e9cc1c67e38 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py @@ -0,0 +1,1805 @@ +# 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. +# -------------------------------------------------------------------------- + +import unittest + +import pytest + +import uuid +from base64 import b64encode +from datetime import datetime, timedelta +from dateutil.tz import tzutc, tzoffset +from math import isnan +from time import sleep + +from azure.core import MatchConditions +from azure.core.exceptions import ( + HttpResponseError, + ResourceNotFoundError, + ResourceExistsError) +from azure.data.tables import TableServiceClient, TableClient, generate_table_sas +from azure.data.tables._entity import TableEntity, EntityProperty, EdmType +from azure.data.tables._models import TableSasPermissions, AccessPolicy, UpdateMode + +from _shared.testcase import TableTestCase, LogCaptured, RERUNS_DELAY, SLEEP_DELAY +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer + +# ------------------------------------------------------------------------------ + +class StorageTableEntityTest(TableTestCase): + + def _set_up(self, cosmos_account, cosmos_account_key): + self.ts = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + self.table_name = self.get_resource_name('uttable') + try: + self.table = self.ts.get_table_client(self.table_name) + except: + for table_entity in self.ts.list_tables(): + self.ts.delete_table(table_entity.table_name) + self.table = self.ts.get_table_client(self.table_name) + + if self.is_live: + try: + self.ts.create_table(self.table_name) + except ResourceExistsError: + pass + + self.query_tables = [] + + def _tear_down(self): + if self.is_live: + try: + self.ts.delete_table(self.table_name) + except: + pass + + for table_item in self.ts.list_tables(): + try: + self.ts.delete_table(table_item.table_name) + except: + pass + + # --Helpers----------------------------------------------------------------- + + def _create_query_table(self, entity_count): + """ + Creates a table with the specified name and adds entities with the + default set of values. PartitionKey is set to 'MyPartition' and RowKey + is set to a unique counter value starting at 1 (as a string). + """ + table_name = self.get_resource_name('querytable') + try: + table = self.ts.create_table(table_name) + except ResourceExistsError: + self.ts.delete_table(table_name) + self.ts.create_table(table_name) + self.query_tables.append(table_name) + client = self.ts.get_table_client(table_name) + entity = self._create_random_entity_dict() + for i in range(1, entity_count + 1): + entity['RowKey'] = entity['RowKey'] + str(i) + client.create_entity(entity) + return client + + def _create_random_base_entity_dict(self): + """ + Creates a dict-based entity with only pk and rk. + """ + partition = self.get_resource_name('pk') + row = self.get_resource_name('rk') + return { + 'PartitionKey': partition, + 'RowKey': row, + } + + def _create_random_entity_dict(self, pk=None, rk=None): + """ + Creates a dictionary-based entity with fixed values, using all + of the supported data types. + """ + partition = pk if pk is not None else self.get_resource_name('pk') + row = rk if rk is not None else self.get_resource_name('rk') + properties = { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 39, + 'sex': 'male', + 'married': True, + 'deceased': False, + 'optional': None, + 'ratio': 3.1, + 'evenratio': 3.0, + 'large': 933311100, + 'Birthday': datetime(1973, 10, 4, tzinfo=tzutc()), + 'birthday': datetime(1970, 10, 4, tzinfo=tzutc()), + 'binary': b'binary', + 'other': EntityProperty(value=20, type=EdmType.INT32), + 'clsid': uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833') + } + return TableEntity(**properties) + + def _insert_random_entity(self, pk=None, rk=None): + entity = self._create_random_entity_dict(pk, rk) + metadata = self.table.create_entity(entity) + return entity, metadata['etag'] + + def _create_updated_entity_dict(self, partition, row): + """ + Creates a dictionary-based entity with fixed values, with a + different set of values than the default entity. It + adds fields, changes field values, changes field types, + and removes fields when compared to the default entity. + """ + return { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 'abc', + 'sex': 'female', + 'sign': 'aquarius', + 'birthday': datetime(1991, 10, 4, tzinfo=tzutc()) + } + + def _assert_default_entity(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['binary'].value, b'binary') + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) + # self.assertTrue('metadata' in entity.odata) + # self.assertIsNotNone(entity.metadata['timestamp']) + # self.assertIsInstance(entity.metadata['timestamp'], datetime) + # if headers: + # self.assertTrue("etag" in headers) + + def _assert_default_entity_json_full_metadata(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['binary'].value, b'binary') + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) + # self.assertTrue('metadata' in entity.odata) + # self.assertTrue('id' in entity.odata) + # self.assertTrue('type' in entity.odata) + # self.assertTrue('etag' in entity.odata) + # self.assertTrue('editLink' in entity.odata) + + + def _assert_default_entity_json_no_metadata(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertTrue(entity['Birthday'].value.startswith('1973-10-04T00:00:00')) + self.assertTrue(entity['birthday'].value.startswith('1970-10-04T00:00:00')) + self.assertTrue(entity['Birthday'].value.endswith('00Z')) + self.assertTrue(entity['birthday'].value.endswith('00Z')) + self.assertEqual(entity['binary'].value, b64encode(b'binary').decode('utf-8')) + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'].value, 'c9da6455-213d-42c9-9a79-3e9149a57833') + # self.assertIsNone(entity.odata) + # self.assertIsNotNone(entity.Timestamp) + + def _assert_updated_entity(self, entity): + ''' + Asserts that the entity passed in matches the updated entity. + ''' + self.assertEqual(entity.age.value, 'abc') + self.assertEqual(entity.sex.value, 'female') + self.assertFalse(hasattr(entity, "married")) + self.assertFalse(hasattr(entity, "deceased")) + self.assertEqual(entity.sign.value, 'aquarius') + self.assertFalse(hasattr(entity, "optional")) + self.assertFalse(hasattr(entity, "ratio")) + self.assertFalse(hasattr(entity, "evenratio")) + self.assertFalse(hasattr(entity, "large")) + self.assertFalse(hasattr(entity, "Birthday")) + self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) + self.assertFalse(hasattr(entity, "other")) + self.assertFalse(hasattr(entity, "clsid")) + + def _assert_merged_entity(self, entity): + ''' + Asserts that the entity passed in matches the default entity + merged with the updated entity. + ''' + self.assertEqual(entity.age.value, 'abc') + self.assertEqual(entity.sex.value, 'female') + self.assertEqual(entity.sign.value, 'aquarius') + self.assertEqual(entity.married, True) + self.assertEqual(entity.deceased, False) + self.assertEqual(entity.sign.value, 'aquarius') + self.assertEqual(entity.ratio, 3.1) + self.assertEqual(entity.evenratio, 3.0) + self.assertEqual(entity.large.value, 933311100) + self.assertEqual(entity.Birthday, datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) + self.assertIsInstance(entity.other, EntityProperty) + self.assertEqual(entity.other.type, EdmType.INT32) + self.assertEqual(entity.other.value, 20) + self.assertIsInstance(entity.clsid, uuid.UUID) + self.assertEqual(str(entity.clsid), 'c9da6455-213d-42c9-9a79-3e9149a57833') + + def _assert_valid_metadata(self, metadata): + keys = metadata.keys() + self.assertIn("version", keys) + self.assertIn("date", keys) + self.assertIn("etag", keys) + self.assertEqual(len(keys), 3) + + # --Test cases for entities ------------------------------------------ + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_etag(self, resource_group, location, cosmos_account, cosmos_account_key): + + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + entity1 = self.table.get_entity(row_key=entity.RowKey, partition_key=entity.PartitionKey) + + with self.assertRaises(AttributeError): + etag = entity1.etag + + self.assertIsNotNone(entity1.metadata()) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_user_filter(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._insert_random_entity() + + # Act + # resp = self.table.create_item(entity) + resp = self.table.query_entities(filter="married eq @my_param", parameters={'my_param': 'True'}) + + # Assert --- Does this mean insert returns nothing? + self.assertIsNotNone(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_dictionary(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + resp = self.table.create_entity(entity=entity) + + # Assert --- Does this mean insert returns nothing? + self.assertIsNotNone(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_with_hook(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + resp = self.table.create_entity(entity=entity) + received_entity = self.table.get_entity( + row_key=entity['RowKey'], + partition_key=entity['PartitionKey'] + ) + + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_with_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + headers = {'Accept': 'application/json;odata=nometadata'} + # Act + # response_hook=lambda e, h: (e, h) + resp = self.table.create_entity( + entity=entity, + headers=headers, + ) + received_entity = self.table.get_entity( + row_key=entity['RowKey'], + partition_key=entity['PartitionKey'], + headers=headers + ) + + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity_json_no_metadata(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_with_full_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + headers = {'Accept': 'application/json;odata=fullmetadata'} + + # Act + resp = self.table.create_entity( + entity=entity, + headers={'Accept': 'application/json;odata=fullmetadata'}, + ) + received_entity = self.table.get_entity( + row_key=entity['RowKey'], + partition_key=entity['PartitionKey'], + headers=headers + ) + + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity_json_full_metadata(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_conflict(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + with self.assertRaises(ResourceExistsError): + # self.table.create_item(entity) + self.table.create_entity(entity=entity) + + # Assert + + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_with_large_int32_value_throws(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + dict32 = self._create_random_base_entity_dict() + dict32['large'] = EntityProperty(2 ** 31, EdmType.INT32) + + # Assert + with self.assertRaises(TypeError): + self.table.create_entity(entity=dict32) + + dict32['large'] = EntityProperty(-(2 ** 31 + 1), EdmType.INT32) + with self.assertRaises(TypeError): + self.table.create_entity(entity=dict32) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_with_large_int64_value_throws(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + dict64 = self._create_random_base_entity_dict() + dict64['large'] = EntityProperty(2 ** 63, EdmType.INT64) + + # Assert + with self.assertRaises(TypeError): + self.table.create_entity(entity=dict64) + + dict64['large'] = EntityProperty(-(2 ** 63 + 1), EdmType.INT64) + with self.assertRaises(TypeError): + self.table.create_entity(entity=dict64) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_missing_pk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'RowKey': 'rk'} + + # Act + with self.assertRaises(ValueError): + # resp = self.table.create_item(entity) + resp = self.table.create_entity(entity=entity) + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_empty_string_pk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'RowKey': 'rk', 'PartitionKey': ''} + + # Act + if 'cosmos' in self.table.url: + with self.assertRaises(HttpResponseError): + self.table.create_entity(entity=entity) + else: + resp = self.table.create_entity(entity=entity) + + # Assert + # self.assertIsNone(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_missing_rk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'PartitionKey': 'pk'} + + # Act + with self.assertRaises(ValueError): + resp = self.table.create_entity(entity=entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_empty_string_rk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'PartitionKey': 'pk', 'RowKey': ''} + + # Act + if 'cosmos' in self.table.url: + with self.assertRaises(HttpResponseError): + self.table.create_entity(entity=entity) + else: + resp = self.table.create_entity(entity=entity) + + # Assert + # self.assertIsNone(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_too_many_properties(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + if 'cosmos' in self.table.url: + pytest.skip("Cosmos supports large number of properties.") + try: + entity = self._create_random_base_entity_dict() + for i in range(255): + entity['key{0}'.format(i)] = 'value{0}'.format(i) + + # Act + with self.assertRaises(HttpResponseError): + resp = self.table.create_entity(entity=entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_entity_property_name_too_long(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + if 'cosmos' in self.table.url: + pytest.skip("Cosmos supports large property names.") + try: + entity = self._create_random_base_entity_dict() + entity['a' * 256] = 'badval' + + # Act + with self.assertRaises(HttpResponseError): + resp = self.table.create_entity(entity=entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + resp = self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + # Assert + self.assertEqual(resp['PartitionKey'], entity['PartitionKey']) + self.assertEqual(resp['RowKey'], entity['RowKey']) + self._assert_default_entity(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_with_hook(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + # resp, headers + # response_hook=lambda e, h: (e, h) + resp = self.table.get_entity( + partition_key=entity['PartitionKey'], + row_key=entity['RowKey'], + ) + + # Assert + self.assertEqual(resp['PartitionKey'], entity['PartitionKey']) + self.assertEqual(resp['RowKey'], entity['RowKey']) + self._assert_default_entity(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_if_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = self._insert_random_entity() + + # Act + # Do a get and confirm the etag is parsed correctly by using it + # as a condition to delete. + resp = self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + self.table.delete_entity( + partition_key=resp['PartitionKey'], + row_key=resp['RowKey'], + etag=etag, + match_condition=MatchConditions.IfNotModified + ) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_full_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + resp = self.table.get_entity( + entity.PartitionKey, + entity.RowKey, + headers={'accept': 'application/json;odata=fullmetadata'}) + + # Assert + self.assertEqual(resp.PartitionKey, entity.PartitionKey) + self.assertEqual(resp.RowKey, entity.RowKey) + self._assert_default_entity_json_full_metadata(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + resp = self.table.get_entity( + partition_key=entity.PartitionKey, + row_key=entity.RowKey, + headers={'accept': 'application/json;odata=nometadata'}) + + # Assert + self.assertEqual(resp.PartitionKey, entity.PartitionKey) + self.assertEqual(resp.RowKey, entity.RowKey) + self._assert_default_entity_json_no_metadata(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + with self.assertRaises(ResourceNotFoundError): + self.table.get_entity(partition_key=entity.PartitionKey, + row_key=entity.RowKey) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_get_entity_with_special_doubles(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({ + 'inf': float('inf'), + 'negativeinf': float('-inf'), + 'nan': float('nan') + }) + self.table.create_entity(entity=entity) + + # Act + resp = self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + # Assert + self.assertEqual(resp.inf, float('inf')) + self.assertEqual(resp.negativeinf, float('-inf')) + self.assertTrue(isnan(resp.nan)) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_update_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + + # resp = self.table.update_item(sent_entity, response_hook=lambda e, h: h) + resp = self.table.update_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + # self.assertTrue(resp) + received_entity = self.table.get_entity(partition_key=entity.PartitionKey, + row_key=entity.RowKey) + + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_update_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + with self.assertRaises(ResourceNotFoundError): + self.table.update_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_update_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + # , response_hook=lambda e, h: h) + self.table.update_entity( + mode=UpdateMode.REPLACE, entity=sent_entity, etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + # self.assertTrue(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_update_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + with self.assertRaises(HttpResponseError): + self.table.update_entity( + mode=UpdateMode.MERGE, + entity=sent_entity, + etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = self.table.upsert_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + resp = self.table.upsert_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity['PartitionKey'], + entity['RowKey']) + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = self.table.upsert_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + # self.assertIsNone(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key, cosmos_account_cs): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + resp = self.table.upsert_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity['PartitionKey'], + entity['RowKey']) + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + with self.assertRaises(ResourceNotFoundError): + self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = self.table.update_entity( + mode=UpdateMode.MERGE, + entity=sent_entity, + etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + with self.assertRaises(HttpResponseError): + self.table.update_entity(mode=UpdateMode.MERGE, + entity=sent_entity, + etag='W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + resp = self.table.delete_entity(partition_key=entity.PartitionKey, row_key=entity.RowKey) + + # Assert + self.assertIsNone(resp) + with self.assertRaises(ResourceNotFoundError): + self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + with self.assertRaises(ResourceNotFoundError): + self.table.delete_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = self._insert_random_entity() + + # Act + resp = self.table.delete_entity(entity.PartitionKey, entity.RowKey, etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + self.assertIsNone(resp) + with self.assertRaises(ResourceNotFoundError): + self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_delete_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + with self.assertRaises(HttpResponseError): + self.table.delete_entity( + entity.PartitionKey, entity.RowKey, + etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_unicode_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + ''' regression test for github issue #57''' + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity1 = entity.copy() + entity1.update({'Description': u'ꀕ'}) + entity2 = entity.copy() + entity2.update({'RowKey': u'test2', 'Description': u'ꀕ'}) + + # Act + self.table.create_entity(entity=entity1) + self.table.create_entity(entity=entity2) + entities = list(self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey']))) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0].Description.value, u'ꀕ') + self.assertEqual(entities[1].Description.value, u'ꀕ') + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_unicode_property_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity1 = entity.copy() + entity1.update({u'啊齄丂狛狜': u'ꀕ'}) + entity2 = entity.copy() + entity2.update({'RowKey': u'test2', u'啊齄丂狛狜': u'hello'}) + + # Act + self.table.create_entity(entity=entity1) + self.table.create_entity(entity=entity2) + entities = list(self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey']))) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0][u'啊齄丂狛狜'].value, u'ꀕ') + self.assertEqual(entities[1][u'啊齄丂狛狜'].value, u'hello') + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Returns Bad Request") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_operations_on_entity_with_partition_key_having_single_quote(self, resource_group, location, + cosmos_account, cosmos_account_key, cosmos_account_cs): + + # Arrange + partition_key_with_single_quote = "a''''b" + row_key_with_single_quote = "a''''b" + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity(pk=partition_key_with_single_quote, rk=row_key_with_single_quote) + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = self.table.upsert_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + # row key here only has 2 quotes + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + + # Act + sent_entity['newField'] = 'newFieldValue' + resp = self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + self.assertEqual(received_entity['newField'], 'newFieldValue') + + # Act + resp = self.table.delete_entity(entity.PartitionKey, entity.RowKey) + + # Assert + self.assertIsNone(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({ + 'EmptyByte': '', + 'EmptyUnicode': u'', + 'SpacesOnlyByte': ' ', + 'SpacesOnlyUnicode': u' ', + 'SpacesBeforeByte': ' Text', + 'SpacesBeforeUnicode': u' Text', + 'SpacesAfterByte': 'Text ', + 'SpacesAfterUnicode': u'Text ', + 'SpacesBeforeAndAfterByte': ' Text ', + 'SpacesBeforeAndAfterUnicode': u' Text ', + }) + + # Act + self.table.create_entity(entity=entity) + resp = self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertEqual(resp.EmptyByte.value, '') + self.assertEqual(resp.EmptyUnicode.value, u'') + self.assertEqual(resp.SpacesOnlyByte.value, ' ') + self.assertEqual(resp.SpacesOnlyUnicode.value, u' ') + self.assertEqual(resp.SpacesBeforeByte.value, ' Text') + self.assertEqual(resp.SpacesBeforeUnicode.value, u' Text') + self.assertEqual(resp.SpacesAfterByte.value, 'Text ') + self.assertEqual(resp.SpacesAfterUnicode.value, u'Text ') + self.assertEqual(resp.SpacesBeforeAndAfterByte.value, ' Text ') + self.assertEqual(resp.SpacesBeforeAndAfterUnicode.value, u' Text ') + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_none_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({'NoneValue': None}) + + # Act + self.table.create_entity(entity=entity) + resp = self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertFalse(hasattr(resp, 'NoneValue')) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_binary_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + binary_data = b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n' + entity = self._create_random_base_entity_dict() + entity.update({'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) + + # Act + self.table.create_entity(entity=entity) + resp = self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertEqual(resp.binary.value, binary_data) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_timezone(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + local_tz = tzoffset('BRST', -10800) + local_date = datetime(2003, 9, 27, 9, 52, 43, tzinfo=local_tz) + entity = self._create_random_base_entity_dict() + entity.update({'date': local_date}) + + # Act + self.table.create_entity(entity=entity) + resp = self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + # times are not equal because request is made after + self.assertEqual(resp.date.astimezone(tzutc()), local_date.astimezone(tzutc())) + self.assertEqual(resp.date.astimezone(local_tz), local_date) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(2) + + # Act + entities = list(table.list_entities()) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity(entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_zero_entities(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(0) + + # Act + entities = list(table.list_entities()) + + # Assert + self.assertEqual(len(entities), 0) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_full_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(2) + + # Act + entities = list(table.list_entities(headers={'accept': 'application/json;odata=fullmetadata'})) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity_json_full_metadata(entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(2) + + # Act + entities = list(table.list_entities(headers={'accept': 'application/json;odata=nometadata'})) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity_json_no_metadata(entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Batch not implemented") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_large(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_name = self._create_query_table(0) + total_entities_count = 1000 + entities_per_batch = 50 + + for j in range(total_entities_count // entities_per_batch): + batch = TableBatch() + for i in range(entities_per_batch): + entity = Entity() + entity.PartitionKey = 'large' + entity.RowKey = 'batch{0}-item{1}'.format(j, i) + entity.test = EntityProperty(True) + entity.test2 = 'hello world;' * 100 + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime(2016, 12, 31, 11, 59, 59, 0) + batch.create_entity(entity) + self.ts.commit_batch(table_name, batch) + + # Act + start_time = datetime.now() + entities = list(self.ts.query_entities(table_name)) + elapsed_time = datetime.now() - start_time + + # Assert + print('query_entities took {0} secs.'.format(elapsed_time.total_seconds())) + # azure allocates 5 seconds to execute a query + # if it runs slowly, it will return fewer results and make the test fail + self.assertEqual(len(entities), total_entities_count) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_with_filter(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = self._insert_random_entity() + + # Act + entities = list(self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity.PartitionKey))) + + # Assert + self.assertEqual(len(entities), 1) + self.assertEqual(entity.PartitionKey, entities[0].PartitionKey) + self._assert_default_entity(entities[0]) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("returns ' sex' instead of deserializing into just 'sex'") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_with_select(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(2) + + # Act + entities = list(table.list_entities(select=['age', 'sex'])) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self.assertIsInstance(entities, TableEntity) + self.assertEqual(entity.age, 39) + self.assertEqual(entity.sex, 'male') + self.assertFalse(hasattr(entity, "birthday")) + self.assertFalse(hasattr(entity, "married")) + self.assertFalse(hasattr(entity, "deceased")) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_with_top(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(3) + # circular dependencies made this return a list not an item paged - problem when calling by page + # Act + entities = list(next(table.list_entities(results_per_page=2).by_page())) + + # Assert + self.assertEqual(len(entities), 2) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_with_top_and_next(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + self._set_up(cosmos_account, cosmos_account_key) + try: + table = self._create_query_table(5) + + # Act + resp1 = table.list_entities(results_per_page=2).by_page() + next(resp1) + resp2 = table.list_entities(results_per_page=2).by_page( + continuation_token=resp1.continuation_token) + next(resp2) + resp3 = table.list_entities(results_per_page=2).by_page( + continuation_token=resp2.continuation_token) + next(resp3) + + entities1 = resp1._current_page + entities2 = resp2._current_page + entities3 = resp3._current_page + + # Assert + self.assertEqual(len(entities1), 2) + self.assertEqual(len(entities2), 2) + self.assertEqual(len(entities3), 1) + self._assert_default_entity(entities1[0]) + self._assert_default_entity(entities1[1]) + self._assert_default_entity(entities2[0]) + self._assert_default_entity(entities2[1]) + self._assert_default_entity(entities3[0]) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_query(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entities = list(table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey']))) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_add(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + + entity = self._create_random_entity_dict() + table.create_entity(entity=entity) + + # Assert + resp = self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + self._assert_default_entity(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_add_inside_range(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start_pk='test', start_rk='test1', + end_pk='test', end_rk='test1', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entity = self._create_random_entity_dict('test', 'test1') + table.create_entity(entity=entity) + + # Assert + resp = self.table.get_entity('test', 'test1') + self._assert_default_entity(resp) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_add_outside_range(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start_pk='test', start_rk='test1', + end_pk='test', end_rk='test1', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + with self.assertRaises(HttpResponseError): + entity = self._create_random_entity_dict() + table.create_entity(entity=entity) + + # Assert + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_update(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(update=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + updated_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + table.update_entity(mode=UpdateMode.REPLACE, entity=updated_entity) + + # Assert + received_entity = self.table.get_entity(entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_delete(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(delete=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + table.delete_entity(entity.PartitionKey, entity.RowKey) + + # Assert + with self.assertRaises(ResourceNotFoundError): + self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_upper_case_table_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = self._insert_random_entity() + + # Table names are case insensitive, so simply upper case our existing table name to test + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name.upper(), + permission=TableSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entities = list(table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey']))) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_sas_signed_identifier(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from cosmos key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = self._insert_random_entity() + + access_policy = AccessPolicy() + access_policy.start = datetime(2011, 10, 11) + access_policy.expiry = datetime(2020, 10, 12) + access_policy.permission = TableSasPermissions(read=True) + identifiers = {'testid': access_policy} + + self.table.set_table_access_policy(identifiers) + + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + policy_id='testid', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entities = list(table.query_entities( + filter="PartitionKey eq '{}'".format(entity.PartitionKey))) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + self._tear_down() + self.sleep(SLEEP_DELAY) + + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py new file mode 100644 index 000000000000..9009d4a440f9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py @@ -0,0 +1,1869 @@ +# 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. +# -------------------------------------------------------------------------- + +import unittest + +import pytest + +import uuid +from base64 import b64encode +from datetime import datetime, timedelta +from time import sleep + +from azure.data.tables import generate_table_sas +from azure.data.tables._generated.models import QueryOptions +from azure.data.tables.aio import TableServiceClient +from dateutil.tz import tzutc, tzoffset +from math import isnan + +from azure.core import MatchConditions +from azure.core.exceptions import ( + HttpResponseError, + ResourceNotFoundError, + ResourceExistsError) + +from azure.data.tables._entity import TableEntity, EntityProperty, EdmType +from azure.data.tables import TableSasPermissions, AccessPolicy, UpdateMode +from devtools_testutils import CachedResourceGroupPreparer +from _shared.cosmos_testcase import CachedCosmosAccountPreparer +from _shared.testcase import TableTestCase, LogCaptured, RERUNS_DELAY, SLEEP_DELAY + +# ------------------------------------------------------------------------------ + +class StorageTableEntityTest(TableTestCase): + + async def _set_up(self, cosmos_account, cosmos_account_key): + account_url = self.account_url(cosmos_account, "cosmos") + self.ts = TableServiceClient(account_url, cosmos_account_key) + self.table_name = self.get_resource_name('uttable') + self.table = self.ts.get_table_client(self.table_name) + if self.is_live: + try: + await self.ts.create_table(table_name=self.table_name) + except ResourceExistsError: + pass + + self.query_tables = [] + + async def _tear_down(self): + if self.is_live: + try: + await self.ts.delete_table(self.table_name) + except: + pass + + for table_name in self.query_tables: + try: + await self.ts.delete_table(table_name) + except: + pass + + # --Helpers----------------------------------------------------------------- + + async def _create_query_table(self, entity_count): + """ + Creates a table with the specified name and adds entities with the + default set of values. PartitionKey is set to 'MyPartition' and RowKey + is set to a unique counter value starting at 1 (as a string). + """ + table_name = self.get_resource_name('querytable') + table = await self.ts.create_table(table_name) + self.query_tables.append(table_name) + client = self.ts.get_table_client(table_name) + entity = self._create_random_entity_dict() + for i in range(1, entity_count + 1): + entity['RowKey'] = entity['RowKey'] + str(i) + await client.create_entity(entity=entity) + # with self.ts.batch(table_name) as batch: + # for i in range(1, entity_count + 1): + # entity['RowKey'] = entity['RowKey'] + str(i) + # batch.create_entity(entity) + return client + + def _create_random_base_entity_dict(self): + """ + Creates a dict-based entity with only pk and rk. + """ + partition = self.get_resource_name('pk') + row = self.get_resource_name('rk') + return { + 'PartitionKey': partition, + 'RowKey': row, + } + + def _create_random_entity_dict(self, pk=None, rk=None): + """ + Creates a dictionary-based entity with fixed values, using all + of the supported data types. + """ + partition = pk if pk is not None else self.get_resource_name('pk') + row = rk if rk is not None else self.get_resource_name('rk') + properties = { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 39, + 'sex': 'male', + 'married': True, + 'deceased': False, + 'optional': None, + 'ratio': 3.1, + 'evenratio': 3.0, + 'large': 933311100, + 'Birthday': datetime(1973, 10, 4, tzinfo=tzutc()), + 'birthday': datetime(1970, 10, 4, tzinfo=tzutc()), + 'binary': b'binary', + 'other': EntityProperty(value=20, type=EdmType.INT32), + 'clsid': uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833') + } + return TableEntity(**properties) + + async def _insert_random_entity(self, pk=None, rk=None): + entity = self._create_random_entity_dict(pk, rk) + metadata = await self.table.create_entity(entity=entity) + return entity, metadata['etag'] + + def _create_updated_entity_dict(self, partition, row): + """ + Creates a dictionary-based entity with fixed values, with a + different set of values than the default entity. It + adds fields, changes field values, changes field types, + and removes fields when compared to the default entity. + """ + return { + 'PartitionKey': partition, + 'RowKey': row, + 'age': 'abc', + 'sex': 'female', + 'sign': 'aquarius', + 'birthday': datetime(1991, 10, 4, tzinfo=tzutc()) + } + + def _assert_default_entity(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['binary'].value, b'binary') + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) + if headers: + self.assertTrue("etag" in headers) + self.assertIsNotNone(headers['etag']) + + def _assert_default_entity_json_full_metadata(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertEqual(entity['Birthday'], datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['birthday'], datetime(1970, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity['binary'].value, b'binary') + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'], uuid.UUID('c9da6455-213d-42c9-9a79-3e9149a57833')) + + def _assert_default_entity_json_no_metadata(self, entity, headers=None): + ''' + Asserts that the entity passed in matches the default entity. + ''' + self.assertEqual(entity['age'].value, 39) + self.assertEqual(entity['sex'].value, 'male') + self.assertEqual(entity['married'], True) + self.assertEqual(entity['deceased'], False) + self.assertFalse("optional" in entity) + self.assertFalse("aquarius" in entity) + self.assertEqual(entity['ratio'], 3.1) + self.assertEqual(entity['evenratio'], 3.0) + self.assertEqual(entity['large'].value, 933311100) + self.assertTrue(entity['Birthday'].value.startswith('1973-10-04T00:00:00')) + self.assertTrue(entity['birthday'].value.startswith('1970-10-04T00:00:00')) + self.assertTrue(entity['Birthday'].value.endswith('00Z')) + self.assertTrue(entity['birthday'].value.endswith('00Z')) + self.assertEqual(entity['binary'].value, b64encode(b'binary').decode('utf-8')) + self.assertIsInstance(entity['other'], EntityProperty) + self.assertEqual(entity['other'].type, EdmType.INT32) + self.assertEqual(entity['other'].value, 20) + self.assertEqual(entity['clsid'].value, 'c9da6455-213d-42c9-9a79-3e9149a57833') + # self.assertIsNone(entity.odata) + # self.assertIsNotNone(entity.Timestamp) + # self.assertIsInstance(entity.Timestamp, datetime) + if headers: + self.assertTrue("etag" in headers) + self.assertIsNotNone(headers['etag']) + + def _assert_updated_entity(self, entity): + ''' + Asserts that the entity passed in matches the updated entity. + ''' + self.assertEqual(entity.age.value, 'abc') + self.assertEqual(entity.sex.value, 'female') + self.assertFalse(hasattr(entity, "married")) + self.assertFalse(hasattr(entity, "deceased")) + self.assertEqual(entity.sign.value, 'aquarius') + self.assertFalse(hasattr(entity, "optional")) + self.assertFalse(hasattr(entity, "ratio")) + self.assertFalse(hasattr(entity, "evenratio")) + self.assertFalse(hasattr(entity, "large")) + self.assertFalse(hasattr(entity, "Birthday")) + self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) + self.assertFalse(hasattr(entity, "other")) + self.assertFalse(hasattr(entity, "clsid")) + + def _assert_merged_entity(self, entity): + ''' + Asserts that the entity passed in matches the default entity + merged with the updated entity. + ''' + self.assertEqual(entity.age.value, 'abc') + self.assertEqual(entity.sex.value, 'female') + self.assertEqual(entity.sign.value, 'aquarius') + self.assertEqual(entity.married, True) + self.assertEqual(entity.deceased, False) + self.assertEqual(entity.ratio, 3.1) + self.assertEqual(entity.evenratio, 3.0) + self.assertEqual(entity.large.value, 933311100) + self.assertEqual(entity.Birthday, datetime(1973, 10, 4, tzinfo=tzutc())) + self.assertEqual(entity.birthday, datetime(1991, 10, 4, tzinfo=tzutc())) + self.assertIsInstance(entity.other, EntityProperty) + self.assertEqual(entity.other.type, EdmType.INT32) + self.assertEqual(entity.other.value, 20) + self.assertIsInstance(entity.clsid, uuid.UUID) + self.assertEqual(str(entity.clsid), 'c9da6455-213d-42c9-9a79-3e9149a57833') + + def _assert_valid_metadata(self, metadata): + keys = metadata.keys() + self.assertIn("version", keys) + self.assertIn("date", keys) + self.assertIn("etag", keys) + self.assertEqual(len(keys), 3) + + # --Test cases for entities ------------------------------------------ + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_dictionary(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + # resp = self.table.create_item(entity) + resp = await self.table.create_entity(entity=entity) + + # Assert --- Does this mean insert returns nothing? + self.assertIsNotNone(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_with_hook(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + resp = await self.table.create_entity(entity=entity) + received_entity = await self.table.get_entity( + partition_key=entity["PartitionKey"], + row_key=entity["RowKey"] + ) + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_with_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + headers = {'Accept': 'application/json;odata=nometadata'} + + # Act + resp = await self.table.create_entity( + entity=entity, + headers={'Accept': 'application/json;odata=nometadata'}, + ) + received_entity = await self.table.get_entity( + partition_key=entity["PartitionKey"], + row_key=entity["RowKey"], + headers=headers + ) + + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity_json_no_metadata(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_with_full_metadata(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + headers = {'Accept': 'application/json;odata=fullmetadata'} + + # Act + resp = await self.table.create_entity( + entity=entity, + headers=headers + ) + received_entity = await self.table.get_entity( + partition_key=entity["PartitionKey"], + row_key=entity["RowKey"], + headers=headers + ) + + # Assert + self._assert_valid_metadata(resp) + self._assert_default_entity_json_full_metadata(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_conflict(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + with self.assertRaises(ResourceExistsError): + # self.table.create_item(entity) + await self.table.create_entity(entity=entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_with_large_int32_value_throws(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + dict32 = self._create_random_base_entity_dict() + dict32['large'] = EntityProperty(2 ** 31, EdmType.INT32) # TODO: this is outside the range of int32 + + # Assert + with self.assertRaises(TypeError): + await self.table.create_entity(entity=dict32) + + dict32['large'] = EntityProperty(-(2 ** 31 + 1), EdmType.INT32) # TODO: this is outside the range of int32 + with self.assertRaises(TypeError): + await self.table.create_entity(entity=dict32) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_with_large_int64_value_throws(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Act + dict64 = self._create_random_base_entity_dict() + dict64['large'] = EntityProperty(2 ** 63, EdmType.INT64) + + # Assert + with self.assertRaises(TypeError): + await self.table.create_entity(entity=dict64) + + dict64['large'] = EntityProperty(-(2 ** 63 + 1), EdmType.INT64) + with self.assertRaises(TypeError): + await self.table.create_entity(entity=dict64) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_missing_pk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'RowKey': 'rk'} + + # Act + with self.assertRaises(ValueError): + # resp = self.table.create_item(entity) + resp = await self.table.create_entity(entity=entity) + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_empty_string_pk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'RowKey': 'rk', 'PartitionKey': ''} + + # Act + if 'cosmos' in self.table.url: + with self.assertRaises(HttpResponseError): + await self.table.create_entity(entity=entity) + else: + resp = await self.table.create_entity(entity=entity) + + # Assert + # self.assertIsNone(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_missing_rk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'PartitionKey': 'pk'} + + # Act + with self.assertRaises(ValueError): + resp = await self.table.create_entity(entity=entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_empty_string_rk(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = {'PartitionKey': 'pk', 'RowKey': ''} + + # Act + if 'cosmos' in self.table.url: + with self.assertRaises(HttpResponseError): + await self.table.create_entity(entity=entity) + else: + resp = await self.table.create_entity(entity=entity) + + # Assert + # self.assertIsNone(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_too_many_properties(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + if 'cosmos' in self.table.url: + pytest.skip("Cosmos supports large number of properties.") + try: + entity = self._create_random_base_entity_dict() + for i in range(255): + entity['key{0}'.format(i)] = 'value{0}'.format(i) + + # Act + with self.assertRaises(HttpResponseError): + resp = await self.table.create_entity(entity=entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_entity_property_name_too_long(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + if 'cosmos' in self.table.url: + pytest.skip("Cosmos supports large property names.") + try: + entity = self._create_random_base_entity_dict() + entity['a' * 256] = 'badval' + + # Act + with self.assertRaises(HttpResponseError): + resp = await self.table.create_entity(entity=entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + resp = await self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + # Assert + self.assertEqual(resp['PartitionKey'], entity['PartitionKey']) + self.assertEqual(resp['RowKey'], entity['RowKey']) + self._assert_default_entity(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_with_hook(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + # resp, headers + # response_hook=lambda e, h: (e, h) + resp = await self.table.get_entity( + partition_key=entity['PartitionKey'], + row_key=entity['RowKey'], + ) + + # Assert + self.assertEqual(resp['PartitionKey'], entity['PartitionKey']) + self.assertEqual(resp['RowKey'], entity['RowKey']) + self._assert_default_entity(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_if_match(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = await self._insert_random_entity() + + # Act + # Do a get and confirm the etag is parsed correctly by using it + # as a condition to delete. + resp = await self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + await self.table.delete_entity( + partition_key=resp['PartitionKey'], + row_key=resp['RowKey'], + etag=etag, + match_condition=MatchConditions.IfNotModified + ) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_full_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + resp = await self.table.get_entity( + entity.PartitionKey, + entity.RowKey, + headers={'accept': 'application/json;odata=fullmetadata'}) + + # Assert + self.assertEqual(resp.PartitionKey, entity.PartitionKey) + self.assertEqual(resp.RowKey, entity.RowKey) + self._assert_default_entity_json_full_metadata(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + resp = await self.table.get_entity( + partition_key=entity.PartitionKey, + row_key=entity.RowKey, + headers={'accept': 'application/json;odata=nometadata'}) + + # Assert + self.assertEqual(resp.PartitionKey, entity.PartitionKey) + self.assertEqual(resp.RowKey, entity.RowKey) + self._assert_default_entity_json_no_metadata(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_entity_dict() + + # Act + with self.assertRaises(ResourceNotFoundError): + await self.table.get_entity(partition_key=entity.PartitionKey, + row_key=entity.RowKey) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_get_entity_with_special_doubles(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({ + 'inf': float('inf'), + 'negativeinf': float('-inf'), + 'nan': float('nan') + }) + await self.table.create_entity(entity=entity) + + # Act + resp = await self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + + # Assert + self.assertEqual(resp.inf, float('inf')) + self.assertEqual(resp.negativeinf, float('-inf')) + self.assertTrue(isnan(resp.nan)) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_update_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + + # resp = self.table.update_item(sent_entity, response_hook=lambda e, h: h) + resp = await self.table.update_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + # self.assertTrue(resp) + received_entity = await self.table.get_entity( + partition_key=entity.PartitionKey, + row_key=entity.RowKey) + + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_update_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + with self.assertRaises(ResourceNotFoundError): + await self.table.update_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_update_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = await self._insert_random_entity() + + # Act + #, response_hook=lambda e, h: h) + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + await self.table.update_entity( + mode=UpdateMode.REPLACE, + entity=sent_entity, etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + # self.assertTrue(resp) + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_update_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + with self.assertRaises(HttpResponseError): + await self.table.update_entity( + mode=UpdateMode.REPLACE, + entity=sent_entity, + etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = await self.table.upsert_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + resp = await self.table.upsert_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity['PartitionKey'], + entity['RowKey']) + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = await self.table.upsert_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + # self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + resp = await self.table.upsert_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity['PartitionKey'], + entity['RowKey']) + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = await self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + sent_entity = self._create_updated_entity_dict(entity['PartitionKey'], entity['RowKey']) + with self.assertRaises(ResourceNotFoundError): + await self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = await self.table.update_entity(mode=UpdateMode.MERGE, + entity=sent_entity, etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_merged_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + with self.assertRaises(HttpResponseError): + await self.table.update_entity(mode=UpdateMode.MERGE, + entity=sent_entity, + etag='W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_entity(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + resp = await self.table.delete_entity(partition_key=entity.PartitionKey, row_key=entity.RowKey) + + # Assert + self.assertIsNone(resp) + with self.assertRaises(ResourceNotFoundError): + await self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + + # Act + with self.assertRaises(ResourceNotFoundError): + await self.table.delete_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, etag = await self._insert_random_entity() + + # Act + resp = await self.table.delete_entity(entity.PartitionKey, entity.RowKey, etag=etag, + match_condition=MatchConditions.IfNotModified) + + # Assert + self.assertIsNone(resp) + with self.assertRaises(ResourceNotFoundError): + await self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_delete_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + with self.assertRaises(HttpResponseError): + await self.table.delete_entity( + entity.PartitionKey, entity.RowKey, + etag=u'W/"datetime\'2012-06-15T22%3A51%3A44.9662825Z\'"', + match_condition=MatchConditions.IfNotModified) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_unicode_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + ''' regression test for github issue #57''' + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity1 = entity.copy() + entity1.update({'Description': u'ꀕ'}) + entity2 = entity.copy() + entity2.update({'RowKey': 'test2', 'Description': 'ꀕ'}) + + # Act + await self.table.create_entity(entity=entity1) + await self.table.create_entity(entity=entity2) + entities = [] + async for e in self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey'])): + entities.append(e) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0].Description.value, u'ꀕ') + self.assertEqual(entities[1].Description.value, u'ꀕ') + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_unicode_property_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity1 = entity.copy() + entity1.update({u'啊齄丂狛狜': u'ꀕ'}) + entity2 = entity.copy() + entity2.update({'RowKey': 'test2', u'啊齄丂狛狜': 'hello'}) + + # Act + await self.table.create_entity(entity=entity1) + await self.table.create_entity(entity=entity2) + entities = [] + async for e in self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey'])): + entities.append(e) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0][u'啊齄丂狛狜'].value, u'ꀕ') + self.assertEqual(entities[1][u'啊齄丂狛狜'].value, u'hello') + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_operations_on_entity_with_partition_key_having_single_quote(self, resource_group, location, + cosmos_account, cosmos_account_key): + + # Arrange + partition_key_with_single_quote = "a''''b" + row_key_with_single_quote = "a''''b" + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity(pk=partition_key_with_single_quote, + rk=row_key_with_single_quote) + + # Act + sent_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + resp = await self.table.upsert_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + # row key here only has 2 quotes + received_entity = await self.table.get_entity( + entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + + # Act + sent_entity['newField'] = 'newFieldValue' + resp = await self.table.update_entity(mode=UpdateMode.REPLACE, entity=sent_entity) + + # Assert + self.assertIsNone(resp) + received_entity = await self.table.get_entity( + entity.PartitionKey, entity.RowKey) + self._assert_updated_entity(received_entity) + self.assertEqual(received_entity['newField'], 'newFieldValue') + + # Act + resp = await self.table.delete_entity(entity.PartitionKey, entity.RowKey) + + # Assert + self.assertIsNone(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({ + 'EmptyByte': '', + 'EmptyUnicode': u'', + 'SpacesOnlyByte': ' ', + 'SpacesOnlyUnicode': u' ', + 'SpacesBeforeByte': ' Text', + 'SpacesBeforeUnicode': u' Text', + 'SpacesAfterByte': 'Text ', + 'SpacesAfterUnicode': u'Text ', + 'SpacesBeforeAndAfterByte': ' Text ', + 'SpacesBeforeAndAfterUnicode': u' Text ', + }) + + # Act + await self.table.create_entity(entity=entity) + resp = await self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertEqual(resp.EmptyByte.value, '') + self.assertEqual(resp.EmptyUnicode.value, u'') + self.assertEqual(resp.SpacesOnlyByte.value, ' ') + self.assertEqual(resp.SpacesOnlyUnicode.value, u' ') + self.assertEqual(resp.SpacesBeforeByte.value, ' Text') + self.assertEqual(resp.SpacesBeforeUnicode.value, u' Text') + self.assertEqual(resp.SpacesAfterByte.value, 'Text ') + self.assertEqual(resp.SpacesAfterUnicode.value, u'Text ') + self.assertEqual(resp.SpacesBeforeAndAfterByte.value, ' Text ') + self.assertEqual(resp.SpacesBeforeAndAfterUnicode.value, u' Text ') + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_none_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity = self._create_random_base_entity_dict() + entity.update({'NoneValue': None}) + + # Act + await self.table.create_entity(entity=entity) + resp = await self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertFalse(hasattr(resp, 'NoneValue')) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_binary_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + binary_data = b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n' + entity = self._create_random_base_entity_dict() + entity.update({'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) + + # Act + await self.table.create_entity(entity=entity) + resp = await self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + self.assertEqual(resp.binary.value, binary_data) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Merge operation fails from Tables SDK") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_timezone(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + local_tz = tzoffset('BRST', -10800) + local_date = datetime(2003, 9, 27, 9, 52, 43, tzinfo=local_tz) + entity = self._create_random_base_entity_dict() + entity.update({'date': local_date}) + + # Act + await self.table.create_entity(entity=entity) + resp = await self.table.get_entity(entity['PartitionKey'], entity['RowKey']) + + # Assert + self.assertIsNotNone(resp) + # times are not equal because request is made after + # self.assertEqual(resp.date.astimezone(tzutc()), local_date.astimezone(tzutc())) + # self.assertEqual(resp.date.astimezone(local_tz), local_date) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(2) + + # Act + entities = [] + async for t in table.list_entities(): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity(entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_zero_entities(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(0) + + # Act + entities = [] + async for t in table.list_entities(): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 0) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_full_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(2) + + # Act + entities = [] + async for t in table.list_entities(headers={'accept': 'application/json;odata=fullmetadata'}): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity_json_full_metadata(entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_no_metadata(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(2) + + # Act + entities = [] + async for t in table.list_entities(headers={'accept': 'application/json;odata=nometadata'}): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 2) + for entity in entities: + self._assert_default_entity_json_no_metadata(entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Batch not implemented") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_query_entities_large(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + table_name = self._create_query_table(0) + total_entities_count = 1000 + entities_per_batch = 50 + + for j in range(total_entities_count // entities_per_batch): + batch = TableBatch() + for i in range(entities_per_batch): + entity = TableEntity() + entity.PartitionKey = 'large' + entity.RowKey = 'batch{0}-item{1}'.format(j, i) + entity.test = EntityProperty(True) + entity.test2 = 'hello world;' * 100 + entity.test3 = 3 + entity.test4 = EntityProperty(1234567890) + entity.test5 = datetime(2016, 12, 31, 11, 59, 59, 0) + batch.create_entity(entity) + self.ts.commit_batch(table_name, batch) + + # Act + start_time = datetime.now() + entities = list(self.ts.query_entities(table_name)) + elapsed_time = datetime.now() - start_time + + # Assert + print('query_entities took {0} secs.'.format(elapsed_time.total_seconds())) + # azure allocates 5 seconds to execute a query + # if it runs slowly, it will return fewer results and make the test fail + self.assertEqual(len(entities), total_entities_count) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_with_filter(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + entity, _ = await self._insert_random_entity() + + # Act + entities = [] + async for t in self.table.query_entities( + filter="PartitionKey eq '{}'".format(entity.PartitionKey)): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 1) + self.assertEqual(entity.PartitionKey, entities[0].PartitionKey) + self._assert_default_entity(entities[0]) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("returns ' sex' instead of deserializing into just 'sex'") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_with_select(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(2) + + # Act + entities = [] + async for t in table.list_entities(select=["age, sex"]): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 2) + self.assertEqual(entities[0].age, 39) + self.assertEqual(entities[0].sex, 'male') + self.assertFalse(hasattr(entities[0], "birthday")) + self.assertFalse(hasattr(entities[0], "married")) + self.assertFalse(hasattr(entities[0], "deceased")) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_with_top(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(3) + # circular dependencies made this return a list not an item paged - problem when calling by page + # Act + entities = [] + async for t in table.list_entities(results_per_page=2).by_page(): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 2) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_query_entities_with_top_and_next(self, resource_group, location, cosmos_account, + cosmos_account_key): + # Arrange + await self._set_up(cosmos_account, cosmos_account_key) + try: + table = await self._create_query_table(5) + + # Act + resp1 = table.list_entities(results_per_page=2).by_page() + entities1 = [] + async for el in await resp1.__anext__(): + entities1.append(el) + resp2 = table.list_entities(results_per_page=2).by_page( + continuation_token=resp1.continuation_token) + entities2 = [] + async for el in await resp2.__anext__(): + entities2.append(el) + resp3 = table.list_entities(results_per_page=2).by_page( + continuation_token=resp2.continuation_token) + entities3 = [] + async for el in await resp3.__anext__(): + entities3.append(el) + + # Assert + self.assertEqual(len(entities1), 2) + self.assertEqual(len(entities2), 2) + self.assertEqual(len(entities3), 1) + self._assert_default_entity(entities1[0]) + self._assert_default_entity(entities1[1]) + self._assert_default_entity(entities2[0]) + self._assert_default_entity(entities2[1]) + self._assert_default_entity(entities3[0]) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_query(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = await self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entities = [] + async for t in table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey'])): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_add(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + + entity = self._create_random_entity_dict() + await table.create_entity(entity=entity) + + # Assert + resp = await self.table.get_entity(partition_key=entity['PartitionKey'], + row_key=entity['RowKey']) + self._assert_default_entity(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_add_inside_range(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start_pk='test', start_rk='test1', + end_pk='test', end_rk='test1', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entity = self._create_random_entity_dict('test', 'test1') + await table.create_entity(entity=entity) + + # Assert + resp = await self.table.get_entity('test', 'test1') + self._assert_default_entity(resp) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_add_outside_range(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(add=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start_pk='test', start_rk='test1', + end_pk='test', end_rk='test1', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + with self.assertRaises(HttpResponseError): + entity = self._create_random_entity_dict() + await table.create_entity(entity=entity) + + # Assert + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_update(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = await self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(update=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + updated_entity = self._create_updated_entity_dict(entity.PartitionKey, entity.RowKey) + await table.update_entity(mode=UpdateMode.REPLACE, entity=updated_entity) + + # Assert + received_entity = await self.table.get_entity(entity.PartitionKey, + entity.RowKey) + self._assert_updated_entity(received_entity) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_delete(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = await self._insert_random_entity() + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + permission=TableSasPermissions(delete=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + await table.delete_entity(entity.PartitionKey, entity.RowKey) + + # Assert + with self.assertRaises(ResourceNotFoundError): + await self.table.get_entity(entity.PartitionKey, entity.RowKey) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("Cosmos Tables does not yet support sas") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_upper_case_table_name(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = await self._insert_random_entity() + + # Table names are case insensitive, so simply upper case our existing table name to test + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name.upper(), + permission=TableSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow() - timedelta(minutes=1), + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(self.table_name) + entities = [] + async for t in table.query_entities( + filter="PartitionKey eq '{}'".format(entity['PartitionKey'])): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("pending") + @pytest.mark.live_test_only + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_sas_signed_identifier(self, resource_group, location, cosmos_account, cosmos_account_key): + # SAS URL is calculated from storage key, so this test runs live only + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support sas") + await self._set_up(cosmos_account, cosmos_account_key) + try: + # Arrange + entity, _ = await self._insert_random_entity() + + access_policy = AccessPolicy() + access_policy.start = datetime(2011, 10, 11) + access_policy.expiry = datetime(2020, 10, 12) + access_policy.permission = TableSasPermissions(read=True) + identifiers = {'testid': access_policy} + + await self.table.set_table_access_policy(identifiers) + + token = generate_table_sas( + cosmos_account.name, + cosmos_account_key, + self.table_name, + policy_id='testid', + ) + + # Act + service = TableServiceClient( + self.account_url(cosmos_account, "cosmos"), + credential=token, + ) + table = service.get_table_client(table=self.table_name) + entities = [] + async for t in table.query_entities( + filter="PartitionKey eq '{}'".format(entity.PartitionKey)): + entities.append(t) + + # Assert + self.assertEqual(len(entities), 1) + self._assert_default_entity(entities[0]) + finally: + await self._tear_down() + if self.is_live: + sleep(SLEEP_DELAY) + + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_properties.py b/sdk/tables/azure-data-tables/tests/test_table_service_properties.py index 9e4f0e13f4c2..1c2834b18972 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_service_properties.py +++ b/sdk/tables/azure-data-tables/tests/test_table_service_properties.py @@ -18,6 +18,8 @@ from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer + # ------------------------------------------------------------------------------ @@ -98,7 +100,8 @@ def _assert_retention_equal(self, ret1, ret2): self.assertEqual(ret1.days, ret2.days) # --Test cases per service --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_table_service_properties(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -120,7 +123,8 @@ def test_table_service_properties(self, resource_group, location, storage_accoun # --Test cases per feature --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_logging(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -138,7 +142,8 @@ def test_set_logging(self, resource_group, location, storage_account, storage_ac received_props = tsc.get_service_properties() self._assert_logging_equal(received_props['analytics_logging'], logging) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_hour_metrics(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -156,7 +161,8 @@ def test_set_hour_metrics(self, resource_group, location, storage_account, stora received_props = tsc.get_service_properties() self._assert_metrics_equal(received_props['hour_metrics'], hour_metrics) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_minute_metrics(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -175,7 +181,8 @@ def test_set_minute_metrics(self, resource_group, location, storage_account, sto received_props = tsc.get_service_properties() self._assert_metrics_equal(received_props['minute_metrics'], minute_metrics) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_set_cors(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -208,14 +215,16 @@ def test_set_cors(self, resource_group, location, storage_account, storage_accou self._assert_cors_equal(received_props['cors'], cors) # --Test cases for errors --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_retention_no_days(self, resource_group, location, storage_account, storage_account_key): # Assert self.assertRaises(ValueError, RetentionPolicy, True, None) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_too_many_cors_rules(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -227,7 +236,8 @@ def test_too_many_cors_rules(self, resource_group, location, storage_account, st self.assertRaises(HttpResponseError, tsc.set_service_properties, None, None, None, cors) - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") def test_retention_too_long(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_properties_async.py b/sdk/tables/azure-data-tables/tests/test_table_service_properties_async.py index 31e563709343..7b6892b38745 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_service_properties_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_service_properties_async.py @@ -16,7 +16,8 @@ from azure.data.tables._models import TableAnalyticsLogging, Metrics, RetentionPolicy, CorsRule from azure.data.tables.aio import TableServiceClient -from _shared.testcase import GlobalStorageAccountPreparer, TableTestCase +from _shared.testcase import TableTestCase +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer # ------------------------------------------------------------------------------ @@ -31,6 +32,7 @@ def _assert_properties_default(self, prop): self._assert_metrics_equal(prop['minute_metrics'], Metrics()) self._assert_cors_equal(prop['cors'], list()) + def _assert_logging_equal(self, log1, log2): if log1 is None or log2 is None: self.assertEqual(log1, log2) @@ -42,6 +44,7 @@ def _assert_logging_equal(self, log1, log2): self.assertEqual(log1.delete, log2.delete) self._assert_retention_equal(log1.retention_policy, log2.retention_policy) + def _assert_delete_retention_policy_equal(self, policy1, policy2): if policy1 is None or policy2 is None: self.assertEqual(policy1, policy2) @@ -50,6 +53,7 @@ def _assert_delete_retention_policy_equal(self, policy1, policy2): self.assertEqual(policy1.enabled, policy2.enabled) self.assertEqual(policy1.days, policy2.days) + def _assert_static_website_equal(self, prop1, prop2): if prop1 is None or prop2 is None: self.assertEqual(prop1, prop2) @@ -59,6 +63,7 @@ def _assert_static_website_equal(self, prop1, prop2): self.assertEqual(prop1.index_document, prop2.index_document) self.assertEqual(prop1.error_document404_path, prop2.error_document404_path) + def _assert_delete_retention_policy_not_equal(self, policy1, policy2): if policy1 is None or policy2 is None: self.assertNotEqual(policy1, policy2) @@ -67,6 +72,7 @@ def _assert_delete_retention_policy_not_equal(self, policy1, policy2): self.assertFalse(policy1.enabled == policy2.enabled and policy1.days == policy2.days) + def _assert_metrics_equal(self, metrics1, metrics2): if metrics1 is None or metrics2 is None: self.assertEqual(metrics1, metrics2) @@ -77,6 +83,7 @@ def _assert_metrics_equal(self, metrics1, metrics2): self.assertEqual(metrics1.include_apis, metrics2.include_apis) self._assert_retention_equal(metrics1.retention_policy, metrics2.retention_policy) + def _assert_cors_equal(self, cors1, cors2): if cors1 is None or cors2 is None: self.assertEqual(cors1, cors2) @@ -93,12 +100,15 @@ def _assert_cors_equal(self, cors1, cors2): self.assertEqual(len(rule1.exposed_headers), len(rule2.exposed_headers)) self.assertEqual(len(rule1.allowed_headers), len(rule2.allowed_headers)) + def _assert_retention_equal(self, ret1, ret2): self.assertEqual(ret1.enabled, ret2.enabled) self.assertEqual(ret1.days, ret2.days) + # --Test cases per service --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_table_service_properties_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -120,7 +130,8 @@ async def test_table_service_properties_async(self, resource_group, location, st # --Test cases per feature --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_logging_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -138,7 +149,9 @@ async def test_set_logging_async(self, resource_group, location, storage_account received_props = await tsc.get_service_properties() self._assert_logging_equal(received_props['analytics_logging'], logging) - @GlobalStorageAccountPreparer() + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_hour_metrics_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -156,7 +169,9 @@ async def test_set_hour_metrics_async(self, resource_group, location, storage_ac received_props = await tsc.get_service_properties() self._assert_metrics_equal(received_props['hour_metrics'], hour_metrics) - @GlobalStorageAccountPreparer() + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_minute_metrics_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -175,7 +190,9 @@ async def test_set_minute_metrics_async(self, resource_group, location, storage_ received_props = await tsc.get_service_properties() self._assert_metrics_equal(received_props['minute_metrics'], minute_metrics) - @GlobalStorageAccountPreparer() + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_set_cors_async(self, resource_group, location, storage_account, storage_account_key): # Arrange url = self.account_url(storage_account, "table") @@ -207,15 +224,20 @@ async def test_set_cors_async(self, resource_group, location, storage_account, s received_props = await tsc.get_service_properties() self._assert_cors_equal(received_props['cors'], cors) + # --Test cases for errors --------------------------------------- - @GlobalStorageAccountPreparer() + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_retention_no_days_async(self, resource_group, location, storage_account, storage_account_key): # Assert self.assertRaises(ValueError, RetentionPolicy, True, None) - @GlobalStorageAccountPreparer() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_too_many_cors_rules_async(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -227,7 +249,10 @@ async def test_too_many_cors_rules_async(self, resource_group, location, storage with self.assertRaises(HttpResponseError): await tsc.set_service_properties(None, None, None, cors) - @GlobalStorageAccountPreparer() + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix="tablestest") async def test_retention_too_long_async(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos.py new file mode 100644 index 000000000000..5085e2d7e5d6 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos.py @@ -0,0 +1,268 @@ +# 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. +# -------------------------------------------------------------------------- +import unittest +import time +import pytest +from azure.data.tables._models import TableAnalyticsLogging, Metrics, RetentionPolicy, CorsRule + +from msrest.exceptions import ValidationError # TODO This should be an azure-core error. +from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer +from azure.core.exceptions import HttpResponseError + +from azure.data.tables import TableServiceClient + +from _shared.testcase import TableTestCase, RERUNS_DELAY +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer +# ------------------------------------------------------------------------------ + +class TableServicePropertiesTest(TableTestCase): + # --Helpers----------------------------------------------------------------- + def _assert_properties_default(self, prop): + self.assertIsNotNone(prop) + + self._assert_logging_equal(prop['analytics_logging'], TableAnalyticsLogging()) + self._assert_metrics_equal(prop['hour_metrics'], Metrics()) + self._assert_metrics_equal(prop['minute_metrics'], Metrics()) + self._assert_cors_equal(prop['cors'], list()) + + def _assert_logging_equal(self, log1, log2): + if log1 is None or log2 is None: + self.assertEqual(log1, log2) + return + + self.assertEqual(log1.version, log2.version) + self.assertEqual(log1.read, log2.read) + self.assertEqual(log1.write, log2.write) + self.assertEqual(log1.delete, log2.delete) + self._assert_retention_equal(log1.retention_policy, log2.retention_policy) + + def _assert_delete_retention_policy_equal(self, policy1, policy2): + if policy1 is None or policy2 is None: + self.assertEqual(policy1, policy2) + return + + self.assertEqual(policy1.enabled, policy2.enabled) + self.assertEqual(policy1.days, policy2.days) + + def _assert_static_website_equal(self, prop1, prop2): + if prop1 is None or prop2 is None: + self.assertEqual(prop1, prop2) + return + + self.assertEqual(prop1.enabled, prop2.enabled) + self.assertEqual(prop1.index_document, prop2.index_document) + self.assertEqual(prop1.error_document404_path, prop2.error_document404_path) + + def _assert_delete_retention_policy_not_equal(self, policy1, policy2): + if policy1 is None or policy2 is None: + self.assertNotEqual(policy1, policy2) + return + + self.assertFalse(policy1.enabled == policy2.enabled + and policy1.days == policy2.days) + + def _assert_metrics_equal(self, metrics1, metrics2): + if metrics1 is None or metrics2 is None: + self.assertEqual(metrics1, metrics2) + return + + self.assertEqual(metrics1.version, metrics2.version) + self.assertEqual(metrics1.enabled, metrics2.enabled) + self.assertEqual(metrics1.include_apis, metrics2.include_apis) + self._assert_retention_equal(metrics1.retention_policy, metrics2.retention_policy) + + def _assert_cors_equal(self, cors1, cors2): + if cors1 is None or cors2 is None: + self.assertEqual(cors1, cors2) + return + + self.assertEqual(len(cors1), len(cors2)) + + for i in range(0, len(cors1)): + rule1 = cors1[i] + rule2 = cors2[i] + self.assertEqual(len(rule1.allowed_origins), len(rule2.allowed_origins)) + self.assertEqual(len(rule1.allowed_methods), len(rule2.allowed_methods)) + self.assertEqual(rule1.max_age_in_seconds, rule2.max_age_in_seconds) + self.assertEqual(len(rule1.exposed_headers), len(rule2.exposed_headers)) + self.assertEqual(len(rule1.allowed_headers), len(rule2.allowed_headers)) + + def _assert_retention_equal(self, ret1, ret2): + self.assertEqual(ret1.enabled, ret2.enabled) + self.assertEqual(ret1.days, ret2.days) + + # --Test cases per service --------------------------------------- + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_table_service_properties(self, resource_group, location, storage_account, storage_account_key): + # Arrange + url = self.account_url(storage_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, storage_account_key) + # Act + resp = tsc.set_service_properties( + analytics_logging=TableAnalyticsLogging(), + hour_metrics=Metrics(), + minute_metrics=Metrics(), + cors=list()) + + # Assert + self.assertIsNone(resp) + self._assert_properties_default(tsc.get_service_properties()) + if self.is_live: + sleep(SLEEP_DELAY) + + + # --Test cases per feature --------------------------------------- + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_logging(self, resource_group, location, storage_account, storage_account_key): + # Arrange + url = self.account_url(storage_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, storage_account_key) + logging = TableAnalyticsLogging(read=True, write=True, delete=True, retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + tsc.set_service_properties(analytics_logging=logging) + + # Assert + received_props = tsc.get_service_properties() + self._assert_logging_equal(received_props['analytics_logging'], logging) + if self.is_live: + time.sleep(30) + + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_hour_metrics(self, resource_group, location, storage_account, storage_account_key): + # Arrange + url = self.account_url(storage_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, storage_account_key) + hour_metrics = Metrics(enabled=True, include_apis=True, retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + tsc.set_service_properties(hour_metrics=hour_metrics) + + # Assert + received_props = tsc.get_service_properties() + self._assert_metrics_equal(received_props['hour_metrics'], hour_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_minute_metrics(self, resource_group, location, storage_account, storage_account_key): + # Arrange + url = self.account_url(storage_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, storage_account_key) + minute_metrics = Metrics(enabled=True, include_apis=True, + retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + tsc.set_service_properties(minute_metrics=minute_metrics) + + # Assert + received_props = tsc.get_service_properties() + self._assert_metrics_equal(received_props['minute_metrics'], minute_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_set_cors(self, resource_group, location, storage_account, storage_account_key): + # Arrange + url = self.account_url(storage_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, storage_account_key) + cors_rule1 = CorsRule(['www.xyz.com'], ['GET']) + + allowed_origins = ['www.xyz.com', "www.ab.com", "www.bc.com"] + allowed_methods = ['GET', 'PUT'] + max_age_in_seconds = 500 + exposed_headers = ["x-ms-meta-data*", "x-ms-meta-source*", "x-ms-meta-abc", "x-ms-meta-bcd"] + allowed_headers = ["x-ms-meta-data*", "x-ms-meta-target*", "x-ms-meta-xyz", "x-ms-meta-foo"] + cors_rule2 = CorsRule( + allowed_origins, + allowed_methods, + max_age_in_seconds=max_age_in_seconds, + exposed_headers=exposed_headers, + allowed_headers=allowed_headers) + + cors = [cors_rule1, cors_rule2] + + # Act + tsc.set_service_properties(cors=cors) + + # Assert + received_props = tsc.get_service_properties() + self._assert_cors_equal(received_props['cors'], cors) + if self.is_live: + sleep(SLEEP_DELAY) + + # --Test cases for errors --------------------------------------- + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_retention_no_days(self, resource_group, location, storage_account, storage_account_key): + # Assert + self.assertRaises(ValueError, + RetentionPolicy, + True, None) + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_too_many_cors_rules(self, resource_group, location, storage_account, storage_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(storage_account, "cosmos"), storage_account_key) + cors = [] + for i in range(0, 6): + cors.append(CorsRule(['www.xyz.com'], ['GET'])) + + # Assert + self.assertRaises(HttpResponseError, + tsc.set_service_properties, None, None, None, cors) + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("Cosmos Tables does not yet support service properties") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_retention_too_long(self, resource_group, location, storage_account, storage_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(storage_account, "cosmos"), storage_account_key) + minute_metrics = Metrics(enabled=True, include_apis=True, + retention_policy=RetentionPolicy(enabled=True, days=366)) + + # Assert + self.assertRaises(HttpResponseError, + tsc.set_service_properties, + None, None, minute_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos_async.py new file mode 100644 index 000000000000..94adc7b48a6f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos_async.py @@ -0,0 +1,263 @@ +# 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. +# -------------------------------------------------------------------------- +import unittest +import pytest +from time import sleep + +from msrest.exceptions import ValidationError # TODO This should be an azure-core error. +from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer +from azure.core.exceptions import HttpResponseError + +from azure.data.tables._models import TableAnalyticsLogging, Metrics, RetentionPolicy, CorsRule +from azure.data.tables.aio import TableServiceClient + +from _shared.testcase import TableTestCase, RERUNS_DELAY, SLEEP_DELAY +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer +# ------------------------------------------------------------------------------ + +class TableServicePropertiesTest(TableTestCase): + # --Helpers----------------------------------------------------------------- + def _assert_properties_default(self, prop): + self.assertIsNotNone(prop) + + self._assert_logging_equal(prop['analytics_logging'], TableAnalyticsLogging()) + self._assert_metrics_equal(prop['hour_metrics'], Metrics()) + self._assert_metrics_equal(prop['minute_metrics'], Metrics()) + self._assert_cors_equal(prop['cors'], list()) + + def _assert_logging_equal(self, log1, log2): + if log1 is None or log2 is None: + self.assertEqual(log1, log2) + return + + self.assertEqual(log1.version, log2.version) + self.assertEqual(log1.read, log2.read) + self.assertEqual(log1.write, log2.write) + self.assertEqual(log1.delete, log2.delete) + self._assert_retention_equal(log1.retention_policy, log2.retention_policy) + + def _assert_delete_retention_policy_equal(self, policy1, policy2): + if policy1 is None or policy2 is None: + self.assertEqual(policy1, policy2) + return + + self.assertEqual(policy1.enabled, policy2.enabled) + self.assertEqual(policy1.days, policy2.days) + + def _assert_static_website_equal(self, prop1, prop2): + if prop1 is None or prop2 is None: + self.assertEqual(prop1, prop2) + return + + self.assertEqual(prop1.enabled, prop2.enabled) + self.assertEqual(prop1.index_document, prop2.index_document) + self.assertEqual(prop1.error_document404_path, prop2.error_document404_path) + + def _assert_delete_retention_policy_not_equal(self, policy1, policy2): + if policy1 is None or policy2 is None: + self.assertNotEqual(policy1, policy2) + return + + self.assertFalse(policy1.enabled == policy2.enabled + and policy1.days == policy2.days) + + def _assert_metrics_equal(self, metrics1, metrics2): + if metrics1 is None or metrics2 is None: + self.assertEqual(metrics1, metrics2) + return + + self.assertEqual(metrics1.version, metrics2.version) + self.assertEqual(metrics1.enabled, metrics2.enabled) + self.assertEqual(metrics1.include_apis, metrics2.include_apis) + self._assert_retention_equal(metrics1.retention_policy, metrics2.retention_policy) + + def _assert_cors_equal(self, cors1, cors2): + if cors1 is None or cors2 is None: + self.assertEqual(cors1, cors2) + return + + self.assertEqual(len(cors1), len(cors2)) + + for i in range(0, len(cors1)): + rule1 = cors1[i] + rule2 = cors2[i] + self.assertEqual(len(rule1.allowed_origins), len(rule2.allowed_origins)) + self.assertEqual(len(rule1.allowed_methods), len(rule2.allowed_methods)) + self.assertEqual(rule1.max_age_in_seconds, rule2.max_age_in_seconds) + self.assertEqual(len(rule1.exposed_headers), len(rule2.exposed_headers)) + self.assertEqual(len(rule1.allowed_headers), len(rule2.allowed_headers)) + + def _assert_retention_equal(self, ret1, ret2): + self.assertEqual(ret1.enabled, ret2.enabled) + self.assertEqual(ret1.days, ret2.days) + + # --Test cases per service --------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_table_service_properties_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, cosmos_account_key, logging_enable=True) + # Act + resp = await tsc.set_service_properties( + analytics_logging=TableAnalyticsLogging(), + hour_metrics=Metrics(), + minute_metrics=Metrics(), + cors=list()) + + # Assert + self.assertIsNone(resp) + self._assert_properties_default(await tsc.get_service_properties()) + if self.is_live: + sleep(SLEEP_DELAY) + + # --Test cases per feature --------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_logging_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, cosmos_account_key) + logging = TableAnalyticsLogging(read=True, write=True, delete=True, retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + await tsc.set_service_properties(analytics_logging=logging) + + # Assert + received_props = await tsc.get_service_properties() + self._assert_logging_equal(received_props['analytics_logging'], logging) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_hour_metrics_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, cosmos_account_key) + hour_metrics = Metrics(enabled=True, include_apis=True, retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + await tsc.set_service_properties(hour_metrics=hour_metrics) + + # Assert + received_props = await tsc.get_service_properties() + self._assert_metrics_equal(received_props['hour_metrics'], hour_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_minute_metrics_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, cosmos_account_key) + minute_metrics = Metrics(enabled=True, include_apis=True, + retention_policy=RetentionPolicy(enabled=True, days=5)) + + # Act + await tsc.set_service_properties(minute_metrics=minute_metrics) + + # Assert + received_props = await tsc.get_service_properties() + self._assert_metrics_equal(received_props['minute_metrics'], minute_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_set_cors_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + url = self.account_url(cosmos_account, "cosmos") + if 'cosmos' in url: + pytest.skip("Cosmos Tables does not yet support service properties") + tsc = TableServiceClient(url, cosmos_account_key) + cors_rule1 = CorsRule(['www.xyz.com'], ['GET']) + + allowed_origins = ['www.xyz.com', "www.ab.com", "www.bc.com"] + allowed_methods = ['GET', 'PUT'] + max_age_in_seconds = 500 + exposed_headers = ["x-ms-meta-data*", "x-ms-meta-source*", "x-ms-meta-abc", "x-ms-meta-bcd"] + allowed_headers = ["x-ms-meta-data*", "x-ms-meta-target*", "x-ms-meta-xyz", "x-ms-meta-foo"] + cors_rule2 = CorsRule( + allowed_origins, + allowed_methods, + max_age_in_seconds=max_age_in_seconds, + exposed_headers=exposed_headers, + allowed_headers=allowed_headers) + + cors = [cors_rule1, cors_rule2] + + # Act + await tsc.set_service_properties(cors=cors) + + # Assert + received_props = await tsc.get_service_properties() + self._assert_cors_equal(received_props['cors'], cors) + if self.is_live: + sleep(SLEEP_DELAY) + + # --Test cases for errors --------------------------------------- + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_retention_no_days_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Assert + self.assertRaises(ValueError, + RetentionPolicy, + True, None) + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_too_many_cors_rules_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + cors = [] + for i in range(0, 6): + cors.append(CorsRule(['www.xyz.com'], ['GET'])) + + # Assert + self.assertRaises(HttpResponseError, + tsc.set_service_properties, None, None, None, cors) + if self.is_live: + sleep(SLEEP_DELAY) + + + @pytest.mark.skip("pending") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + async def test_retention_too_long_async(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + minute_metrics = Metrics(enabled=True, include_apis=True, + retention_policy=RetentionPolicy(enabled=True, days=366)) + + await tsc.set_service_properties(None, None, minute_metrics) + # Assert + self.assertRaises(HttpResponseError, + tsc.set_service_properties, + None, None, minute_metrics) + if self.is_live: + sleep(SLEEP_DELAY) + + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_stats.py b/sdk/tables/azure-data-tables/tests/test_table_service_stats.py index d8f56e40b17e..e539a49058fa 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_service_stats.py +++ b/sdk/tables/azure-data-tables/tests/test_table_service_stats.py @@ -9,7 +9,7 @@ # from azure.data.tabless import TableServiceClient from azure.data.tables import TableServiceClient from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer -from _shared.testcase import GlobalResourceGroupPreparer, TableTestCase, GlobalStorageAccountPreparer +from _shared.testcase import GlobalResourceGroupPreparer, TableTestCase SERVICE_UNAVAILABLE_RESP_BODY = 'unavailableliveWed, 19 Jan 2021 22:28:43 GMT ' +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer + # --Test Class ----------------------------------------------------------------- class TableServiceStatsTest(TableTestCase): @@ -48,8 +50,8 @@ def override_response_body_with_live_status(response): # --Test cases per service --------------------------------------- - @GlobalResourceGroupPreparer() - @StorageAccountPreparer(name_prefix='pyacrstorage', sku='Standard_RAGRS', random_name_enabled=True) + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix='pyacrstorage', sku='Standard_RAGRS', random_name_enabled=True) def test_table_service_stats_f(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) @@ -59,8 +61,8 @@ def test_table_service_stats_f(self, resource_group, location, storage_account, # Assert self._assert_stats_default(stats) - @GlobalResourceGroupPreparer() - @StorageAccountPreparer(name_prefix='pyacrstorage', sku='Standard_RAGRS', random_name_enabled=True) + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedStorageAccountPreparer(name_prefix='pyacrstorage', sku='Standard_RAGRS', random_name_enabled=True) def test_table_service_stats_when_unavailable(self, resource_group, location, storage_account, storage_account_key): # Arrange tsc = TableServiceClient(self.account_url(storage_account, "table"), storage_account_key) diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_stats_async.py b/sdk/tables/azure-data-tables/tests/test_table_service_stats_async.py index 6d279b13478e..d63777855a5f 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_service_stats_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_service_stats_async.py @@ -8,8 +8,8 @@ # from azure.data.tabless import TableServiceClient from azure.data.tables.aio import TableServiceClient -from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer -from _shared.testcase import GlobalResourceGroupPreparer, TableTestCase, GlobalStorageAccountPreparer +from devtools_testutils import CachedResourceGroupPreparer, CachedStorageAccountPreparer +from _shared.testcase import TableTestCase SERVICE_UNAVAILABLE_RESP_BODY = 'unavailableunavailable ' + +SERVICE_LIVE_RESP_BODY = 'liveWed, 19 Jan 2021 22:28:43 GMT ' + + +# --Test Class ----------------------------------------------------------------- +class TableServiceStatsTest(TableTestCase): + # --Helpers----------------------------------------------------------------- + def _assert_stats_default(self, stats): + self.assertIsNotNone(stats) + self.assertIsNotNone(stats['geo_replication']) + + self.assertEqual(stats['geo_replication']['status'], 'live') + self.assertIsNotNone(stats['geo_replication']['last_sync_time']) + + def _assert_stats_unavailable(self, stats): + self.assertIsNotNone(stats) + self.assertIsNotNone(stats['geo_replication']) + + self.assertEqual(stats['geo_replication']['status'], 'unavailable') + self.assertIsNone(stats['geo_replication']['last_sync_time']) + + @staticmethod + def override_response_body_with_unavailable_status(response): + response.http_response.text = lambda _: SERVICE_UNAVAILABLE_RESP_BODY + + @staticmethod + def override_response_body_with_live_status(response): + response.http_response.text = lambda _: SERVICE_LIVE_RESP_BODY + + # --Test cases per service --------------------------------------- + @pytest.mark.skip("invalid json") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_table_service_stats_f(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + + # Act + stats = tsc.get_service_stats(raw_response_hook=self.override_response_body_with_live_status) + # Assert + self._assert_stats_default(stats) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("invalid json") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest") + def test_table_service_stats_when_unavailable(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + + # Act + stats = tsc.get_service_stats( + raw_response_hook=self.override_response_body_with_unavailable_status) + + # Assert + self._assert_stats_unavailable(stats) + + if self.is_live: + sleep(SLEEP_DELAY) + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_stats_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_service_stats_cosmos_async.py new file mode 100644 index 000000000000..3b722388063a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_service_stats_cosmos_async.py @@ -0,0 +1,86 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import unittest +import pytest + +# from azure.data.tabless import TableServiceClient +from azure.data.tables.aio import TableServiceClient +from _shared.cosmos_testcase import CachedCosmosAccountPreparer + +from devtools_testutils import CachedResourceGroupPreparer +from _shared.testcase import TableTestCase, RERUNS_DELAY, SLEEP_DELAY + +SERVICE_UNAVAILABLE_RESP_BODY = 'unavailable ' + +SERVICE_LIVE_RESP_BODY = 'liveWed, 19 Jan 2021 22:28:43 GMT ' + +# --Test Class ----------------------------------------------------------------- +class TableServiceStatsTest(TableTestCase): + # --Helpers----------------------------------------------------------------- + def _assert_stats_default(self, stats): + self.assertIsNotNone(stats) + self.assertIsNotNone(stats['geo_replication']) + + self.assertEqual(stats['geo_replication']['status'], 'live') + self.assertIsNotNone(stats['geo_replication']['last_sync_time']) + + def _assert_stats_unavailable(self, stats): + self.assertIsNotNone(stats) + self.assertIsNotNone(stats['geo_replication']) + + self.assertEqual(stats['geo_replication']['status'], 'unavailable') + self.assertIsNone(stats['geo_replication']['last_sync_time']) + + @staticmethod + def override_response_body_with_unavailable_status(response): + response.http_response.text = lambda _: SERVICE_UNAVAILABLE_RESP_BODY + + @staticmethod + def override_response_body_with_live_status(response): + response.http_response.text = lambda _: SERVICE_LIVE_RESP_BODY + + # --Test cases per service --------------------------------------- + + @pytest.mark.skip("invalid json") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest", sku='Standard_RAGRS') + async def test_table_service_stats_f(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + + # Act + stats = await tsc.get_service_stats(raw_response_hook=self.override_response_body_with_live_status) + # Assert + self._assert_stats_default(stats) + + if self.is_live: + sleep(SLEEP_DELAY) + + @pytest.mark.skip("invalid json") + @CachedResourceGroupPreparer(name_prefix="tablestest") + @CachedCosmosAccountPreparer(name_prefix="tablestest", sku='Standard_RAGRS') + async def test_table_service_stats_when_unavailable(self, resource_group, location, cosmos_account, cosmos_account_key): + # Arrange + tsc = TableServiceClient(self.account_url(cosmos_account, "cosmos"), cosmos_account_key) + + # Act + stats = await tsc.get_service_stats( + raw_response_hook=self.override_response_body_with_unavailable_status) + + # Assert + self._assert_stats_unavailable(stats) + + if self.is_live: + sleep(SLEEP_DELAY) + + +# ------------------------------------------------------------------------------ +if __name__ == '__main__': + unittest.main() diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py index ea339a195ff8..7ba736fec903 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py @@ -40,7 +40,12 @@ def _prepare_create_resource(self, test_class_instance, **kwargs): self.live_test = not isinstance(test_class_instance, ReplayableTest) self.test_class_instance = test_class_instance - if self.live_test or test_class_instance.in_recording: + # This latter conditional is to triage a specific failure mode: + # If the first cached test run does not have any http traffic, a recording will not have been + # generated, so in_recording will be True even if live_test is false, so a random name would be given. + # In cached mode we need to avoid this because then for tests with recordings, they would not have a moniker. + if (self.live_test or test_class_instance.in_recording) \ + and not (not self.live_test and test_class_instance.in_recording and self._use_cache): resource_name = self.random_name if not self.live_test and isinstance(self, RecordingProcessor): test_class_instance.recording_processors.append(self) @@ -66,7 +71,7 @@ def _prepare_create_resource(self, test_class_instance, **kwargs): except Exception as e: msg = "Preparer failure when creating resource {} for test {}: {}".format( self.__class__.__name__, - test_class_instance, + test_class_instance, e) while e: try: @@ -132,7 +137,7 @@ def _preparer_wrapper(test_class_instance, **kwargs): self.moniker ) - # We shouldn't trim the same kwargs that we use for deletion, + # We shouldn't trim the same kwargs that we use for deletion, # we may remove some of the variables we needed to do the delete. trimmed_kwargs = {k:v for k,v in kwargs.items()} trim_kwargs_from_test_function(fn, trimmed_kwargs) @@ -147,7 +152,7 @@ def _preparer_wrapper(test_class_instance, **kwargs): fn(test_class_instance, **trimmed_kwargs) except (ImportError, SyntaxError): # ImportError for if asyncio isn't available, syntaxerror on some versions of 2.7 fn(test_class_instance, **trimmed_kwargs) - finally: + finally: # If we use cache we delay deletion for the end. # This won't guarantee deletion order, but it will guarantee everything delayed # does get deleted, in the worst case by getting rid of the RG at the top. diff --git a/tools/azure-sdk-tools/devtools_testutils/__init__.py b/tools/azure-sdk-tools/devtools_testutils/__init__.py index ffbd9f509d4a..a7ef0478d4f5 100644 --- a/tools/azure-sdk-tools/devtools_testutils/__init__.py +++ b/tools/azure-sdk-tools/devtools_testutils/__init__.py @@ -1,13 +1,14 @@ from .mgmt_testcase import (AzureMgmtTestCase, AzureMgmtPreparer) from .azure_testcase import AzureTestCase, is_live, get_region_override from .resource_testcase import (FakeResource, ResourceGroupPreparer, RandomNameResourceGroupPreparer, CachedResourceGroupPreparer) -from .storage_testcase import (FakeStorageAccount, StorageAccountPreparer) +from .storage_testcase import FakeStorageAccount, StorageAccountPreparer, CachedStorageAccountPreparer from .keyvault_preparer import KeyVaultPreparer __all__ = [ 'AzureMgmtTestCase', 'AzureMgmtPreparer', 'FakeResource', 'ResourceGroupPreparer', - 'FakeStorageAccount', 'StorageAccountPreparer', + 'StorageAccountPreparer', 'CachedStorageAccountPreparer', + 'FakeStorageAccount', 'AzureTestCase', 'is_live', 'get_region_override', 'KeyVaultPreparer', 'RandomNameResourceGroupPreparer', 'CachedResourceGroupPreparer' diff --git a/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py b/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py index 0451ebca5a0d..8b3c7e5c6352 100644 --- a/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py @@ -7,6 +7,7 @@ import functools import os import datetime +import time from functools import partial from azure_devtools.scenario_tests import AzureTestError, ReservedResourceNameError @@ -50,7 +51,7 @@ def __init__(self, name_prefix='', self._need_creation = False if self.random_name_enabled: self.resource_moniker = self.name_prefix + "rgname" - self.set_cache(use_cache, parameter_name) + self.set_cache(use_cache, parameter_name, name_prefix) self.delete_after_tag_timedelta = delete_after_tag_timedelta def create_resource(self, name, **kwargs): @@ -97,5 +98,5 @@ def remove_resource(self, name, **kwargs): except Exception: pass -RandomNameResourceGroupPreparer = partial(ResourceGroupPreparer, random_name_enabled=True) -CachedResourceGroupPreparer = partial(ResourceGroupPreparer, use_cache=True, random_name_enabled=True) +RandomNameResourceGroupPreparer = functools.partial(ResourceGroupPreparer, random_name_enabled=True) +CachedResourceGroupPreparer = functools.partial(ResourceGroupPreparer, use_cache=True, random_name_enabled=True) diff --git a/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py b/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py index 46908d054c94..78d9ff99d21d 100644 --- a/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/storage_testcase.py @@ -5,6 +5,7 @@ # -------------------------------------------------------------------------- from collections import namedtuple import os +import functools from azure.mgmt.storage import StorageManagementClient from azure.mgmt.storage.models import StorageAccount, Endpoints @@ -31,7 +32,8 @@ def __init__(self, resource_group_parameter_name=RESOURCE_GROUP_PARAM, disable_recording=True, playback_fake_resource=None, client_kwargs=None, - random_name_enabled=False): + random_name_enabled=False, + use_cache=False): super(StorageAccountPreparer, self).__init__(name_prefix, 24, disable_recording=disable_recording, playback_fake_resource=playback_fake_resource, @@ -44,6 +46,7 @@ def __init__(self, self.parameter_name = parameter_name self.storage_key = '' self.resource_moniker = self.name_prefix + self.set_cache(use_cache, sku, location, name_prefix) if random_name_enabled: self.resource_moniker += "storname" @@ -110,3 +113,5 @@ def _get_resource_group(self, **kwargs): template = 'To create a storage account a resource group is required. Please add ' \ 'decorator @{} in front of this storage account preparer.' raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + +CachedStorageAccountPreparer = functools.partial(StorageAccountPreparer, use_cache=True, random_name_enabled=True) \ No newline at end of file From aaa94ebbc2adac6b97642e9df2d49ef4439e1279 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 1 Oct 2020 15:29:14 -0700 Subject: [PATCH 44/71] Add sample showing custom credential types (#14052) --- sdk/identity/azure-identity/samples/README.md | 1 + .../samples/custom_credentials.py | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 sdk/identity/azure-identity/samples/custom_credentials.py diff --git a/sdk/identity/azure-identity/samples/README.md b/sdk/identity/azure-identity/samples/README.md index b2a2f99cce95..ab61f28e7cc6 100644 --- a/sdk/identity/azure-identity/samples/README.md +++ b/sdk/identity/azure-identity/samples/README.md @@ -34,4 +34,5 @@ pip install azure-identity azure-keyvault-secrets | File | Description | |-------------|-------------| | control_interactive_prompts.py | demonstrates controlling when interactive credentials prompt for user interaction | +| custom_credentials.py | demonstrates custom credential implementation | | user_authentication.py | demonstrates user authentication API for applications | diff --git a/sdk/identity/azure-identity/samples/custom_credentials.py b/sdk/identity/azure-identity/samples/custom_credentials.py new file mode 100644 index 000000000000..ff9a0ce10775 --- /dev/null +++ b/sdk/identity/azure-identity/samples/custom_credentials.py @@ -0,0 +1,71 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Demonstrates custom credential implementation""" + +import time +from typing import TYPE_CHECKING + +from azure.core.credentials import AccessToken +from azure.core.exceptions import ClientAuthenticationError +from azure.identity import AzureAuthorityHosts +import msal + +if TYPE_CHECKING: + from typing import Any, Union + + +class StaticTokenCredential(object): + """Authenticates with a previously acquired access token + + Note that an access token is valid only for certain resources and eventually expires. This credential is therefore + quite limited. An application using it must ensure the token is valid and contains all claims required by any + service client given an instance of this credential. + """ + def __init__(self, access_token): + # type: (Union[str, AccessToken]) -> None + if isinstance(access_token, AccessToken): + self._token = access_token + else: + # setting expires_on in the past causes Azure SDK clients to call get_token every time they need a token + self._token = AccessToken(token=access_token, expires_on=0) + + def get_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> AccessToken + """get_token is the only method a credential must implement""" + + return self._token + + +class OnBehalfOfCredential(object): + """Authenticates via the On-Behalf-Of flow using MSAL for Python + + A future version of azure-identity will include a credential supporting the On-Behalf-Of flow. Until then, + applications needing to authenticate through that flow can use a custom credential like this one. + """ + + def __init__(self, tenant_id, client_id, client_secret, user_access_token): + # type: (str, str, str, str) -> None + self._confidential_client = msal.ConfidentialClientApplication( + client_id=client_id, + client_credential=client_secret, + authority="https://{}/{}".format(AzureAuthorityHosts.AZURE_PUBLIC_CLOUD, tenant_id) + ) + self._user_token = user_access_token + + def get_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> AccessToken + """get_token is the only method a credential must implement""" + + now = int(time.time()) + result = self._confidential_client.acquire_token_on_behalf_of( + user_assertion=self._user_token, scopes=list(scopes) + ) + + if result and "access_token" in result and "expires_in" in result: + return AccessToken(result["access_token"], now + int(result["expires_in"])) + + raise ClientAuthenticationError( + message="Authentication failed: {}".format(result.get("error_description") or result.get("error")) + ) From ef3006df2966234184d5252fd0c546281783150a Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 1 Oct 2020 18:46:08 -0400 Subject: [PATCH 45/71] [core] [mgmt core] fix bug that didn't allow us to do LRO + relative polling url + parameterized endpoints (#14097) @RodgeFu @changlong-liu , I've also added code to azure mgmt core and bumped the dependency on azure-core there. This will require a release after azure-core (which we will release early next week). Is this ok with you guys? Thanks! --- sdk/core/azure-core/CHANGELOG.md | 6 +++++- .../azure/core/polling/async_base_polling.py | 2 ++ .../azure/core/polling/base_polling.py | 12 ++++++++++-- .../azure_core_asynctests/test_pipeline.py | 15 +++++++++++++++ sdk/core/azure-core/tests/test_polling.py | 17 +++++++++++++++++ sdk/core/azure-mgmt-core/CHANGELOG.md | 6 +++++- .../azure/mgmt/core/polling/arm_polling.py | 8 +++++++- sdk/core/azure-mgmt-core/setup.py | 2 +- .../tests/asynctests/test_async_arm_polling.py | 12 ++++++++++++ .../azure-mgmt-core/tests/test_arm_polling.py | 13 +++++++++++++ shared_requirements.txt | 2 +- 11 files changed, 88 insertions(+), 7 deletions(-) diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index c1e079d9993a..b423ea08f0b6 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -1,7 +1,11 @@ # Release History -## 1.8.2 (Unreleased) +## 1.8.2 (2020-10-05) + +### Bug Fixes + +- Fixed bug to allow polling in the case of parameterized endpoints with relative polling urls #14097 ## 1.8.1 (2020-09-08) diff --git a/sdk/core/azure-core/azure/core/polling/async_base_polling.py b/sdk/core/azure-core/azure/core/polling/async_base_polling.py index c62ea4c00fa4..8f85a5972058 100644 --- a/sdk/core/azure-core/azure/core/polling/async_base_polling.py +++ b/sdk/core/azure-core/azure/core/polling/async_base_polling.py @@ -111,6 +111,8 @@ async def request_status(self, status_link): # pylint:disable=invalid-overridde :rtype: azure.core.pipeline.PipelineResponse """ + if self._path_format_arguments: + status_link = self._client.format_url(status_link, **self._path_format_arguments) request = self._client.get(status_link) # Re-inject 'x-ms-client-request-id' while polling if "request_id" not in self._operation_config: diff --git a/sdk/core/azure-core/azure/core/polling/base_polling.py b/sdk/core/azure-core/azure/core/polling/base_polling.py index ba6731efb1f8..f72795aa0c61 100644 --- a/sdk/core/azure-core/azure/core/polling/base_polling.py +++ b/sdk/core/azure-core/azure/core/polling/base_polling.py @@ -361,7 +361,7 @@ def get_final_get_url(self, pipeline_response): return None -class LROBasePolling(PollingMethod): +class LROBasePolling(PollingMethod): # pylint: disable=too-many-instance-attributes """A base LRO poller. This assumes a basic flow: @@ -373,7 +373,12 @@ class LROBasePolling(PollingMethod): """ def __init__( - self, timeout=30, lro_algorithms=None, lro_options=None, **operation_config + self, + timeout=30, + lro_algorithms=None, + lro_options=None, + path_format_arguments=None, + **operation_config ): self._lro_algorithms = lro_algorithms or [ OperationResourcePolling(), @@ -389,6 +394,7 @@ def __init__( self._deserialization_callback = None # Will hold the deserialization callback self._operation_config = operation_config self._lro_options = lro_options + self._path_format_arguments = path_format_arguments self._status = None def status(self): @@ -564,6 +570,8 @@ def request_status(self, status_link): :rtype: azure.core.pipeline.PipelineResponse """ + if self._path_format_arguments: + status_link = self._client.format_url(status_link, **self._path_format_arguments) request = self._client.get(status_link) # Re-inject 'x-ms-client-request-id' while polling if "request_id" not in self._operation_config: diff --git a/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py b/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py index 070b50368c5a..66ec79abe307 100644 --- a/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py +++ b/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py @@ -42,6 +42,9 @@ AioHttpTransport ) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.polling.base_polling import LocationPolling + from azure.core.configuration import Configuration from azure.core import AsyncPipelineClient from azure.core.exceptions import AzureError @@ -140,6 +143,18 @@ async def test_async_transport_sleep(): async with AioHttpTransport() as transport: await transport.sleep(1) +def test_polling_with_path_format_arguments(): + method = AsyncLROBasePolling( + timeout=0, + path_format_arguments={"host": "host:3000", "accountName": "local"} + ) + client = AsyncPipelineClient(base_url="http://{accountName}{host}") + + method._operation = LocationPolling() + method._operation._location_url = "/results/1" + method._client = client + assert "http://localhost:3000/results/1" == method._client.format_url(method._operation.get_polling_url(), **method._path_format_arguments) + def test_async_trio_transport_sleep(): async def do(): diff --git a/sdk/core/azure-core/tests/test_polling.py b/sdk/core/azure-core/tests/test_polling.py index 02626bcad2cb..12aefa88d241 100644 --- a/sdk/core/azure-core/tests/test_polling.py +++ b/sdk/core/azure-core/tests/test_polling.py @@ -34,7 +34,12 @@ from azure.core import PipelineClient from azure.core.polling import * +from azure.core.polling.base_polling import ( + LROBasePolling, LocationPolling +) from msrest.serialization import Model +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse @pytest.fixture @@ -96,6 +101,18 @@ def deserialization_cb(response): assert no_polling_revived.finished() assert no_polling_revived.resource() == "Treated: "+initial_response +def test_polling_with_path_format_arguments(client): + method = LROBasePolling( + timeout=0, + path_format_arguments={"host": "host:3000", "accountName": "local"} + ) + client._base_url = "http://{accountName}{host}" + + method._operation = LocationPolling() + method._operation._location_url = "/results/1" + method._client = client + assert "http://localhost:3000/results/1" == method._client.format_url(method._operation.get_polling_url(), **method._path_format_arguments) + class PollingTwoSteps(PollingMethod): """An empty poller that returns the deserialized initial response. diff --git a/sdk/core/azure-mgmt-core/CHANGELOG.md b/sdk/core/azure-mgmt-core/CHANGELOG.md index 6117382520b3..b297dc82d656 100644 --- a/sdk/core/azure-mgmt-core/CHANGELOG.md +++ b/sdk/core/azure-mgmt-core/CHANGELOG.md @@ -1,7 +1,11 @@ # Release History -## 1.2.1 (unreleased) +## 1.2.1 (2020-10-05) + +### Bug Fixes + +- Fixed bug to allow polling in the case of parameterized endpoints with relative polling urls #14097 ## 1.2.0 (2020-07-06) diff --git a/sdk/core/azure-mgmt-core/azure/mgmt/core/polling/arm_polling.py b/sdk/core/azure-mgmt-core/azure/mgmt/core/polling/arm_polling.py index 33f05b6d9792..ef8530099cd0 100644 --- a/sdk/core/azure-mgmt-core/azure/mgmt/core/polling/arm_polling.py +++ b/sdk/core/azure-mgmt-core/azure/mgmt/core/polling/arm_polling.py @@ -176,7 +176,12 @@ def get_status(self, pipeline_response): class ARMPolling(LROBasePolling): def __init__( - self, timeout=30, lro_algorithms=None, lro_options=None, **operation_config + self, + timeout=30, + lro_algorithms=None, + lro_options=None, + path_format_arguments=None, + **operation_config ): lro_algorithms = lro_algorithms or [ AzureAsyncOperationPolling(lro_options=lro_options), @@ -188,6 +193,7 @@ def __init__( timeout=timeout, lro_algorithms=lro_algorithms, lro_options=lro_options, + path_format_arguments=path_format_arguments, **operation_config ) diff --git a/sdk/core/azure-mgmt-core/setup.py b/sdk/core/azure-mgmt-core/setup.py index 8c73219d6364..38047d812230 100644 --- a/sdk/core/azure-mgmt-core/setup.py +++ b/sdk/core/azure-mgmt-core/setup.py @@ -67,7 +67,7 @@ 'pytyped': ['py.typed'], }, install_requires=[ - "azure-core<2.0.0,>=1.7.0", + "azure-core<2.0.0,>=1.8.2", ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], diff --git a/sdk/core/azure-mgmt-core/tests/asynctests/test_async_arm_polling.py b/sdk/core/azure-mgmt-core/tests/asynctests/test_async_arm_polling.py index 7e7c9f3fa083..d14feac03525 100644 --- a/sdk/core/azure-mgmt-core/tests/asynctests/test_async_arm_polling.py +++ b/sdk/core/azure-mgmt-core/tests/asynctests/test_async_arm_polling.py @@ -48,6 +48,7 @@ from azure.core.polling.base_polling import ( LongRunningOperation, BadStatus, + LocationPolling ) from azure.mgmt.core.polling.async_arm_polling import ( AsyncARMPolling, @@ -603,3 +604,14 @@ async def test_long_running_negative(): LOCATION_BODY = json.dumps({ 'name': TEST_NAME }) POLLING_STATUS = 200 +def test_polling_with_path_format_arguments(): + method = AsyncARMPolling( + timeout=0, + path_format_arguments={"host": "host:3000", "accountName": "local"} + ) + client = AsyncPipelineClient(base_url="http://{accountName}{host}") + + method._operation = LocationPolling() + method._operation._location_url = "/results/1" + method._client = client + assert "http://localhost:3000/results/1" == method._client.format_url(method._operation.get_polling_url(), **method._path_format_arguments) \ No newline at end of file diff --git a/sdk/core/azure-mgmt-core/tests/test_arm_polling.py b/sdk/core/azure-mgmt-core/tests/test_arm_polling.py index 3b88d42bbad8..ad94f239f2a7 100644 --- a/sdk/core/azure-mgmt-core/tests/test_arm_polling.py +++ b/sdk/core/azure-mgmt-core/tests/test_arm_polling.py @@ -48,6 +48,7 @@ from azure.core.polling.base_polling import ( LongRunningOperation, BadStatus, + LocationPolling ) from azure.mgmt.core.polling.arm_polling import ( ARMPolling, @@ -588,3 +589,15 @@ def test_long_running_negative(self): LOCATION_BODY = json.dumps({ 'name': TEST_NAME }) POLLING_STATUS = 200 + def test_polling_with_path_format_arguments(self): + method = ARMPolling( + timeout=0, + path_format_arguments={"host": "host:3000", "accountName": "local"} + ) + client = PipelineClient(base_url="http://{accountName}{host}") + + method._operation = LocationPolling() + method._operation._location_url = "/results/1" + method._client = client + assert "http://localhost:3000/results/1" == method._client.format_url(method._operation.get_polling_url(), **method._path_format_arguments) + diff --git a/shared_requirements.txt b/shared_requirements.txt index 8486e7994bf3..395f8a3c1afd 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -117,7 +117,7 @@ six>=1.6 isodate>=0.6.0 avro<2.0.0,>=1.10.0 #override azure azure-keyvault~=1.0 -#override azure-mgmt-core azure-core<2.0.0,>=1.7.0 +#override azure-mgmt-core azure-core<2.0.0,>=1.8.2 #override azure-core-tracing-opencensus azure-core<2.0.0,>=1.0.0 #override azure-core-tracing-opentelemetry azure-core<2.0.0,>=1.0.0 #override azure-cosmos azure-core<2.0.0,>=1.0.0 From d0a00b80ad3daf6bfcd7c51c87f886a3d8fa7649 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Thu, 1 Oct 2020 17:54:07 -0700 Subject: [PATCH 46/71] Add Keyvault event type mappings to EventGrid (#14190) * readme + samples improvement * Add KeyvaultEvent Types * Revert "Add KeyvaultEvent Types" This reverts commit 1afb01609a154cb227c5028fd55f9bc02723a58a. * Add keyvault event types * Revert "readme + samples improvement" This reverts commit 2ebd33a1423ae3abb491cffca37a1d4ebba5c4fd. * Update sdk/eventgrid/azure-eventgrid/CHANGELOG.md --- sdk/eventgrid/azure-eventgrid/CHANGELOG.md | 3 +++ .../azure-eventgrid/azure/eventgrid/_event_mappings.py | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md index 2d8ceeae66d2..a51a625a3118 100644 --- a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md @@ -2,6 +2,9 @@ ## 2.0.0b3 (Unreleased) + **Feature** + - Added support for Keyvault Event Types + - Added distributed tracing support for CloudEvents ## 2.0.0b2 (2020-09-24) diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_event_mappings.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_event_mappings.py index 6ccd6340a370..f0c760f59b80 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_event_mappings.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_event_mappings.py @@ -30,6 +30,16 @@ "Microsoft.EventGrid.SubscriptionValidationEvent": models.SubscriptionValidationEventData, "Microsoft.EventGrid.SubscriptionDeletedEvent": models.SubscriptionDeletedEventData, "Microsoft.EventHub.CaptureFileCreated": models.EventHubCaptureFileCreatedEventData, + "Microsoft.KeyVault.CertificateNewVersionCreated": models.KeyVaultCertificateNewVersionCreatedEventData, + "Microsoft.KeyVault.CertificateNearExpiry": models.KeyVaultCertificateNearExpiryEventData, + "Microsoft.KeyVault.CertificateExpired": models.KeyVaultCertificateExpiredEventData, + "Microsoft.KeyVault.KeyNewVersionCreated": models.KeyVaultKeyNewVersionCreatedEventData, + "Microsoft.KeyVault.KeyNearExpiry": models.KeyVaultKeyNearExpiryEventData, + "Microsoft.KeyVault.KeyExpired": models.KeyVaultKeyExpiredEventData, + "Microsoft.KeyVault.SecretNewVersionCreated": models.KeyVaultSecretNewVersionCreatedEventData, + "Microsoft.KeyVault.SecretNearExpiry": models.KeyVaultSecretNearExpiryEventData, + "Microsoft.KeyVault.SecretExpired": models.KeyVaultSecretExpiredEventData, + "Microsoft.KeyVault.VaultAccessPolicyChanged": models.KeyVaultAccessPolicyChangedEventData, "Microsoft.MachineLearningServices.DatasetDriftDetected": models.MachineLearningServicesDatasetDriftDetectedEventData, "Microsoft.MachineLearningServices.ModelDeployed": models.MachineLearningServicesModelDeployedEventData, From 32bfb29b0ed5f22ded9008c1533b7e9ae734978b Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Thu, 1 Oct 2020 17:54:29 -0700 Subject: [PATCH 47/71] Distributed Tracing support for CloudEvents (#14127) * initial commit * Distributed Tracing * Revert "initial commit" This reverts commit ea52e03f0ba252b10259535f02205ac17f2e3943. * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py * comments * lint * policy change * comments * sdk moniker * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py * re record * dt --- .../azure/eventgrid/_policies.py | 43 ++++++++++++ .../azure/eventgrid/_publisher_client.py | 46 +++++++++++- .../eventgrid/aio/_publisher_client_async.py | 70 +++++++++++++++---- ...nt.test_send_cloud_event_data_as_list.yaml | 8 +-- ...ient.test_send_cloud_event_data_bytes.yaml | 8 +-- ...lient.test_send_cloud_event_data_dict.yaml | 8 +-- ...client.test_send_cloud_event_data_str.yaml | 8 +-- ...send_cloud_event_data_with_extensions.yaml | 10 +-- ...her_client.test_send_cloud_event_dict.yaml | 4 +- ..._client.test_send_custom_schema_event.yaml | 6 +- ...test_send_custom_schema_event_as_list.yaml | 8 +-- ...st_send_event_grid_event_data_as_list.yaml | 12 ++-- ....test_send_event_grid_event_data_dict.yaml | 8 +-- ...t.test_send_event_grid_event_data_str.yaml | 8 +-- ...client.test_send_signature_credential.yaml | 10 +-- ...nc.test_send_cloud_event_data_as_list.yaml | 10 +-- ...sync.test_send_cloud_event_data_bytes.yaml | 10 +-- ...async.test_send_cloud_event_data_dict.yaml | 10 +-- ..._async.test_send_cloud_event_data_str.yaml | 10 +-- ...send_cloud_event_data_with_extensions.yaml | 12 ++-- ...ient_async.test_send_cloud_event_dict.yaml | 6 +- ...t_async.test_send_custom_schema_event.yaml | 8 +-- ...test_send_custom_schema_event_as_list.yaml | 10 +-- ...st_send_event_grid_event_data_as_list.yaml | 14 ++-- ....test_send_event_grid_event_data_dict.yaml | 10 +-- ...c.test_send_event_grid_event_data_str.yaml | 10 +-- ..._async.test_send_signature_credential.yaml | 12 ++-- .../tests/test_cloud_event_tracing.py | 67 ++++++++++++++++++ 28 files changed, 321 insertions(+), 125 deletions(-) create mode 100644 sdk/eventgrid/azure-eventgrid/azure/eventgrid/_policies.py create mode 100644 sdk/eventgrid/azure-eventgrid/tests/test_cloud_event_tracing.py diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_policies.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_policies.py new file mode 100644 index 000000000000..b786f280cdb0 --- /dev/null +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_policies.py @@ -0,0 +1,43 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import json +import logging +from azure.core.pipeline.policies import SansIOHTTPPolicy + +_LOGGER = logging.getLogger(__name__) + + +class CloudEventDistributedTracingPolicy(SansIOHTTPPolicy): + """CloudEventDistributedTracingPolicy is a policy which adds distributed tracing informatiom + to a batch of cloud events. It does so by copying the `traceparent` and `tracestate` properties + from the HTTP request into the individual events as extension properties. + This will only happen in the case where an event does not have a `traceparent` defined already. This + allows events to explicitly set a traceparent and tracestate which would be respected during "multi-hop + transmition". + See https://github.com/cloudevents/spec/blob/master/extensions/distributed-tracing.md + for more information on distributed tracing and cloud events. + """ + _CONTENT_TYPE = "application/cloudevents-batch+json; charset=utf-8" + + def on_request(self, request): + # type: (PipelineRequest) -> None + try: + traceparent = request.http_request.headers['traceparent'] + tracestate = request.http_request.headers['tracestate'] + except KeyError: + return + + if (request.http_request.headers['content-type'] == CloudEventDistributedTracingPolicy._CONTENT_TYPE + and traceparent is not None + ): + + body = json.loads(request.http_request.body) + for item in body: + if 'traceparent' not in item and 'tracestate' not in item: + item['traceparent'] = traceparent + item['tracestate'] = tracestate + + request.http_request.body = json.dumps(body) diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py index 082f03891e78..806924e603d2 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py @@ -7,9 +7,26 @@ from typing import TYPE_CHECKING +from azure.core.tracing.decorator import distributed_trace +from azure.core.pipeline.policies import ( + RequestIdPolicy, + HeadersPolicy, + RedirectPolicy, + RetryPolicy, + ContentDecodePolicy, + CustomHookPolicy, + NetworkTraceLoggingPolicy, + ProxyPolicy, + DistributedTracingPolicy, + HttpLoggingPolicy, + UserAgentPolicy +) + from ._models import CloudEvent, EventGridEvent, CustomEvent from ._helpers import _get_topic_hostname_only_fqdn, _get_authentication_policy, _is_cloud_event from ._generated._event_grid_publisher_client import EventGridPublisherClient as EventGridPublisherClientImpl +from ._policies import CloudEventDistributedTracingPolicy +from ._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -37,12 +54,37 @@ class EventGridPublisherClient(object): def __init__(self, topic_hostname, credential, **kwargs): # type: (str, Union[AzureKeyCredential, EventGridSharedAccessSignatureCredential], Any) -> None - topic_hostname = _get_topic_hostname_only_fqdn(topic_hostname) self._topic_hostname = topic_hostname + self._client = EventGridPublisherClientImpl( + policies=EventGridPublisherClient._policies(credential, **kwargs), + **kwargs + ) + + @staticmethod + def _policies(credential, **kwargs): + # type: (Union[AzureKeyCredential, EventGridSharedAccessSignatureCredential], Any) -> List[Any] auth_policy = _get_authentication_policy(credential) - self._client = EventGridPublisherClientImpl(authentication_policy=auth_policy, **kwargs) + sdk_moniker = 'eventgrid/{}'.format(VERSION) + policies = [ + RequestIdPolicy(**kwargs), + HeadersPolicy(**kwargs), + UserAgentPolicy(sdk_moniker=sdk_moniker, **kwargs), + ProxyPolicy(**kwargs), + ContentDecodePolicy(**kwargs), + RedirectPolicy(**kwargs), + RetryPolicy(**kwargs), + auth_policy, + CustomHookPolicy(**kwargs), + NetworkTraceLoggingPolicy(**kwargs), + DistributedTracingPolicy(**kwargs), + CloudEventDistributedTracingPolicy(**kwargs), + HttpLoggingPolicy(**kwargs) + ] + return policies + + @distributed_trace def send(self, events, **kwargs): # type: (SendType, Any) -> None """Sends event data to topic hostname specified during client initialization. diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py index 786793525a26..218dea4edfb0 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py @@ -6,17 +6,30 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, TYPE_CHECKING +from typing import Any, Union, List, Dict from azure.core.credentials import AzureKeyCredential - +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.pipeline.policies import ( + RequestIdPolicy, + HeadersPolicy, + AsyncRedirectPolicy, + AsyncRetryPolicy, + ContentDecodePolicy, + CustomHookPolicy, + NetworkTraceLoggingPolicy, + ProxyPolicy, + DistributedTracingPolicy, + HttpLoggingPolicy, + UserAgentPolicy +) +from .._policies import CloudEventDistributedTracingPolicy from .._models import CloudEvent, EventGridEvent, CustomEvent from .._helpers import _get_topic_hostname_only_fqdn, _get_authentication_policy, _is_cloud_event from .._generated.aio import EventGridPublisherClient as EventGridPublisherClientAsync +from .._shared_access_signature_credential import EventGridSharedAccessSignatureCredential +from .._version import VERSION -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Union, Dict, List - SendType = Union[ +SendType = Union[ CloudEvent, EventGridEvent, CustomEvent, @@ -27,7 +40,7 @@ List[Dict] ] -class EventGridPublisherClient(object): +class EventGridPublisherClient(): """Asynchronous EventGrid Python Publisher Client. :param str topic_hostname: The topic endpoint to send the events to. @@ -36,16 +49,47 @@ class EventGridPublisherClient(object): :type credential: ~azure.core.credentials.AzureKeyCredential or EventGridSharedAccessSignatureCredential """ - def __init__(self, topic_hostname, credential, **kwargs): - # type: (str, Union[AzureKeyCredential, EventGridSharedAccessSignatureCredential], Any) -> None - auth_policy = _get_authentication_policy(credential) - self._client = EventGridPublisherClientAsync(authentication_policy=auth_policy, **kwargs) + def __init__( + self, + topic_hostname: str, + credential: Union[AzureKeyCredential, EventGridSharedAccessSignatureCredential], + **kwargs: Any) -> None: + self._client = EventGridPublisherClientAsync( + policies=EventGridPublisherClient._policies(credential, **kwargs), + **kwargs + ) topic_hostname = _get_topic_hostname_only_fqdn(topic_hostname) self._topic_hostname = topic_hostname + @staticmethod + def _policies( + credential: Union[AzureKeyCredential, EventGridSharedAccessSignatureCredential], + **kwargs: Any + ) -> List[Any]: + auth_policy = _get_authentication_policy(credential) + sdk_moniker = 'eventgridpublisherclient/{}'.format(VERSION) + policies = [ + RequestIdPolicy(**kwargs), + HeadersPolicy(**kwargs), + UserAgentPolicy(sdk_moniker=sdk_moniker, **kwargs), + ProxyPolicy(**kwargs), + ContentDecodePolicy(**kwargs), + AsyncRedirectPolicy(**kwargs), + AsyncRetryPolicy(**kwargs), + auth_policy, + CustomHookPolicy(**kwargs), + NetworkTraceLoggingPolicy(**kwargs), + DistributedTracingPolicy(**kwargs), + CloudEventDistributedTracingPolicy(), + HttpLoggingPolicy(**kwargs) + ] + return policies - async def send(self, events, **kwargs): - # type: (SendType) -> None + @distributed_trace_async + async def send( + self, + events: SendType, + **kwargs: Any) -> None: """Sends event data to topic hostname specified during client initialization. :param events: A list or an instance of CloudEvent/EventGridEvent/CustomEvent to be sent. diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_as_list.yaml index 0622097e506c..5bab7b034efc 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_as_list.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "4e7a9df5-8e28-42c8-adca-4412c93e92d5", "source": "http://samplesource.dev", - "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:13.810619Z", + body: '[{"id": "ca8e20bf-c5d4-4b40-bc23-bf2215991d46", "source": "http://samplesource.dev", + "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:02.358824Z", "specversion": "1.0"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:12 GMT + - Thu, 01 Oct 2020 23:05:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_bytes.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_bytes.yaml index fd0dc457c7d5..9bb0c536dd6b 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_bytes.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_bytes.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "a3f05c78-9a8d-44d8-a1a3-131b8da61192", "source": "http://samplesource.dev", - "data_base64": "Y2xvdWRldmVudA==", "type": "Sample.Cloud.Event", "time": "2020-09-04T17:06:31.601865Z", + body: '[{"id": "9b4e692b-b4aa-4361-911e-a3f07503dc6d", "source": "http://samplesource.dev", + "data_base64": "Y2xvdWRldmVudA==", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:02.765824Z", "specversion": "1.0"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 17:06:29 GMT + - Thu, 01 Oct 2020 23:05:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_dict.yaml index bf49c8a35b19..9f24337c1f3e 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_dict.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "51c747e0-7e8f-467c-80e4-920fdf1d95d2", "source": "http://samplesource.dev", - "data": {"sample": "cloudevent"}, "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:14.383108Z", + body: '[{"id": "6a282153-36bf-4417-8aa2-08e89f7bf70f", "source": "http://samplesource.dev", + "data": {"sample": "cloudevent"}, "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:03.034831Z", "specversion": "1.0"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:12 GMT + - Thu, 01 Oct 2020 23:05:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_str.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_str.yaml index 2a45a2b2689f..9c0c68887acf 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_str.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_str.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "eef0ee57-9833-44fd-9f52-d5f20b74267d", "source": "http://samplesource.dev", - "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:14.803665Z", + body: '[{"id": "ee8ba686-cf5c-4f55-a5ea-c60d8115ec7f", "source": "http://samplesource.dev", + "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:03.318822Z", "specversion": "1.0"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:13 GMT + - Thu, 01 Oct 2020 23:05:03 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_with_extensions.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_with_extensions.yaml index 85d4e49a1f12..266734d4b0c5 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_with_extensions.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_data_with_extensions.yaml @@ -1,8 +1,8 @@ interactions: - request: - body: '[{"reason_code": 204, "extension": "extension", "id": "9da8e4ce-df2c-4480-b809-c7132fb3ee74", + body: '[{"reason_code": 204, "extension": "hello", "id": "0d9f8693-2a22-44ce-ba33-7e7165c10f36", "source": "http://samplesource.dev", "data": "cloudevent", "type": "Sample.Cloud.Event", - "time": "2020-09-03T21:37:15.165652Z", "specversion": "1.0"}]' + "time": "2020-10-01T23:05:03.583858Z", "specversion": "1.0"}]' headers: Accept: - '*/*' @@ -11,11 +11,11 @@ interactions: Connection: - keep-alive Content-Length: - - '244' + - '240' Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:13 GMT + - Thu, 01 Oct 2020 23:05:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_dict.yaml index 1d2d4283ad33..02a3550876b7 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_cloud_event_dict.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -26,7 +26,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:13 GMT + - Thu, 01 Oct 2020 23:05:03 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event.yaml index 57321b5fe648..e4eef2d5a0fc 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion": - "2.0", "customId": "1234", "customEventTime": "2020-09-03T21:37:32.440554+00:00", + "2.0", "customId": "1234", "customEventTime": "2020-10-01T23:05:17.465943+00:00", "customData": "sample data"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:31 GMT + - Thu, 01 Oct 2020 23:05:17 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event_as_list.yaml index 02f25b5538f9..d69480964683 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_custom_schema_event_as_list.yaml @@ -1,10 +1,10 @@ interactions: - request: body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion": - "2.0", "customId": "1234", "customEventTime": "2020-09-03T21:37:32.857620+00:00", + "2.0", "customId": "1234", "customEventTime": "2020-10-01T23:05:17.942918+00:00", "customData": "sample data"}, {"customSubject": "sample2", "customEventType": "sample.event", "customDataVersion": "2.0", "customId": "12345", "customEventTime": - "2020-09-03T21:37:32.857620+00:00", "customData": "sample data 2"}]' + "2020-10-01T23:05:17.942918+00:00", "customData": "sample data 2"}]' headers: Accept: - '*/*' @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -29,7 +29,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:31 GMT + - Thu, 01 Oct 2020 23:05:18 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_as_list.yaml index b965b6a539dc..7018ac9532ec 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_as_list.yaml @@ -1,10 +1,10 @@ interactions: - request: - body: '[{"id": "a3ad167e-302d-4d3d-b5ee-d9e989aa277a", "subject": "sample", "data": - "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-09-03T21:37:46.777197Z", - "dataVersion": "2.0"}, {"id": "e36112d1-2413-462b-ac5a-8046bd7add59", "subject": + body: '[{"id": "f98751a8-b59d-4bf4-b802-d5ca6c141f70", "subject": "sample", "data": + "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-10-01T23:05:32.005461Z", + "dataVersion": "2.0"}, {"id": "8e781d63-fbe8-47f9-9f66-bc0f8840b91c", "subject": "sample2", "data": "eventgridevent2", "eventType": "Sample.EventGrid.Event", - "eventTime": "2020-09-03T21:37:46.778197Z", "dataVersion": "2.0"}]' + "eventTime": "2020-10-01T23:05:32.005461Z", "dataVersion": "2.0"}]' headers: Accept: - '*/*' @@ -17,7 +17,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -29,7 +29,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:45 GMT + - Thu, 01 Oct 2020 23:05:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_dict.yaml index c5f808f36297..051b57f8e20a 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_dict.yaml @@ -1,8 +1,8 @@ interactions: - request: - body: '[{"id": "d686873c-334a-4456-b33a-f56c9103c084", "subject": "sample", "data": + body: '[{"id": "0faa88e7-0967-4c62-b3df-e717a7ea19f2", "subject": "sample", "data": {"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime": - "2020-09-03T21:37:47.256176Z", "dataVersion": "2.0"}]' + "2020-10-01T23:05:32.484402Z", "dataVersion": "2.0"}]' headers: Accept: - '*/*' @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:45 GMT + - Thu, 01 Oct 2020 23:05:31 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_str.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_str.yaml index 1c02edf7725b..3e74a774985a 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_str.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_event_grid_event_data_str.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "be71503b-2316-4d36-ba30-db189bb742ac", "subject": "sample", "data": - "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-09-03T21:37:47.663176Z", + body: '[{"id": "1d64e4a8-d5fd-4bdb-84cf-8eb3a731f6e5", "subject": "sample", "data": + "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-10-01T23:05:32.855457Z", "dataVersion": "2.0"}]' headers: Accept: @@ -15,7 +15,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -27,7 +27,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:45 GMT + - Thu, 01 Oct 2020 23:05:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_signature_credential.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_signature_credential.yaml index 631c1977b5bc..2d22bedbdf7d 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_signature_credential.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client.test_send_signature_credential.yaml @@ -1,8 +1,8 @@ interactions: - request: - body: '[{"id": "e8f4c1fb-ce80-470c-a6fb-997702c4cb12", "subject": "sample", "data": + body: '[{"id": "af14b28c-d479-4533-beb9-83c990482f29", "subject": "sample", "data": {"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime": - "2020-09-03T21:37:48.023188Z", "dataVersion": "2.0"}]' + "2020-10-01T23:05:33.235276Z", "dataVersion": "2.0"}]' headers: Accept: - '*/*' @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgrid/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) aeg-sas-token: - - r=https%3A%2F%2Feventgridtestqagvsp23jey.westus-1.eventgrid.azure.net%2Fapi%2Fevents%3FapiVersion%3D2018-01-01&e=2020-09-03%2022%3A37%3A48.021190%2B00%3A00&s=Ws1vSY7xBzFYccOy3jTJVqnI5iqNDl1qp5R1jj2MUTg%3D + - r=https%3A%2F%2Feventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net%2Fapi%2Fevents%3FapiVersion%3D2018-01-01&e=2020-10-02%2000%3A05%3A33.233284%2B00%3A00&s=0B7T2a3eV56nQhuNXp6VyBbV6vo7bD%2BAyJWAQcVy%2BGE%3D method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -29,7 +29,7 @@ interactions: content-length: - '0' date: - - Thu, 03 Sep 2020 21:37:46 GMT + - Thu, 01 Oct 2020 23:05:33 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_as_list.yaml index 7fb1aa408395..8d70c13f6726 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_as_list.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "48538bd7-cfcc-4244-a06a-80787bb464c2", "source": "http://samplesource.dev", - "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:48.405133Z", + body: '[{"id": "9c56ff48-790a-4636-932d-23050951b82f", "source": "http://samplesource.dev", + "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:33.598214Z", "specversion": "1.0"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:46 GMT + date: Thu, 01 Oct 2020 23:05:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestoc4o4l.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_bytes.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_bytes.yaml index ce1bc2d85c64..53d411aeb1ca 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_bytes.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_bytes.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "13ae3fbd-e54d-4e18-87d7-3a84e8b8927f", "source": "http://samplesource.dev", - "data_base64": "Y2xvdWRldmVudA==", "type": "Sample.Cloud.Event", "time": "2020-09-04T17:09:37.664287Z", + body: '[{"id": "d03db097-fda5-45b5-9738-e8014ef2593d", "source": "http://samplesource.dev", + "data_base64": "Y2xvdWRldmVudA==", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:33.816292Z", "specversion": "1.0"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Fri, 04 Sep 2020 17:09:35 GMT + date: Thu, 01 Oct 2020 23:05:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestdfyfhi.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_dict.yaml index c420fc0b88e9..fa72de4b5fe9 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_dict.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "f5255a4c-c870-451d-bb71-dae2f2a2287b", "source": "http://samplesource.dev", - "data": {"sample": "cloudevent"}, "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:48.640285Z", + body: '[{"id": "2933a49a-7236-457c-be83-5c1e84f2ba7f", "source": "http://samplesource.dev", + "data": {"sample": "cloudevent"}, "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:34.078296Z", "specversion": "1.0"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:46 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestoc4o4l.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_str.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_str.yaml index c69eec9dec62..66e7ec02340a 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_str.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_str.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "7fa5bfc7-22e7-421a-8017-98e132d2270e", "source": "http://samplesource.dev", - "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-09-03T21:37:48.930286Z", + body: '[{"id": "7aa4c84c-e3ae-4cc7-8dd2-07d5bd8d1d71", "source": "http://samplesource.dev", + "data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-10-01T23:05:34.285273Z", "specversion": "1.0"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:47 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestoc4o4l.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_with_extensions.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_with_extensions.yaml index a63ec994b635..d26721c0a3f1 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_with_extensions.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_data_with_extensions.yaml @@ -1,15 +1,15 @@ interactions: - request: - body: '[{"reason_code": 204, "extension": "extension", "id": "70db4803-6202-4e85-8c0d-0d32243d864d", + body: '[{"reason_code": 204, "extension": "hello", "id": "95811495-b000-4bef-b37b-042b29590046", "source": "http://samplesource.dev", "data": "cloudevent", "type": "Sample.Cloud.Event", - "time": "2020-09-03T21:37:49.229285Z", "specversion": "1.0"}]' + "time": "2020-10-01T23:05:34.508284Z", "specversion": "1.0"}]' headers: Content-Length: - - '244' + - '240' Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:47 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestoc4o4l.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_dict.yaml index c846a45e2101..286e75b21f3e 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_cloud_event_dict.yaml @@ -8,7 +8,7 @@ interactions: Content-Type: - application/cloudevents-batch+json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -17,11 +17,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:47 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://cloudeventgridtestoc4o4l.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://cloudeventgridtestv2tnop.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event.yaml index 6cc91a22b178..728e7a31f59a 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion": - "2.0", "customId": "1234", "customEventTime": "2020-09-03T21:37:49.762229+00:00", + "2.0", "customId": "1234", "customEventTime": "2020-10-01T23:05:34.967375+00:00", "customData": "sample data"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:47 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://customeventgridtestyjs7n.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://customeventgridtesthuqln.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event_as_list.yaml index 9ecb8d069b5f..12ad74c4f0e7 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_custom_schema_event_as_list.yaml @@ -1,17 +1,17 @@ interactions: - request: body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion": - "2.0", "customId": "1234", "customEventTime": "2020-09-03T21:37:50.025285+00:00", + "2.0", "customId": "1234", "customEventTime": "2020-10-01T23:05:35.191320+00:00", "customData": "sample data"}, {"customSubject": "sample2", "customEventType": "sample.event", "customDataVersion": "2.0", "customId": "12345", "customEventTime": - "2020-09-03T21:37:50.025285+00:00", "customData": "sample data 2"}]' + "2020-10-01T23:05:35.191320+00:00", "customData": "sample data 2"}]' headers: Content-Length: - '396' Content-Type: - application/json User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -20,11 +20,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:48 GMT + date: Thu, 01 Oct 2020 23:05:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://customeventgridtestyjs7n.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://customeventgridtesthuqln.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_as_list.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_as_list.yaml index 8e8b991cef0c..57a2b358af60 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_as_list.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_as_list.yaml @@ -1,17 +1,17 @@ interactions: - request: - body: '[{"id": "3a5f4c79-11d8-440c-a050-6f0406220b28", "subject": "sample", "data": - "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-09-03T21:37:50.261291Z", - "dataVersion": "2.0"}, {"id": "70e96266-d9e5-47cb-bd2e-765048d2cea5", "subject": + body: '[{"id": "deb9ce12-0c35-4107-b72e-811892f1d31e", "subject": "sample", "data": + "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-10-01T23:05:35.490369Z", + "dataVersion": "2.0"}, {"id": "605a5105-7d5c-4b0f-85e8-e360f572b87d", "subject": "sample2", "data": "eventgridevent2", "eventType": "Sample.EventGrid.Event", - "eventTime": "2020-09-03T21:37:50.262227Z", "dataVersion": "2.0"}]' + "eventTime": "2020-10-01T23:05:35.490369Z", "dataVersion": "2.0"}]' headers: Content-Length: - '402' Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -20,11 +20,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:49 GMT + date: Thu, 01 Oct 2020 23:05:35 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://eventgridtestqagvsp23jey.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://eventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_dict.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_dict.yaml index 63ab59451837..93b8de88a808 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_dict.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_dict.yaml @@ -1,15 +1,15 @@ interactions: - request: - body: '[{"id": "15dd698a-dfae-4b77-b74a-7ebbda98f3d5", "subject": "sample", "data": + body: '[{"id": "79f645e1-ddbc-4c8b-b87f-7f47d0120cd1", "subject": "sample", "data": {"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime": - "2020-09-03T21:37:50.921288Z", "dataVersion": "2.0"}]' + "2020-10-01T23:05:35.730327Z", "dataVersion": "2.0"}]' headers: Content-Length: - '212' Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:49 GMT + date: Thu, 01 Oct 2020 23:05:35 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://eventgridtestqagvsp23jey.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://eventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_str.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_str.yaml index 56f3200ad437..d342fd58d861 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_str.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_event_grid_event_data_str.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '[{"id": "45e66e3e-b349-4f9f-8aaf-c277ec452211", "subject": "sample", "data": - "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-09-03T21:37:51.163229Z", + body: '[{"id": "c461af6f-be1e-4c7e-8449-9acc62d4a1ec", "subject": "sample", "data": + "eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-10-01T23:05:35.959374Z", "dataVersion": "2.0"}]' headers: Content-Length: @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -18,11 +18,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:49 GMT + date: Thu, 01 Oct 2020 23:05:35 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://eventgridtestqagvsp23jey.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://eventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_signature_credential.yaml b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_signature_credential.yaml index 2cc7fa977214..d1b95226cd01 100644 --- a/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_signature_credential.yaml +++ b/sdk/eventgrid/azure-eventgrid/tests/recordings/test_eg_publisher_client_async.test_send_signature_credential.yaml @@ -1,17 +1,17 @@ interactions: - request: - body: '[{"id": "3c575436-60e6-49e1-be49-91e96207a69c", "subject": "sample", "data": + body: '[{"id": "691b8784-90c3-4cd3-80b4-b1499e82db82", "subject": "sample", "data": {"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime": - "2020-09-03T21:37:51.447285Z", "dataVersion": "2.0"}]' + "2020-10-01T23:05:36.183371Z", "dataVersion": "2.0"}]' headers: Content-Length: - '212' Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-eventgridpublisherclient/2.0.0b1 Python/3.7.3 (Windows-10-10.0.18362-SP0) aeg-sas-token: - - r=https%3A%2F%2Feventgridtestqagvsp23jey.westus-1.eventgrid.azure.net%2Fapi%2Fevents%3FapiVersion%3D2018-01-01&e=2020-09-03%2022%3A37%3A51.446284%2B00%3A00&s=MVgUMuibVdsa5f7YmaZDXPBQZPCUFR2paxC5lxJanAM%3D + - r=https%3A%2F%2Feventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net%2Fapi%2Fevents%3FapiVersion%3D2018-01-01&e=2020-10-02%2000%3A05%3A36.182370%2B00%3A00&s=gI2ARl%2FpgFAcat%2BP3QnjbXGlrNxRdgDmzE%2Fjrq6zz9o%3D method: POST uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 response: @@ -20,11 +20,11 @@ interactions: headers: api-supported-versions: '2018-01-01' content-length: '0' - date: Thu, 03 Sep 2020 21:37:49 GMT + date: Thu, 01 Oct 2020 23:05:36 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains status: code: 200 message: OK - url: https://eventgridtestqagvsp23jey.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 + url: https://eventgridtestdjwda35y4hv.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01 version: 1 diff --git a/sdk/eventgrid/azure-eventgrid/tests/test_cloud_event_tracing.py b/sdk/eventgrid/azure-eventgrid/tests/test_cloud_event_tracing.py new file mode 100644 index 000000000000..9032189d0658 --- /dev/null +++ b/sdk/eventgrid/azure-eventgrid/tests/test_cloud_event_tracing.py @@ -0,0 +1,67 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- + +import pytest +import json + +from azure.core.pipeline import ( + PipelineRequest, + PipelineContext +) +from azure.core.pipeline.transport import HttpRequest +from azure.eventgrid import CloudEvent +from azure.eventgrid._policies import CloudEventDistributedTracingPolicy +from _mocks import ( + cloud_storage_dict +) + +_content_type = "application/cloudevents-batch+json; charset=utf-8" +_traceparent_value = "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01" +_tracestate_value = "rojo=00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01,congo=lZWRzIHRoNhcm5hbCBwbGVhc3VyZS4" + + +class EventGridSerializationTests(object): + + def test_cloud_event_policy_copies(self): + policy = CloudEventDistributedTracingPolicy() + + body = json.dumps([cloud_storage_dict]) + universal_request = HttpRequest('POST', 'http://127.0.0.1/', data=body) + universal_request.headers['content-type'] = _content_type + universal_request.headers['traceparent'] = _traceparent_value + universal_request.headers['tracestate'] = _tracestate_value + + request = PipelineRequest(universal_request, PipelineContext(None)) + + resp = policy.on_request(request) + + body = json.loads(request.http_request.body) + + for item in body: + assert 'traceparent' in item + assert 'tracestate' in item + + def test_cloud_event_policy_no_copy_if_trace_exists(self): + policy = CloudEventDistributedTracingPolicy() + + cloud_storage_dict.update({'traceparent': 'exists', 'tracestate': 'state_exists'}) + body = json.dumps([cloud_storage_dict]) + universal_request = HttpRequest('POST', 'http://127.0.0.1/', data=body) + universal_request.headers['content-type'] = _content_type + universal_request.headers['traceparent'] = _traceparent_value + universal_request.headers['tracestate'] = _tracestate_value + + request = PipelineRequest(universal_request, PipelineContext(None)) + + resp = policy.on_request(request) + + body = json.loads(request.http_request.body) + + for item in body: + assert 'traceparent' in item + assert 'tracestate' in item + assert item['traceparent'] == 'exists' + assert item['tracestate'] == 'state_exists' From 20eb242aec5d449ce9642f96798a718d9731b2fb Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Fri, 2 Oct 2020 08:18:56 -0700 Subject: [PATCH 48/71] make logging tests live only (#14196) --- .../azure-ai-formrecognizer/tests/test_logging.py | 3 +++ .../azure-ai-formrecognizer/tests/test_logging_async.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py index aa939b808e51..5b3605023a44 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging.py @@ -6,6 +6,7 @@ # -------------------------------------------------------------------------- import logging +import pytest from azure.ai.formrecognizer import FormRecognizerClient, FormTrainingClient from azure.core.credentials import AzureKeyCredential from testcase import FormRecognizerTest, GlobalFormRecognizerAccountPreparer @@ -22,6 +23,7 @@ def emit(self, record): class TestLogging(FormRecognizerTest): @GlobalFormRecognizerAccountPreparer() + @pytest.mark.live_test_only def test_logging_info_fr_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): client = FormRecognizerClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) mock_handler = MockHandler() @@ -42,6 +44,7 @@ def test_logging_info_fr_client(self, resource_group, location, form_recognizer_ assert message.message.find("REDACTED") == -1 @GlobalFormRecognizerAccountPreparer() + @pytest.mark.live_test_only def test_logging_info_ft_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): client = FormTrainingClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) mock_handler = MockHandler() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py index 9a1d8337b4b2..8c80b7c4c329 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_logging_async.py @@ -6,6 +6,7 @@ # -------------------------------------------------------------------------- import logging +import pytest from azure.ai.formrecognizer.aio import FormRecognizerClient, FormTrainingClient from azure.core.credentials import AzureKeyCredential from testcase import GlobalFormRecognizerAccountPreparer @@ -24,6 +25,7 @@ def emit(self, record): class TestLogging(AsyncFormRecognizerTest): @GlobalFormRecognizerAccountPreparer() + @pytest.mark.live_test_only async def test_logging_info_fr_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): client = FormRecognizerClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) mock_handler = MockHandler() @@ -44,6 +46,7 @@ async def test_logging_info_fr_client(self, resource_group, location, form_recog assert message.message.find("REDACTED") == -1 @GlobalFormRecognizerAccountPreparer() + @pytest.mark.live_test_only async def test_logging_info_ft_client(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): client = FormTrainingClient(form_recognizer_account, AzureKeyCredential(form_recognizer_account_key)) mock_handler = MockHandler() From 54b6cbff078adcbb8f95c6d461d3035ae7f15f76 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Fri, 2 Oct 2020 09:27:14 -0700 Subject: [PATCH 49/71] readme + samples improvement (#14128) * readme + samples improvement * Update sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs6_consume_events_using_cloud_events_1.0_schema.py * Update sdk/eventgrid/azure-eventgrid/README.md * some fixes * fix samples --- sdk/eventgrid/azure-eventgrid/README.md | 24 ++++++++--- .../cs1_publish_custom_events_to_a_topic.py | 2 +- ...custom_events_to_a_topic_with_signature.py | 7 ++-- ...publish_custom_events_to_a_domain_topic.py | 2 +- .../cs3_consume_system_events.py | 21 ++++------ .../cs3_event_grid_event_system_event.json | 42 +++++++++---------- .../cs4_consume_custom_events.py | 24 ++++------- ...sh_events_using_cloud_events_1.0_schema.py | 1 + ...me_events_using_cloud_events_1.0_schema.py | 22 ++++------ .../consume_cloud_custom_data_sample.py | 8 ++-- ...ume_eg_storage_blob_created_data_sample.py | 12 +++--- ...ish_with_shared_access_signature_sample.py | 6 +-- 12 files changed, 85 insertions(+), 86 deletions(-) diff --git a/sdk/eventgrid/azure-eventgrid/README.md b/sdk/eventgrid/azure-eventgrid/README.md index 1912432e46f1..44e0cfce2b1b 100644 --- a/sdk/eventgrid/azure-eventgrid/README.md +++ b/sdk/eventgrid/azure-eventgrid/README.md @@ -17,8 +17,21 @@ Install the Azure Event Grid client library for Python with [pip][pip]: pip install azure-eventgrid ``` +* An existing Event Grid topic or domain is required. You can create the resource using [Azure Portal][azure_portal_create_EG_resource] or [Azure CLI][azure_cli_link] + +If you use Azure CLI, replace `` and `` with your own unique names. + #### Create an Event Grid Topic -You can create the resource using [Azure Portal][azure_portal_create_EG_resource] + +``` +az eventgrid topic --create --location --resource-group --name +``` + +#### Create an Event Grid Domain + +``` +az eventgrid domain --create --location --resource-group --name +``` ### Authenticate the client In order to interact with the Event Grid service, you will need to create an instance of a client. @@ -56,9 +69,9 @@ Either a list or a single instance of CloudEvent/EventGridEvent/CustomEvent can The following sections provide several code snippets covering some of the most common Event Grid tasks, including: -* [Send an Event Grid Event](#send-an-eventgrid-event) +* [Send an Event Grid Event](#send-an-event-grid-event) * [Send a Cloud Event](#send-a-cloud-event) -* [Consume an eventgrid Event](#consume-an-eventgrid-event) +* [Consume an eventgrid Event](#consume-an-event-grid-event) * [Consume a cloud Event](#consume-a-cloud-event) ### Send an Event Grid Event @@ -136,8 +149,7 @@ eg_storage_dict = { deserialized_event = consumer.decode_eventgrid_event(eg_storage_dict) # both allow access to raw properties as strings -time_string = deserialized_event.time -time_string = deserialized_event["time"] +time_string = deserialized_event.event_time ``` ### Consume a Cloud Event @@ -165,7 +177,6 @@ deserialized_event = consumer.decode_cloud_event(cloud_storage_dict) # both allow access to raw properties as strings time_string = deserialized_event.time -time_string = deserialized_event["time"] ``` ## Troubleshooting @@ -217,6 +228,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con +[azure_cli_link]: https://pypi.org/project/azure-cli/ [python-eg-src]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventgrid/azure-eventgrid/ [python-eg-pypi]: https://pypi.org/project/azure-eventgrid [python-eg-product-docs]: https://docs.microsoft.com/azure/event-grid/overview diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1_publish_custom_events_to_a_topic.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1_publish_custom_events_to_a_topic.py index 9fb0cd9e559e..77197390be85 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1_publish_custom_events_to_a_topic.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1_publish_custom_events_to_a_topic.py @@ -14,7 +14,7 @@ 2) EG_TOPIC_HOSTNAME - The topic hostname. Typically it exists in the format "..eventgrid.azure.net". """ - +import os from azure.eventgrid import EventGridPublisherClient, EventGridEvent, CloudEvent from azure.core.credentials import AzureKeyCredential diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1b_publish_custom_events_to_a_topic_with_signature.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1b_publish_custom_events_to_a_topic_with_signature.py index fc28c92e0726..6394f9458c2f 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1b_publish_custom_events_to_a_topic_with_signature.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs1b_publish_custom_events_to_a_topic_with_signature.py @@ -14,13 +14,14 @@ 2) EG_TOPIC_HOSTNAME - The topic hostname. Typically it exists in the format "..eventgrid.azure.net". """ - -from azure.eventgrid import EventGridPublisherClient, EventGridEvent, CloudEvent, generate_shared_access_signature, EventGridSharedAccessSignatureCredential +import os +from azure.eventgrid import EventGridPublisherClient, EventGridEvent, generate_shared_access_signature, EventGridSharedAccessSignatureCredential from azure.core.credentials import AzureKeyCredential +from datetime import datetime, timedelta topic_key = os.environ["EG_ACCESS_KEY"] topic_hostname = os.environ["EG_TOPIC_HOSTNAME"] -expiration_date_utc = dt.datetime.now(tzutc()) + timedelta(hours=1) +expiration_date_utc = datetime.utcnow() + timedelta(hours=1) signature = generate_shared_access_signature(topic_hostname, topic_key, expiration_date_utc) credential = EventGridSharedAccessSignatureCredential(signature) diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs2_publish_custom_events_to_a_domain_topic.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs2_publish_custom_events_to_a_domain_topic.py index 0cbb9397c0fc..81ca6f8bb06a 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs2_publish_custom_events_to_a_domain_topic.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs2_publish_custom_events_to_a_domain_topic.py @@ -14,7 +14,7 @@ 2) EG_TOPIC_HOSTNAME - The topic hostname. Typically it exists in the format "..eventgrid.azure.net". """ - +import os from azure.eventgrid import EventGridPublisherClient, EventGridEvent from azure.core.credentials import AzureKeyCredential diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_consume_system_events.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_consume_system_events.py index 1e325bfc0666..99a84312f8c2 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_consume_system_events.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_consume_system_events.py @@ -11,23 +11,18 @@ python cs3_consume_system_events.py """ import os +import json from azure.eventgrid import EventGridConsumer consumer = EventGridConsumer() +with open('./cs3_event_grid_event_system_event.json', 'r') as f: + eg_event_received_message = json.loads(f.read()) # returns List[DeserializedEvent] -deserialized_events = consumer.decode_eventgrid_event(service_bus_received_message) +event = consumer.decode_eventgrid_event(eg_event_received_message) -# EventGridEvent schema, Storage.BlobCreated event -for event in deserialized_events: +datetime_object = event.event_time +print(datetime_object) - # both allow access to raw properties as strings - time_string = event.event_time - time_string = event["event_time"] - - # model returns EventGridEvent object - event_grid_event = event.model - - # all model properties are strongly typed - datetime_object = event.model.time - storage_blobcreated_object = event.model.data +storage_blobcreated_object = event.data +print(storage_blobcreated_object) diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_event_grid_event_system_event.json b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_event_grid_event_system_event.json index 9825e4d7be35..2a2efc18be1e 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_event_grid_event_system_event.json +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs3_event_grid_event_system_event.json @@ -1,23 +1,23 @@ { -"topic": "/subscriptions/{subscription-id}/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount", -"subject": "/blobServices/default/containers/oc2d2817345i200097container/blobs/oc2d2817345i20002296blob", -"eventType": "Microsoft.Storage.BlobCreated", -"eventTime": "2017-06-26T18:41:00.9584103Z", -"id": "831e1650-001e-001b-66ab-eeb76e069631", -"data": { - "api": "PutBlockList", - "clientRequestId": "6d79dbfb-0e37-4fc4-981f-442c9ca65760", - "requestId": "831e1650-001e-001b-66ab-eeb76e000000", - "eTag": "0x8D4BCC2E4835CD0", - "contentType": "application/octet-stream", - "contentLength": 524288, - "blobType": "BlockBlob", - "url": "https://oc2d2817345i60006.blob.core.windows.net/oc2d2817345i200097container/oc2d2817345i20002296blob", - "sequencer": "00000000000004420000000000028963", - "storageDiagnostics": { - "batchId": "b68529f3-68cd-4744-baa4-3c0498ec19f0" - } -}, -"dataVersion": "", -"metadataVersion": "1" + "topic": "/subscriptions/{subscription-id}/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount", + "subject": "/blobServices/default/containers/oc2d2817345i200097container/blobs/oc2d2817345i20002296blob", + "eventType": "Microsoft.Storage.BlobCreated", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "api": "PutBlockList", + "clientRequestId": "6d79dbfb-0e37-4fc4-981f-442c9ca65760", + "requestId": "831e1650-001e-001b-66ab-eeb76e000000", + "eTag": "0x8D4BCC2E4835CD0", + "contentType": "application/octet-stream", + "contentLength": 524288, + "blobType": "BlockBlob", + "url": "https://oc2d2817345i60006.blob.core.windows.net/oc2d2817345i200097container/oc2d2817345i20002296blob", + "sequencer": "00000000000004420000000000028963", + "storageDiagnostics": { + "batchId": "b68529f3-68cd-4744-baa4-3c0498ec19f0" + } + }, + "dataVersion": "", + "metadataVersion": "1" } \ No newline at end of file diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs4_consume_custom_events.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs4_consume_custom_events.py index ea2fed0e3976..47ff341e2656 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs4_consume_custom_events.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs4_consume_custom_events.py @@ -11,25 +11,17 @@ python cs4_consume_custom_events.py """ import os +import json from azure.eventgrid import EventGridConsumer consumer = EventGridConsumer() -# returns List[DeserializedEvent] -deserialized_events = consumer.decode_eventgrid_event(service_bus_received_message) - -# EventGridEvent schema, with custom event type -for event in deserialized_events: - - # both allow access to raw properties as strings - time_string = event.event_time - time_string = event["event_time"] +with open('./cs4_event_grid_event_custom_event.json', 'r') as f: + eg_event_received_message = json.loads(f.read()) - # model returns EventGridEvent object - event_grid_event = event.model - - # returns { "itemSku": "Contoso Item SKU #1" } - data_dict = event.data +# returns List[DeserializedEvent] +event = consumer.decode_eventgrid_event(eg_event_received_message) - # custom event not pre-defined in system event registry, returns None - returns_none = event.model.data +# returns { "itemSku": "Contoso Item SKU #1" } +data_dict = event.data +print(data_dict) diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs5_publish_events_using_cloud_events_1.0_schema.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs5_publish_events_using_cloud_events_1.0_schema.py index 674a3851b495..d8f9f05d663f 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs5_publish_events_using_cloud_events_1.0_schema.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs5_publish_events_using_cloud_events_1.0_schema.py @@ -14,6 +14,7 @@ 2) CLOUD_TOPIC_HOSTNAME - The topic hostname. Typically it exists in the format "..eventgrid.azure.net". """ +import os from azure.eventgrid import EventGridPublisherClient, CloudEvent from azure.core.credentials import AzureKeyCredential diff --git a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs6_consume_events_using_cloud_events_1.0_schema.py b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs6_consume_events_using_cloud_events_1.0_schema.py index 886b96d6b50e..edc1a48a6ca7 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs6_consume_events_using_cloud_events_1.0_schema.py +++ b/sdk/eventgrid/azure-eventgrid/samples/champion_scenarios/cs6_consume_events_using_cloud_events_1.0_schema.py @@ -11,23 +11,19 @@ python cs6_consume_events_using_cloud_events_1.0_schema.py """ import os +import json from azure.eventgrid import EventGridConsumer consumer = EventGridConsumer() -# returns List[DeserializedEvent] -deserialized_events = consumer.decode_eventgrid_event(service_bus_received_message) - -# CloudEvent schema -for event in deserialized_events: +with open('./cs6_cloud_event_system_event.json', 'r') as f: + cloud_event_received_message = json.loads(f.read()) - # both allow access to raw properties as strings - time_string = event.time - time_string = event["time"] +# returns List[DeserializedEvent] +event = consumer.decode_cloud_event(cloud_event_received_message) - # model returns CloudEvent object - cloud_event = event.model +datetime_object = event.time +print(datetime_object) - # all model properties are strongly typed - datetime_object = event.model.time - storage_blobcreated_object = event.model.data \ No newline at end of file +storage_blobcreated_object = event.data +print(storage_blobcreated_object) diff --git a/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_cloud_custom_data_sample.py b/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_cloud_custom_data_sample.py index 9553dce745f6..5b34177d5792 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_cloud_custom_data_sample.py +++ b/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_cloud_custom_data_sample.py @@ -28,8 +28,10 @@ client = EventGridConsumer() deserialized_dict_event = client.decode_cloud_event(cloud_custom_dict) +print(deserialized_dict_event) + deserialized_str_event = client.decode_cloud_event(cloud_custom_string) -deserialized_bytes_event = client.decode_cloud_event(cloud_custom_bytes) +print(deserialized_str_event) -print(deserialized_bytes_event.model == deserialized_str_event.model) -print(deserialized_bytes_event.model == deserialized_dict_event.model) \ No newline at end of file +deserialized_bytes_event = client.decode_cloud_event(cloud_custom_bytes) +print(deserialized_bytes_event) diff --git a/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_eg_storage_blob_created_data_sample.py b/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_eg_storage_blob_created_data_sample.py index 5a57a4ce9a38..f5c24b5a0cea 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_eg_storage_blob_created_data_sample.py +++ b/sdk/eventgrid/azure-eventgrid/samples/consume_samples/consume_eg_storage_blob_created_data_sample.py @@ -12,7 +12,8 @@ Set the environment variables with your own values before running the sample: """ import json -from azure.eventgrid import EventGridConsumer, EventGridEvent, StorageBlobCreatedEventData +from azure.eventgrid import EventGridConsumer, EventGridEvent +from azure.eventgrid.models import StorageBlobCreatedEventData # all types of EventGridEvents below produce same DeserializedEvent eg_storage_dict = { @@ -42,9 +43,10 @@ client = EventGridConsumer() deserialized_dict_event = client.decode_eventgrid_event(eg_storage_dict) +print(deserialized_dict_event) + deserialized_str_event = client.decode_eventgrid_event(eg_storage_string) -deserialized_bytes_event = client.decode_eventgrid_event(eg_storage_bytes) +print(deserialized_str_event) -print(deserialized_bytes_event.model == deserialized_str_event.model) -print(deserialized_bytes_event.model == deserialized_dict_event.model) -print(deserialized_str_event.model.data.__class__ == StorageBlobCreatedEventData) \ No newline at end of file +deserialized_bytes_event = client.decode_eventgrid_event(eg_storage_bytes) +print(deserialized_bytes_event) diff --git a/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_with_shared_access_signature_sample.py b/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_with_shared_access_signature_sample.py index ba88862b9629..3ee0a73dae61 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_with_shared_access_signature_sample.py +++ b/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_with_shared_access_signature_sample.py @@ -19,15 +19,13 @@ from random import randint, sample import time -from dateutil.tz import tzutc -from datetime import timedelta -import datetime as dt +from datetime import datetime, timedelta from azure.eventgrid import EventGridPublisherClient, CloudEvent, generate_shared_access_signature, EventGridSharedAccessSignatureCredential key = os.environ["CLOUD_ACCESS_KEY"] topic_hostname = os.environ["CLOUD_TOPIC_HOSTNAME"] -expiration_date_utc = dt.datetime.now(tzutc()) + timedelta(hours=1) +expiration_date_utc = datetime.utcnow() + timedelta(hours=1) signature = generate_shared_access_signature(topic_hostname, key, expiration_date_utc) From c2af651c566dc13dbe3032669774e500a78474dc Mon Sep 17 00:00:00 2001 From: Fang Chen - Microsoft Date: Fri, 2 Oct 2020 10:34:14 -0700 Subject: [PATCH 50/71] fix link in readme, remove swagger.json (#14189) * fix link in readme, remove swagger.json * update generated code * add recorded --- .../azure-communication-chat/README.md | 4 +- ...e_communication_chat_service_operations.py | 34 +- ...e_communication_chat_service_operations.py | 34 +- .../swagger/SWAGGER.md | 2 +- .../swagger/swagger.json | 1617 ----------------- ...at_client_e2e.test_create_chat_thread.yaml | 42 +- ...at_client_e2e.test_delete_chat_thread.yaml | 50 +- ..._chat_client_e2e.test_get_chat_thread.yaml | 54 +- ...hat_client_e2e.test_get_thread_client.yaml | 42 +- ...hat_client_e2e.test_list_chat_threads.yaml | 50 +- ...e_async.test_create_chat_thread_async.yaml | 42 +- ...ent_e2e_async.test_delete_chat_thread.yaml | 50 +- ...client_e2e_async.test_get_chat_thread.yaml | 52 +- ...ient_e2e_async.test_get_thread_client.yaml | 42 +- ...ient_e2e_async.test_list_chat_threads.yaml | 50 +- ...at_thread_client_e2e.test_add_members.yaml | 68 +- ...thread_client_e2e.test_delete_message.yaml | 74 +- ...at_thread_client_e2e.test_get_message.yaml | 78 +- ...t_thread_client_e2e.test_list_members.yaml | 66 +- ..._thread_client_e2e.test_list_messages.yaml | 98 +- ...ad_client_e2e.test_list_read_receipts.yaml | 84 +- ..._thread_client_e2e.test_remove_member.yaml | 76 +- ...t_thread_client_e2e.test_send_message.yaml | 66 +- ...ead_client_e2e.test_send_read_receipt.yaml | 74 +- ...ent_e2e.test_send_typing_notification.yaml | 68 +- ...thread_client_e2e.test_update_message.yaml | 76 +- ..._thread_client_e2e.test_update_thread.yaml | 68 +- ...ead_client_e2e_async.test_add_members.yaml | 66 +- ..._client_e2e_async.test_delete_message.yaml | 72 +- ...ead_client_e2e_async.test_get_message.yaml | 78 +- ...ad_client_e2e_async.test_list_members.yaml | 66 +- ...d_client_e2e_async.test_list_messages.yaml | 100 +- ...ent_e2e_async.test_list_read_receipts.yaml | 82 +- ...d_client_e2e_async.test_remove_member.yaml | 76 +- ...ad_client_e2e_async.test_send_message.yaml | 64 +- ...ient_e2e_async.test_send_read_receipt.yaml | 74 +- ...e_async.test_send_typing_notification.yaml | 68 +- ..._client_e2e_async.test_update_message.yaml | 74 +- ...d_client_e2e_async.test_update_thread.yaml | 66 +- 39 files changed, 1165 insertions(+), 2782 deletions(-) delete mode 100644 sdk/communication/azure-communication-chat/swagger/swagger.json diff --git a/sdk/communication/azure-communication-chat/README.md b/sdk/communication/azure-communication-chat/README.md index 4746f977e4fc..60aa755c0e8e 100644 --- a/sdk/communication/azure-communication-chat/README.md +++ b/sdk/communication/azure-communication-chat/README.md @@ -3,14 +3,14 @@ # Azure Communication Chat Package client library for Python This package contains a Python SDK for Azure Communication Services for Chat. - +Read more about Azure Communication Services [here](https://docs.microsoft.com/azure/communication-services/overview) # Getting started ## Prerequisites - Python 2.7, or 3.5 or later is required to use this package. - +- An Azure Communication Resource, learn how to create one from [Create an Azure Communication Resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource) ## Install the package diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_azure_communication_chat_service_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_azure_communication_chat_service_operations.py index 53423f6d498e..b1ab6ae6f996 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_azure_communication_chat_service_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_azure_communication_chat_service_operations.py @@ -10,7 +10,7 @@ import warnings from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -41,7 +41,7 @@ def list_chat_read_receipts( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -126,7 +126,7 @@ async def send_chat_read_receipt( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -192,7 +192,7 @@ async def send_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -265,7 +265,7 @@ def list_chat_messages( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -354,7 +354,7 @@ async def get_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -422,7 +422,7 @@ async def update_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -489,7 +489,7 @@ async def delete_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -548,7 +548,7 @@ async def send_typing_notification( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -606,7 +606,7 @@ def list_chat_thread_members( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -691,7 +691,7 @@ async def add_chat_thread_members( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -757,7 +757,7 @@ async def remove_chat_thread_member( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -816,7 +816,7 @@ async def create_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -885,7 +885,7 @@ def list_chat_threads( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -972,7 +972,7 @@ async def update_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -1035,7 +1035,7 @@ async def get_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -1096,7 +1096,7 @@ async def delete_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_azure_communication_chat_service_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_azure_communication_chat_service_operations.py index 28d6b97a34af..a2fdb439c5df 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_azure_communication_chat_service_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_azure_communication_chat_service_operations.py @@ -9,7 +9,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -46,7 +46,7 @@ def list_chat_read_receipts( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -132,7 +132,7 @@ def send_chat_read_receipt( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -199,7 +199,7 @@ def send_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -273,7 +273,7 @@ def list_chat_messages( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -363,7 +363,7 @@ def get_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -432,7 +432,7 @@ def update_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -500,7 +500,7 @@ def delete_chat_message( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -560,7 +560,7 @@ def send_typing_notification( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -619,7 +619,7 @@ def list_chat_thread_members( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -705,7 +705,7 @@ def add_chat_thread_members( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -772,7 +772,7 @@ def remove_chat_thread_member( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -832,7 +832,7 @@ def create_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -902,7 +902,7 @@ def list_chat_threads( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -990,7 +990,7 @@ def update_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -1054,7 +1054,7 @@ def get_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), @@ -1116,7 +1116,7 @@ def delete_chat_thread( error_map = { 404: ResourceNotFoundError, 409: ResourceExistsError, - 401: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), + 401: lambda response: ClientAuthenticationError(response=response, model=self._deserialize(models.Error, response)), 403: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 429: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), 503: lambda response: HttpResponseError(response=response, model=self._deserialize(models.Error, response)), diff --git a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md index f9ba14c49d35..4d99df5dd8ce 100644 --- a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md +++ b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md @@ -15,7 +15,7 @@ autorest SWAGGER.md ### Settings ``` yaml -input-file: ./swagger.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/8818a603b78a1355ba1647ab9cd4e3354cdc4b69/specification/communication/data-plane/Microsoft.CommunicationServicesChat/preview/2020-09-21-preview2/communicationserviceschat.json output-folder: ../azure/communication/chat/_generated namespace: azure.communication.chat no-namespace-folders: true diff --git a/sdk/communication/azure-communication-chat/swagger/swagger.json b/sdk/communication/azure-communication-chat/swagger/swagger.json deleted file mode 100644 index fd4aa90521b6..000000000000 --- a/sdk/communication/azure-communication-chat/swagger/swagger.json +++ /dev/null @@ -1,1617 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Communication Chat Service", - "description": "Azure Communication Chat Service", - "contact": { - "email": "acsdevexdisc@microsoft.com" - }, - "version": "2020-09-21-preview2" - }, - "paths": { - "/chat/threads/{chatThreadId}/readreceipts": { - "get": { - "tags": [ - "Threads" - ], - "summary": "Gets read receipts for a thread.", - "operationId": "ListChatReadReceipts", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to get the read receipts for.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The action returns the requested `ReadReceipt` resources.", - "schema": { - "$ref": "#/definitions/ReadReceiptsCollection" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get thread read receipts": { - "$ref": "./examples/Conversations_ListChatReadReceipts.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - } - }, - "post": { - "tags": [ - "Threads" - ], - "summary": "Sends a read receipt event to a thread, on behalf of a user.", - "operationId": "SendChatReadReceipt", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to send the read receipt event to.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Read receipt details.", - "required": true, - "schema": { - "$ref": "#/definitions/SendReadReceiptRequest" - } - } - ], - "responses": { - "201": { - "description": "Request successful." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Send read receipt": { - "$ref": "./examples/Conversations_SendChatReadReceipt.json" - } - } - } - }, - "/chat/threads/{chatThreadId}/messages": { - "post": { - "tags": [ - "Messages" - ], - "summary": "Sends a message to a thread.", - "operationId": "SendChatMessage", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The thread id to send the message to.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Details of the message to send.", - "required": true, - "schema": { - "$ref": "#/definitions/SendChatMessageRequest" - } - } - ], - "responses": { - "201": { - "description": "Message sent, the `Location` header contains the URL for the newly sent message.", - "schema": { - "$ref": "#/definitions/SendChatMessageResult" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Send Message": { - "$ref": "./examples/Messages_SendChatMessage.json" - } - } - }, - "get": { - "tags": [ - "Messages" - ], - "summary": "Gets a list of messages from a thread.", - "operationId": "ListChatMessages", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The thread id of the message.", - "required": true, - "type": "string" - }, - { - "in": "query", - "name": "maxPageSize", - "description": "The maximum number of messages to be returned per page.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "startTime", - "description": "The earliest point in time to get messages up to. The timestamp should be in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "format": "date-time" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ChatMessagesCollection" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get messages with pagination (max page size)": { - "$ref": "./examples/Messages_ListChatMessagesWithPageSize.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - } - } - }, - "/chat/threads/{chatThreadId}/messages/{chatMessageId}": { - "get": { - "tags": [ - "Messages" - ], - "summary": "Gets a message by id.", - "operationId": "GetChatMessage", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The thread id to which the message was sent.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "chatMessageId", - "description": "The message id.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The action returns a `Message` resource.", - "schema": { - "$ref": "#/definitions/ChatMessage" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get Message": { - "$ref": "./examples/Messages_GetChatMessage.json" - } - } - }, - "patch": { - "tags": [ - "Messages" - ], - "summary": "Updates a message.", - "operationId": "UpdateChatMessage", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The thread id to which the message was sent.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "chatMessageId", - "description": "The message id.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Details of the request to update the message.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateChatMessageRequest" - } - } - ], - "responses": { - "200": { - "description": "Message is successfully updated." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Update message content": { - "$ref": "./examples/Messages_UpdateChatMessage.json" - } - } - }, - "delete": { - "tags": [ - "Messages" - ], - "summary": "Deletes a message.", - "operationId": "DeleteChatMessage", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The thread id to which the message was sent.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "chatMessageId", - "description": "The message id.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Request successful." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Delete message": { - "$ref": "./examples/Messages_DeleteChatMessage.json" - } - } - } - }, - "/chat/threads/{chatThreadId}/typing": { - "post": { - "tags": [ - "Messages" - ], - "summary": "Posts a typing event to a thread, on behalf of a user.", - "operationId": "SendTypingNotification", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Id of the thread.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Post typing event to a thread": { - "$ref": "./examples/Messages_SendTypingNotification.json" - } - } - } - }, - "/chat/threads/{chatThreadId}/members": { - "get": { - "tags": [ - "ThreadMembers" - ], - "summary": "Gets the members of a thread.", - "operationId": "ListChatThreadMembers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to get members for.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The action returns the members of a thread.", - "schema": { - "$ref": "#/definitions/ChatThreadMembersCollection" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get thread members": { - "$ref": "./examples/ThreadMembers_ListChatThreadMembers.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - } - }, - "post": { - "tags": [ - "ThreadMembers" - ], - "summary": "Adds thread members to a thread. If members already exist, no change occurs.", - "operationId": "AddChatThreadMembers", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Id of the thread to add members to.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Thread members to be added to the thread.", - "required": true, - "schema": { - "$ref": "#/definitions/AddChatThreadMembersRequest" - } - } - ], - "responses": { - "207": { - "description": "Multi status response, containing the status for the thread member addition operations." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Add thread members": { - "$ref": "./examples/ThreadMembers_AddChatThreadMembers.json" - } - } - } - }, - "/chat/threads/{chatThreadId}/members/{chatMemberId}": { - "delete": { - "tags": [ - "ThreadMembers" - ], - "summary": "Remove a member from a thread.", - "operationId": "RemoveChatThreadMember", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to remove the member from.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "chatMemberId", - "description": "Id of the thread member to remove from the thread.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Request successful." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Remove thread member": { - "$ref": "./examples/ThreadMembers_RemoveChatThreadMember.json" - } - } - } - }, - "/chat/threads": { - "post": { - "tags": [ - "Threads" - ], - "summary": "Creates a chat thread.", - "operationId": "CreateChatThread", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Request payload for creating a chat thread.", - "required": true, - "schema": { - "$ref": "#/definitions/CreateChatThreadRequest" - } - } - ], - "responses": { - "207": { - "description": "Multi status response, containing the status for the thread creation and the thread member addition operations.\r\nIf the thread was created successfully, `Location` header would contain the URL for the newly created thread.", - "schema": { - "$ref": "#/definitions/MultiStatusResponse" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Create chat thread": { - "$ref": "./examples/Threads_CreateChatThread.json" - } - } - }, - "get": { - "tags": [ - "Threads" - ], - "summary": "Gets the list of chat threads of a user.", - "operationId": "ListChatThreads", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "maxPageSize", - "description": "The maximum number of chat threads returned per page.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "startTime", - "description": "The earliest point in time to get chat threads up to. The timestamp should be in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "format": "date-time" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The action returns a `GetThreadsResponse` resource.", - "schema": { - "$ref": "#/definitions/ChatThreadsInfoCollection" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get threads with pagination (Max Page Size)": { - "$ref": "./examples/Threads_ListChatThreadsWithPageSize.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "value" - } - } - }, - "/chat/threads/{chatThreadId}": { - "patch": { - "tags": [ - "Threads" - ], - "summary": "Updates a thread's properties.", - "operationId": "UpdateChatThread", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "The id of the thread to update.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Request payload for updating a chat thread.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateChatThreadRequest" - } - } - ], - "responses": { - "200": { - "description": "Thread was successfully updated." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Update chat thread topic": { - "$ref": "./examples/Threads_UpdateChatThreadTopic.json" - } - } - }, - "get": { - "tags": [ - "Threads" - ], - "summary": "Gets a chat thread.", - "operationId": "GetChatThread", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to get.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The action returns a `Thread` resource.", - "schema": { - "$ref": "#/definitions/ChatThread" - } - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Get chat thread": { - "$ref": "./examples/Threads_GetChatThread.json" - } - } - }, - "delete": { - "tags": [ - "Threads" - ], - "summary": "Deletes a thread.", - "operationId": "DeleteChatThread", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "chatThreadId", - "description": "Thread id to delete.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Request successful." - }, - "401": { - "description": "Unauthorized", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "403": { - "description": "Forbidden", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "429": { - "description": "Too many requests", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - }, - "503": { - "description": "Service unavailable", - "schema": { - "$ref": "#/definitions/Error" - }, - "x-ms-error-response": true - } - }, - "x-ms-examples": { - "Delete chat thread": { - "$ref": "./examples/Threads_DeleteChatThread.json" - } - } - } - } - }, - "definitions": { - "ReadReceipt": { - "description": "A read receipt indicates the time a chat message was read by a recipient.", - "type": "object", - "properties": { - "senderId": { - "description": "Read receipt sender id.", - "type": "string", - "readOnly": true, - "example": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b" - }, - "chatMessageId": { - "description": "Id for the chat message that has been read. This id is generated by the server.", - "type": "string", - "readOnly": true, - "example": "1591137790240" - }, - "readOn": { - "format": "date-time", - "description": "Read receipt timestamp. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "readOnly": true, - "example": "2020-10-30T10:50:50Z" - } - } - }, - "ReadReceiptsCollection": { - "type": "object", - "properties": { - "value": { - "description": "Collection of read receipts.", - "type": "array", - "items": { - "$ref": "#/definitions/ReadReceipt" - }, - "readOnly": true - }, - "nextLink": { - "description": "If there are more read receipts that can be retrieved, the next link will be populated.", - "type": "string", - "readOnly": true - } - } - }, - "Error": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - }, - "target": { - "type": "string", - "readOnly": true - }, - "innerErrors": { - "type": "array", - "items": { - "$ref": "#/definitions/Error" - }, - "readOnly": true - } - } - }, - "SendReadReceiptRequest": { - "description": "Request payload for sending a read receipt.", - "required": [ - "chatMessageId" - ], - "type": "object", - "properties": { - "chatMessageId": { - "description": "Id of the latest chat message read by the user.", - "type": "string", - "example": "1592435762364" - } - } - }, - "ChatMessagePriority": { - "description": "The chat message priority.", - "enum": [ - "Normal", - "High" - ], - "type": "string", - "x-ms-enum": { - "name": "ChatMessagePriority", - "modelAsString": true - } - }, - "SendChatMessageRequest": { - "description": "Details of the message to send.", - "required": [ - "content" - ], - "type": "object", - "properties": { - "priority": { - "$ref": "#/definitions/ChatMessagePriority" - }, - "content": { - "description": "Chat message content.", - "type": "string", - "example": "Come one guys, lets go for lunch together." - }, - "senderDisplayName": { - "description": "The display name of the chat message sender. This property is used to populate sender name for push notifications.", - "type": "string", - "example": "Bob Admin" - } - } - }, - "SendChatMessageResult": { - "description": "Result of the send message operation.", - "type": "object", - "properties": { - "id": { - "description": "A server-generated message id.", - "type": "string", - "readOnly": true, - "example": "123456789" - } - } - }, - "ChatMessage": { - "type": "object", - "properties": { - "id": { - "description": "The id of the chat message. This id is server generated.", - "type": "string", - "readOnly": true, - "example": "123456789" - }, - "type": { - "description": "Type of the chat message.\r\n \r\nPossible values:\r\n - Text\r\n - ThreadActivity/TopicUpdate\r\n - ThreadActivity/AddMember\r\n - ThreadActivity/DeleteMember", - "type": "string", - "example": "Text" - }, - "priority": { - "$ref": "#/definitions/ChatMessagePriority" - }, - "version": { - "description": "Version of the chat message.", - "type": "string", - "readOnly": true - }, - "content": { - "description": "Content of the chat message.", - "type": "string", - "example": "Come one guys, lets go for lunch together." - }, - "senderDisplayName": { - "description": "The display name of the chat message sender. This property is used to populate sender name for push notifications.", - "type": "string", - "example": "Jane" - }, - "createdOn": { - "format": "date-time", - "description": "The timestamp when the chat message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "readOnly": true, - "example": "2020-10-30T10:50:50Z" - }, - "senderId": { - "description": "The id of the chat message sender.", - "type": "string", - "readOnly": true, - "example": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b" - }, - "deletedOn": { - "format": "date-time", - "description": "The timestamp when the chat message was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "example": "2020-10-30T10:50:50Z" - }, - "editedOn": { - "format": "date-time", - "description": "The timestamp when the chat message was edited. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "example": "2020-10-30T10:50:50Z" - } - } - }, - "ChatMessagesCollection": { - "description": "Collection of chat messages for a particular chat thread.", - "type": "object", - "properties": { - "value": { - "description": "Collection of chat messages.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatMessage" - }, - "readOnly": true - }, - "nextLink": { - "description": "If there are more chat messages that can be retrieved, the next link will be populated.", - "type": "string", - "readOnly": true - } - } - }, - "UpdateChatMessageRequest": { - "type": "object", - "properties": { - "content": { - "description": "Chat message content.", - "type": "string", - "example": "Let's go for lunch together." - }, - "priority": { - "$ref": "#/definitions/ChatMessagePriority" - } - } - }, - "ChatThreadMember": { - "description": "A member of the chat thread.", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`.", - "type": "string", - "example": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b" - }, - "displayName": { - "description": "Display name for the chat thread member.", - "type": "string", - "example": "Bob" - }, - "shareHistoryTime": { - "format": "date-time", - "description": "Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "example": "2020-10-30T10:50:50Z" - } - } - }, - "ChatThreadMembersCollection": { - "description": "Collection of thread members belong to a particular thread.", - "type": "object", - "properties": { - "value": { - "description": "Chat thread members.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatThreadMember" - } - }, - "nextLink": { - "description": "If there are more chat threads that can be retrieved, the next link will be populated.", - "type": "string", - "readOnly": true - } - } - }, - "AddChatThreadMembersRequest": { - "description": "Thread members to be added to the thread.", - "required": [ - "members" - ], - "type": "object", - "properties": { - "members": { - "description": "Members to add to a chat thread.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatThreadMember" - } - } - } - }, - "CreateChatThreadRequest": { - "description": "Request payload for creating a chat thread.", - "required": [ - "members", - "topic" - ], - "type": "object", - "properties": { - "topic": { - "description": "The chat thread topic.", - "type": "string", - "example": "Lunch Thread" - }, - "members": { - "description": "Members to be added to the chat thread.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatThreadMember" - } - } - } - }, - "IndividualStatusResponse": { - "type": "object", - "properties": { - "id": { - "description": "Identifies the resource to which the individual status corresponds.", - "type": "string", - "readOnly": true - }, - "statusCode": { - "format": "int32", - "description": "The status code of the resource operation.\r\n \r\nPossible values include:\r\n 200 for a successful update or delete,\r\n 201 for successful creation,\r\n 400 for a malformed input,\r\n 403 for lacking permission to execute the operation,\r\n 404 for resource not found.", - "type": "integer", - "readOnly": true - }, - "message": { - "description": "The message explaining why the operation failed for the resource identified by the key; null if the operation succeeded.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Identifies the type of the resource to which the individual status corresponds.", - "type": "string", - "readOnly": true - } - } - }, - "MultiStatusResponse": { - "type": "object", - "properties": { - "multipleStatus": { - "description": "The list of status information for each resource in the request.", - "type": "array", - "items": { - "$ref": "#/definitions/IndividualStatusResponse" - }, - "readOnly": true - } - } - }, - "ChatThreadInfo": { - "type": "object", - "properties": { - "id": { - "description": "Chat thread id.", - "type": "string", - "readOnly": true, - "example": "19:uni01_uy5ucb66ugp3lrhe7pxso6xx4hsmm3dl6eyjfefv2n6x3rrurpea@thread.v2" - }, - "topic": { - "description": "Chat thread topic.", - "type": "string", - "example": "Lunch Chat thread" - }, - "isDeleted": { - "description": "Flag if a chat thread is soft deleted.", - "type": "boolean", - "example": false - }, - "lastMessageReceivedOn": { - "format": "date-time", - "description": "The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "readOnly": true, - "example": "2020-10-30T10:50:50Z" - } - } - }, - "ChatThreadsInfoCollection": { - "description": "Collection of chat threads.", - "type": "object", - "properties": { - "value": { - "description": "Collection of chat threads.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatThreadInfo" - }, - "readOnly": true - }, - "nextLink": { - "description": "If there are more chat threads that can be retrieved, the next link will be populated.", - "type": "string", - "readOnly": true - } - } - }, - "UpdateChatThreadRequest": { - "type": "object", - "properties": { - "topic": { - "description": "Chat thread topic.", - "type": "string", - "example": "Lunch Thread" - } - } - }, - "ChatThread": { - "type": "object", - "properties": { - "id": { - "description": "Chat thread id.", - "type": "string", - "readOnly": true, - "example": "19:uni01_uy5ucb66ugp3lrhe7pxso6xx4hsmm3dl6eyjfefv2n6x3rrurpea@thread.v2" - }, - "topic": { - "description": "Chat thread topic.", - "type": "string", - "example": "Lunch Chat thread" - }, - "createdOn": { - "format": "date-time", - "description": "The timestamp when the chat thread was created. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`.", - "type": "string", - "readOnly": true, - "example": "2020-10-30T10:50:50Z" - }, - "createdBy": { - "description": "Id of the chat thread owner.", - "type": "string", - "readOnly": true, - "example": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b" - }, - "members": { - "description": "Chat thread members.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatThreadMember" - } - } - } - } - }, - "parameters": { - "ApiVersionParameter": { - "in": "query", - "name": "api-version", - "description": "Version of API to invoke.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "Endpoint": { - "in": "path", - "name": "endpoint", - "description": "The endpoint of the Azure Communication resource.", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "Authorization": { - "type": "apiKey", - "name": "Authorization", - "in": "header", - "description": "An ACS (Azure Communication Services) user access token." - } - }, - "security": [ - { - "Authorization": [ ] - } - ], - "x-ms-parameterized-host": { - "hostTemplate": "{endpoint}", - "useSchemePrefix": false, - "parameters": [ - { - "$ref": "#/parameters/Endpoint" - } - ] - } -} \ No newline at end of file diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml index 840f3ea8500f..373dedcff227 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:27:56 GMT + - Thu, 01 Oct 2020 22:48:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:27:56 GMT + - Thu, 01 Oct 2020 22:48:04 GMT ms-cv: - - 7NH7YmUrHUiVUdpY9rpV6w.0 + - fe8GIULrmE6QhpXm1qICYQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 222ms + - 226ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:27:57 GMT + - Thu, 01 Oct 2020 22:48:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:27:56.4366075+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:04.2945816+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:27:56 GMT + - Thu, 01 Oct 2020 22:48:04 GMT ms-cv: - - lutKdWa9nEW3JgOOFIyDJg.0 + - 1hqRr6NaHkKQuQschfqWGQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 285ms + - 292ms status: code: 200 message: OK @@ -100,19 +100,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:27:57 GMT + - Thu, 01 Oct 2020 22:48:05 GMT ms-cv: - - LA4RCbU3rUOQS3askkAqBw.0 + - uBNvvJKY+0Oh3CuI/A8sNQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 336ms + - 181ms status: code: 207 message: Multi-Status @@ -128,7 +128,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:27:58 GMT + - Thu, 01 Oct 2020 22:48:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -142,13 +142,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:27:58 GMT + - Thu, 01 Oct 2020 22:48:06 GMT ms-cv: - - PtVi/wEBYkWXM+PxLnYQFw.0 + - CyKTdQdMlk6bJqwL6tj9BQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 722ms + - 711ms status: code: 204 message: No Content @@ -172,15 +172,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:27:58 GMT + - Thu, 01 Oct 2020 22:48:06 GMT ms-cv: - - v6zDHnyH7kK1p86j48u/lg.0 + - XTK1Jm4VZ0ibw36diC8kng.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 94ms + - 73ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml index e62a57adeefc..db29ed63cc3f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:27:59 GMT + - Thu, 01 Oct 2020 22:48:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:27:59 GMT + - Thu, 01 Oct 2020 22:48:07 GMT ms-cv: - - gURb3l6XRkCBc4gkri9Hug.0 + - cft8FETd2UenFqgeAw98sQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 252ms + - 205ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:00 GMT + - Thu, 01 Oct 2020 22:48:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:27:59.5309068+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:07.0340593+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:00 GMT + - Thu, 01 Oct 2020 22:48:07 GMT ms-cv: - - XpBOlAVdUESuKjugqyXlfg.0 + - MdHwjpKprkWMYv6+/3eEKg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 290ms + - 275ms status: code: 200 message: OK @@ -100,19 +100,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:00 GMT + - Thu, 01 Oct 2020 22:48:07 GMT ms-cv: - - uM8rF8RaoEmQGRAYp0o5TA.0 + - cKYTG/oDkUGXVLvim9h/fQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 270ms + - 312ms status: code: 207 message: Multi-Status @@ -136,15 +136,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:01 GMT + - Thu, 01 Oct 2020 22:48:08 GMT ms-cv: - - J1bTm9Vuv06hTqDOE4ZAHg.0 + - XyKlM6f0X06+KtoO2znMow.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 176ms + - 127ms status: code: 204 message: No Content @@ -160,7 +160,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:01 GMT + - Thu, 01 Oct 2020 22:48:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -174,13 +174,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:03 GMT + - Thu, 01 Oct 2020 22:48:09 GMT ms-cv: - - s2jXs1T+eESR2oLweoYO2A.0 + - JkDTB7thgEu6K+Afey0hcA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 1657ms + - 1143ms status: code: 204 message: No Content @@ -204,15 +204,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:03 GMT + - Thu, 01 Oct 2020 22:48:09 GMT ms-cv: - - deVZGpxJAk+JHPD23j5P8A.0 + - P/JKbYmTQ0qaJ6vsKCrOGQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 111ms + - 26ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_chat_thread.yaml index ccadf2d87b17..6dc4dad27296 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_chat_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:03 GMT + - Thu, 01 Oct 2020 22:48:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:03 GMT + - Thu, 01 Oct 2020 22:48:10 GMT ms-cv: - - nC4MwdkafUCyto1i+/mJ4g.0 + - 5vACECezBEyDSy5w3VORLQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 212ms + - 210ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:04 GMT + - Thu, 01 Oct 2020 22:48:11 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:03.8713816+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:10.5782778+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:04 GMT + - Thu, 01 Oct 2020 22:48:10 GMT ms-cv: - - wiOtpDt7AEWqdWPt0wRWKA.0 + - 3/Cmsjb/lUmflZSClTOkyQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 282ms + - 276ms status: code: 200 message: OK @@ -89,7 +89,7 @@ interactions: Connection: - keep-alive Content-Length: - - '199' + - '201' Content-Type: - application/json User-Agent: @@ -100,19 +100,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:04 GMT + - Thu, 01 Oct 2020 22:48:12 GMT ms-cv: - - VcOqapNKXkiNCQKZLkGcLw.0 + - z2B2eOCdzkCNpgqC28YFzw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 275ms + - 554ms status: code: 207 message: Multi-Status @@ -130,23 +130,23 @@ interactions: method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2020-09-21-preview2 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2020-09-18T21:28:05Z", + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2020-10-01T22:48:12Z", "createdBy": "sanitized", "members": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:05 GMT + - Thu, 01 Oct 2020 22:48:12 GMT ms-cv: - - YEJghRRIOkqaT80ODCRC3Q.0 + - aDV48+ZQsEuC4x5W5jWwTg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 78ms + - 40ms status: code: 200 message: OK @@ -162,7 +162,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:05 GMT + - Thu, 01 Oct 2020 22:48:12 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -176,13 +176,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:06 GMT + - Thu, 01 Oct 2020 22:48:13 GMT ms-cv: - - ku8b6vvvFEa7/DyxG4mnmQ.0 + - AVq30DZDM0u/cQqTQsdlgA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 812ms + - 1007ms status: code: 204 message: No Content @@ -206,15 +206,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:06 GMT + - Thu, 01 Oct 2020 22:48:13 GMT ms-cv: - - WNE+Cryno0GCVbz88KInig.0 + - apLQYuh0kE6e/ZK01i2aTQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 148ms + - 110ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml index 80c3f9fafe24..9b43fc008f6b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:07 GMT + - Thu, 01 Oct 2020 22:48:14 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:07 GMT + - Thu, 01 Oct 2020 22:48:14 GMT ms-cv: - - UurHbjpg4UWqvlJXlnpgvA.0 + - v25eHGzcHEalxqZSO8wCDw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 214ms + - 225ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:07 GMT + - Thu, 01 Oct 2020 22:48:15 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:07.2646499+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:14.369386+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:07 GMT + - Thu, 01 Oct 2020 22:48:15 GMT ms-cv: - - p3HjbrGVME+qQ2fe1y5x5Q.0 + - 3q1j7VOFVkuio7mS1RByjA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 284ms + - 278ms status: code: 200 message: OK @@ -100,19 +100,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:08 GMT + - Thu, 01 Oct 2020 22:48:16 GMT ms-cv: - - t8wmLyHNiUyGl3b11JLMHQ.0 + - Etag0jtBwkCHXR6dn2hV0Q.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 316ms + - 405ms status: code: 207 message: Multi-Status @@ -128,7 +128,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:09 GMT + - Thu, 01 Oct 2020 22:48:16 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -142,13 +142,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:09 GMT + - Thu, 01 Oct 2020 22:48:16 GMT ms-cv: - - Z9yitATMskSLA6qvS2g1Hw.0 + - zOVlGk9D6Uq8CvO7ddoUFA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 711ms + - 961ms status: code: 204 message: No Content @@ -172,15 +172,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:09 GMT + - Thu, 01 Oct 2020 22:48:17 GMT ms-cv: - - KnavkwVlwECwp44OM99YWQ.0 + - gYVJZBeVd0SN5k49zKaf9Q.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 157ms + - 66ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml index ec0100a976e4..fddfa3ccfa6d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:10 GMT + - Thu, 01 Oct 2020 22:48:17 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:10 GMT + - Thu, 01 Oct 2020 22:48:17 GMT ms-cv: - - T1SicIBFQ0OqIPsPESoNhg.0 + - AOUpOr5lqEeuEClYbLGQow.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 208ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:10 GMT + - Thu, 01 Oct 2020 22:48:18 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:10.3443551+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:17.6733861+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:11 GMT + - Thu, 01 Oct 2020 22:48:18 GMT ms-cv: - - ncrEM8Lnt0WM8pIlfrawzQ.0 + - sQoafUKDCE+DscyI7g3GUQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 283ms + - 275ms status: code: 200 message: OK @@ -100,19 +100,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:11 GMT + - Thu, 01 Oct 2020 22:48:19 GMT ms-cv: - - UhcTmivdXU2XVXi6rs/H6g.0 + - vQ/O7g4eDEiL9aSLGDPT4w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 317ms + - 241ms status: code: 207 message: Multi-Status @@ -133,19 +133,19 @@ interactions: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:13 GMT + - Thu, 01 Oct 2020 22:48:21 GMT ms-cv: - - SaCwHB1w6U2BYp4E6OommA.0 + - WYJfu7+2l0aDpzcem5Y2Kw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 40ms + - 45ms status: code: 200 message: OK @@ -161,7 +161,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:14 GMT + - Thu, 01 Oct 2020 22:48:21 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -175,13 +175,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:14 GMT + - Thu, 01 Oct 2020 22:48:21 GMT ms-cv: - - YvdnCp6d8k6AucsQycFqIg.0 + - xeND38DwIk6HZG1ygLTioA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 601ms + - 715ms status: code: 204 message: No Content @@ -205,15 +205,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:14 GMT + - Thu, 01 Oct 2020 22:48:22 GMT ms-cv: - - bdvSE2U4S02HemcKmlkD3g.0 + - 0rDmR1kkyUimsvKSGxkbwg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 159ms + - 81ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml index e735a7809f53..0955dc57a35b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:15 GMT + - Thu, 01 Oct 2020 22:48:22 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:15 GMT + - Thu, 01 Oct 2020 22:48:22 GMT ms-cv: - - M2Ao+BsNn0icWdOrO/7VFA.0 + - QSCbSrgO7U2Adg+S3C68Rg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 217ms + - 212ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:16 GMT + - Thu, 01 Oct 2020 22:48:23 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:15.5379971+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:22.7572342+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:15 GMT + - Thu, 01 Oct 2020 22:48:23 GMT ms-cv: - - OekMhAgOl024kmIM3itjrQ.0 + - KrqZ4jB1n0OzwHiNZo8q+w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 287ms + - 270ms status: code: 200 message: OK @@ -95,13 +95,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:16 GMT - ms-cv: BI7rs3t5CEuzliu6CuT3Bg.0 + date: Thu, 01 Oct 2020 22:48:23 GMT + ms-cv: 2Y1gQKJ+EUyl0fF+H1ulFQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 249ms + x-processing-time: 294ms status: code: 207 message: Multi-Status @@ -119,11 +119,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:16 GMT - ms-cv: LGgnbaXUc0+1um7wNuWfuA.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:23 GMT + ms-cv: eDflju2COECRm6Lzy5iiVw.0 strict-transport-security: max-age=2592000 - x-processing-time: 157ms + x-processing-time: 133ms status: code: 204 message: No Content @@ -140,7 +140,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:17 GMT + - Thu, 01 Oct 2020 22:48:24 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -154,13 +154,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:17 GMT + - Thu, 01 Oct 2020 22:48:25 GMT ms-cv: - - Y9UhyCD8bEe/dBhpPMSgOw.0 + - Pxl6t9kWIE2sUX52lEHOTg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 805ms + - 1058ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml index 55272beba23c..1b105347f499 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:18 GMT + - Thu, 01 Oct 2020 22:48:25 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:18 GMT + - Thu, 01 Oct 2020 22:48:26 GMT ms-cv: - - FH4Yxeywuk+NeP9w762NcQ.0 + - PI5HRuD/F06qldFWyCOXtQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 212ms + - 236ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:19 GMT + - Thu, 01 Oct 2020 22:48:26 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:18.5326261+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:25.9847651+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:18 GMT + - Thu, 01 Oct 2020 22:48:26 GMT ms-cv: - - S8XtE9w0AUC5WZi0LCDiWw.0 + - yW1xnufq20O4sEXQhtqzbw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 286ms + - 294ms status: code: 200 message: OK @@ -95,13 +95,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:19 GMT - ms-cv: Q/mf14f420C9L1KC4ue93A.0 + date: Thu, 01 Oct 2020 22:48:26 GMT + ms-cv: EzHyAxuiU0CSqwzJ+oWiWg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 176ms + x-processing-time: 300ms status: code: 207 message: Multi-Status @@ -119,11 +119,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:19 GMT - ms-cv: ZGZIP07y/0+6QOIIi6Zhog.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:26 GMT + ms-cv: VVrHZhE7o0+AuzhYvrh0/g.0 strict-transport-security: max-age=2592000 - x-processing-time: 103ms + x-processing-time: 65ms status: code: 204 message: No Content @@ -141,11 +141,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:20 GMT - ms-cv: YRs+f2etiEmHuWELp8laEw.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:27 GMT + ms-cv: QmT2ALRHWE+GS6vqkO4lAQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 74ms + x-processing-time: 301ms status: code: 204 message: No Content @@ -162,7 +162,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:20 GMT + - Thu, 01 Oct 2020 22:48:28 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -176,13 +176,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:21 GMT + - Thu, 01 Oct 2020 22:48:28 GMT ms-cv: - - +I01lhjKdUCqvyu6OKZWdA.0 + - JspE4e7FgUCeNsXU49YE2w.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 1279ms + - 821ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_chat_thread.yaml index 7930856a0798..dffc2aad4e32 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_chat_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:21 GMT + - Thu, 01 Oct 2020 22:48:29 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:22 GMT + - Thu, 01 Oct 2020 22:48:29 GMT ms-cv: - - edNVdTlEkkWCpY3eREnUag.0 + - lwKVCJE5F06uFt4/VU6aMg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 216ms + - 206ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:22 GMT + - Thu, 01 Oct 2020 22:48:29 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:21.928624+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:29.0659228+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:22 GMT + - Thu, 01 Oct 2020 22:48:29 GMT ms-cv: - - 8OQuzBaEIUughyAGrIra+A.0 + - qmHBkTmmi0aDlF4do9PzhA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 291ms + - 276ms status: code: 200 message: OK @@ -95,13 +95,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:23 GMT - ms-cv: OiPPOhZsf0iy6k6Ozld1gA.0 + date: Thu, 01 Oct 2020 22:48:30 GMT + ms-cv: o2MF9Zgjj0mwIMNKKm/noA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 238ms + x-processing-time: 173ms status: code: 207 message: Multi-Status @@ -116,16 +116,16 @@ interactions: method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2020-09-21-preview2 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2020-09-18T21:28:23Z", + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2020-10-01T22:48:30Z", "createdBy": "sanitized", "members": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:23 GMT - ms-cv: y7uqFLJjIU+2Y/ChIdIEVA.0 + date: Thu, 01 Oct 2020 22:48:30 GMT + ms-cv: v50+x4YTiEqJLZKZGxltjA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 78ms + x-processing-time: 39ms status: code: 200 message: OK @@ -143,11 +143,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:23 GMT - ms-cv: YQptMnVbtUqvB2Q/vPreGw.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:30 GMT + ms-cv: 4x0MOpKhw0qadgA6xg9+5w.0 strict-transport-security: max-age=2592000 - x-processing-time: 140ms + x-processing-time: 53ms status: code: 204 message: No Content @@ -164,7 +164,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:23 GMT + - Thu, 01 Oct 2020 22:48:30 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -178,13 +178,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:24 GMT + - Thu, 01 Oct 2020 22:48:31 GMT ms-cv: - - hBjWK6Tekk2gr+3hg/PLvg.0 + - //nLBSlVqkymBv5VfCeVjA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 732ms + - 1345ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml index 212a09c1a722..87c117057689 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:24 GMT + - Thu, 01 Oct 2020 22:48:32 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:25 GMT + - Thu, 01 Oct 2020 22:48:32 GMT ms-cv: - - XWiLYOFozUidubAAmI4W7g.0 + - Ff06YaMrR0+Ym1jPO1KDaQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 211ms + - 233ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:25 GMT + - Thu, 01 Oct 2020 22:48:33 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:25.0407862+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:32.464477+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:25 GMT + - Thu, 01 Oct 2020 22:48:32 GMT ms-cv: - - i9eOzlRV9kCUtt/waB0mYg.0 + - H4g7sZOx10e5hA7ZrijZvw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 282ms + - 278ms status: code: 200 message: OK @@ -95,13 +95,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:25 GMT - ms-cv: iRO+VaCVC0G1fQ3dBn1KIg.0 + date: Thu, 01 Oct 2020 22:48:33 GMT + ms-cv: dE/9ZSRef0yrm6WWJAoN/Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 285ms + x-processing-time: 212ms status: code: 207 message: Multi-Status @@ -119,11 +119,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:26 GMT - ms-cv: ihxDdKc1NkeDDD8rr6IyNg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:34 GMT + ms-cv: MA4Ar2rKKkaquEBoD4a1HA.0 strict-transport-security: max-age=2592000 - x-processing-time: 167ms + x-processing-time: 64ms status: code: 204 message: No Content @@ -140,7 +140,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:26 GMT + - Thu, 01 Oct 2020 22:48:34 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -154,13 +154,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:27 GMT + - Thu, 01 Oct 2020 22:48:35 GMT ms-cv: - - Iq9+JPFcSUeJUEDSJaM54Q.0 + - 3Rqn+fOjDE2y2m0y+IZzAQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 867ms + - 1476ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml index cead6b027043..73e1724c3fe7 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:28 GMT + - Thu, 01 Oct 2020 22:48:35 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:28 GMT + - Thu, 01 Oct 2020 22:48:35 GMT ms-cv: - - 5TD3jmckOEm9dB5d/TC7NQ.0 + - zn/jmJiONEyuuseP/iz7vA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 216ms + - 205ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:28 GMT + - Thu, 01 Oct 2020 22:48:36 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:28.1079112+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:35.8662311+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:28 GMT + - Thu, 01 Oct 2020 22:48:36 GMT ms-cv: - - PIF0HEIRIUqaDyrYc+X21Q.0 + - 9alIkXSsXESDZAS6K9Gk9g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 284ms + - 279ms status: code: 200 message: OK @@ -95,13 +95,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:29 GMT - ms-cv: PmCZa2m2kEWOyqtElUz+7Q.0 + date: Thu, 01 Oct 2020 22:48:37 GMT + ms-cv: 0fzbNJSoDUyX8Aj1rE4cSw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 263ms + x-processing-time: 260ms status: code: 207 message: Multi-Status @@ -118,13 +118,13 @@ interactions: response: body: '{"value": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:28:31 GMT - ms-cv: T/A5ucWMYUCWQvRbJNdrSg.0 + date: Thu, 01 Oct 2020 22:48:39 GMT + ms-cv: 6aLwM4jC4kOpGpUmRP2xqQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 66ms + x-processing-time: 82ms status: code: 200 message: OK @@ -142,11 +142,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:28:31 GMT - ms-cv: XvN9IcS0WE6+6f2uRv4LGA.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:48:39 GMT + ms-cv: 5cuAM0L5A0y9tzm5hQVKDQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 172ms + x-processing-time: 104ms status: code: 204 message: No Content @@ -163,7 +163,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:32 GMT + - Thu, 01 Oct 2020 22:48:39 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -177,13 +177,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:32 GMT + - Thu, 01 Oct 2020 22:48:40 GMT ms-cv: - - WY/NjR0muUuKsQKhRymUoA.0 + - bFl0bfWM6Emlz7/WLQwjpQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 676ms + - 898ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_members.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_members.yaml index e82164857c9a..aa4ff5b6e9e9 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_members.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_members.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:33 GMT + - Thu, 01 Oct 2020 22:48:40 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:32 GMT + - Thu, 01 Oct 2020 22:48:40 GMT ms-cv: - - Iv7nYRnJw0uSnXj2jmQ4PA.0 + - ZPmU6PVvZEmrrXJmUwgymQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 214ms + - 201ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:33 GMT + - Thu, 01 Oct 2020 22:48:41 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:33.2569709+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:40.9884181+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:33 GMT + - Thu, 01 Oct 2020 22:48:41 GMT ms-cv: - - BhkG/l2WQku+lYQAcsdXgA.0 + - o3n50hF3FU69D73NNbxzfA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 289ms + - 277ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:34 GMT + - Thu, 01 Oct 2020 22:48:42 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:33 GMT + - Thu, 01 Oct 2020 22:48:41 GMT ms-cv: - - 5LR7KTHPIEqhfVGDPD3t2g.0 + - gf/vHbe160i4t70V7zyWkg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 215ms + - 201ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:34 GMT + - Thu, 01 Oct 2020 22:48:42 GMT ms-cv: - - LcZdFc6vB06U33meM/Xrhg.0 + - cAn/gA0vaUGXqU2ajnp+zQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 362ms + - 185ms status: code: 207 message: Multi-Status @@ -165,7 +165,7 @@ interactions: Connection: - keep-alive Content-Length: - - '178' + - '177' Content-Type: - application/json User-Agent: @@ -176,19 +176,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:35 GMT + - Thu, 01 Oct 2020 22:48:42 GMT ms-cv: - - s+mJhsYrlk6q6NaEjlFo7Q.0 + - uvX1rywlDEagHNR34rs0LA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 126ms status: code: 207 message: Multi-Status @@ -204,7 +204,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:36 GMT + - Thu, 01 Oct 2020 22:48:43 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -218,13 +218,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:36 GMT + - Thu, 01 Oct 2020 22:48:45 GMT ms-cv: - - YPQbgXqipEKvvf78MJLsZA.0 + - KOEuz5W6kEm2i2NsJfO4Mw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 932ms + - 1446ms status: code: 204 message: No Content @@ -240,7 +240,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:37 GMT + - Thu, 01 Oct 2020 22:48:45 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -254,13 +254,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:37 GMT + - Thu, 01 Oct 2020 22:48:45 GMT ms-cv: - - VbGbHYaCYEOtIvZ5CBt3fw.0 + - cW1wW7cLSkaFwoQDYGaC2w.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 866ms + - 596ms status: code: 204 message: No Content @@ -284,15 +284,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:37 GMT + - Thu, 01 Oct 2020 22:48:45 GMT ms-cv: - - Epet9GlPR0OCN5GV7/3WFw.0 + - k3L0V9PH9Uacxcf4rpl2sg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 278ms + - 68ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml index 1e09bc917804..c15444fc243a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:38 GMT + - Thu, 01 Oct 2020 22:48:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:39 GMT + - Thu, 01 Oct 2020 22:48:45 GMT ms-cv: - - My9XUGstWk+b3OM7flqTCQ.0 + - EnMLWQ9jpE+7q/UNlYJCQg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 206ms + - 200ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:39 GMT + - Thu, 01 Oct 2020 22:48:46 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:38.8883654+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:46.1273593+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:39 GMT + - Thu, 01 Oct 2020 22:48:46 GMT ms-cv: - - fCAo2YeLYEKAIRrTf0xqzg.0 + - 3TKmu7GgXU+fIhOV3PUIYw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 290ms + - 271ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:39 GMT + - Thu, 01 Oct 2020 22:48:47 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:40 GMT + - Thu, 01 Oct 2020 22:48:46 GMT ms-cv: - - 7UPrp29uaU6fpUC5JfFtZA.0 + - 7k8UcPEzhUKsx0dDluxBuw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 214ms + - 200ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:40 GMT + - Thu, 01 Oct 2020 22:48:47 GMT ms-cv: - - VrvM76poOEefZNQSN2ouyA.0 + - wWPQ+Q3hnEaaR1tGZYj8+g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 279ms + - 319ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:40 GMT + - Thu, 01 Oct 2020 22:48:48 GMT ms-cv: - - bc0g6AH3aE+kW/zl3ScJOQ.0 + - sD8hvsFJuEa+kltTBrtRnw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 155ms + - 158ms status: code: 201 message: Created @@ -213,15 +213,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:41 GMT + - Thu, 01 Oct 2020 22:48:48 GMT ms-cv: - - rfsG/sE+FESTd407jS1z2w.0 + - 5TjUA4oxnE6MrAX2wpGMaw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 172ms + - 69ms status: code: 204 message: No Content @@ -237,7 +237,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:42 GMT + - Thu, 01 Oct 2020 22:48:49 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -251,13 +251,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:42 GMT + - Thu, 01 Oct 2020 22:48:49 GMT ms-cv: - - iBdXz8hNFEKEGIYsMqCT/w.0 + - kAjCMg56YE65+rd1WbOMig.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 749ms + - 797ms status: code: 204 message: No Content @@ -273,7 +273,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:42 GMT + - Thu, 01 Oct 2020 22:48:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -287,13 +287,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:43 GMT + - Thu, 01 Oct 2020 22:48:49 GMT ms-cv: - - vPKMPD9RqUq2Rz3QdX854A.0 + - 4ThWtTb6lEu5lp9hYtQwxg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 597ms + - 419ms status: code: 204 message: No Content @@ -317,15 +317,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:42 GMT + - Thu, 01 Oct 2020 22:48:50 GMT ms-cv: - - 85QWmLCdoECjj0ZdLmdP1w.0 + - ZYuFiwL1tUWgcYwQTBGaaw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 158ms + - 116ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml index 02ab347fba57..c100c65fdf39 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:44 GMT + - Thu, 01 Oct 2020 22:48:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:44 GMT + - Thu, 01 Oct 2020 22:48:50 GMT ms-cv: - - xkZ7e2r8nUypFdNo4s+fQA.0 + - WS7ND5c3WUuDn89v7EfWbg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 214ms + - 208ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:44 GMT + - Thu, 01 Oct 2020 22:48:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:44.0913487+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:50.8663366+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:44 GMT + - Thu, 01 Oct 2020 22:48:51 GMT ms-cv: - - I+1Sa3Nzc0+NfC8ZkxO2SA.0 + - utDeUWiMe0Gn2Wah1sXGBQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 288ms + - 277ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:45 GMT + - Thu, 01 Oct 2020 22:48:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:44 GMT + - Thu, 01 Oct 2020 22:48:51 GMT ms-cv: - - VAW3Br2dL0+t59ic/vqW7g.0 + - Ry9XK/V/cUKPCBSPDZjaFA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 206ms + - 204ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:46 GMT + - Thu, 01 Oct 2020 22:48:52 GMT ms-cv: - - /mZSL5CZ/kWo15VQ8c4NCw.0 + - Z2pEODAcXU62EN1+FJnhMg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 474ms + - 197ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:47 GMT + - Thu, 01 Oct 2020 22:48:52 GMT ms-cv: - - lsEqnZOMjku+e95MXMtTpw.0 + - vrYs17LtTk20gGb3BgneNw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 200ms + - 98ms status: code: 201 message: Created @@ -207,24 +207,24 @@ interactions: method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2020-09-21-preview2 response: - body: '{"id": "sanitized", "type": "Text", "priority": "Normal", "version": "1600464527014", - "content": "hello world", "senderDisplayName": "sender name", "createdOn": "2020-09-18T21:28:47Z", + body: '{"id": "sanitized", "type": "Text", "priority": "Normal", "version": "1601592533507", + "content": "hello world", "senderDisplayName": "sender name", "createdOn": "2020-10-01T22:48:53Z", "senderId": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:47 GMT + - Thu, 01 Oct 2020 22:48:52 GMT ms-cv: - - smGmkg3RJUGg/hjpqFH3RQ.0 + - 2HP7uIuMTU2NM1j0+PatjA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 61ms + - 29ms status: code: 200 message: OK @@ -240,7 +240,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:47 GMT + - Thu, 01 Oct 2020 22:48:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -254,13 +254,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:47 GMT + - Thu, 01 Oct 2020 22:48:53 GMT ms-cv: - - inwX0QdFHE+7IBIxx5ui0A.0 + - XtVwvl76U0CsZVtFMcHUow.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 584ms + - 843ms status: code: 204 message: No Content @@ -276,7 +276,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:48 GMT + - Thu, 01 Oct 2020 22:48:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -290,13 +290,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:48 GMT + - Thu, 01 Oct 2020 22:48:54 GMT ms-cv: - - rA/fKfl/lUap2Nw5wJ5Ldw.0 + - JHWAxwFKWkiiWueZDcAHlA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 604ms + - 788ms status: code: 204 message: No Content @@ -320,15 +320,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:48 GMT + - Thu, 01 Oct 2020 22:48:55 GMT ms-cv: - - WI0vW8Qe/U+oAi489lmxGA.0 + - Sr6kvX5BWU+WCyrn7zAvZw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 161ms + - 86ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_members.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_members.yaml index 5b47437739dc..d0216148718c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_members.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_members.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:49 GMT + - Thu, 01 Oct 2020 22:48:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:49 GMT + - Thu, 01 Oct 2020 22:48:55 GMT ms-cv: - - 61vO4atq0UKeczqTmhaEMA.0 + - /WM+03/OBEGivAagCt124g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 199ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:49 GMT + - Thu, 01 Oct 2020 22:48:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:49.2890081+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:48:55.9114088+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:49 GMT + - Thu, 01 Oct 2020 22:48:56 GMT ms-cv: - - gobnGr7Z3U+u3az+PGrw0Q.0 + - fF/+OcyNfEWu2yRoqff6WQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 283ms + - 271ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:50 GMT + - Thu, 01 Oct 2020 22:48:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:49 GMT + - Thu, 01 Oct 2020 22:48:56 GMT ms-cv: - - KkmRyGRLekm6kQQr8Q1zng.0 + - jboNH6TtsUG9RzjLjuYRaA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 217ms + - 198ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:51 GMT + - Thu, 01 Oct 2020 22:48:57 GMT ms-cv: - - R4WHT5ntBU68ivjgbXYRJw.0 + - mIFyXC6t5E2ERzXNQHjKxg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 265ms + - 214ms status: code: 207 message: Multi-Status @@ -172,19 +172,19 @@ interactions: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:53 GMT + - Thu, 01 Oct 2020 22:49:00 GMT ms-cv: - - PXuVUevct0G1ZNTrYeKapQ.0 + - kXhlx3uYtESvQF3B1Ad/0A.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 117ms + - 40ms status: code: 200 message: OK @@ -200,7 +200,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:54 GMT + - Thu, 01 Oct 2020 22:49:00 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -214,13 +214,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:54 GMT + - Thu, 01 Oct 2020 22:49:00 GMT ms-cv: - - LAa8VeRaAkK5m/Mrp+j51g.0 + - UrQ7vZbuR0u42YF9BrY1ew.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 694ms + - 777ms status: code: 204 message: No Content @@ -236,7 +236,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:54 GMT + - Thu, 01 Oct 2020 22:49:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -250,13 +250,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:28:54 GMT + - Thu, 01 Oct 2020 22:49:01 GMT ms-cv: - - mITpYOsioUKhLiUeyxpNRw.0 + - WwwkewMoKEmFkiIfwznrWA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 537ms + - 575ms status: code: 204 message: No Content @@ -280,15 +280,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:28:55 GMT + - Thu, 01 Oct 2020 22:49:01 GMT ms-cv: - - aW/n7VEDpkaRN/A41EfxgA.0 + - XbCbbCpuDk6xpR9XnvHRJg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 144ms + - 51ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml index a43eef7920e9..1a3e5d54f05a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:55 GMT + - Thu, 01 Oct 2020 22:49:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:55 GMT + - Thu, 01 Oct 2020 22:49:02 GMT ms-cv: - - 2lv5MTYEkEGnYLyv3zV4TA.0 + - qL7UQ4ygKUmcBaucjPAStw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 215ms + - 208ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:28:56 GMT + - Thu, 01 Oct 2020 22:49:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:28:55.9534679+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:49:02.3817726+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:56 GMT + - Thu, 01 Oct 2020 22:49:02 GMT ms-cv: - - FYLQpSKZpEW7yOfPa8CeMw.0 + - xndN0tgzDEGPfT10J5Ltkw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 284ms + - 275ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:28:56 GMT + - Thu, 01 Oct 2020 22:49:03 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:56 GMT + - Thu, 01 Oct 2020 22:49:02 GMT ms-cv: - - ixfzmdI1GUSpg575G8h/mA.0 + - g6J6xbDnykSHDssaSX8WuA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 208ms + - 205ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:57 GMT + - Thu, 01 Oct 2020 22:49:04 GMT ms-cv: - - Y2E4YCL0OUqbvGuvtnwPaA.0 + - /KEwbshP4kK9aIDSvGLhqw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 220ms + - 270ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:28:57 GMT + - Thu, 01 Oct 2020 22:49:04 GMT ms-cv: - - mIovIjdyr0a43USV85TnHA.0 + - 8yxddUHAxka8KKrGpiw8OQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 136ms + - 73ms status: code: 201 message: Created @@ -210,19 +210,19 @@ interactions: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:00 GMT + - Thu, 01 Oct 2020 22:49:06 GMT ms-cv: - - EMdaPd0UUkOnZ7If+v82EA.0 + - iEHHhD2Nj0K+KjWGc4PzPQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 83ms + - 48ms status: code: 200 message: OK @@ -243,19 +243,19 @@ interactions: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:00 GMT + - Thu, 01 Oct 2020 22:49:06 GMT ms-cv: - - dXnI/MJD7EW9CLtnfH8G4g.0 + - mCx1vcc7xEmiUzPmcjt9gw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 114ms + - 51ms status: code: 200 message: OK @@ -276,19 +276,19 @@ interactions: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:00 GMT + - Thu, 01 Oct 2020 22:49:06 GMT ms-cv: - - llUCNz1NvUuF1GaQAGuttQ.0 + - COvNsOwGN0OZVAByhVVEXg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 137ms + - 61ms status: code: 200 message: OK @@ -309,19 +309,19 @@ interactions: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:00 GMT + - Thu, 01 Oct 2020 22:49:07 GMT ms-cv: - - fl4bmwXzDka34U5GVBqxag.0 + - /lkJGiDpN0yVAbE1H9PfWg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 117ms + - 58ms status: code: 200 message: OK @@ -337,7 +337,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:01 GMT + - Thu, 01 Oct 2020 22:49:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -351,13 +351,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:01 GMT + - Thu, 01 Oct 2020 22:49:07 GMT ms-cv: - - hPWaKtjcA0C3adILD/EF9w.0 + - gZNu21k/sEOdZCXTSDz/9Q.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 494ms + - 832ms status: code: 204 message: No Content @@ -373,7 +373,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:02 GMT + - Thu, 01 Oct 2020 22:49:08 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -387,13 +387,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:02 GMT + - Thu, 01 Oct 2020 22:49:08 GMT ms-cv: - - AwQHMXKlgkGYO3iABtvpzA.0 + - ku8bbLn0n0WR6HKhZguTJw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 701ms + - 643ms status: code: 204 message: No Content @@ -417,15 +417,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:03 GMT + - Thu, 01 Oct 2020 22:49:09 GMT ms-cv: - - ObHtMx3AHUKqUHqpKhCOew.0 + - de3ZyVjBu0um2HbLJ/f4XA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 89ms + - 59ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml index 2e88bb1804fe..557afc3dc756 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:03 GMT + - Thu, 01 Oct 2020 22:49:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:03 GMT + - Thu, 01 Oct 2020 22:49:09 GMT ms-cv: - - YkRH3Ta3TUKaMf6+M8COsw.0 + - QW5+EPDi4kuDBJENEGaeWQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 217ms + - 202ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:04 GMT + - Thu, 01 Oct 2020 22:49:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:03.4193286+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:49:09.6442672+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:03 GMT + - Thu, 01 Oct 2020 22:49:09 GMT ms-cv: - - zGFmXKU9+E2MqeKS5bvFeA.0 + - rkd2UN8Tmk2I24ASaFwM3g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 282ms + - 272ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:04 GMT + - Thu, 01 Oct 2020 22:49:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:03 GMT + - Thu, 01 Oct 2020 22:49:09 GMT ms-cv: - - n/LZNmMCGEyLK3LhjY7KIQ.0 + - nlcIPGPSxEeW1i6uwYRF2Q.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 213ms + - 197ms status: code: 200 message: OK @@ -128,7 +128,7 @@ interactions: Connection: - keep-alive Content-Length: - - '201' + - '200' Content-Type: - application/json User-Agent: @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:04 GMT + - Thu, 01 Oct 2020 22:49:11 GMT ms-cv: - - bjVsAvEkQU2UYFpfENrU5A.0 + - bCITJJz1x0ur2lJr6xWOtA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 277ms + - 189ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:05 GMT + - Thu, 01 Oct 2020 22:49:11 GMT ms-cv: - - t8JZEZQUHky/GHHkFGK2PQ.0 + - H0JLEz8XM0+3KGw5Qk/sBA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 131ms + - 77ms status: code: 201 message: Created @@ -215,17 +215,17 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-length: - '0' date: - - Fri, 18 Sep 2020 21:29:05 GMT + - Thu, 01 Oct 2020 22:49:12 GMT ms-cv: - - BSCGvwekk0qq5IUImKQX1w.0 + - JowfBSb2ykysq77Lz+vljw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 122ms + - 43ms status: code: 201 message: Created @@ -246,19 +246,19 @@ interactions: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:08 GMT + - Thu, 01 Oct 2020 22:49:14 GMT ms-cv: - - 9mtO25+WA0KgOlhF9+JhZA.0 + - vus31CqeikaLUeLq6t7W4A.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 68ms + - 29ms status: code: 200 message: OK @@ -274,7 +274,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:08 GMT + - Thu, 01 Oct 2020 22:49:14 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -288,13 +288,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:08 GMT + - Thu, 01 Oct 2020 22:49:15 GMT ms-cv: - - iPVkF+yGYEyaFuExATteWQ.0 + - UUFuuAVChUqQpCoTk6aC+w.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 615ms + - 1277ms status: code: 204 message: No Content @@ -310,7 +310,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:09 GMT + - Thu, 01 Oct 2020 22:49:15 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -324,13 +324,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:09 GMT + - Thu, 01 Oct 2020 22:49:16 GMT ms-cv: - - 8AYtxS7X90CCsj0P1C5OOw.0 + - DSB4fsJ5EkuqRYSCFGtnyg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 615ms + - 601ms status: code: 204 message: No Content @@ -354,15 +354,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:09 GMT + - Thu, 01 Oct 2020 22:49:16 GMT ms-cv: - - xZNdtFr7HEi4e2x4E6Vd6Q.0 + - K5WSAsuL4UOBINl3WiLxDg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 159ms + - 57ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_member.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_member.yaml index 9619a2e92913..e32792a654d5 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_member.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_member.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:10 GMT + - Thu, 01 Oct 2020 22:49:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:10 GMT + - Thu, 01 Oct 2020 22:49:51 GMT ms-cv: - - kMaZYGA7EUiph2Hho+BqUQ.0 + - wtj0L1qLI0ubRsESoECgig.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 213ms + - 215ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:11 GMT + - Thu, 01 Oct 2020 22:49:51 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:10.5764798+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:49:51.1252198+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:11 GMT + - Thu, 01 Oct 2020 22:49:51 GMT ms-cv: - - w1bQUbWWVEq8y9GHsL5xqA.0 + - 7s7gNyDwFUymnDHa5n8lIQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 279ms + - 280ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:11 GMT + - Thu, 01 Oct 2020 22:49:52 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:11 GMT + - Thu, 01 Oct 2020 22:49:52 GMT ms-cv: - - 1HMyDvu39EKs+7w2VjrFMQ.0 + - 3VdTCgYO+EOt9u7hM+BV8w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 205ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:12 GMT + - Thu, 01 Oct 2020 22:49:53 GMT ms-cv: - - wWhQT55LFUOKcb627GWXEA.0 + - wypv63BPe0WfTda+GCYV6g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 321ms + - 395ms status: code: 207 message: Multi-Status @@ -176,19 +176,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:12 GMT + - Thu, 01 Oct 2020 22:49:52 GMT ms-cv: - - t5T4oeXhmketj0kS148qUg.0 + - iNdAaBP3HkS+dacBB0ODfw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 202ms + - 137ms status: code: 207 message: Multi-Status @@ -206,21 +206,21 @@ interactions: User-Agent: - azsdk-python-communication-chat/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000005-4300-a3a8-eef0-8b3a0d000d69?api-version=2020-09-21-preview2 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8%3Aacs%3A21751f5b-bf9e-438b-8c89-2c9e22c44fef_00000005-863d-2c05-e7a1-1c482200042b?api-version=2020-09-21-preview2 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:13 GMT + - Thu, 01 Oct 2020 22:49:53 GMT ms-cv: - - e+gOlcsbAE6H017y0nYxmg.0 + - GQNkp6M0eUed6/GheNUP6A.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 158ms + - 122ms status: code: 204 message: No Content @@ -236,7 +236,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:13 GMT + - Thu, 01 Oct 2020 22:49:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -250,13 +250,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:14 GMT + - Thu, 01 Oct 2020 22:49:55 GMT ms-cv: - - 6qmt/itibEOTTR1eodCztg.0 + - NSBqXuo+2kWV6eM8FcYB/A.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 807ms + - 1115ms status: code: 204 message: No Content @@ -272,7 +272,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:14 GMT + - Thu, 01 Oct 2020 22:49:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -286,13 +286,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:15 GMT + - Thu, 01 Oct 2020 22:49:56 GMT ms-cv: - - mqefSZ2zN0G1iTEtimh8tg.0 + - A776UjunjkuOw7VXtWrYOQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 644ms + - 972ms status: code: 204 message: No Content @@ -316,15 +316,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:15 GMT + - Thu, 01 Oct 2020 22:49:56 GMT ms-cv: - - GMj8yT1xzkmy6ud4dE1gYQ.0 + - n4tV8nn3REWQlJR8qCkdAg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 155ms + - 59ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml index ae9c37d5d875..0850c9d0fb0c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:15 GMT + - Thu, 01 Oct 2020 22:49:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:16 GMT + - Thu, 01 Oct 2020 22:49:56 GMT ms-cv: - - eaMIMRxUHUqgzt4OcvwBhw.0 + - GMVOn586ckCmNFeWshbP/Q.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 199ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:16 GMT + - Thu, 01 Oct 2020 22:49:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:15.9080943+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:49:56.8632234+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:16 GMT + - Thu, 01 Oct 2020 22:49:57 GMT ms-cv: - - X9VA8o+JB0GxMeibCXEO7g.0 + - tnBunc2ZEUeO+78I0/wm5g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 283ms + - 273ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:16 GMT + - Thu, 01 Oct 2020 22:49:57 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:17 GMT + - Thu, 01 Oct 2020 22:49:57 GMT ms-cv: - - MOiNZ8aGUkGKCk+YiocBOQ.0 + - UauaJy88IkKtPRfrgEtheg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 203ms + - 201ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:17 GMT + - Thu, 01 Oct 2020 22:49:58 GMT ms-cv: - - iSlVE2+ilUGH9yG52P3GRA.0 + - Y5gJZriTyE6uKIhoAuE6eA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 302ms + - 373ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:17 GMT + - Thu, 01 Oct 2020 22:49:58 GMT ms-cv: - - ZEsNyD1cMkW0H95SlXxr4A.0 + - 4rvkImjvUEyFLHmTbgKacQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 96ms + - 67ms status: code: 201 message: Created @@ -205,7 +205,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:18 GMT + - Thu, 01 Oct 2020 22:49:59 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -219,13 +219,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:19 GMT + - Thu, 01 Oct 2020 22:49:59 GMT ms-cv: - - ZlkM0OrF/EyJUdKKji/lVQ.0 + - uShxY/ox1Ui1ZK71kxCQgQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 772ms + - 662ms status: code: 204 message: No Content @@ -241,7 +241,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:19 GMT + - Thu, 01 Oct 2020 22:50:00 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -255,13 +255,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:20 GMT + - Thu, 01 Oct 2020 22:50:00 GMT ms-cv: - - jTM02UVaVkyHAZ0CDcaihg.0 + - mQ/pQO5ay06GTJOmk/vunQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 737ms + - 459ms status: code: 204 message: No Content @@ -285,15 +285,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:19 GMT + - Thu, 01 Oct 2020 22:50:00 GMT ms-cv: - - 6E42DY4tvUmPYS7Gf6OHhw.0 + - k9EuA5eQeUm3U+MBFAFqNw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 157ms + - 70ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml index c614df2585d1..8ce715454af3 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:20 GMT + - Thu, 01 Oct 2020 22:50:01 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:21 GMT + - Thu, 01 Oct 2020 22:50:01 GMT ms-cv: - - pEYEOcK/CEyH7fjLxFoYOg.0 + - 2NL+sWgV00eHrxyL1QonUw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 208ms + - 205ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:21 GMT + - Thu, 01 Oct 2020 22:50:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:20.9385747+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:01.3598198+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:21 GMT + - Thu, 01 Oct 2020 22:50:02 GMT ms-cv: - - 2DATB2VacEWn7o/fvsZXsg.0 + - V70jxqqZ80aqpUvTvj6+1g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 291ms + - 276ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:21 GMT + - Thu, 01 Oct 2020 22:50:02 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:21 GMT + - Thu, 01 Oct 2020 22:50:02 GMT ms-cv: - - O1O+EaKH20O7Hjaw0aWlHA.0 + - wMGSEqIS1ke1TUc/T1DE/w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 204ms status: code: 200 message: OK @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:22 GMT + - Thu, 01 Oct 2020 22:50:02 GMT ms-cv: - - S2OI8xLIVUiP9X0KyED8XA.0 + - o/EBnanYV0qRliUZvt/mWw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 580ms + - 297ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:23 GMT + - Thu, 01 Oct 2020 22:50:03 GMT ms-cv: - - Wf4blrqNfU+WFHw6qt0nZQ.0 + - 5vGw1XBHc06aZsmcRTkmYg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 101ms + - 65ms status: code: 201 message: Created @@ -215,17 +215,17 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-length: - '0' date: - - Fri, 18 Sep 2020 21:29:23 GMT + - Thu, 01 Oct 2020 22:50:04 GMT ms-cv: - - CIY49RxanUubyoQchbZDxw.0 + - y+4Q3revMkSksBXJjWFe7w.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 85ms + - 42ms status: code: 201 message: Created @@ -241,7 +241,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:24 GMT + - Thu, 01 Oct 2020 22:50:04 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -255,13 +255,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:24 GMT + - Thu, 01 Oct 2020 22:50:04 GMT ms-cv: - - K+b4YBUF6UembHJdn1K/Jg.0 + - cGFxifVgfk+eS1Ku04w2dQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 660ms + - 705ms status: code: 204 message: No Content @@ -277,7 +277,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:24 GMT + - Thu, 01 Oct 2020 22:50:05 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -291,13 +291,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:25 GMT + - Thu, 01 Oct 2020 22:50:05 GMT ms-cv: - - t2gohAL+lUaUy+2Fde3YLg.0 + - USWh214NHkmms6sECX7qmg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 576ms + - 640ms status: code: 204 message: No Content @@ -321,15 +321,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:25 GMT + - Thu, 01 Oct 2020 22:50:05 GMT ms-cv: - - F2FJEIEygUu7QlYqMBp3uA.0 + - PwYvezTmckK0e0xqC8SilA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 145ms + - 53ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml index 8274af65f5a7..459c8140623f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:25 GMT + - Thu, 01 Oct 2020 22:50:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:25 GMT + - Thu, 01 Oct 2020 22:50:06 GMT ms-cv: - - fwI52TOzJ021izhd4C2rxw.0 + - VmM8wDvzrkiHIHNE0XbzaQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 213ms + - 200ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:26 GMT + - Thu, 01 Oct 2020 22:50:06 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:26.0656127+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:06.0334401+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:26 GMT + - Thu, 01 Oct 2020 22:50:06 GMT ms-cv: - - KS7+794r/0ShZNgpMN3zYw.0 + - s8+qa7zvMUC/6Gy6a2lFqA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 292ms + - 275ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:27 GMT + - Thu, 01 Oct 2020 22:50:07 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:26 GMT + - Thu, 01 Oct 2020 22:50:07 GMT ms-cv: - - as9aiQavPECsHXbPHL+eug.0 + - 506Tzg4W+EmIdZKp4AP6MA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 208ms + - 207ms status: code: 200 message: OK @@ -128,7 +128,7 @@ interactions: Connection: - keep-alive Content-Length: - - '200' + - '201' Content-Type: - application/json User-Agent: @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:27 GMT + - Thu, 01 Oct 2020 22:50:07 GMT ms-cv: - - QuDsHC0q6kWP4mvIWcC3zQ.0 + - Evz/tIUBqEOOn9c4Gnz6bg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 289ms + - 225ms status: code: 207 message: Multi-Status @@ -175,17 +175,17 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-length: - '0' date: - - Fri, 18 Sep 2020 21:29:28 GMT + - Thu, 01 Oct 2020 22:50:08 GMT ms-cv: - - 2x8tRe6K50+cAhxVqxN0IQ.0 + - zs31jIqMLEaOPdZMlRbQyQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 90ms + - 65ms status: code: 200 message: OK @@ -201,7 +201,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:28 GMT + - Thu, 01 Oct 2020 22:50:08 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -215,13 +215,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:29 GMT + - Thu, 01 Oct 2020 22:50:09 GMT ms-cv: - - C212YNQ3TkiiDZkv5j7K8Q.0 + - E20ATDs6Uk6wKtSoNHNfug.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 836ms + - 742ms status: code: 204 message: No Content @@ -237,7 +237,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:29 GMT + - Thu, 01 Oct 2020 22:50:09 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -251,13 +251,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:29 GMT + - Thu, 01 Oct 2020 22:50:09 GMT ms-cv: - - fIaHjgf900ytx/ZK4BtqYw.0 + - KbIsxuu9LUOUo7o1uQLZ7g.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 531ms + - 620ms status: code: 204 message: No Content @@ -281,15 +281,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:29 GMT + - Thu, 01 Oct 2020 22:50:10 GMT ms-cv: - - kOFotAKuUUKsAxL7YFsn0A.0 + - 2GTWx80uIkqOBcAVkCc0gg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 152ms + - 59ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml index ae402d0f9dce..6698f9ec29df 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:30 GMT + - Thu, 01 Oct 2020 22:50:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:31 GMT + - Thu, 01 Oct 2020 22:50:10 GMT ms-cv: - - 9YDdopMsHkq+k72I3Fvkfg.0 + - HNojnIgb10WFDBGUh75Bbw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 215ms + - 206ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:31 GMT + - Thu, 01 Oct 2020 22:50:10 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:30.8568389+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:10.3383697+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:31 GMT + - Thu, 01 Oct 2020 22:50:11 GMT ms-cv: - - OsWnJbnVdUKUodC0tP8FSw.0 + - /UT11m+/R06gfuTSBS5iqg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 289ms + - 277ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:31 GMT + - Thu, 01 Oct 2020 22:50:11 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:32 GMT + - Thu, 01 Oct 2020 22:50:11 GMT ms-cv: - - BIPgi7MizEO2ehA8pCIo9Q.0 + - hggVevMOQ0CPKSL12BbMvw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 206ms + - 204ms status: code: 200 message: OK @@ -128,7 +128,7 @@ interactions: Connection: - keep-alive Content-Length: - - '201' + - '199' Content-Type: - application/json User-Agent: @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:32 GMT + - Thu, 01 Oct 2020 22:50:12 GMT ms-cv: - - SnJ7w6Dj2UGLNvbf/Oxa4g.0 + - XuEqBLJ60Ea3CTknvIE97A.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 324ms + - 454ms status: code: 207 message: Multi-Status @@ -177,19 +177,19 @@ interactions: body: '{"id": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:33 GMT + - Thu, 01 Oct 2020 22:50:12 GMT ms-cv: - - IQEwCu3VWEmiHfBh2W1EDQ.0 + - IWzlGZPNaEmsvsfwnu98pA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 103ms + - 75ms status: code: 201 message: Created @@ -215,17 +215,17 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-length: - '0' date: - - Fri, 18 Sep 2020 21:29:33 GMT + - Thu, 01 Oct 2020 22:50:13 GMT ms-cv: - - Zx8IsEqKLESGumuZKWhe2Q.0 + - zN6AHjwvR0mgNBn1L6kDaQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 171ms + - 94ms status: code: 200 message: OK @@ -241,7 +241,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:33 GMT + - Thu, 01 Oct 2020 22:50:13 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -255,13 +255,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:34 GMT + - Thu, 01 Oct 2020 22:50:13 GMT ms-cv: - - YNBN4233b0i89CNo84w6Aw.0 + - kHFbkRZRH0ukIPa6WdDurA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 695ms + - 676ms status: code: 204 message: No Content @@ -277,7 +277,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:34 GMT + - Thu, 01 Oct 2020 22:50:14 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -291,13 +291,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:35 GMT + - Thu, 01 Oct 2020 22:50:14 GMT ms-cv: - - Vbd2Lcp530SWM+5Su3VueQ.0 + - mDz38y4RQUGGEXWo2yCH/w.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 584ms + - 544ms status: code: 204 message: No Content @@ -321,15 +321,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:35 GMT + - Thu, 01 Oct 2020 22:50:14 GMT ms-cv: - - DgLCjzOwgUijzJPPLEVwqA.0 + - EsOpCrfm6kePCxpuNH7UIQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 187ms + - 86ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_thread.yaml index f1febffc6b98..d79f20aeeca3 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:35 GMT + - Thu, 01 Oct 2020 22:50:15 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:36 GMT + - Thu, 01 Oct 2020 22:50:15 GMT ms-cv: - - G9ERfDufRUyQBCQl4qSFeQ.0 + - wtOsqax8cUqpMcCHwKZr4w.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 227ms + - 251ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:36 GMT + - Thu, 01 Oct 2020 22:50:15 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:35.9923809+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:15.1680728+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:36 GMT + - Thu, 01 Oct 2020 22:50:16 GMT ms-cv: - - 4s/Kl38AW027J33QdQOnNA.0 + - msos0u0nOEOejfbmKptQzQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 285ms + - 272ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:37 GMT + - Thu, 01 Oct 2020 22:50:16 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:36 GMT + - Thu, 01 Oct 2020 22:50:16 GMT ms-cv: - - Iui7WpJwm0OS+d9vGNZEMg.0 + - i3JKq8Mk+0WnQe7XlLsaiQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 210ms + - 205ms status: code: 200 message: OK @@ -128,7 +128,7 @@ interactions: Connection: - keep-alive Content-Length: - - '199' + - '201' Content-Type: - application/json User-Agent: @@ -139,19 +139,19 @@ interactions: body: '{"multipleStatus": "sanitized"}' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:37 GMT + - Thu, 01 Oct 2020 22:50:17 GMT ms-cv: - - Sfp5krFvskOiy0gGi6yVOA.0 + - yvYLq5VefkSnSJCV1UbnzA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 353ms + - 210ms status: code: 207 message: Multi-Status @@ -177,17 +177,17 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 content-length: - '0' date: - - Fri, 18 Sep 2020 21:29:38 GMT + - Thu, 01 Oct 2020 22:50:17 GMT ms-cv: - - 4Z0GL7lVakKXInUoIWCw5w.0 + - plqRXgDHDE2N2Crvzo3KtQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 209ms + - 85ms status: code: 200 message: OK @@ -203,7 +203,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:38 GMT + - Thu, 01 Oct 2020 22:50:17 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -217,13 +217,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:39 GMT + - Thu, 01 Oct 2020 22:50:18 GMT ms-cv: - - ABdO1j98d0aa3uHZd26ORg.0 + - AnN9eJ/eMEuyxb+ssB8nWQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 859ms + - 815ms status: code: 204 message: No Content @@ -239,7 +239,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:39 GMT + - Thu, 01 Oct 2020 22:50:18 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -253,13 +253,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:39 GMT + - Thu, 01 Oct 2020 22:50:18 GMT ms-cv: - - nNKwBQ1Wg0uVE/Pqo4fMyw.0 + - YJkKWBNPgE2tDsJ5WEAG7A.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 415ms + - 418ms status: code: 204 message: No Content @@ -283,15 +283,15 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview1, 2020-09-21-preview2 + - 2020-09-21-preview2 date: - - Fri, 18 Sep 2020 21:29:39 GMT + - Thu, 01 Oct 2020 22:50:19 GMT ms-cv: - - sc1GgRnb6EKA8+f0IKNBbQ.0 + - DQI7mHCIEkC4zdGmfs6cFg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 183ms + - 73ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_members.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_members.yaml index 1ab451b259f3..5fe8108f723a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_members.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_members.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:40 GMT + - Thu, 01 Oct 2020 22:50:19 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:40 GMT + - Thu, 01 Oct 2020 22:50:20 GMT ms-cv: - - 6kibrYdhE0SzqbYmk41umA.0 + - +sCo4bL+e0yznHlGysON+g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 201ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:41 GMT + - Thu, 01 Oct 2020 22:50:20 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:40.9004861+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:19.5149341+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:41 GMT + - Thu, 01 Oct 2020 22:50:20 GMT ms-cv: - - q5fuwurMhE6U45FeBQRjxQ.0 + - h6KY29Bsvk2wAGFRAW+rpA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 286ms + - 272ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:41 GMT + - Thu, 01 Oct 2020 22:50:20 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:41 GMT + - Thu, 01 Oct 2020 22:50:20 GMT ms-cv: - - 4mLP6xcPb0WAj5TVK+CwJQ.0 + - 3cgEcvG2LU2dd/ARYaB/hw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 208ms + - 203ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:42 GMT - ms-cv: vbAPaaPz1UK20yqPCjme7w.0 + date: Thu, 01 Oct 2020 22:50:21 GMT + ms-cv: z7fRQoHNUEyyXnyuLPQRMA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 277ms + x-processing-time: 239ms status: code: 207 message: Multi-Status @@ -161,13 +161,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:43 GMT - ms-cv: Ep/aCbpF+E+CxlObDDFO4A.0 + date: Thu, 01 Oct 2020 22:50:21 GMT + ms-cv: R9JCA7J+uUeNM0clusTLKg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 165ms + x-processing-time: 170ms status: code: 207 message: Multi-Status @@ -185,11 +185,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:29:43 GMT - ms-cv: PdztJuwDCE620784CzPsug.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:21 GMT + ms-cv: DHluKnyfk0GSCKJvgQqbbw.0 strict-transport-security: max-age=2592000 - x-processing-time: 180ms + x-processing-time: 87ms status: code: 204 message: No Content @@ -206,7 +206,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:43 GMT + - Thu, 01 Oct 2020 22:50:22 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -220,13 +220,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:43 GMT + - Thu, 01 Oct 2020 22:50:22 GMT ms-cv: - - hncVJ4G9oUCOzNb2WcYJ5Q.0 + - D79qP6fddkm3QXrVj4ppSg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 848ms + - 868ms status: code: 204 message: No Content @@ -242,7 +242,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:44 GMT + - Thu, 01 Oct 2020 22:50:23 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -256,13 +256,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:44 GMT + - Thu, 01 Oct 2020 22:50:23 GMT ms-cv: - - SvhYPwdLnEqc3am4+5Nk1w.0 + - H7K2xp1qakC/7E0kBlrRNA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 742ms + - 465ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml index 8d69d48baafd..fb116bc6eb77 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:45 GMT + - Thu, 01 Oct 2020 22:50:23 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:46 GMT + - Thu, 01 Oct 2020 22:50:23 GMT ms-cv: - - nk7MQ9aObUaJKeFZ2Wnlbw.0 + - v3TMDj1D0Um09fxCXw+1Sw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 237ms + - 205ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:46 GMT + - Thu, 01 Oct 2020 22:50:24 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,16 +60,16 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:45.6595096+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:23.7114719+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:46 GMT + - Thu, 01 Oct 2020 22:50:24 GMT ms-cv: - - 2aCcvjz8zkabbpePm6aABw.0 + - KnAreO90k0iyjLoJNS6ISQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:46 GMT + - Thu, 01 Oct 2020 22:50:24 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:46 GMT + - Thu, 01 Oct 2020 22:50:24 GMT ms-cv: - - VORyYCnN6kW+uCq+ZO2B4Q.0 + - Ej2eNO22FEuni3lZ6uY1gg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 197ms + - 203ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:47 GMT - ms-cv: /ySjR0pBgEqhaMFexEYVCA.0 + date: Thu, 01 Oct 2020 22:50:25 GMT + ms-cv: 9atEWqszcUmYGFTT6JtHgw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 274ms + x-processing-time: 223ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:47 GMT - ms-cv: qDra0NBaTkaVEjGXVp0vZQ.0 + date: Thu, 01 Oct 2020 22:50:25 GMT + ms-cv: L7LSiiDNpUe3+4Ldq3sYmw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 135ms + x-processing-time: 63ms status: code: 201 message: Created @@ -186,11 +186,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:29:47 GMT - ms-cv: qHCs+Es+akaU77Pkfupr6A.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:25 GMT + ms-cv: AbkyGCr+YECMVhiQHwb+sA.0 strict-transport-security: max-age=2592000 - x-processing-time: 162ms + x-processing-time: 79ms status: code: 204 message: No Content @@ -208,11 +208,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:29:48 GMT - ms-cv: wr2E6Fxf+0GOw7CIAkNZPA.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:25 GMT + ms-cv: wR1vYfm950edBonlVmLdVg.0 strict-transport-security: max-age=2592000 - x-processing-time: 152ms + x-processing-time: 55ms status: code: 204 message: No Content @@ -229,7 +229,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:48 GMT + - Thu, 01 Oct 2020 22:50:26 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -243,13 +243,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:49 GMT + - Thu, 01 Oct 2020 22:50:27 GMT ms-cv: - - ItMnMhF7R0aO9ALzu06Y6Q.0 + - JrjN4h+WPk+/fZBncoYzGw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 546ms + - 1302ms status: code: 204 message: No Content @@ -265,7 +265,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:49 GMT + - Thu, 01 Oct 2020 22:50:27 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -279,13 +279,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:49 GMT + - Thu, 01 Oct 2020 22:50:27 GMT ms-cv: - - LSTnh+Ghe0Soi2YVTm1QQg.0 + - T6XAfdJ0H0eRzvlp3+xixQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 434ms + - 446ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml index c27ac2617cfb..41b752c586f2 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:49 GMT + - Thu, 01 Oct 2020 22:50:28 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:50 GMT + - Thu, 01 Oct 2020 22:50:28 GMT ms-cv: - - 44K7ovJ+RUOce12wvFpTGw.0 + - 9+nA7UhyOU6jee3+JvpISw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 208ms + - 202ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:50 GMT + - Thu, 01 Oct 2020 22:50:28 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:49.9082341+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:28.3048923+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:50 GMT + - Thu, 01 Oct 2020 22:50:28 GMT ms-cv: - - 0xkHWPzH1UKt56DVWfeAAw.0 + - uh9E2zGsXE+DgklDWrDxFA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 293ms + - 273ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:50 GMT + - Thu, 01 Oct 2020 22:50:29 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:50 GMT + - Thu, 01 Oct 2020 22:50:28 GMT ms-cv: - - mJ77BLpJlE+LeHdiLNFT6A.0 + - /FcSAxa8NkSxwwBoYT4kKw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 217ms + - 199ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:51 GMT - ms-cv: ncbGWM5MaEOkJyVJC6oglw.0 + date: Thu, 01 Oct 2020 22:50:29 GMT + ms-cv: tqdNTCJBMkOxGAfLMEdk3g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 282ms + x-processing-time: 190ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:51 GMT - ms-cv: qtuyeIMiy0yrvqdiNkMtEQ.0 + date: Thu, 01 Oct 2020 22:50:30 GMT + ms-cv: SbS5W6lgNUebZZB7rBQ5HQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 132ms + x-processing-time: 70ms status: code: 201 message: Created @@ -183,17 +183,17 @@ interactions: method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2020-09-21-preview2 response: - body: '{"id": "sanitized", "type": "Text", "priority": "Normal", "version": "1600464592265", - "content": "hello world", "senderDisplayName": "sender name", "createdOn": "2020-09-18T21:29:52Z", + body: '{"id": "sanitized", "type": "Text", "priority": "Normal", "version": "1601592630391", + "content": "hello world", "senderDisplayName": "sender name", "createdOn": "2020-10-01T22:50:30Z", "senderId": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:51 GMT - ms-cv: Ty/6iWb3aUWj8zlHTwHNPA.0 + date: Thu, 01 Oct 2020 22:50:30 GMT + ms-cv: 4VlZeh9HkUaid3lVErpD1g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 63ms + x-processing-time: 32ms status: code: 200 message: OK @@ -211,11 +211,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:29:52 GMT - ms-cv: vo2jdnnzZEupxMEHi7SCnw.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:30 GMT + ms-cv: EGm8pZ5rE0COvgq+PqOQYQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 150ms + x-processing-time: 54ms status: code: 204 message: No Content @@ -232,7 +232,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:52 GMT + - Thu, 01 Oct 2020 22:50:30 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -246,13 +246,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:53 GMT + - Thu, 01 Oct 2020 22:50:30 GMT ms-cv: - - H7EfjUyv2USPYpnHKtZ95w.0 + - QnU6Q7f2wUizMuUlvagulA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 602ms + - 746ms status: code: 204 message: No Content @@ -268,7 +268,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:53 GMT + - Thu, 01 Oct 2020 22:50:31 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -282,13 +282,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:54 GMT + - Thu, 01 Oct 2020 22:50:31 GMT ms-cv: - - IJ5wK7dzE0aiGKpsyFRwxg.0 + - obgUaNfQ30WqUEogYLlnLA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 910ms + - 534ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_members.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_members.yaml index 4a50f5f9cbb4..dab4cf69288f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_members.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_members.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:54 GMT + - Thu, 01 Oct 2020 22:50:32 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:54 GMT + - Thu, 01 Oct 2020 22:50:31 GMT ms-cv: - - 6KFhnFg9L0qhvhThE33sPw.0 + - 5MAtUhp4SkKGYEkNr9BNzQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 212ms + - 199ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:55 GMT + - Thu, 01 Oct 2020 22:50:32 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:54.6444995+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:32.2869348+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:54 GMT + - Thu, 01 Oct 2020 22:50:32 GMT ms-cv: - - 1KZWGd8d50WDlqonPo+hnA.0 + - x+Wc8x6cREWBbZaKi4sSuA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 286ms + - 271ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:55 GMT + - Thu, 01 Oct 2020 22:50:33 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:55 GMT + - Thu, 01 Oct 2020 22:50:32 GMT ms-cv: - - u13wtqBbdUSk+YZN8SLG7w.0 + - 3gkFV/gDQ0CQz1UWpBCdUA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 199ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:55 GMT - ms-cv: YcSJ/C+xQE6m7CsBIUB+Dw.0 + date: Thu, 01 Oct 2020 22:50:33 GMT + ms-cv: JX/HxLpTlkSDtrqM+gFjlg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 184ms + x-processing-time: 208ms status: code: 207 message: Multi-Status @@ -157,13 +157,13 @@ interactions: response: body: '{"value": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:29:56 GMT - ms-cv: 9nx9gKcBNUCTWdYmiDHOUA.0 + date: Thu, 01 Oct 2020 22:50:34 GMT + ms-cv: 85SN3njzmUaEfTfuOTabQw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 76ms + x-processing-time: 38ms status: code: 200 message: OK @@ -181,11 +181,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:29:56 GMT - ms-cv: K+8dEsBBNE2vUsEWvfrkNg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:33 GMT + ms-cv: BY0Ru0cNPkqgs+panrkq4g.0 strict-transport-security: max-age=2592000 - x-processing-time: 87ms + x-processing-time: 51ms status: code: 204 message: No Content @@ -202,7 +202,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:57 GMT + - Thu, 01 Oct 2020 22:50:34 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -216,13 +216,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:57 GMT + - Thu, 01 Oct 2020 22:50:34 GMT ms-cv: - - EUF+GQ14x0ue0kXmoyHdWw.0 + - a6L+1PNxPkKnNG0rpAi6ig.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 946ms + - 886ms status: code: 204 message: No Content @@ -238,7 +238,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:58 GMT + - Thu, 01 Oct 2020 22:50:35 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -252,13 +252,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:29:57 GMT + - Thu, 01 Oct 2020 22:50:35 GMT ms-cv: - - Rj5nJr/Q3U6IktFaH/f1UA.0 + - vztdIokaIEKT2I9QiAa8KQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 522ms + - 598ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml index 67df6d5367eb..a6727328e6ac 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:29:58 GMT + - Thu, 01 Oct 2020 22:50:36 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:29:59 GMT + - Thu, 01 Oct 2020 22:50:36 GMT ms-cv: - - 6blU0YssJkuoRIGzBDMeWA.0 + - sUl1Xag2w0i2dvBDVcHatg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 202ms + - 199ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:29:59 GMT + - Thu, 01 Oct 2020 22:50:37 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:29:59.0583197+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:36.4024084+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:00 GMT + - Thu, 01 Oct 2020 22:50:36 GMT ms-cv: - - DSXqlQTtZ02WbOu5EyhqtA.0 + - 4Da0dlsQxkWXhTkkXcr1Rg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 288ms + - 274ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:00 GMT + - Thu, 01 Oct 2020 22:50:37 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:00 GMT + - Thu, 01 Oct 2020 22:50:37 GMT ms-cv: - - lTBhkka7HUOM5afdhcmg7A.0 + - a2rfvZ9VoU6x3DtJ3j7SbQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 276ms + - 200ms status: code: 200 message: OK @@ -124,7 +124,7 @@ interactions: Accept: - application/json Content-Length: - - '201' + - '200' Content-Type: - application/json User-Agent: @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:01 GMT - ms-cv: cIIAjoCrx026P7SLdaJsGg.0 + date: Thu, 01 Oct 2020 22:50:37 GMT + ms-cv: yEgkVNGOc0WLOsr8CEnn+A.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 305ms + x-processing-time: 210ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:01 GMT - ms-cv: 2NoD3TIeMUa1xv/0t8tL8Q.0 + date: Thu, 01 Oct 2020 22:50:38 GMT + ms-cv: tIDnrWUM6kCtvhgn+50A1A.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 135ms + x-processing-time: 93ms status: code: 201 message: Created @@ -185,13 +185,13 @@ interactions: response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:03 GMT - ms-cv: Vg2FK5AoyEmucra4STRFtQ.0 + date: Thu, 01 Oct 2020 22:50:40 GMT + ms-cv: kDUMkfOW+02xZQod07iqfg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 71ms + x-processing-time: 48ms status: code: 200 message: OK @@ -208,13 +208,13 @@ interactions: response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:03 GMT - ms-cv: IBvFzF4+0UmJcn8NuISiEA.0 + date: Thu, 01 Oct 2020 22:50:40 GMT + ms-cv: zlhRW1IIS0SyEG5ZDRycpg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 119ms + x-processing-time: 49ms status: code: 200 message: OK @@ -231,13 +231,13 @@ interactions: response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:03 GMT - ms-cv: fBZ5lkSLGUWp1o3VJYRiwA.0 + date: Thu, 01 Oct 2020 22:50:40 GMT + ms-cv: Zw3ivc0Wx0OzUXIVGslbLQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 117ms + x-processing-time: 74ms status: code: 200 message: OK @@ -254,13 +254,13 @@ interactions: response: body: '{"value": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:03 GMT - ms-cv: HZRpfnCsPkGKVIU4JvlaXA.0 + date: Thu, 01 Oct 2020 22:50:40 GMT + ms-cv: qxpFNRaMVkiwuo1BYXKtJg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 125ms + x-processing-time: 45ms status: code: 200 message: OK @@ -278,11 +278,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:04 GMT - ms-cv: XItbwuZCoEOtgmtyumLxwg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:40 GMT + ms-cv: Umh5IyKJJUSy7YzMENCMHw.0 strict-transport-security: max-age=2592000 - x-processing-time: 155ms + x-processing-time: 55ms status: code: 204 message: No Content @@ -299,7 +299,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:04 GMT + - Thu, 01 Oct 2020 22:50:41 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -313,13 +313,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:05 GMT + - Thu, 01 Oct 2020 22:50:41 GMT ms-cv: - - pt6SjH++o0+aiHaTW6Es0g.0 + - ey6USD06DkK0IW5u5fZ9aQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 735ms + - 1079ms status: code: 204 message: No Content @@ -335,7 +335,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:05 GMT + - Thu, 01 Oct 2020 22:50:42 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -349,13 +349,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:06 GMT + - Thu, 01 Oct 2020 22:50:42 GMT ms-cv: - - GahZYbn5TkGgLyb5sc4z2w.0 + - F0C0g25g4UaxRnEOPr8BiQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 629ms + - 618ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml index 760c882cdff5..b76d815d29bc 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:06 GMT + - Thu, 01 Oct 2020 22:50:43 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:06 GMT + - Thu, 01 Oct 2020 22:50:43 GMT ms-cv: - - mPWKGBYZUk2c5NjOke3ZCw.0 + - sK70q2MIOkuK0myYXjF9AA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 222ms + - 221ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:07 GMT + - Thu, 01 Oct 2020 22:50:44 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:06.4270379+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:43.5874705+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:07 GMT + - Thu, 01 Oct 2020 22:50:44 GMT ms-cv: - - m2+MQuwgLUKeeNgG4X2VAg.0 + - 7bxlSS6VHUCmsEKKnxfoWQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 301ms + - 272ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:07 GMT + - Thu, 01 Oct 2020 22:50:44 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:07 GMT + - Thu, 01 Oct 2020 22:50:44 GMT ms-cv: - - yWeo5HpXNEGTfbmGuIJzcA.0 + - hnuooiF+t0yhxv2v8juecg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 225ms + - 206ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:08 GMT - ms-cv: mNXutANxLUC3K1MoPNxisA.0 + date: Thu, 01 Oct 2020 22:50:44 GMT + ms-cv: kjbqUF/LwUGvbNBLq/c++Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 280ms + x-processing-time: 179ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:08 GMT - ms-cv: QZ2VRRRsKkmJEerQVZhOYA.0 + date: Thu, 01 Oct 2020 22:50:45 GMT + ms-cv: 50IEwp4usU+sAuc6QP91aw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 103ms + x-processing-time: 126ms status: code: 201 message: Created @@ -190,12 +190,12 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-length: '0' - date: Fri, 18 Sep 2020 21:30:08 GMT - ms-cv: ULXn2rkHsU2A0SkDVIzl/A.0 + date: Thu, 01 Oct 2020 22:50:45 GMT + ms-cv: dy+/I60mUEKplYLDd8fGxQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 120ms + x-processing-time: 86ms status: code: 201 message: Created @@ -212,13 +212,13 @@ interactions: response: body: '{"value": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:10 GMT - ms-cv: ReRBdbxL7UOLi2xytog0cA.0 + date: Thu, 01 Oct 2020 22:50:47 GMT + ms-cv: nlnT6e2Zb06ZZLaNAzMItw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 67ms + x-processing-time: 28ms status: code: 200 message: OK @@ -236,11 +236,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:11 GMT - ms-cv: mDNWmWjwaEOgWYm316Rjcg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:47 GMT + ms-cv: fUAVNq3/Uk2YQqmL0A8Hqw.0 strict-transport-security: max-age=2592000 - x-processing-time: 152ms + x-processing-time: 60ms status: code: 204 message: No Content @@ -257,7 +257,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:11 GMT + - Thu, 01 Oct 2020 22:50:48 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -271,13 +271,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:11 GMT + - Thu, 01 Oct 2020 22:50:48 GMT ms-cv: - - OlcNNxDghEqpHL9uJ71DHQ.0 + - VY930vaGDkGaA+pTNNewtg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 722ms + - 700ms status: code: 204 message: No Content @@ -293,7 +293,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:12 GMT + - Thu, 01 Oct 2020 22:50:49 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -307,13 +307,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:12 GMT + - Thu, 01 Oct 2020 22:50:49 GMT ms-cv: - - 57Aqs+yk2EixRDUkzDskJw.0 + - Lu58EmAspkuixCust3zBcw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 651ms + - 572ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_member.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_member.yaml index 60b265244de3..3455f7738f8a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_member.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_member.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:13 GMT + - Thu, 01 Oct 2020 22:50:49 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:13 GMT + - Thu, 01 Oct 2020 22:50:49 GMT ms-cv: - - +f/4pQKQfUa0WcaoxOcfQg.0 + - Uf2ypQ0EJEuo95BNd0YVqQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 200ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:13 GMT + - Thu, 01 Oct 2020 22:50:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:13.1857609+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:49.9248137+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:14 GMT + - Thu, 01 Oct 2020 22:50:50 GMT ms-cv: - - dUjMueyo4ESle/9ec5NANg.0 + - aVEfRUL0EEK6gIhZvVTqxQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 287ms + - 276ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:14 GMT + - Thu, 01 Oct 2020 22:50:50 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,9 +106,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:14 GMT + - Thu, 01 Oct 2020 22:50:50 GMT ms-cv: - - UY4A/UPOsUuMt+olwJIXSQ.0 + - h+BucVnGXUOqt7yNPOpKSg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:14 GMT - ms-cv: ZqxJTsQXu0CRnt3J2dkiuA.0 + date: Thu, 01 Oct 2020 22:50:51 GMT + ms-cv: panw3qDq9Ey572uR8pbE2Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 292ms + x-processing-time: 253ms status: code: 207 message: Multi-Status @@ -161,13 +161,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:15 GMT - ms-cv: ebuSTBxOFkiwKR6J/Kfmeg.0 + date: Thu, 01 Oct 2020 22:50:52 GMT + ms-cv: VRJJuTA7cEOGjOVF+bIO+g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 160ms + x-processing-time: 1003ms status: code: 207 message: Multi-Status @@ -180,20 +180,20 @@ interactions: User-Agent: - azsdk-python-communication-chat/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000005-4301-983f-eef0-8b3a0d000d78?api-version=2020-09-21-preview2 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8:acs:21751f5b-bf9e-438b-8c89-2c9e22c44fef_00000005-863e-11bc-92fd-8b3a0d00108e?api-version=2020-09-21-preview2 response: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:15 GMT - ms-cv: XZuGOGWyUE6tjKhYQ/GQ5g.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:52 GMT + ms-cv: DPiRUvSLYUuEaKtpcJtaQg.0 strict-transport-security: max-age=2592000 - x-processing-time: 151ms + x-processing-time: 116ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000005-4301-983f-eef0-8b3a0d000d78?api-version=2020-09-21-preview2 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/members/8:acs:21751f5b-bf9e-438b-8c89-2c9e22c44fef_00000005-863e-11bc-92fd-8b3a0d00108e?api-version=2020-09-21-preview2 - request: body: null headers: @@ -207,11 +207,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:15 GMT - ms-cv: DU9+0vyGaUavLgIoQsVGOg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:52 GMT + ms-cv: xsxP/Mvlvk+C5rQt+i5oFA.0 strict-transport-security: max-age=2592000 - x-processing-time: 151ms + x-processing-time: 64ms status: code: 204 message: No Content @@ -228,7 +228,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:16 GMT + - Thu, 01 Oct 2020 22:50:53 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -242,13 +242,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:16 GMT + - Thu, 01 Oct 2020 22:50:53 GMT ms-cv: - - PUuYqHW4+ki+2IE30HelKQ.0 + - ymBDSbQnxU2YGg3zsCNShw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 702ms + - 1174ms status: code: 204 message: No Content @@ -264,7 +264,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:16 GMT + - Thu, 01 Oct 2020 22:50:54 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -278,13 +278,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:17 GMT + - Thu, 01 Oct 2020 22:50:54 GMT ms-cv: - - ueEFW0HvaEyJRn7wBr2+MA.0 + - Sx5YTNU400ifL/Zixh1QQQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 658ms + - 613ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml index 4d4709cb074b..ba0bb7555791 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:17 GMT + - Thu, 01 Oct 2020 22:50:55 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,9 +26,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:17 GMT + - Thu, 01 Oct 2020 22:50:55 GMT ms-cv: - - H2xhNfjvlk6xdGDM05Ly7w.0 + - BPU+aUX95EqVZq9b5rRO3A.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:18 GMT + - Thu, 01 Oct 2020 22:50:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:17.8868031+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:50:55.574861+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:18 GMT + - Thu, 01 Oct 2020 22:50:55 GMT ms-cv: - - ChgcQx7vJ0W0mRwoo5uZJA.0 + - KGcpoXRr4kKEUbO+D5RrKw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 266ms + - 275ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:18 GMT + - Thu, 01 Oct 2020 22:50:56 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:18 GMT + - Thu, 01 Oct 2020 22:50:56 GMT ms-cv: - - K77yFJa+PESWBqoD/M5+wQ.0 + - Wp5CiTkhy0628lYMUTVWdw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 204ms + - 202ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:19 GMT - ms-cv: 4ia0HdzGvEaUekSB6tipMg.0 + date: Thu, 01 Oct 2020 22:50:56 GMT + ms-cv: QHQ/qlMCcUSVnmEix9IJSg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 271ms + x-processing-time: 345ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:19 GMT - ms-cv: Brvhu2h1PE6pNYXuezmdmQ.0 + date: Thu, 01 Oct 2020 22:50:57 GMT + ms-cv: clo0gTjlq0uwVqd6REttLA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 99ms + x-processing-time: 74ms status: code: 201 message: Created @@ -186,11 +186,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:19 GMT - ms-cv: 0hZDCmU9vE+6WrP43a9QJw.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:50:57 GMT + ms-cv: OePjRSymykab17YmuIsetg.0 strict-transport-security: max-age=2592000 - x-processing-time: 155ms + x-processing-time: 86ms status: code: 204 message: No Content @@ -207,7 +207,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:20 GMT + - Thu, 01 Oct 2020 22:50:58 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -221,13 +221,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:20 GMT + - Thu, 01 Oct 2020 22:51:14 GMT ms-cv: - - R4jHvrp5VkCtQpPnmTmkNw.0 + - bVaIOF97Pk2iAwF1mB+big.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 917ms + - 17275ms status: code: 204 message: No Content @@ -243,7 +243,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:21 GMT + - Thu, 01 Oct 2020 22:51:15 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -257,13 +257,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:21 GMT + - Thu, 01 Oct 2020 22:51:15 GMT ms-cv: - - T3qcqSyvJk28RLJFhpie0A.0 + - tqBzXy5eT0SkrG95kdsj4Q.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 583ms + - 644ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml index 203a50f0fcae..f46a4c9be467 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:22 GMT + - Thu, 01 Oct 2020 22:51:16 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:22 GMT + - Thu, 01 Oct 2020 22:51:16 GMT ms-cv: - - LhG5N5w3vk+EAAJQ7mqBDA.0 + - Ke6DbY2bVEaAq6l4OLVKHQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 203ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:23 GMT + - Thu, 01 Oct 2020 22:51:17 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:22.4265624+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:51:16.3859242+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:22 GMT + - Thu, 01 Oct 2020 22:51:16 GMT ms-cv: - - y0YUQgECPEilsqNLuPQf2A.0 + - HXK2gd4CQUOAIM3uKaStFA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 307ms + - 273ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:23 GMT + - Thu, 01 Oct 2020 22:51:17 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:22 GMT + - Thu, 01 Oct 2020 22:51:17 GMT ms-cv: - - dyKGGhm6Ck2vw1LxUkBnsw.0 + - XgDJb/JLb0GqTR9z0IqelA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 207ms + - 200ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:24 GMT - ms-cv: nUi4R57ngUm1ylRUGBzTKg.0 + date: Thu, 01 Oct 2020 22:51:17 GMT + ms-cv: iMt9jIEoUEa5+CQ68n9DOg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 299ms + x-processing-time: 193ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:24 GMT - ms-cv: Z9r6rFTYWU682X/5N8I8oA.0 + date: Thu, 01 Oct 2020 22:51:17 GMT + ms-cv: X+TmPzJJwEm7Cxlx0RfkIg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 103ms + x-processing-time: 84ms status: code: 201 message: Created @@ -190,12 +190,12 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-length: '0' - date: Fri, 18 Sep 2020 21:30:24 GMT - ms-cv: rSVcszhdfE2/6Yg+HhryIA.0 + date: Thu, 01 Oct 2020 22:51:18 GMT + ms-cv: faVVDHL/cUmEfeooJfGQcw.0 strict-transport-security: max-age=2592000 - x-processing-time: 67ms + x-processing-time: 54ms status: code: 201 message: Created @@ -213,11 +213,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:25 GMT - ms-cv: LhqGOy2vz0KQ9+W8Guptvg.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:51:18 GMT + ms-cv: KWu4qZGGmUi2BUxz/Uqdqw.0 strict-transport-security: max-age=2592000 - x-processing-time: 158ms + x-processing-time: 53ms status: code: 204 message: No Content @@ -234,7 +234,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:25 GMT + - Thu, 01 Oct 2020 22:51:18 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -248,13 +248,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:25 GMT + - Thu, 01 Oct 2020 22:51:19 GMT ms-cv: - - k3Vcb30AnUSD7QsqFliHXg.0 + - PYEcRHnJ4E6s/V2uso/ZMg.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 945ms + - 1049ms status: code: 204 message: No Content @@ -270,7 +270,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:26 GMT + - Thu, 01 Oct 2020 22:51:20 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -284,13 +284,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:25 GMT + - Thu, 01 Oct 2020 22:51:20 GMT ms-cv: - - a7xJtOHFjkOq4caqX3YJRQ.0 + - VntmqAP1e0+hwOOS8wqGEw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 441ms + - 630ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml index c7fd2c2d25eb..46c53ffa5ae0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:26 GMT + - Thu, 01 Oct 2020 22:51:20 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:27 GMT + - Thu, 01 Oct 2020 22:51:21 GMT ms-cv: - - qLOKO/WrrUe90jh/1wzgiA.0 + - YGTxha89b0W6sHk4lkjKEw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 213ms + - 204ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:27 GMT + - Thu, 01 Oct 2020 22:51:21 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:27.03911+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:51:20.86266+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:28 GMT + - Thu, 01 Oct 2020 22:51:21 GMT ms-cv: - - 4+rwZPBoP0qG52nf/H48gA.0 + - 4aTyTPALbEi9B2mX6szSog.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 293ms + - 276ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:28 GMT + - Thu, 01 Oct 2020 22:51:21 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:28 GMT + - Thu, 01 Oct 2020 22:51:21 GMT ms-cv: - - nBU/k6p9IkyZvI4yC7Zd3Q.0 + - /dcOSL70NEClgAkb9NRQRg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 204ms status: code: 200 message: OK @@ -124,7 +124,7 @@ interactions: Accept: - application/json Content-Length: - - '200' + - '201' Content-Type: - application/json User-Agent: @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:27 GMT - ms-cv: 0sBqU8iVMUivJON+0aw9bQ.0 + date: Thu, 01 Oct 2020 22:51:22 GMT + ms-cv: gaxAU4lfYEyR6JoWSiB5JA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 270ms + x-processing-time: 207ms status: code: 207 message: Multi-Status @@ -158,12 +158,12 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-length: '0' - date: Fri, 18 Sep 2020 21:30:28 GMT - ms-cv: hkISDIjL4ESJ0bF6hj/tug.0 + date: Thu, 01 Oct 2020 22:51:22 GMT + ms-cv: Y46F01o3XkS8ukixmGrLow.0 strict-transport-security: max-age=2592000 - x-processing-time: 117ms + x-processing-time: 57ms status: code: 200 message: OK @@ -181,11 +181,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:28 GMT - ms-cv: Pz1AA9OKyEOOv+DDAOzxRA.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:51:23 GMT + ms-cv: FeGxBYYFyUq7eN+Lfi/SaA.0 strict-transport-security: max-age=2592000 - x-processing-time: 150ms + x-processing-time: 65ms status: code: 204 message: No Content @@ -202,7 +202,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:29 GMT + - Thu, 01 Oct 2020 22:51:23 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -216,13 +216,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:30 GMT + - Thu, 01 Oct 2020 22:51:23 GMT ms-cv: - - y0ADTLaKdkqKnryGrN+wKA.0 + - FguqR21IfkeKSKg2IYfQ2A.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 672ms + - 942ms status: code: 204 message: No Content @@ -238,7 +238,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:30 GMT + - Thu, 01 Oct 2020 22:51:24 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -252,13 +252,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:31 GMT + - Thu, 01 Oct 2020 22:51:24 GMT ms-cv: - - SwtTY3/+8E2W5hGG36JzhQ.0 + - Zr+lF+jy5UWB2G2WEN9inQ.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 618ms + - 676ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml index 101a73c31b52..edd9c26e40d6 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:31 GMT + - Thu, 01 Oct 2020 22:51:25 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:31 GMT + - Thu, 01 Oct 2020 22:51:25 GMT ms-cv: - - erOB6PMN6EyWeWLcaXZlBQ.0 + - wsVH465ioE+/x9hYGbnqaQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 213ms + - 205ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:31 GMT + - Thu, 01 Oct 2020 22:51:25 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:31.3903772+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:51:25.3203233+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:31 GMT + - Thu, 01 Oct 2020 22:51:26 GMT ms-cv: - - ZmC+IFyqSkaD7txunUl8WA.0 + - YGii/fRmXkyxh5CfS9n1Lw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 292ms + - 282ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:32 GMT + - Thu, 01 Oct 2020 22:51:26 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:32 GMT + - Thu, 01 Oct 2020 22:51:26 GMT ms-cv: - - 3aGQ0+9a3UGN4IZ6bZsDrw.0 + - /h67hiZTaU27ashWwFMRew.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 212ms + - 207ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:33 GMT - ms-cv: dlH64sYx4k21Piw/bJce8w.0 + date: Thu, 01 Oct 2020 22:51:26 GMT + ms-cv: Yy2rEZCNdUKVVrfmcMbN0Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 257ms + x-processing-time: 223ms status: code: 207 message: Multi-Status @@ -162,13 +162,13 @@ interactions: response: body: '{"id": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:33 GMT - ms-cv: ZjATVvkfakGyfFLBQbaclA.0 + date: Thu, 01 Oct 2020 22:51:27 GMT + ms-cv: 9Fz/Icff9kmG58hFOlCvTQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 129ms + x-processing-time: 67ms status: code: 201 message: Created @@ -190,12 +190,12 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-length: '0' - date: Fri, 18 Sep 2020 21:30:33 GMT - ms-cv: 9qNp1T3uQUmeZOdVvChJyg.0 + date: Thu, 01 Oct 2020 22:51:27 GMT + ms-cv: 1r626ex0o0G2tiGOuTQZtA.0 strict-transport-security: max-age=2592000 - x-processing-time: 239ms + x-processing-time: 124ms status: code: 200 message: OK @@ -213,11 +213,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:34 GMT - ms-cv: 8D/yiq5CzUy8ZeJehsLOUA.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:51:27 GMT + ms-cv: 0F+uuYwMKEeC2CDZ1yHkfw.0 strict-transport-security: max-age=2592000 - x-processing-time: 153ms + x-processing-time: 60ms status: code: 204 message: No Content @@ -234,7 +234,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:34 GMT + - Thu, 01 Oct 2020 22:51:27 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -248,13 +248,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:34 GMT + - Thu, 01 Oct 2020 22:51:28 GMT ms-cv: - - t2QxzkJ68U6L/A4dkcu+TA.0 + - a1BlSagxrUarQn4FpMHXXw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 661ms + - 739ms status: code: 204 message: No Content @@ -270,7 +270,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:35 GMT + - Thu, 01 Oct 2020 22:51:28 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -284,13 +284,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:35 GMT + - Thu, 01 Oct 2020 22:51:29 GMT ms-cv: - - HhFqSy2BIkqnJR13GMjN9g.0 + - RbcELvRydkSRY4FFsemzAw.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 440ms + - 867ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_thread.yaml index 6c51c805aad5..0f6157ffbf0c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_thread.yaml @@ -11,7 +11,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:35 GMT + - Thu, 01 Oct 2020 22:51:29 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -26,15 +26,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:35 GMT + - Thu, 01 Oct 2020 22:51:29 GMT ms-cv: - - jq5CFYMC5kuW7G7zLVqSFw.0 + - I9v4qfHJFECJF6Zo/2QjiQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 206ms status: code: 200 message: OK @@ -52,7 +52,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 18 Sep 2020 21:30:36 GMT + - Thu, 01 Oct 2020 22:51:30 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -60,22 +60,22 @@ interactions: method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2 response: - body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-09-19T21:30:35.8714422+00:00"}' + body: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-10-02T22:51:29.7719267+00:00"}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:36 GMT + - Thu, 01 Oct 2020 22:51:30 GMT ms-cv: - - wAHve5DwrUigkoVnRxIB2g.0 + - 82L7H6dq10eIhUhZ62dJQA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 283ms + - 274ms status: code: 200 message: OK @@ -91,7 +91,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:36 GMT + - Thu, 01 Oct 2020 22:51:30 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -106,15 +106,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Sep 2020 21:30:36 GMT + - Thu, 01 Oct 2020 22:51:30 GMT ms-cv: - - k4gECey2y0qpNRYLmqQBcA.0 + - svh8epLELEamJxGZxe2Eew.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked x-processing-time: - - 209ms + - 197ms status: code: 200 message: OK @@ -134,13 +134,13 @@ interactions: response: body: '{"multipleStatus": "sanitized"}' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-type: application/json; charset=utf-8 - date: Fri, 18 Sep 2020 21:30:36 GMT - ms-cv: tbX2G5wzG0eMdRpBIUBLrw.0 + date: Thu, 01 Oct 2020 22:51:31 GMT + ms-cv: C4KDex8oI0+DxrVOvOMV9g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 213ms + x-processing-time: 291ms status: code: 207 message: Multi-Status @@ -162,12 +162,12 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 + api-supported-versions: 2020-09-21-preview2 content-length: '0' - date: Fri, 18 Sep 2020 21:30:37 GMT - ms-cv: /wHhG1XpBUCvEbr+H5+6Ng.0 + date: Thu, 01 Oct 2020 22:51:31 GMT + ms-cv: VzdIcCUsVE2yFTQ9bSk8AA.0 strict-transport-security: max-age=2592000 - x-processing-time: 124ms + x-processing-time: 94ms status: code: 200 message: OK @@ -185,11 +185,11 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview1, 2020-09-21-preview2 - date: Fri, 18 Sep 2020 21:30:37 GMT - ms-cv: czZ2zWso2kqneAn0SzvWRQ.0 + api-supported-versions: 2020-09-21-preview2 + date: Thu, 01 Oct 2020 22:51:31 GMT + ms-cv: 3ycJrMDnY0++gZ2cRv8DBw.0 strict-transport-security: max-age=2592000 - x-processing-time: 92ms + x-processing-time: 120ms status: code: 204 message: No Content @@ -206,7 +206,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:38 GMT + - Thu, 01 Oct 2020 22:51:32 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -220,13 +220,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:38 GMT + - Thu, 01 Oct 2020 22:51:32 GMT ms-cv: - - M3tygMff4UO+a0m/4WDV8g.0 + - ZV5CQMXyX0CHVbgMxKGuew.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 632ms + - 612ms status: code: 204 message: No Content @@ -242,7 +242,7 @@ interactions: Content-Length: - '0' Date: - - Fri, 18 Sep 2020 21:30:39 GMT + - Thu, 01 Oct 2020 22:51:33 GMT User-Agent: - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-return-client-request-id: @@ -256,13 +256,13 @@ interactions: api-supported-versions: - 2020-07-20-preview1, 2020-07-20-preview2 date: - - Fri, 18 Sep 2020 21:30:39 GMT + - Thu, 01 Oct 2020 22:51:33 GMT ms-cv: - - xU3nDi9lX0G0se/JHIRNCQ.0 + - 20DYo6u2zUi5AGmUiOPCAA.0 strict-transport-security: - max-age=2592000 x-processing-time: - - 685ms + - 698ms status: code: 204 message: No Content From e236147f0d84a969d00c92c2de2705c3cb638f4d Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Fri, 2 Oct 2020 10:37:39 -0700 Subject: [PATCH 51/71] Doc warnings for Service Bus (#14197) * Warnings in docs * link update --- sdk/servicebus/azure-servicebus/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/README.md b/sdk/servicebus/azure-servicebus/README.md index 5944f176a3f8..aea2a347484a 100644 --- a/sdk/servicebus/azure-servicebus/README.md +++ b/sdk/servicebus/azure-servicebus/README.md @@ -152,7 +152,7 @@ with ServiceBusClient.from_connection_string(connstr) as client: > **NOTE:** Any message received with `mode=PeekLock` (this is the default, with the alternative ReceiveAndDelete removing the message from the queue immediately on receipt) > has a lock that must be renewed via `message.renew_lock()` before it expires if processing would take longer than the lock duration. -> See [AutoLockRenewer](#autolockrenew) for a helper to perform this in the background automatically. +> See [AutoLockRenewer](#automatically-renew-message-or-session-locks) for a helper to perform this in the background automatically. > Lock duration is set in Azure on the queue or topic itself. #### [Receive messages from a queue through ServiceBusReceiver.receive_messages()][receive_reference] @@ -243,7 +243,7 @@ When receiving from a queue, you have multiple actions you can take on the messa If the message has a lock as mentioned above, settlement will fail if the message lock has expired. If processing would take longer than the lock duration, it must be maintained via `message.renew_lock()` before it expires. Lock duration is set in Azure on the queue or topic itself. -See [AutoLockRenewer](#autolockrenew) for a helper to perform this in the background automatically. +See [AutoLockRenewer](#automatically-renew-message-or-session-locks) for a helper to perform this in the background automatically. #### [Complete][complete_reference] From a77fbd6611381fa556d40632b2226222558e3c68 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 2 Oct 2020 11:32:21 -0700 Subject: [PATCH 52/71] Update buffered sender (#13851) * Update batching client * rename SearchIndexDocumentBatchingClient to SearchIndexingBufferedSender --- .../azure-search-documents/CHANGELOG.md | 15 +- .../azure/search/documents/__init__.py | 4 +- .../azure/search/documents/_api_versions.py | 2 +- .../_internal/_index_documents_batch.py | 12 +- ...rch_index_document_batching_client_base.py | 79 ----------- ...py => _search_indexing_buffered_sender.py} | 99 +++++++++---- .../_search_indexing_buffered_sender_base.py | 48 +++++++ ..._search_indexing_buffered_sender_async.py} | 99 +++++++++---- .../azure/search/documents/aio.py | 4 +- .../documents/indexes/_internal/_utils.py | 2 +- ...ync.py => sample_buffered_sender_async.py} | 16 +-- ...ch_client.py => sample_buffered_sender.py} | 16 +-- ...async.test_delete_documents_existing.yaml} | 64 ++++----- ..._async.test_delete_documents_missing.yaml} | 60 ++++---- ..._async.test_merge_documents_existing.yaml} | 64 ++++----- ...e_async.test_merge_documents_missing.yaml} | 64 ++++----- ...async.test_merge_or_upload_documents.yaml} | 66 ++++----- ...async.test_upload_documents_existing.yaml} | 42 +++--- ...live_async.test_upload_documents_new.yaml} | 64 ++++----- .../async_tests/test_batching_client_async.py | 76 ---------- .../async_tests/test_buffered_sender_async.py | 128 +++++++++++++++++ ...arch_client_buffered_sender_live_async.py} | 30 ++-- .../azure-search-documents/tests/consts.py | 2 +- ..._live.test_delete_documents_existing.yaml} | 52 +++---- ...r_live.test_delete_documents_missing.yaml} | 54 +++---- ...r_live.test_merge_documents_existing.yaml} | 54 +++---- ...er_live.test_merge_documents_missing.yaml} | 54 +++---- ..._live.test_merge_or_upload_documents.yaml} | 54 +++---- ..._live.test_upload_documents_existing.yaml} | 34 ++--- ...ender_live.test_upload_documents_new.yaml} | 54 +++---- .../tests/search_service_preparer.py | 2 +- .../tests/test_batching_client.py | 81 ----------- .../tests/test_buffered_sender.py | 132 ++++++++++++++++++ ...est_search_client_buffered_sender_live.py} | 32 ++--- 34 files changed, 913 insertions(+), 746 deletions(-) delete mode 100644 sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client_base.py rename sdk/search/azure-search-documents/azure/search/documents/_internal/{_search_index_document_batching_client.py => _search_indexing_buffered_sender.py} (75%) create mode 100644 sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender_base.py rename sdk/search/azure-search-documents/azure/search/documents/_internal/aio/{_search_index_document_batching_client_async.py => _search_indexing_buffered_sender_async.py} (74%) rename sdk/search/azure-search-documents/samples/async_samples/{sample_batch_client_async.py => sample_buffered_sender_async.py} (75%) rename sdk/search/azure-search-documents/samples/{sample_batch_client.py => sample_buffered_sender.py} (74%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_delete_documents_existing.yaml => test_search_client_buffered_sender_live_async.test_delete_documents_existing.yaml} (84%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_delete_documents_missing.yaml => test_search_client_buffered_sender_live_async.test_delete_documents_missing.yaml} (84%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_merge_documents_existing.yaml => test_search_client_buffered_sender_live_async.test_merge_documents_existing.yaml} (85%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_merge_documents_missing.yaml => test_search_client_buffered_sender_live_async.test_merge_documents_missing.yaml} (84%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_merge_or_upload_documents.yaml => test_search_client_buffered_sender_live_async.test_merge_or_upload_documents.yaml} (85%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_upload_documents_existing.yaml => test_search_client_buffered_sender_live_async.test_upload_documents_existing.yaml} (87%) rename sdk/search/azure-search-documents/tests/async_tests/recordings/{test_search_client_batching_client_live_async.test_upload_documents_new.yaml => test_search_client_buffered_sender_live_async.test_upload_documents_new.yaml} (85%) delete mode 100644 sdk/search/azure-search-documents/tests/async_tests/test_batching_client_async.py create mode 100644 sdk/search/azure-search-documents/tests/async_tests/test_buffered_sender_async.py rename sdk/search/azure-search-documents/tests/async_tests/{test_search_client_batching_client_live_async.py => test_search_client_buffered_sender_live_async.py} (91%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_delete_documents_existing.yaml => test_search_client_buffered_sender_live.test_delete_documents_existing.yaml} (88%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_delete_documents_missing.yaml => test_search_client_buffered_sender_live.test_delete_documents_missing.yaml} (88%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_merge_documents_existing.yaml => test_search_client_buffered_sender_live.test_merge_documents_existing.yaml} (89%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_merge_documents_missing.yaml => test_search_client_buffered_sender_live.test_merge_documents_missing.yaml} (89%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_merge_or_upload_documents.yaml => test_search_client_buffered_sender_live.test_merge_or_upload_documents.yaml} (89%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_upload_documents_existing.yaml => test_search_client_buffered_sender_live.test_upload_documents_existing.yaml} (90%) rename sdk/search/azure-search-documents/tests/recordings/{test_search_client_batching_client_live.test_upload_documents_new.yaml => test_search_client_buffered_sender_live.test_upload_documents_new.yaml} (89%) delete mode 100644 sdk/search/azure-search-documents/tests/test_batching_client.py create mode 100644 sdk/search/azure-search-documents/tests/test_buffered_sender.py rename sdk/search/azure-search-documents/tests/{test_search_client_batching_client_live.py => test_search_client_buffered_sender_live.py} (88%) diff --git a/sdk/search/azure-search-documents/CHANGELOG.md b/sdk/search/azure-search-documents/CHANGELOG.md index 6d973c008075..652b5b50451c 100644 --- a/sdk/search/azure-search-documents/CHANGELOG.md +++ b/sdk/search/azure-search-documents/CHANGELOG.md @@ -1,7 +1,20 @@ # Release History -## 11.1.0b3 (Unreleased) +## 11.1.0b3 (2020-10-06) +**Breaking Changes** + +- Renamed `SearchIndexDocumentBatchingClient` to `SearchIndexingBufferedSender` +- Renamed `SearchIndexDocumentBatchingClient.add_upload_actions` to `SearchIndexingBufferedSender.upload_documents` +- Renamed `SearchIndexDocumentBatchingClient.add_delete_actions` to `SearchIndexingBufferedSender.delete_documents` +- Renamed `SearchIndexDocumentBatchingClient.add_merge_actions` to `SearchIndexingBufferedSender.merge_documents` +- Renamed `SearchIndexDocumentBatchingClient.add_merge_or_upload_actions` to `SearchIndexingBufferedSender.merge_or_upload_documents` +- Stopped supporting `window` kwargs for `SearchIndexingBufferedSender` +- Splitted kwarg `hook` into `on_new`, `on_progress`, `on_error`, `on_remove` for `SearchIndexingBufferedSender` + +**Features** + +- Added `auto_flush_interval` support for `SearchIndexingBufferedSender` ## 11.1.0b2 (2020-09-08) diff --git a/sdk/search/azure-search-documents/azure/search/documents/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/__init__.py index 2a0bc230789d..d67315ff7b7c 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/__init__.py @@ -27,7 +27,7 @@ from ._internal._index_documents_batch import IndexDocumentsBatch from ._internal._search_documents_error import RequestEntityTooLargeError from ._internal._search_client import SearchClient, SearchItemPaged -from ._internal._search_index_document_batching_client import SearchIndexDocumentBatchingClient +from ._internal._search_indexing_buffered_sender import SearchIndexingBufferedSender from ._version import VERSION __version__ = VERSION @@ -37,6 +37,6 @@ "IndexDocumentsBatch", "SearchClient", "SearchItemPaged", - "SearchIndexDocumentBatchingClient", + "SearchIndexingBufferedSender", "RequestEntityTooLargeError", ) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py b/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py index 72934ea501b9..91391ec8d92e 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py @@ -4,7 +4,7 @@ # ------------------------------------ _SUPPORTED_API_VERSIONS = [ - "2019-05-06-Preview", + "2020-06-30", ] def validate_api_version(api_version): diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_index_documents_batch.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_index_documents_batch.py index d0baf3f4690b..392d9f5efb17 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_index_documents_batch.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_index_documents_batch.py @@ -54,7 +54,7 @@ def add_upload_actions(self, *documents): """ return self._extend_batch(_flatten_args(documents), "upload") - def add_delete_actions(self, *documents): + def add_delete_actions(self, *documents, **kwargs): # pylint: disable=unused-argument # type (Union[List[dict], List[List[dict]]]) -> List[IndexAction] """Add documents to delete to the Azure search index. @@ -75,7 +75,7 @@ def add_delete_actions(self, *documents): """ return self._extend_batch(_flatten_args(documents), "delete") - def add_merge_actions(self, *documents): + def add_merge_actions(self, *documents, **kwargs): # pylint: disable=unused-argument # type (Union[List[dict], List[List[dict]]]) -> List[IndexAction] """Add documents to merge in to existing documets in the Azure search index. @@ -93,7 +93,7 @@ def add_merge_actions(self, *documents): """ return self._extend_batch(_flatten_args(documents), "merge") - def add_merge_or_upload_actions(self, *documents): + def add_merge_or_upload_actions(self, *documents, **kwargs): # pylint: disable=unused-argument # type (Union[List[dict], List[List[dict]]]) -> List[IndexAction] """Add documents to merge in to existing documets in the Azure search index, or upload if they do not yet exist. @@ -120,7 +120,7 @@ def actions(self): """ return list(self._actions) - def dequeue_actions(self): + def dequeue_actions(self, **kwargs): # pylint: disable=unused-argument # type: () -> List[IndexAction] """Get the list of currently configured index actions and clear it. @@ -131,14 +131,14 @@ def dequeue_actions(self): self._actions = [] return result - def enqueue_actions(self, new_actions): + def enqueue_actions(self, new_actions, **kwargs): # pylint: disable=unused-argument # type: (List[IndexAction]) -> None """Enqueue a list of index actions to index. """ with self._lock: self._actions.extend(new_actions) - def enqueue_action(self, new_action): + def enqueue_action(self, new_action, **kwargs): # pylint: disable=unused-argument # type: (IndexAction) -> None """Enqueue a single index action """ diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client_base.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client_base.py deleted file mode 100644 index cfa0caa10120..000000000000 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client_base.py +++ /dev/null @@ -1,79 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- -from typing import List, TYPE_CHECKING -from typing_extensions import Protocol - -from .._api_versions import validate_api_version -from .._headers_mixin import HeadersMixin - -if TYPE_CHECKING: - # pylint:disable=unused-import,ungrouped-imports - from typing import Any, Union - from azure.core.credentials import AzureKeyCredential - -class IndexingHook(Protocol): - def new(self, action, **kwargs): - # type: (*str, IndexAction, dict) -> None - pass - - def progress(self, action, **kwargs): - # type: (*str, IndexAction, dict) -> None - pass - - def error(self, action, **kwargs): - # type: (*str, IndexAction, dict) -> None - pass - - def remove(self, action, **kwargs): - # type: (*str, IndexAction, dict) -> None - pass - -class SearchIndexDocumentBatchingClientBase(HeadersMixin): - """Base of search index document batching client""" - _ODATA_ACCEPT = "application/json;odata.metadata=none" # type: str - _DEFAULT_WINDOW = 60 - _DEFAULT_BATCH_SIZE = 1000 - _RETRY_LIMIT = 10 - - def __init__(self, endpoint, index_name, credential, **kwargs): - # type: (str, str, AzureKeyCredential, **Any) -> None - - api_version = kwargs.pop('api_version', None) - validate_api_version(api_version) - self._auto_flush = kwargs.pop('auto_flush', True) - self._batch_size = kwargs.pop('batch_size', self._DEFAULT_BATCH_SIZE) - self._window = kwargs.pop('window', self._DEFAULT_WINDOW) - if self._window <= 0: - self._window = 86400 - self._endpoint = endpoint # type: str - self._index_name = index_name # type: str - self._index_key = None - self._credential = credential # type: AzureKeyCredential - self._hook = kwargs.pop('hook', None) - self._retry_counter = {} - - @property - def batch_size(self): - # type: () -> int - return self._batch_size - - def _succeed_callback(self, action): - # type: (IndexAction) -> None - if self._hook: - self._hook.remove(action) - self._hook.progress(action) - - def _fail_callback(self, action): - # type: (IndexAction) -> None - if self._hook: - self._hook.remove(action) - self._hook.error(action) - - def _new_callback(self, actions): - # type: (List[IndexAction]) -> None - if self._hook: - for action in actions: - self._hook.new(action) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender.py similarity index 75% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender.py index 4a09fa11eea1..a924097f7146 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_index_document_batching_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender.py @@ -10,7 +10,7 @@ from azure.core.tracing.decorator import distributed_trace from azure.core.exceptions import ServiceResponseTimeoutError from ._utils import is_retryable_status_code -from ._search_index_document_batching_client_base import SearchIndexDocumentBatchingClientBase +from ._search_indexing_buffered_sender_base import SearchIndexingBufferedSenderBase from ._generated import SearchIndexClient from ..indexes import SearchIndexClient as SearchServiceClient from ._generated.models import IndexBatch, IndexingResult @@ -24,8 +24,8 @@ from typing import Any, Union from azure.core.credentials import AzureKeyCredential -class SearchIndexDocumentBatchingClient(SearchIndexDocumentBatchingClientBase, HeadersMixin): - """A client to do index document batching. +class SearchIndexingBufferedSender(SearchIndexingBufferedSenderBase, HeadersMixin): + """A buffered sender for document indexing actions. :param endpoint: The URL endpoint of an Azure search service :type endpoint: str @@ -34,17 +34,24 @@ class SearchIndexDocumentBatchingClient(SearchIndexDocumentBatchingClientBase, H :param credential: A credential to authorize search client requests :type credential: ~azure.core.credentials.AzureKeyCredential :keyword bool auto_flush: if the auto flush mode is on. Default to True. - :keyword int window: how many seconds if there is no changes that triggers auto flush. - Default to 60 seconds - :keyword hook: hook. If it is set, the client will call corresponding methods when status changes - :paramtype hook: IndexingHook + :keyword int auto_flush_interval: how many max seconds if between 2 flushes. This only takes effect + when auto_flush is on. Default to 60 seconds. If a non-positive number is set, it will be default + to 86400s (1 day) + :keyword callable on_new: If it is set, the client will call corresponding methods when there + is a new IndexAction added. + :keyword callable on_progress: If it is set, the client will call corresponding methods when there + is a IndexAction succeeds. + :keyword callable on_error: If it is set, the client will call corresponding methods when there + is a IndexAction fails. + :keyword callable on_remove: If it is set, the client will call corresponding methods when there + is a IndexAction removed from the queue (succeeds or fails). :keyword str api_version: The Search API version to use for requests. """ # pylint: disable=too-many-instance-attributes def __init__(self, endpoint, index_name, credential, **kwargs): # type: (str, str, AzureKeyCredential, **Any) -> None - super(SearchIndexDocumentBatchingClient, self).__init__( + super(SearchIndexingBufferedSender, self).__init__( endpoint=endpoint, index_name=index_name, credential=credential, @@ -69,7 +76,7 @@ def _cleanup(self, flush=True): def __repr__(self): # type: () -> str - return "".format( + return "".format( repr(self._endpoint), repr(self._index_name) )[:1024] @@ -82,7 +89,8 @@ def actions(self): """ return self._index_documents_batch.actions - def close(self): + @distributed_trace + def close(self, **kwargs): # pylint: disable=unused-argument # type: () -> None """Close the :class:`~azure.search.documents.SearchClient` session.""" self._cleanup(flush=True) @@ -126,18 +134,20 @@ def _process(self, timeout=86400, **kwargs): except Exception: # pylint: disable=broad-except pass + self._reset_timer() + try: results = self._index_documents_actions(actions=actions, timeout=timeout) for result in results: try: action = next(x for x in actions if x.additional_properties.get(self._index_key) == result.key) if result.succeeded: - self._succeed_callback(action) + self._callback_succeed(action) elif is_retryable_status_code(result.status_code): self._retry_action(action) has_error = True else: - self._fail_callback(action) + self._callback_fail(action) has_error = True except StopIteration: pass @@ -159,9 +169,6 @@ def _process_if_needed(self): if not self._auto_flush: return - # reset the timer - self._reset_timer() - if len(self._index_documents_batch.actions) < self._batch_size: return @@ -173,11 +180,12 @@ def _reset_timer(self): self._timer.cancel() except AttributeError: pass - self._timer = threading.Timer(self._window, self._process) + self._timer = threading.Timer(self._auto_flush_interval, self._process) if self._auto_flush: self._timer.start() - def add_upload_actions(self, documents): + @distributed_trace + def upload_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue upload documents actions. @@ -185,10 +193,11 @@ def add_upload_actions(self, documents): :type documents: List[dict] """ actions = self._index_documents_batch.add_upload_actions(documents) - self._new_callback(actions) + self._callback_new(actions) self._process_if_needed() - def add_delete_actions(self, documents): + @distributed_trace + def delete_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue delete documents actions @@ -196,10 +205,11 @@ def add_delete_actions(self, documents): :type documents: List[dict] """ actions = self._index_documents_batch.add_delete_actions(documents) - self._new_callback(actions) + self._callback_new(actions) self._process_if_needed() - def add_merge_actions(self, documents): + @distributed_trace + def merge_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue merge documents actions @@ -207,10 +217,11 @@ def add_merge_actions(self, documents): :type documents: List[dict] """ actions = self._index_documents_batch.add_merge_actions(documents) - self._new_callback(actions) + self._callback_new(actions) self._process_if_needed() - def add_merge_or_upload_actions(self, documents): + @distributed_trace + def merge_or_upload_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue merge documents or upload documents actions @@ -218,9 +229,21 @@ def add_merge_or_upload_actions(self, documents): :type documents: List[dict] """ actions = self._index_documents_batch.add_merge_or_upload_actions(documents) - self._new_callback(actions) + self._callback_new(actions) self._process_if_needed() + @distributed_trace + def index_documents(self, batch, **kwargs): + # type: (IndexDocumentsBatch, **Any) -> List[IndexingResult] + """Specify a document operations to perform as a batch. + + :param batch: A batch of document operations to perform. + :type batch: IndexDocumentsBatch + :rtype: List[IndexingResult] + :raises :class:`~azure.search.documents.RequestEntityTooLargeError` + """ + return self._index_documents_actions(actions=batch.actions, **kwargs) + def _index_documents_actions(self, actions, **kwargs): # type: (List[IndexAction], **Any) -> List[IndexingResult] error_map = {413: RequestEntityTooLargeError} @@ -267,7 +290,7 @@ def _index_documents_actions(self, actions, **kwargs): return result_first_half.extend(result_second_half) def __enter__(self): - # type: () -> SearchIndexDocumentBatchingClient + # type: () -> SearchIndexingBufferedSender self._client.__enter__() # pylint:disable=no-member return self @@ -279,7 +302,7 @@ def __exit__(self, *args): def _retry_action(self, action): # type: (IndexAction) -> None if not self._index_key: - self._fail_callback(action) + self._callback_fail(action) return key = action.additional_properties.get(self._index_key) counter = self._retry_counter.get(key) @@ -287,9 +310,29 @@ def _retry_action(self, action): # first time that fails self._retry_counter[key] = 1 self._index_documents_batch.enqueue_action(action) - elif counter < self._RETRY_LIMIT - 1: + elif counter < self._max_retry_count - 1: # not reach retry limit yet self._retry_counter[key] = counter + 1 self._index_documents_batch.enqueue_action(action) else: - self._fail_callback(action) + self._callback_fail(action) + + def _callback_succeed(self, action): + # type: (IndexAction) -> None + if self._on_remove: + self._on_remove(action) + if self._on_progress: + self._on_progress(action) + + def _callback_fail(self, action): + # type: (IndexAction) -> None + if self._on_remove: + self._on_remove(action) + if self._on_error: + self._on_error(action) + + def _callback_new(self, actions): + # type: (List[IndexAction]) -> None + if self._on_new: + for action in actions: + self._on_new(action) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender_base.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender_base.py new file mode 100644 index 000000000000..4d3524c15e9d --- /dev/null +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_indexing_buffered_sender_base.py @@ -0,0 +1,48 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods, too-many-instance-attributes +from typing import List, TYPE_CHECKING + +from .._api_versions import validate_api_version +from .._headers_mixin import HeadersMixin + +if TYPE_CHECKING: + # pylint:disable=unused-import,ungrouped-imports + from typing import Any + from azure.core.credentials import AzureKeyCredential + +class SearchIndexingBufferedSenderBase(HeadersMixin): + """Base of search indexing buffered sender""" + _ODATA_ACCEPT = "application/json;odata.metadata=none" # type: str + _DEFAULT_AUTO_FLUSH_INTERVAL = 60 + _DEFAULT_BATCH_SIZE = 500 + _DEFAULT_MAX_RETRY_COUNT = 3 + + def __init__(self, endpoint, index_name, credential, **kwargs): + # type: (str, str, AzureKeyCredential, **Any) -> None + + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) + self._auto_flush = kwargs.pop('auto_flush', True) + self._batch_size = kwargs.pop('batch_size', self._DEFAULT_BATCH_SIZE) + self._auto_flush_interval = kwargs.pop('auto_flush_interval', self._DEFAULT_AUTO_FLUSH_INTERVAL) + if self._auto_flush_interval <= 0: + self._auto_flush_interval = 86400 + self._max_retry_count = kwargs.pop('max_retry_count', self._DEFAULT_MAX_RETRY_COUNT) + self._endpoint = endpoint # type: str + self._index_name = index_name # type: str + self._index_key = None + self._credential = credential # type: AzureKeyCredential + self._on_new = kwargs.pop('on_new', None) + self._on_progress = kwargs.pop('on_progress', None) + self._on_error = kwargs.pop('on_error', None) + self._on_remove = kwargs.pop('on_remove', None) + self._retry_counter = {} + + @property + def batch_size(self): + # type: () -> int + return self._batch_size diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_index_document_batching_client_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_indexing_buffered_sender_async.py similarity index 74% rename from sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_index_document_batching_client_async.py rename to sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_indexing_buffered_sender_async.py index ab738e44dc8f..45c79e85c9ad 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_index_document_batching_client_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_indexing_buffered_sender_async.py @@ -10,7 +10,7 @@ from azure.core.exceptions import ServiceResponseTimeoutError from ._timer import Timer from .._utils import is_retryable_status_code -from .._search_index_document_batching_client_base import SearchIndexDocumentBatchingClientBase +from .._search_indexing_buffered_sender_base import SearchIndexingBufferedSenderBase from ...indexes.aio import SearchIndexClient as SearchServiceClient from .._generated.aio import SearchIndexClient from .._generated.models import IndexBatch, IndexingResult @@ -25,8 +25,8 @@ from azure.core.credentials import AzureKeyCredential -class SearchIndexDocumentBatchingClient(SearchIndexDocumentBatchingClientBase, HeadersMixin): - """A client to do index document batching. +class SearchIndexingBufferedSender(SearchIndexingBufferedSenderBase, HeadersMixin): + """A buffered sender for document indexing actions. :param endpoint: The URL endpoint of an Azure search service :type endpoint: str @@ -35,17 +35,24 @@ class SearchIndexDocumentBatchingClient(SearchIndexDocumentBatchingClientBase, H :param credential: A credential to authorize search client requests :type credential: ~azure.core.credentials.AzureKeyCredential :keyword bool auto_flush: if the auto flush mode is on. Default to True. - :keyword int window: how many seconds if there is no changes that triggers auto flush. - Default to 60 seconds - :keyword hook: hook. If it is set, the client will call corresponding methods when status changes - :paramtype hook: IndexingHook + :keyword int auto_flush_interval: how many max seconds if between 2 flushes. This only takes effect + when auto_flush is on. Default to 60 seconds. If a non-positive number is set, it will be default + to 86400s (1 day) + :keyword callable on_new: If it is set, the client will call corresponding methods when there + is a new IndexAction added. + :keyword callable on_progress: If it is set, the client will call corresponding methods when there + is a IndexAction succeeds. + :keyword callable on_error: If it is set, the client will call corresponding methods when there + is a IndexAction fails. + :keyword callable on_remove: If it is set, the client will call corresponding methods when there + is a IndexAction removed from the queue (succeeds or fails). :keyword str api_version: The Search API version to use for requests. """ # pylint: disable=too-many-instance-attributes def __init__(self, endpoint, index_name, credential, **kwargs): # type: (str, str, AzureKeyCredential, **Any) -> None - super(SearchIndexDocumentBatchingClient, self).__init__( + super(SearchIndexingBufferedSender, self).__init__( endpoint=endpoint, index_name=index_name, credential=credential, @@ -70,7 +77,7 @@ async def _cleanup(self, flush=True): def __repr__(self): # type: () -> str - return "".format( + return "".format( repr(self._endpoint), repr(self._index_name) )[:1024] @@ -82,7 +89,8 @@ def actions(self): """ return self._index_documents_batch.actions - async def close(self): + @distributed_trace_async + async def close(self, **kwargs): # pylint: disable=unused-argument # type: () -> None """Close the :class:`~azure.search.documents.aio.SearchClient` session.""" await self._cleanup(flush=True) @@ -125,18 +133,20 @@ async def _process(self, timeout=86400, **kwargs): except Exception: # pylint: disable=broad-except pass + self._reset_timer() + try: results = await self._index_documents_actions(actions=actions, timeout=timeout) for result in results: try: action = next(x for x in actions if x.additional_properties.get(self._index_key) == result.key) if result.succeeded: - self._succeed_callback(action) + await self._callback_succeed(action) elif is_retryable_status_code(result.status_code): await self._retry_action(action) has_error = True else: - self._fail_callback(action) + await self._callback_fail(action) has_error = True except StopIteration: pass @@ -160,9 +170,6 @@ async def _process_if_needed(self): if not self._auto_flush: return - # reset the timer - self._reset_timer() - if len(self._index_documents_batch.actions) < self._batch_size: return @@ -175,48 +182,64 @@ def _reset_timer(self): except AttributeError: pass if self._auto_flush: - self._timer = Timer(self._window, self._process) + self._timer = Timer(self._auto_flush_interval, self._process) - async def add_upload_actions(self, documents): + @distributed_trace_async + async def upload_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue upload documents actions. :param documents: A list of documents to upload. :type documents: List[dict] """ actions = await self._index_documents_batch.add_upload_actions(documents) - self._new_callback(actions) + await self._callback_new(actions) await self._process_if_needed() - async def add_delete_actions(self, documents): + @distributed_trace_async + async def delete_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue delete documents actions :param documents: A list of documents to delete. :type documents: List[dict] """ actions = await self._index_documents_batch.add_delete_actions(documents) - self._new_callback(actions) + await self._callback_new(actions) await self._process_if_needed() - async def add_merge_actions(self, documents): + @distributed_trace_async + async def merge_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue merge documents actions :param documents: A list of documents to merge. :type documents: List[dict] """ actions = await self._index_documents_batch.add_merge_actions(documents) - self._new_callback(actions) + await self._callback_new(actions) await self._process_if_needed() - async def add_merge_or_upload_actions(self, documents): + @distributed_trace_async + async def merge_or_upload_documents(self, documents, **kwargs): # pylint: disable=unused-argument # type: (List[dict]) -> None """Queue merge documents or upload documents actions :param documents: A list of documents to merge or upload. :type documents: List[dict] """ actions = await self._index_documents_batch.add_merge_or_upload_actions(documents) - self._new_callback(actions) + await self._callback_new(actions) await self._process_if_needed() + @distributed_trace_async + async def index_documents(self, batch, **kwargs): + # type: (IndexDocumentsBatch, **Any) -> List[IndexingResult] + """Specify a document operations to perform as a batch. + + :param batch: A batch of document operations to perform. + :type batch: IndexDocumentsBatch + :rtype: List[IndexingResult] + :raises :class:`~azure.search.documents.RequestEntityTooLargeError` + """ + return await self._index_documents_actions(actions=batch.actions, **kwargs) + async def _index_documents_actions(self, actions, **kwargs): # type: (List[IndexAction], **Any) -> List[IndexingResult] error_map = {413: RequestEntityTooLargeError} @@ -261,7 +284,7 @@ async def _index_documents_actions(self, actions, **kwargs): return result_first_half.extend(result_second_half) async def __aenter__(self): - # type: () -> SearchIndexDocumentBatchingClient + # type: () -> SearchIndexingBufferedSender await self._client.__aenter__() # pylint: disable=no-member return self @@ -273,7 +296,7 @@ async def __aexit__(self, *args): async def _retry_action(self, action): # type: (IndexAction) -> None if not self._index_key: - self._fail_callback(action) + await self._callback_fail(action) return key = action.additional_properties.get(self._index_key) counter = self._retry_counter.get(key) @@ -281,9 +304,29 @@ async def _retry_action(self, action): # first time that fails self._retry_counter[key] = 1 await self._index_documents_batch.enqueue_action(action) - elif counter < self._RETRY_LIMIT - 1: + elif counter < self._max_retry_count - 1: # not reach retry limit yet self._retry_counter[key] = counter + 1 await self._index_documents_batch.enqueue_action(action) else: - self._fail_callback(action) + await self._callback_fail(action) + + async def _callback_succeed(self, action): + # type: (IndexAction) -> None + if self._on_remove: + await self._on_remove(action) + if self._on_progress: + await self._on_progress(action) + + async def _callback_fail(self, action): + # type: (IndexAction) -> None + if self._on_remove: + await self._on_remove(action) + if self._on_error: + await self._on_error(action) + + async def _callback_new(self, actions): + # type: (List[IndexAction]) -> None + if self._on_new: + for action in actions: + await self._on_new(action) diff --git a/sdk/search/azure-search-documents/azure/search/documents/aio.py b/sdk/search/azure-search-documents/azure/search/documents/aio.py index 0d1c15fb0c58..85ad18b68747 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/aio.py +++ b/sdk/search/azure-search-documents/azure/search/documents/aio.py @@ -25,10 +25,10 @@ # -------------------------------------------------------------------------- from ._internal.aio._search_client_async import AsyncSearchItemPaged, SearchClient -from ._internal.aio._search_index_document_batching_client_async import SearchIndexDocumentBatchingClient +from ._internal.aio._search_indexing_buffered_sender_async import SearchIndexingBufferedSender __all__ = ( "AsyncSearchItemPaged", "SearchClient", - "SearchIndexDocumentBatchingClient", + "SearchIndexingBufferedSender", ) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_utils.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_utils.py index 9ad43085cd07..518a5d46be69 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_utils.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_utils.py @@ -454,7 +454,7 @@ def unpack_search_field(search_field): fields = [unpack_search_field(x) for x in search_field.fields] \ if search_field.fields else None hidden = not search_field.retrievable if search_field.retrievable is not None else None - return _SearchField( + return SearchField( name=search_field.name, type=search_field.type, key=search_field.key, diff --git a/sdk/search/azure-search-documents/samples/async_samples/sample_batch_client_async.py b/sdk/search/azure-search-documents/samples/async_samples/sample_buffered_sender_async.py similarity index 75% rename from sdk/search/azure-search-documents/samples/async_samples/sample_batch_client_async.py rename to sdk/search/azure-search-documents/samples/async_samples/sample_buffered_sender_async.py index 7251420cdda7..d61230fbfc38 100644 --- a/sdk/search/azure-search-documents/samples/async_samples/sample_batch_client_async.py +++ b/sdk/search/azure-search-documents/samples/async_samples/sample_buffered_sender_async.py @@ -9,7 +9,7 @@ """ FILE: sample_batch_client_async.py DESCRIPTION: - This sample demonstrates how to upload, merge, or delete documents using SearchIndexDocumentBatchingClient. + This sample demonstrates how to upload, merge, or delete documents using SearchIndexingBufferedSender. USAGE: python sample_batch_client_async.py @@ -27,7 +27,7 @@ key = os.getenv("AZURE_SEARCH_API_KEY") from azure.core.credentials import AzureKeyCredential -from azure.search.documents.aio import SearchIndexDocumentBatchingClient +from azure.search.documents.aio import SearchIndexingBufferedSender async def sample_batching_client(): @@ -39,18 +39,16 @@ async def sample_batching_client(): 'HotelName': 'Azure Inn', } - async with SearchIndexDocumentBatchingClient( + async with SearchIndexingBufferedSender( service_endpoint, index_name, - AzureKeyCredential(key), - window=100, - batch_size=100) as batch_client: + AzureKeyCredential(key)) as batch_client: # add upload actions - await batch_client.add_upload_actions(documents=[DOCUMENT]) + await batch_client.upload_documents(documents=[DOCUMENT]) # add merge actions - await batch_client.add_merge_actions(documents=[{"HotelId": "1000", "Rating": 4.5}]) + await batch_client.merge_documents(documents=[{"HotelId": "1000", "Rating": 4.5}]) # add delete actions - await batch_client.add_delete_actions(documents=[{"HotelId": "1000"}]) + await batch_client.delete_documents(documents=[{"HotelId": "1000"}]) async def main(): await sample_batching_client() diff --git a/sdk/search/azure-search-documents/samples/sample_batch_client.py b/sdk/search/azure-search-documents/samples/sample_buffered_sender.py similarity index 74% rename from sdk/search/azure-search-documents/samples/sample_batch_client.py rename to sdk/search/azure-search-documents/samples/sample_buffered_sender.py index cf99b0b2b98a..77c4d1b5711c 100644 --- a/sdk/search/azure-search-documents/samples/sample_batch_client.py +++ b/sdk/search/azure-search-documents/samples/sample_buffered_sender.py @@ -9,7 +9,7 @@ """ FILE: sample_batch_client.py DESCRIPTION: - This sample demonstrates how to upload, merge, or delete documents using SearchIndexDocumentBatchingClient. + This sample demonstrates how to upload, merge, or delete documents using SearchIndexingBufferedSender. USAGE: python sample_batch_client.py @@ -26,7 +26,7 @@ key = os.getenv("AZURE_SEARCH_API_KEY") from azure.core.credentials import AzureKeyCredential -from azure.search.documents import SearchIndexDocumentBatchingClient +from azure.search.documents import SearchIndexingBufferedSender def sample_batching_client(): @@ -38,18 +38,16 @@ def sample_batching_client(): 'HotelName': 'Azure Inn', } - with SearchIndexDocumentBatchingClient( + with SearchIndexingBufferedSender( service_endpoint, index_name, - AzureKeyCredential(key), - window=100, - batch_size=100) as batch_client: + AzureKeyCredential(key)) as batch_client: # add upload actions - batch_client.add_upload_actions(documents=[DOCUMENT]) + batch_client.upload_documents(documents=[DOCUMENT]) # add merge actions - batch_client.add_merge_actions(documents=[{"HotelId": "1000", "Rating": 4.5}]) + batch_client.merge_documents(documents=[{"HotelId": "1000", "Rating": 4.5}]) # add delete actions - batch_client.add_delete_actions(documents=[{"HotelId": "1000"}]) + batch_client.delete_documents(documents=[{"HotelId": "1000"}]) if __name__ == '__main__': sample_batching_client() diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_existing.yaml similarity index 84% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_existing.yaml index bf521664bf6f..ade72232628e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_existing.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchada31f38.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchada31f38.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B958C33442C\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchaf051f3d.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D86407506AE3E6\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:01:39 GMT - elapsed-time: '41' - etag: W/"0x8D84B958C33442C" + date: Mon, 28 Sep 2020 23:36:28 GMT + elapsed-time: '19' + etag: W/"0x8D86407506AE3E6" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: aa92754b-e971-11ea-9c02-5cf37071153c + request-id: 6e64de3b-01e3-11eb-8499-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchada31f38.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "3", "@search.action": "delete"}, {"hotelId": "4", "@search.action": "delete"}]}' @@ -41,9 +41,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -52,28 +52,28 @@ interactions: content-encoding: gzip content-length: '190' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:01:39 GMT - elapsed-time: '58' + date: Mon, 28 Sep 2020 23:36:29 GMT + elapsed-time: '83' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: aad3942c-e971-11ea-a952-5cf37071153c + request-id: 6e87be58-01e3-11eb-8fae-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF8" @@ -82,67 +82,67 @@ interactions: content-encoding: gzip content-length: '126' content-type: text/plain - date: Fri, 28 Aug 2020 21:01:43 GMT - elapsed-time: '6' + date: Mon, 28 Sep 2020 23:36:32 GMT + elapsed-time: '56' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: acf742fe-e971-11ea-90a5-5cf37071153c + request-id: 707cb593-01e3-11eb-ab72-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + uri: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Fri, 28 Aug 2020 21:01:43 GMT - elapsed-time: '5' + date: Mon, 28 Sep 2020 23:36:32 GMT + elapsed-time: '4' expires: '-1' pragma: no-cache - request-id: ad5ba92f-e971-11ea-8846-5cf37071153c + request-id: 709f308c-01e3-11eb-ba72-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains status: code: 404 message: Not Found - url: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + url: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Fri, 28 Aug 2020 21:01:43 GMT - elapsed-time: '5' + date: Mon, 28 Sep 2020 23:36:32 GMT + elapsed-time: '4' expires: '-1' pragma: no-cache - request-id: ad760dcc-e971-11ea-b20b-5cf37071153c + request-id: 70a77f0b-01e3-11eb-b2a0-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains status: code: 404 message: Not Found - url: https://searchada31f38.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + url: https://searchaf051f3d.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_missing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_missing.yaml similarity index 84% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_missing.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_missing.yaml index 0439211d2a2e..f229095e35a0 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_delete_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_delete_documents_missing.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://search8e5d1ec7.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B959B16BD4F\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://search8fba1ecc.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D864075C356ED0\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip - content-length: '1166' + content-length: '1165' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:02:04 GMT - elapsed-time: '36' - etag: W/"0x8D84B959B16BD4F" + date: Mon, 28 Sep 2020 23:36:48 GMT + elapsed-time: '40' + etag: W/"0x8D864075C356ED0" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: b976e810-e971-11ea-bcf9-5cf37071153c + request-id: 7a32519b-01e3-11eb-a533-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "1000", "@search.action": "delete"}, {"hotelId": "4", "@search.action": "delete"}]}' @@ -41,9 +41,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -52,28 +52,28 @@ interactions: content-encoding: gzip content-length: '193' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:02:04 GMT - elapsed-time: '73' + date: Mon, 28 Sep 2020 23:36:48 GMT + elapsed-time: '17' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: b9fff789-e971-11ea-9d6e-5cf37071153c + request-id: 7a53e25d-01e3-11eb-b71f-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF9" @@ -82,67 +82,67 @@ interactions: content-encoding: gzip content-length: '126' content-type: text/plain - date: Fri, 28 Aug 2020 21:02:08 GMT + date: Mon, 28 Sep 2020 23:36:52 GMT elapsed-time: '4' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: bc08f78d-e971-11ea-8b61-5cf37071153c + request-id: 7c3c97fc-01e3-11eb-aa9b-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Fri, 28 Aug 2020 21:02:08 GMT + date: Mon, 28 Sep 2020 23:36:52 GMT elapsed-time: '4' expires: '-1' pragma: no-cache - request-id: bc68eb8c-e971-11ea-a31c-5cf37071153c + request-id: 7c59af9f-01e3-11eb-bcdc-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains status: code: 404 message: Not Found - url: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + url: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Fri, 28 Aug 2020 21:02:08 GMT + date: Mon, 28 Sep 2020 23:36:52 GMT elapsed-time: '3' expires: '-1' pragma: no-cache - request-id: bc83536e-e971-11ea-920a-5cf37071153c + request-id: 7c6279e0-01e3-11eb-bb03-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains status: code: 404 message: Not Found - url: https://search8e5d1ec7.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + url: https://search8fba1ecc.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_existing.yaml similarity index 85% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_existing.yaml index cc32ac483e6b..8de2709182fa 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_existing.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8f411ed5.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://search909e1eda.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://search8f411ed5.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B95A9C672C9\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://search909e1eda.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D8640768769F08\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:02:29 GMT - elapsed-time: '1132' - etag: W/"0x8D84B95A9C672C9" + date: Mon, 28 Sep 2020 23:37:09 GMT + elapsed-time: '21' + etag: W/"0x8D8640768769F08" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: c805f759-e971-11ea-ab23-5cf37071153c + request-id: 8662722e-01e3-11eb-ae7c-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8f411ed5.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://search909e1eda.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "3", "rating": 1, "@search.action": "merge"}, {"hotelId": "4", "rating": 2, "@search.action": "merge"}]}' @@ -41,9 +41,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -52,28 +52,28 @@ interactions: content-encoding: gzip content-length: '190' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:02:30 GMT - elapsed-time: '70' + date: Mon, 28 Sep 2020 23:37:09 GMT + elapsed-time: '35' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: c923196a-e971-11ea-89bc-5cf37071153c + request-id: 867fc7ae-01e3-11eb-8bf4-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -82,28 +82,28 @@ interactions: content-encoding: gzip content-length: '127' content-type: text/plain - date: Fri, 28 Aug 2020 21:02:33 GMT - elapsed-time: '4' + date: Mon, 28 Sep 2020 23:37:12 GMT + elapsed-time: '60' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: cb55bfd1-e971-11ea-a7f5-5cf37071153c + request-id: 886aa3da-01e3-11eb-93c1-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + uri: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -113,28 +113,28 @@ interactions: content-encoding: gzip content-length: '438' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:02:33 GMT - elapsed-time: '8' + date: Mon, 28 Sep 2020 23:37:12 GMT + elapsed-time: '9' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: cbc08818-e971-11ea-ba07-5cf37071153c + request-id: 888e5588-01e3-11eb-bbdb-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + url: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -144,17 +144,17 @@ interactions: content-encoding: gzip content-length: '422' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:02:34 GMT - elapsed-time: '9' + date: Mon, 28 Sep 2020 23:37:12 GMT + elapsed-time: '5' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: cbd2ce23-e971-11ea-a76d-5cf37071153c + request-id: 88966caf-01e3-11eb-892c-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search8f411ed5.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + url: https://search909e1eda.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_missing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_missing.yaml similarity index 84% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_missing.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_missing.yaml index f7753096974c..5b2b699e124e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_documents_missing.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search705e1e64.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://search71b61e69.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://search705e1e64.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B95B98E1FBC\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://search71b61e69.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D8640775A80113\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:02:56 GMT - elapsed-time: '1094' - etag: W/"0x8D84B95B98E1FBC" + date: Mon, 28 Sep 2020 23:37:31 GMT + elapsed-time: '39' + etag: W/"0x8D8640775A80113" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: d7f0acd2-e971-11ea-a91a-5cf37071153c + request-id: 939f2933-01e3-11eb-a362-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search705e1e64.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://search71b61e69.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "1000", "rating": 1, "@search.action": "merge"}, {"hotelId": "4", "rating": 2, "@search.action": "merge"}]}' @@ -41,9 +41,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":false,"errorMessage":"Document not @@ -53,28 +53,28 @@ interactions: content-encoding: gzip content-length: '225' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:02:57 GMT - elapsed-time: '91' + date: Mon, 28 Sep 2020 23:37:31 GMT + elapsed-time: '23' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: d919f491-e971-11ea-b0e9-5cf37071153c + request-id: 93c37171-01e3-11eb-8b53-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 207 message: Multi-Status - url: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -83,53 +83,53 @@ interactions: content-encoding: gzip content-length: '127' content-type: text/plain - date: Fri, 28 Aug 2020 21:03:01 GMT - elapsed-time: '102' + date: Mon, 28 Sep 2020 23:37:34 GMT + elapsed-time: '20' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: db768231-e971-11ea-aea6-5cf37071153c + request-id: 95ab7905-01e3-11eb-9419-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' headers: cache-control: no-cache content-length: '0' - date: Fri, 28 Aug 2020 21:03:01 GMT - elapsed-time: '25' + date: Mon, 28 Sep 2020 23:37:34 GMT + elapsed-time: '24' expires: '-1' pragma: no-cache - request-id: dc06db6b-e971-11ea-9f05-5cf37071153c + request-id: 95cf5f1d-01e3-11eb-b5f4-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains status: code: 404 message: Not Found - url: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + url: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -139,17 +139,17 @@ interactions: content-encoding: gzip content-length: '422' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:03:01 GMT - elapsed-time: '38' + date: Mon, 28 Sep 2020 23:37:34 GMT + elapsed-time: '16' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: dc27f7e9-e971-11ea-a19f-5cf37071153c + request-id: 95db3549-01e3-11eb-9170-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search705e1e64.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + url: https://search71b61e69.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_or_upload_documents.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_or_upload_documents.yaml similarity index 85% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_or_upload_documents.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_or_upload_documents.yaml index 56b9f8cb2dd2..ea7a6c319974 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_merge_or_upload_documents.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_merge_or_upload_documents.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchaf391f34.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchadd71f2f.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B95DA21B81D\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchaf391f34.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D864078199A2FB\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip - content-length: '1165' + content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:03:51 GMT - elapsed-time: '1597' - etag: W/"0x8D84B95DA21B81D" + date: Mon, 28 Sep 2020 23:37:51 GMT + elapsed-time: '355' + etag: W/"0x8D864078199A2FB" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: f85a019a-e971-11ea-a96f-5cf37071153c + request-id: 9f89dfc3-01e3-11eb-992d-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://searchaf391f34.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "1000", "rating": 1, "@search.action": "mergeOrUpload"}, {"hotelId": "4", "rating": 2, "@search.action": "mergeOrUpload"}]}' @@ -41,9 +41,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -52,28 +52,28 @@ interactions: content-encoding: gzip content-length: '196' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:03:51 GMT - elapsed-time: '182' + date: Mon, 28 Sep 2020 23:37:51 GMT + elapsed-time: '104' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: f99db2fd-e971-11ea-a7d3-5cf37071153c + request-id: 9fde2b5d-01e3-11eb-9dbf-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -82,28 +82,28 @@ interactions: content-encoding: gzip content-length: '127' content-type: text/plain - date: Fri, 28 Aug 2020 21:03:56 GMT - elapsed-time: '22' + date: Mon, 28 Sep 2020 23:37:55 GMT + elapsed-time: '80' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: fbcfac18-e971-11ea-8143-5cf37071153c + request-id: a1d504cf-01e3-11eb-8f61-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":null,"description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":1,"location":null,"address":null,"rooms":[]}' @@ -112,28 +112,28 @@ interactions: content-encoding: gzip content-length: '257' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:03:56 GMT - elapsed-time: '27' + date: Mon, 28 Sep 2020 23:37:55 GMT + elapsed-time: '12' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: fc759edf-e971-11ea-b3e0-5cf37071153c + request-id: a1fc965f-01e3-11eb-b851-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + url: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -143,17 +143,17 @@ interactions: content-encoding: gzip content-length: '422' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:03:56 GMT - elapsed-time: '13' + date: Mon, 28 Sep 2020 23:37:55 GMT + elapsed-time: '7' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: fc9da632-e971-11ea-9766-5cf37071153c + request-id: a205af2f-01e3-11eb-b8db-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchadd71f2f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + url: https://searchaf391f34.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_existing.yaml similarity index 87% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_existing.yaml index b3aaa9eb7b85..8d212d20763a 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_existing.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchaf8d1f4a.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B95EBC8AAA2\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchb0ef1f4f.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D864078FDE2EA5\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip - content-length: '1165' + content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:04:19 GMT - elapsed-time: '37' - etag: W/"0x8D84B95EBC8AAA2" + date: Mon, 28 Sep 2020 23:38:15 GMT + elapsed-time: '49' + etag: W/"0x8D864078FDE2EA5" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 0a4dcb09-e972-11ea-9c8e-5cf37071153c + request-id: adcd3582-01e3-11eb-96f8-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "1000", "rating": 5, "rooms": [], "hotelName": "Azure Inn", "@search.action": "upload"}, {"hotelId": "3", "rating": 4, "rooms": [], @@ -42,9 +42,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"3","status":true,"errorMessage":null,"statusCode":200}]}' @@ -53,28 +53,28 @@ interactions: content-encoding: gzip content-length: '196' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:04:21 GMT - elapsed-time: '115' + date: Mon, 28 Sep 2020 23:38:15 GMT + elapsed-time: '25' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 0abd2eb8-e972-11ea-9f84-5cf37071153c + request-id: adf4bcfc-01e3-11eb-ba49-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -83,17 +83,17 @@ interactions: content-encoding: gzip content-length: '127' content-type: text/plain - date: Fri, 28 Aug 2020 21:04:25 GMT - elapsed-time: '22' + date: Mon, 28 Sep 2020 23:38:18 GMT + elapsed-time: '51' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 0d442f7c-e972-11ea-b569-5cf37071153c + request-id: afde361b-01e3-11eb-9747-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://searchaf8d1f4a.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://searchb0ef1f4f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_new.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_new.yaml similarity index 85% rename from sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_new.yaml rename to sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_new.yaml index 00e683e44757..db3b1918bdf1 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_batching_client_live_async.test_upload_documents_new.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_search_client_buffered_sender_live_async.test_upload_documents_new.yaml @@ -5,31 +5,31 @@ interactions: Accept: - application/json;odata.metadata=minimal User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search174a1d29.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://search18931d2e.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://search174a1d29.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B95FC771DA1\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://search18931d2e.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D864079B6C419B\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: no-cache content-encoding: gzip content-length: '1166' content-type: application/json; odata.metadata=minimal - date: Fri, 28 Aug 2020 21:04:48 GMT - elapsed-time: '42' - etag: W/"0x8D84B95FC771DA1" + date: Mon, 28 Sep 2020 23:38:34 GMT + elapsed-time: '44' + etag: W/"0x8D864079B6C419B" expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 1af4a5b7-e972-11ea-9322-5cf37071153c + request-id: b973a7c4-01e3-11eb-8520-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search174a1d29.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + url: https://search18931d2e.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: '{"value": [{"hotelId": "1000", "rating": 5, "rooms": [], "hotelName": "Azure Inn", "@search.action": "upload"}, {"hotelId": "1001", "rating": 4, "rooms": @@ -42,9 +42,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"1001","status":true,"errorMessage":null,"statusCode":201}]}' @@ -53,28 +53,28 @@ interactions: content-encoding: gzip content-length: '193' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:04:48 GMT - elapsed-time: '87' + date: Mon, 28 Sep 2020 23:38:35 GMT + elapsed-time: '86' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 1b8b9a40-e972-11ea-a747-5cf37071153c + request-id: b997a37d-01e3-11eb-8e4c-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + url: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF12" @@ -83,28 +83,28 @@ interactions: content-encoding: gzip content-length: '127' content-type: text/plain - date: Fri, 28 Aug 2020 21:04:52 GMT - elapsed-time: '4' + date: Mon, 28 Sep 2020 23:38:37 GMT + elapsed-time: '5' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 1de926e7-e972-11ea-8a33-5cf37071153c + request-id: bb8a1dca-01e3-11eb-8a88-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + url: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":"Azure Inn","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":5,"location":null,"address":null,"rooms":[]}' @@ -113,28 +113,28 @@ interactions: content-encoding: gzip content-length: '267' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:04:52 GMT - elapsed-time: '9' + date: Mon, 28 Sep 2020 23:38:37 GMT + elapsed-time: '17' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 1e5387a5-e972-11ea-988d-5cf37071153c + request-id: bba6444c-01e3-11eb-bb4b-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + url: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: Accept: - application/json;odata.metadata=none User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 + uri: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 response: body: string: '{"hotelId":"1001","hotelName":"Redmond Hotel","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":4,"location":null,"address":null,"rooms":[]}' @@ -143,17 +143,17 @@ interactions: content-encoding: gzip content-length: '268' content-type: application/json; odata.metadata=none - date: Fri, 28 Aug 2020 21:04:52 GMT - elapsed-time: '5' + date: Mon, 28 Sep 2020 23:38:37 GMT + elapsed-time: '37' expires: '-1' odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" - request-id: 1e63871d-e972-11ea-b17e-5cf37071153c + request-id: bbaf4509-01e3-11eb-b48c-cc52af3ebf0d strict-transport-security: max-age=15724800; includeSubDomains vary: Accept-Encoding status: code: 200 message: OK - url: https://search174a1d29.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 + url: https://search18931d2e.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/test_batching_client_async.py b/sdk/search/azure-search-documents/tests/async_tests/test_batching_client_async.py deleted file mode 100644 index 9c7a7ae2588f..000000000000 --- a/sdk/search/azure-search-documents/tests/async_tests/test_batching_client_async.py +++ /dev/null @@ -1,76 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -try: - from unittest import mock -except ImportError: - import mock - -from azure.search.documents.aio import ( - SearchIndexDocumentBatchingClient, -) -from azure.core.credentials import AzureKeyCredential -from azure.core.exceptions import HttpResponseError - -CREDENTIAL = AzureKeyCredential(key="test_api_key") - -class TestSearchBatchingClientAsync(object): - async def test_search_index_document_batching_client_kwargs(self): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, window=100) - - assert client.batch_size == 1000 - assert client._window == 100 - assert client._auto_flush - await client.close() - - - async def test_batch_queue(self): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) - - assert client._index_documents_batch - await client.add_upload_actions(["upload1"]) - await client.add_delete_actions(["delete1", "delete2"]) - await client.add_merge_actions(["merge1", "merge2", "merge3"]) - await client.add_merge_or_upload_actions(["merge_or_upload1"]) - assert len(client.actions) == 7 - actions = await client._index_documents_batch.dequeue_actions() - assert len(client.actions) == 0 - await client._index_documents_batch.enqueue_actions(actions) - assert len(client.actions) == 7 - - - @mock.patch( - "azure.search.documents._internal.aio._search_index_document_batching_client_async.SearchIndexDocumentBatchingClient._process_if_needed" - ) - async def test_process_if_needed(self, mock_process_if_needed): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, window=1000, auto_flush=False) - - await client.add_upload_actions(["upload1"]) - await client.add_delete_actions(["delete1", "delete2"]) - assert mock_process_if_needed.called - - - @mock.patch( - "azure.search.documents._internal.aio._search_index_document_batching_client_async.SearchIndexDocumentBatchingClient._cleanup" - ) - async def test_context_manager(self, mock_cleanup): - async with SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: - await client.add_upload_actions(["upload1"]) - await client.add_delete_actions(["delete1", "delete2"]) - assert mock_cleanup.called - - async def test_flush(self): - DOCUMENT = { - 'Category': 'Hotel', - 'HotelId': '1000', - 'Rating': 4.0, - 'Rooms': [], - 'HotelName': 'Azure Inn', - } - with mock.patch.object(SearchIndexDocumentBatchingClient, "_index_documents_actions", side_effect=HttpResponseError("Error")): - async with SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: - client._index_key = "HotelId" - await client.add_upload_actions([DOCUMENT]) - await client.flush() - assert len(client.actions) == 0 diff --git a/sdk/search/azure-search-documents/tests/async_tests/test_buffered_sender_async.py b/sdk/search/azure-search-documents/tests/async_tests/test_buffered_sender_async.py new file mode 100644 index 000000000000..d3a3b4338f32 --- /dev/null +++ b/sdk/search/azure-search-documents/tests/async_tests/test_buffered_sender_async.py @@ -0,0 +1,128 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +try: + from unittest import mock +except ImportError: + import mock + +from azure.search.documents.aio import ( + SearchIndexingBufferedSender, +) +from azure.core.credentials import AzureKeyCredential +from azure.core.exceptions import HttpResponseError +from azure.search.documents.models import IndexingResult + +CREDENTIAL = AzureKeyCredential(key="test_api_key") + +class TestSearchBatchingClientAsync(object): + async def test_search_indexing_buffered_sender_kwargs(self): + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, window=100) as client: + assert client.batch_size == 500 + assert client._max_retry_count == 3 + assert client._auto_flush_interval == 60 + assert client._auto_flush + + + async def test_batch_queue(self): + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + assert client._index_documents_batch + await client.upload_documents(["upload1"]) + await client.delete_documents(["delete1", "delete2"]) + await client.merge_documents(["merge1", "merge2", "merge3"]) + await client.merge_or_upload_documents(["merge_or_upload1"]) + assert len(client.actions) == 7 + actions = await client._index_documents_batch.dequeue_actions() + assert len(client.actions) == 0 + await client._index_documents_batch.enqueue_actions(actions) + assert len(client.actions) == 7 + + + @mock.patch( + "azure.search.documents._internal.aio._search_indexing_buffered_sender_async.SearchIndexingBufferedSender._process_if_needed" + ) + async def test_process_if_needed(self, mock_process_if_needed): + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL) as client: + await client.upload_documents(["upload1"]) + await client.delete_documents(["delete1", "delete2"]) + assert mock_process_if_needed.called + + + @mock.patch( + "azure.search.documents._internal.aio._search_indexing_buffered_sender_async.SearchIndexingBufferedSender._cleanup" + ) + async def test_context_manager(self, mock_cleanup): + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + await client.upload_documents(["upload1"]) + await client.delete_documents(["delete1", "delete2"]) + assert mock_cleanup.called + + async def test_flush(self): + DOCUMENT = { + 'Category': 'Hotel', + 'HotelId': '1000', + 'Rating': 4.0, + 'Rooms': [], + 'HotelName': 'Azure Inn', + } + with mock.patch.object(SearchIndexingBufferedSender, "_index_documents_actions", side_effect=HttpResponseError("Error")): + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + client._index_key = "HotelId" + await client.upload_documents([DOCUMENT]) + await client.flush() + assert len(client.actions) == 0 + + async def test_callback_new(self): + on_new = mock.AsyncMock() + async with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False, on_new=on_new) as client: + await client.upload_documents(["upload1"]) + assert on_new.called + + async def test_callback_error(self): + async def mock_fail_index_documents(actions, timeout=86400): + if len(actions) > 0: + print("There is something wrong") + result = IndexingResult() + result.key = actions[0].additional_properties.get('id') + result.status_code = 400 + result.succeeded = False + self.uploaded = self.uploaded + len(actions) - 1 + return [result] + + on_error = mock.AsyncMock() + async with SearchIndexingBufferedSender("endpoint", + "index name", + CREDENTIAL, + auto_flush=False, + on_error=on_error) as client: + client._index_documents_actions = mock_fail_index_documents + client._index_key = "id" + await client.upload_documents({"id": 0}) + await client.flush() + assert on_error.called + + async def test_callback_progress(self): + async def mock_successful_index_documents(actions, timeout=86400): + if len(actions) > 0: + print("There is something wrong") + result = IndexingResult() + result.key = actions[0].additional_properties.get('id') + result.status_code = 200 + result.succeeded = True + return [result] + + on_progress = mock.AsyncMock() + on_remove = mock.AsyncMock() + async with SearchIndexingBufferedSender("endpoint", + "index name", + CREDENTIAL, + auto_flush=False, + on_progress=on_progress, + on_remove=on_remove) as client: + client._index_documents_actions = mock_successful_index_documents + client._index_key = "id" + await client.upload_documents({"id": 0}) + await client.flush() + assert on_progress.called + assert on_remove.called diff --git a/sdk/search/azure-search-documents/tests/async_tests/test_search_client_batching_client_live_async.py b/sdk/search/azure-search-documents/tests/async_tests/test_search_client_buffered_sender_live_async.py similarity index 91% rename from sdk/search/azure-search-documents/tests/async_tests/test_search_client_batching_client_live_async.py rename to sdk/search/azure-search-documents/tests/async_tests/test_search_client_buffered_sender_live_async.py index 623a6872dfcb..b8668a79f708 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/test_search_client_batching_client_live_async.py +++ b/sdk/search/azure-search-documents/tests/async_tests/test_search_client_buffered_sender_live_async.py @@ -24,7 +24,7 @@ from azure.core.exceptions import HttpResponseError from azure.core.credentials import AzureKeyCredential -from azure.search.documents.aio import SearchClient, SearchIndexDocumentBatchingClient +from azure.search.documents.aio import SearchClient, SearchIndexingBufferedSender TIME_TO_SLEEP = 3 @@ -51,7 +51,7 @@ async def test_upload_documents_new(self, api_key, endpoint, index_name, **kwarg client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 @@ -61,7 +61,7 @@ async def test_upload_documents_new(self, api_key, endpoint, index_name, **kwarg ] async with batch_client: - await batch_client.add_upload_actions(DOCUMENTS) + await batch_client.upload_documents(DOCUMENTS) # There can be some lag before a document is searchable if self.is_live: @@ -84,7 +84,7 @@ async def test_upload_documents_existing( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 @@ -93,7 +93,7 @@ async def test_upload_documents_existing( {"hotelId": "3", "rating": 4, "rooms": [], "hotelName": "Redmond Hotel"}, ] async with batch_client: - await batch_client.add_upload_actions(DOCUMENTS) + await batch_client.upload_documents(DOCUMENTS) # There can be some lag before a document is searchable if self.is_live: @@ -110,12 +110,12 @@ async def test_delete_documents_existing( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 async with batch_client: - await batch_client.add_delete_actions( + await batch_client.delete_documents( [{"hotelId": "3"}, {"hotelId": "4"}] ) @@ -140,12 +140,12 @@ async def test_delete_documents_missing( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 async with batch_client: - await batch_client.add_delete_actions( + await batch_client.delete_documents( [{"hotelId": "1000"}, {"hotelId": "4"}] ) @@ -170,12 +170,12 @@ async def test_merge_documents_existing( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 async with batch_client: - await batch_client.add_merge_actions( + await batch_client.merge_documents( [{"hotelId": "3", "rating": 1}, {"hotelId": "4", "rating": 2}] ) @@ -200,12 +200,12 @@ async def test_merge_documents_missing( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 async with batch_client: - await batch_client.add_merge_actions( + await batch_client.merge_documents( [{"hotelId": "1000", "rating": 1}, {"hotelId": "4", "rating": 2}] ) @@ -230,12 +230,12 @@ async def test_merge_or_upload_documents( client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 async with batch_client: - await batch_client.add_merge_or_upload_actions( + await batch_client.merge_or_upload_documents( [{"hotelId": "1000", "rating": 1}, {"hotelId": "4", "rating": 2}] ) diff --git a/sdk/search/azure-search-documents/tests/consts.py b/sdk/search/azure-search-documents/tests/consts.py index 2aad214b3224..b6deb404af70 100644 --- a/sdk/search/azure-search-documents/tests/consts.py +++ b/sdk/search/azure-search-documents/tests/consts.py @@ -4,6 +4,6 @@ # ----------------------------------- TEST_SERVICE_NAME = "test-service-name" -SERVICE_URL = "https://{}.search.windows.net/indexes?api-version=2019-05-06".format( +SERVICE_URL = "https://{}.search.windows.net/indexes?api-version=2020-06-30".format( TEST_SERVICE_NAME ) diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_existing.yaml similarity index 88% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_existing.yaml index 08552c5224ad..2bcbc5de75f8 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_existing.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf7dc1cbb.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchf9201cc0.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchf7dc1cbb.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B92C9EBB1D5\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchf9201cc0.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D86406E29E2B9D\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:41:58 GMT + - Mon, 28 Sep 2020 23:33:25 GMT elapsed-time: - - '2176' + - '38' etag: - - W/"0x8D84B92C9EBB1D5" + - W/"0x8D86406E29E2B9D" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - e8effd63-e96e-11ea-9300-5cf37071153c + - 00a78f2d-01e3-11eb-b1f5-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -60,9 +60,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchf7dc1cbb.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchf9201cc0.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -74,9 +74,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:42:00 GMT + - Mon, 28 Sep 2020 23:33:25 GMT elapsed-time: - - '25' + - '16' expires: - '-1' odata-version: @@ -86,7 +86,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - eb19fdbf-e96e-11ea-b3b9-5cf37071153c + - 00fddabf-01e3-11eb-b1b8-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -104,9 +104,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf7dc1cbb.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchf9201cc0.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF8" @@ -118,9 +118,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:42:04 GMT + - Mon, 28 Sep 2020 23:33:29 GMT elapsed-time: - - '62' + - '77' expires: - '-1' odata-version: @@ -130,7 +130,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - edfeb4b8-e96e-11ea-b383-5cf37071153c + - 031ea493-01e3-11eb-b803-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -148,9 +148,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf7dc1cbb.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + uri: https://searchf9201cc0.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '' @@ -160,15 +160,15 @@ interactions: content-length: - '0' date: - - Fri, 28 Aug 2020 20:42:04 GMT + - Mon, 28 Sep 2020 23:33:29 GMT elapsed-time: - - '12' + - '7' expires: - '-1' pragma: - no-cache request-id: - - ee86cbc8-e96e-11ea-8152-5cf37071153c + - 0381faad-01e3-11eb-a23d-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains status: @@ -184,9 +184,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf7dc1cbb.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchf9201cc0.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' @@ -196,7 +196,7 @@ interactions: content-length: - '0' date: - - Fri, 28 Aug 2020 20:42:04 GMT + - Mon, 28 Sep 2020 23:33:29 GMT elapsed-time: - '4' expires: @@ -204,7 +204,7 @@ interactions: pragma: - no-cache request-id: - - ee9a27fe-e96e-11ea-9ed4-5cf37071153c + - 03983372-01e3-11eb-9881-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains status: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_missing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_missing.yaml similarity index 88% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_missing.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_missing.yaml index b42f6a473add..be4d5b9bc4dc 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_delete_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_delete_documents_missing.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdb131c4a.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchdc521c4f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchdb131c4a.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B92DEF5046F\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchdc521c4f.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D86406EE97E551\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:42:31 GMT + - Mon, 28 Sep 2020 23:33:46 GMT elapsed-time: - - '39' + - '1510' etag: - - W/"0x8D84B92DEF5046F" + - W/"0x8D86406EE97E551" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - fda539e7-e96e-11ea-8fab-5cf37071153c + - 0c8df083-01e3-11eb-9659-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -60,9 +60,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchdb131c4a.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchdc521c4f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -74,9 +74,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:42:32 GMT + - Mon, 28 Sep 2020 23:33:47 GMT elapsed-time: - - '17' + - '73' expires: - '-1' odata-version: @@ -86,7 +86,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - ff300b1b-e96e-11ea-94f3-5cf37071153c + - 0dd86cdb-01e3-11eb-9d6a-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -104,9 +104,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdb131c4a.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchdc521c4f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF9" @@ -118,9 +118,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:42:36 GMT + - Mon, 28 Sep 2020 23:33:50 GMT elapsed-time: - - '69' + - '63' expires: - '-1' odata-version: @@ -130,7 +130,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 017533a8-e96f-11ea-a4c3-5cf37071153c + - 1001d2d1-01e3-11eb-93b3-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -148,9 +148,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdb131c4a.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://searchdc521c4f.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -160,15 +160,15 @@ interactions: content-length: - '0' date: - - Fri, 28 Aug 2020 20:42:37 GMT + - Mon, 28 Sep 2020 23:33:51 GMT elapsed-time: - - '11' + - '4' expires: - '-1' pragma: - no-cache request-id: - - 0230feba-e96f-11ea-909b-5cf37071153c + - 1072d939-01e3-11eb-8725-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains status: @@ -184,9 +184,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdb131c4a.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchdc521c4f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' @@ -196,15 +196,15 @@ interactions: content-length: - '0' date: - - Fri, 28 Aug 2020 20:42:37 GMT + - Mon, 28 Sep 2020 23:33:51 GMT elapsed-time: - - '4' + - '6' expires: - '-1' pragma: - no-cache request-id: - - 027898fb-e96f-11ea-9509-5cf37071153c + - 108dba89-01e3-11eb-ab94-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains status: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_existing.yaml similarity index 89% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_existing.yaml index 909ec984a51b..fbb4645e14dd 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_existing.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdbf71c58.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchdd361c5d.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchdbf71c58.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B92F07E293F\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchdd361c5d.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D86406FC6E316C\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:42:58 GMT + - Mon, 28 Sep 2020 23:34:08 GMT elapsed-time: - - '69' + - '33' etag: - - W/"0x8D84B92F07E293F" + - W/"0x8D86406FC6E316C" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 0ea42fe8-e96f-11ea-8c56-5cf37071153c + - 1a5d5f39-01e3-11eb-b5ee-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -60,9 +60,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchdbf71c58.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchdd361c5d.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -74,9 +74,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:00 GMT + - Mon, 28 Sep 2020 23:34:08 GMT elapsed-time: - - '155' + - '72' expires: - '-1' odata-version: @@ -86,7 +86,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 0f25e80f-e96f-11ea-9cf2-5cf37071153c + - 1abd1927-01e3-11eb-85f0-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -104,9 +104,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdbf71c58.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchdd361c5d.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -118,9 +118,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:43:04 GMT + - Mon, 28 Sep 2020 23:34:12 GMT elapsed-time: - - '5' + - '52' expires: - '-1' odata-version: @@ -130,7 +130,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 12284916-e96f-11ea-a99a-5cf37071153c + - 1ce2f144-01e3-11eb-bd47-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -148,9 +148,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdbf71c58.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 + uri: https://searchdd361c5d.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -163,9 +163,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:04 GMT + - Mon, 28 Sep 2020 23:34:12 GMT elapsed-time: - - '11' + - '12' expires: - '-1' odata-version: @@ -175,7 +175,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 1292785e-e96f-11ea-b82b-5cf37071153c + - 1d3f6a75-01e3-11eb-9d49-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -193,9 +193,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchdbf71c58.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchdd361c5d.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -208,9 +208,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:04 GMT + - Mon, 28 Sep 2020 23:34:12 GMT elapsed-time: - - '5' + - '4' expires: - '-1' odata-version: @@ -220,7 +220,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 12ac19ee-e96f-11ea-b6e9-5cf37071153c + - 1d5c6b28-01e3-11eb-9563-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_missing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_missing.yaml similarity index 89% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_missing.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_missing.yaml index 941069d38e89..657c8362ac6e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_documents_missing.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchbf911be7.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchc0cb1bec.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchbf911be7.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B92FF77ED9C\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchc0cb1bec.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D8640709DB9626\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:43:25 GMT + - Mon, 28 Sep 2020 23:34:30 GMT elapsed-time: - - '1216' + - '26' etag: - - W/"0x8D84B92FF77ED9C" + - W/"0x8D8640709DB9626" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 1da8fcc8-e96f-11ea-b4c1-5cf37071153c + - 27c2b6ae-01e3-11eb-810b-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -60,9 +60,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchbf911be7.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchc0cb1bec.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":false,"errorMessage":"Document not @@ -75,9 +75,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:26 GMT + - Mon, 28 Sep 2020 23:34:31 GMT elapsed-time: - - '74' + - '26' expires: - '-1' odata-version: @@ -87,7 +87,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 1f01302b-e96f-11ea-975b-5cf37071153c + - 281224b5-01e3-11eb-bde5-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -105,9 +105,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchbf911be7.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchc0cb1bec.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -119,9 +119,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:43:31 GMT + - Mon, 28 Sep 2020 23:34:34 GMT elapsed-time: - - '84' + - '66' expires: - '-1' odata-version: @@ -131,7 +131,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 217311c2-e96f-11ea-8cbd-5cf37071153c + - 2a30151e-01e3-11eb-971f-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -149,9 +149,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchbf911be7.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://searchc0cb1bec.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -161,15 +161,15 @@ interactions: content-length: - '0' date: - - Fri, 28 Aug 2020 20:43:31 GMT + - Mon, 28 Sep 2020 23:34:34 GMT elapsed-time: - - '3' + - '6' expires: - '-1' pragma: - no-cache request-id: - - 226c2217-e96f-11ea-8e61-5cf37071153c + - 2a87b0ca-01e3-11eb-aba1-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains status: @@ -185,9 +185,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchbf911be7.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchc0cb1bec.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -200,9 +200,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:31 GMT + - Mon, 28 Sep 2020 23:34:34 GMT elapsed-time: - - '8' + - '10' expires: - '-1' odata-version: @@ -212,7 +212,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 22889e4c-e96f-11ea-9cf6-5cf37071153c + - 2a9ea808-01e3-11eb-9eb2-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_or_upload_documents.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_or_upload_documents.yaml similarity index 89% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_or_upload_documents.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_or_upload_documents.yaml index 74b47a5a5c45..3ee5d46e64ab 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_merge_or_upload_documents.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_merge_or_upload_documents.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf8101cb2.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchf9541cb7.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchf8101cb2.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B931167FD48\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchf9541cb7.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D86407157F57C5\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:43:54 GMT + - Mon, 28 Sep 2020 23:34:49 GMT elapsed-time: - - '52' + - '35' etag: - - W/"0x8D84B931167FD48" + - W/"0x8D86407157F57C5" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 2fdb0882-e96f-11ea-9e11-5cf37071153c + - 3376f4b6-01e3-11eb-87ad-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -60,9 +60,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchf8101cb2.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchf9541cb7.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -74,9 +74,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:54 GMT + - Mon, 28 Sep 2020 23:34:50 GMT elapsed-time: - - '155' + - '79' expires: - '-1' odata-version: @@ -86,7 +86,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 304c67bb-e96f-11ea-9b98-5cf37071153c + - 33c78417-01e3-11eb-9e36-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -104,9 +104,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf8101cb2.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchf9541cb7.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -118,9 +118,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:43:58 GMT + - Mon, 28 Sep 2020 23:34:53 GMT elapsed-time: - - '4' + - '5' expires: - '-1' odata-version: @@ -130,7 +130,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 32738141-e96f-11ea-b25c-5cf37071153c + - 35f6752e-01e3-11eb-8514-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -148,9 +148,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf8101cb2.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://searchf9541cb7.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":null,"description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":1,"location":null,"address":null,"rooms":[]}' @@ -162,9 +162,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:58 GMT + - Mon, 28 Sep 2020 23:34:53 GMT elapsed-time: - - '21' + - '7' expires: - '-1' odata-version: @@ -174,7 +174,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 32b755b6-e96f-11ea-943c-5cf37071153c + - 3645c80d-01e3-11eb-9192-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -192,9 +192,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf8101cb2.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 + uri: https://searchf9541cb7.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -207,9 +207,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:43:58 GMT + - Mon, 28 Sep 2020 23:34:54 GMT elapsed-time: - - '7' + - '9' expires: - '-1' odata-version: @@ -219,7 +219,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 32c9d397-e96f-11ea-9254-5cf37071153c + - 365bcb37-01e3-11eb-af68-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_existing.yaml similarity index 90% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_existing.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_existing.yaml index adf35f476768..dc1941df3ce3 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_existing.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf9c61ccd.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://searchfb0a1cd2.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://searchf9c61ccd.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B9326EE10B7\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://searchfb0a1cd2.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D8640721D6850F\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:44:31 GMT + - Mon, 28 Sep 2020 23:35:10 GMT elapsed-time: - - '21' + - '20' etag: - - W/"0x8D84B9326EE10B7" + - W/"0x8D8640721D6850F" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 45952eb4-e96f-11ea-895b-5cf37071153c + - 3fc928a6-01e3-11eb-aeee-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -61,9 +61,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://searchf9c61ccd.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://searchfb0a1cd2.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"3","status":true,"errorMessage":null,"statusCode":200}]}' @@ -75,9 +75,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:44:32 GMT + - Mon, 28 Sep 2020 23:35:11 GMT elapsed-time: - - '22' + - '115' expires: - '-1' odata-version: @@ -87,7 +87,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 465b18ff-e96f-11ea-9270-5cf37071153c + - 40233bae-01e3-11eb-a749-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -105,9 +105,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://searchf9c61ccd.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://searchfb0a1cd2.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -119,9 +119,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:44:37 GMT + - Mon, 28 Sep 2020 23:35:15 GMT elapsed-time: - - '94' + - '5' expires: - '-1' odata-version: @@ -131,7 +131,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 4931f02e-e96f-11ea-9e49-5cf37071153c + - 424716b9-01e3-11eb-9e1b-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_new.yaml b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_new.yaml similarity index 89% rename from sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_new.yaml rename to sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_new.yaml index b1f09c582082..55ec1b0e9641 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_search_client_batching_client_live.test_upload_documents_new.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_search_client_buffered_sender_live.test_upload_documents_new.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search6df41aac.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 + uri: https://search6f1f1ab1.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: - string: '{"@odata.context":"https://search6df41aac.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D84B933AB5F608\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' + string: '{"@odata.context":"https://search6f1f1ab1.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D864072F795BD1\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}' headers: cache-control: - no-cache @@ -23,11 +23,11 @@ interactions: content-type: - application/json; odata.metadata=minimal date: - - Fri, 28 Aug 2020 20:45:03 GMT + - Mon, 28 Sep 2020 23:35:33 GMT elapsed-time: - - '25' + - '31' etag: - - W/"0x8D84B933AB5F608" + - W/"0x8D864072F795BD1" expires: - '-1' odata-version: @@ -37,7 +37,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 58f60193-e96f-11ea-afa0-5cf37071153c + - 4d5cfae5-01e3-11eb-a6a1-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -61,9 +61,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://search6df41aac.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 + uri: https://search6f1f1ab1.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"1001","status":true,"errorMessage":null,"statusCode":201}]}' @@ -75,9 +75,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:45:04 GMT + - Mon, 28 Sep 2020 23:35:34 GMT elapsed-time: - - '113' + - '75' expires: - '-1' odata-version: @@ -87,7 +87,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 59611a4c-e96f-11ea-bcff-5cf37071153c + - 4db22d32-01e3-11eb-9500-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -105,9 +105,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search6df41aac.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 + uri: https://search6f1f1ab1.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF12" @@ -119,9 +119,9 @@ interactions: content-type: - text/plain date: - - Fri, 28 Aug 2020 20:45:10 GMT + - Mon, 28 Sep 2020 23:35:37 GMT elapsed-time: - - '8' + - '5' expires: - '-1' odata-version: @@ -131,7 +131,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 5bd43036-e96f-11ea-a4ff-5cf37071153c + - 4fcc5aca-01e3-11eb-8f69-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -149,9 +149,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search6df41aac.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 + uri: https://search6f1f1ab1.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":"Azure Inn","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":5,"location":null,"address":null,"rooms":[]}' @@ -163,9 +163,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:45:10 GMT + - Mon, 28 Sep 2020 23:35:37 GMT elapsed-time: - - '21' + - '9' expires: - '-1' odata-version: @@ -175,7 +175,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 5d97484a-e96f-11ea-93b4-5cf37071153c + - 5015710c-01e3-11eb-812c-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: @@ -193,9 +193,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-search-documents/11.1.0b3 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://search6df41aac.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 + uri: https://search6f1f1ab1.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 response: body: string: '{"hotelId":"1001","hotelName":"Redmond Hotel","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":4,"location":null,"address":null,"rooms":[]}' @@ -207,9 +207,9 @@ interactions: content-type: - application/json; odata.metadata=none date: - - Fri, 28 Aug 2020 20:45:11 GMT + - Mon, 28 Sep 2020 23:35:37 GMT elapsed-time: - - '77' + - '7' expires: - '-1' odata-version: @@ -219,7 +219,7 @@ interactions: preference-applied: - odata.include-annotations="*" request-id: - - 5df13bd2-e96f-11ea-b407-5cf37071153c + - 5027be51-01e3-11eb-96df-cc52af3ebf0d strict-transport-security: - max-age=15724800; includeSubDomains vary: diff --git a/sdk/search/azure-search-documents/tests/search_service_preparer.py b/sdk/search/azure-search-documents/tests/search_service_preparer.py index 5c0d7cba8951..ed440b6682e4 100644 --- a/sdk/search/azure-search-documents/tests/search_service_preparer.py +++ b/sdk/search/azure-search-documents/tests/search_service_preparer.py @@ -19,7 +19,7 @@ from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM from azure_devtools.scenario_tests.exceptions import AzureTestError -SERVICE_URL_FMT = "https://{}.search.windows.net/indexes?api-version=2019-05-06" +SERVICE_URL_FMT = "https://{}.search.windows.net/indexes?api-version=2020-06-30" TIME_TO_SLEEP = 3 class SearchResourceGroupPreparer(ResourceGroupPreparer): diff --git a/sdk/search/azure-search-documents/tests/test_batching_client.py b/sdk/search/azure-search-documents/tests/test_batching_client.py deleted file mode 100644 index 3add83fb8b85..000000000000 --- a/sdk/search/azure-search-documents/tests/test_batching_client.py +++ /dev/null @@ -1,81 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -try: - from unittest import mock -except ImportError: - import mock - -from azure.search.documents import ( - SearchIndexDocumentBatchingClient, -) -from azure.core.credentials import AzureKeyCredential -from azure.core.exceptions import HttpResponseError - -CREDENTIAL = AzureKeyCredential(key="test_api_key") - -class TestSearchBatchingClient(object): - def test_search_index_document_batching_client_kwargs(self): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, window=100) - - assert client.batch_size == 1000 - assert client._window == 100 - assert client._auto_flush - client.close() - - - def test_batch_queue(self): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) - - assert client._index_documents_batch - client.add_upload_actions(["upload1"]) - client.add_delete_actions(["delete1", "delete2"]) - client.add_merge_actions(["merge1", "merge2", "merge3"]) - client.add_merge_or_upload_actions(["merge_or_upload1"]) - assert len(client.actions) == 7 - actions = client._index_documents_batch.dequeue_actions() - assert len(client.actions) == 0 - client._index_documents_batch.enqueue_actions(actions) - assert len(client.actions) == 7 - actions = client._index_documents_batch.dequeue_actions() - assert len(client.actions) == 0 - for action in actions: - client._index_documents_batch.enqueue_action(action) - assert len(client.actions) == 7 - - - @mock.patch( - "azure.search.documents._internal._search_index_document_batching_client.SearchIndexDocumentBatchingClient._process_if_needed" - ) - def test_process_if_needed(self, mock_process_if_needed): - client = SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, window=1000, auto_flush=False) - - client.add_upload_actions(["upload1"]) - client.add_delete_actions(["delete1", "delete2"]) - assert mock_process_if_needed.called - - - @mock.patch( - "azure.search.documents._internal._search_index_document_batching_client.SearchIndexDocumentBatchingClient._cleanup" - ) - def test_context_manager(self, mock_cleanup): - with SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: - client.add_upload_actions(["upload1"]) - client.add_delete_actions(["delete1", "delete2"]) - assert mock_cleanup.called - - def test_flush(self): - DOCUMENT = { - 'Category': 'Hotel', - 'HotelId': '1000', - 'Rating': 4.0, - 'Rooms': [], - 'HotelName': 'Azure Inn', - } - with mock.patch.object(SearchIndexDocumentBatchingClient, "_index_documents_actions", side_effect=HttpResponseError("Error")): - with SearchIndexDocumentBatchingClient("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: - client._index_key = "HotelId" - client.add_upload_actions([DOCUMENT]) - client.flush() - assert len(client.actions) == 0 diff --git a/sdk/search/azure-search-documents/tests/test_buffered_sender.py b/sdk/search/azure-search-documents/tests/test_buffered_sender.py new file mode 100644 index 000000000000..b4310dc661ef --- /dev/null +++ b/sdk/search/azure-search-documents/tests/test_buffered_sender.py @@ -0,0 +1,132 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +try: + from unittest import mock +except ImportError: + import mock + +from azure.search.documents import ( + SearchIndexingBufferedSender, +) +from azure.core.credentials import AzureKeyCredential +from azure.core.exceptions import HttpResponseError +from azure.search.documents.models import IndexingResult + +CREDENTIAL = AzureKeyCredential(key="test_api_key") + +class TestSearchBatchingClient(object): + def test_search_indexing_buffered_sender_kwargs(self): + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, window=100) as client: + assert client.batch_size == 500 + assert client._max_retry_count == 3 + assert client._auto_flush_interval == 60 + assert client._auto_flush + + def test_batch_queue(self): + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + assert client._index_documents_batch + client.upload_documents(["upload1"]) + client.delete_documents(["delete1", "delete2"]) + client.merge_documents(["merge1", "merge2", "merge3"]) + client.merge_or_upload_documents(["merge_or_upload1"]) + assert len(client.actions) == 7 + actions = client._index_documents_batch.dequeue_actions() + assert len(client.actions) == 0 + client._index_documents_batch.enqueue_actions(actions) + assert len(client.actions) == 7 + actions = client._index_documents_batch.dequeue_actions() + assert len(client.actions) == 0 + for action in actions: + client._index_documents_batch.enqueue_action(action) + assert len(client.actions) == 7 + + + @mock.patch( + "azure.search.documents._internal._search_indexing_buffered_sender.SearchIndexingBufferedSender._process_if_needed" + ) + def test_process_if_needed(self, mock_process_if_needed): + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL) as client: + client.upload_documents(["upload1"]) + client.delete_documents(["delete1", "delete2"]) + assert mock_process_if_needed.called + + + @mock.patch( + "azure.search.documents._internal._search_indexing_buffered_sender.SearchIndexingBufferedSender._cleanup" + ) + def test_context_manager(self, mock_cleanup): + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + client.upload_documents(["upload1"]) + client.delete_documents(["delete1", "delete2"]) + assert mock_cleanup.called + + def test_flush(self): + DOCUMENT = { + 'Category': 'Hotel', + 'HotelId': '1000', + 'Rating': 4.0, + 'Rooms': [], + 'HotelName': 'Azure Inn', + } + with mock.patch.object(SearchIndexingBufferedSender, "_index_documents_actions", side_effect=HttpResponseError("Error")): + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False) as client: + client._index_key = "HotelId" + client.upload_documents([DOCUMENT]) + client.flush() + assert len(client.actions) == 0 + + def test_callback_new(self): + on_new = mock.Mock() + with SearchIndexingBufferedSender("endpoint", "index name", CREDENTIAL, auto_flush=False, on_new=on_new) as client: + client.upload_documents(["upload1"]) + assert on_new.called + + def test_callback_error(self): + def mock_fail_index_documents(actions, timeout=86400): + if len(actions) > 0: + print("There is something wrong") + result = IndexingResult() + result.key = actions[0].additional_properties.get('id') + result.status_code = 400 + result.succeeded = False + self.uploaded = self.uploaded + len(actions) - 1 + return [result] + + on_error = mock.Mock() + with SearchIndexingBufferedSender("endpoint", + "index name", + CREDENTIAL, + auto_flush=False, + on_error=on_error) as client: + client._index_documents_actions = mock_fail_index_documents + client._index_key = "id" + client.upload_documents({"id": 0}) + client.flush() + assert on_error.called + + def test_callback_progress(self): + def mock_successful_index_documents(actions, timeout=86400): + if len(actions) > 0: + print("There is something wrong") + result = IndexingResult() + result.key = actions[0].additional_properties.get('id') + result.status_code = 200 + result.succeeded = True + return [result] + + on_progress = mock.Mock() + on_remove = mock.Mock() + with SearchIndexingBufferedSender("endpoint", + "index name", + CREDENTIAL, + auto_flush=False, + on_progress=on_progress, + on_remove=on_remove) as client: + client._index_documents_actions = mock_successful_index_documents + client._index_key = "id" + client.upload_documents({"id": 0}) + client.flush() + assert on_progress.called + assert on_remove.called diff --git a/sdk/search/azure-search-documents/tests/test_search_client_batching_client_live.py b/sdk/search/azure-search-documents/tests/test_search_client_buffered_sender_live.py similarity index 88% rename from sdk/search/azure-search-documents/tests/test_search_client_batching_client_live.py rename to sdk/search/azure-search-documents/tests/test_search_client_buffered_sender_live.py index ae3b3f243cb9..137ff82c73cd 100644 --- a/sdk/search/azure-search-documents/tests/test_search_client_batching_client_live.py +++ b/sdk/search/azure-search-documents/tests/test_search_client_buffered_sender_live.py @@ -23,11 +23,11 @@ BATCH = json.load(open(join(CWD, "hotel_small.json"), encoding='utf-8')) from azure.core.exceptions import HttpResponseError from azure.core.credentials import AzureKeyCredential -from azure.search.documents import SearchIndexDocumentBatchingClient, SearchClient +from azure.search.documents import SearchIndexingBufferedSender, SearchClient TIME_TO_SLEEP = 3 -class SearchIndexDocumentBatchingClientTest(AzureMgmtTestCase): +class SearchIndexingBufferedSenderTest(AzureMgmtTestCase): FILTER_HEADERS = ReplayableTest.FILTER_HEADERS + ['api-key'] @ResourceGroupPreparer(random_name_enabled=True) @@ -36,7 +36,7 @@ def test_upload_documents_new(self, api_key, endpoint, index_name, **kwargs): client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 @@ -44,7 +44,7 @@ def test_upload_documents_new(self, api_key, endpoint, index_name, **kwargs): {"hotelId": "1000", "rating": 5, "rooms": [], "hotelName": "Azure Inn"}, {"hotelId": "1001", "rating": 4, "rooms": [], "hotelName": "Redmond Hotel"}, ] - batch_client.add_upload_actions(DOCUMENTS) + batch_client.upload_documents(DOCUMENTS) # There can be some lag before a document is searchable if self.is_live: @@ -65,7 +65,7 @@ def test_upload_documents_existing(self, api_key, endpoint, index_name, **kwargs client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 @@ -73,7 +73,7 @@ def test_upload_documents_existing(self, api_key, endpoint, index_name, **kwargs {"hotelId": "1000", "rating": 5, "rooms": [], "hotelName": "Azure Inn"}, {"hotelId": "3", "rating": 4, "rooms": [], "hotelName": "Redmond Hotel"}, ] - batch_client.add_upload_actions(DOCUMENTS) + batch_client.upload_documents(DOCUMENTS) # There can be some lag before a document is searchable if self.is_live: @@ -89,11 +89,11 @@ def test_delete_documents_existing(self, api_key, endpoint, index_name, **kwargs client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 - batch_client.add_delete_actions([{"hotelId": "3"}, {"hotelId": "4"}]) + batch_client.delete_documents([{"hotelId": "3"}, {"hotelId": "4"}]) batch_client.close() # There can be some lag before a document is searchable @@ -114,11 +114,11 @@ def test_delete_documents_missing(self, api_key, endpoint, index_name, **kwargs) client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 - batch_client.add_delete_actions([{"hotelId": "1000"}, {"hotelId": "4"}]) + batch_client.delete_documents([{"hotelId": "1000"}, {"hotelId": "4"}]) batch_client.close() # There can be some lag before a document is searchable @@ -139,11 +139,11 @@ def test_merge_documents_existing(self, api_key, endpoint, index_name, **kwargs) client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 - batch_client.add_merge_actions( + batch_client.merge_documents( [{"hotelId": "3", "rating": 1}, {"hotelId": "4", "rating": 2}] ) batch_client.close() @@ -166,11 +166,11 @@ def test_merge_documents_missing(self, api_key, endpoint, index_name, **kwargs): client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 - batch_client.add_merge_actions( + batch_client.merge_documents( [{"hotelId": "1000", "rating": 1}, {"hotelId": "4", "rating": 2}] ) batch_client.close() @@ -193,11 +193,11 @@ def test_merge_or_upload_documents(self, api_key, endpoint, index_name, **kwargs client = SearchClient( endpoint, index_name, AzureKeyCredential(api_key) ) - batch_client = SearchIndexDocumentBatchingClient( + batch_client = SearchIndexingBufferedSender( endpoint, index_name, AzureKeyCredential(api_key) ) batch_client._batch_size = 2 - batch_client.add_merge_or_upload_actions( + batch_client.merge_or_upload_documents( [{"hotelId": "1000", "rating": 1}, {"hotelId": "4", "rating": 2}] ) batch_client.close() From 51049f5a1cb7b16ed07ec9d7d148fee1012fd2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Fri, 2 Oct 2020 11:56:51 -0700 Subject: [PATCH 53/71] [KeyVault] Add Status Methods to Query Backup and Restore Operations (#14158) * Add backup/restore status methods to KeyVaultBackupClient --- .../keyvault/administration/_backup_client.py | 32 ++ .../administration/aio/_backup_client.py | 32 ++ ...p_client.test_full_backup_and_restore.yaml | 324 ++++++++++++++--- ...kup_client.test_selective_key_restore.yaml | 343 ++++++++++++++---- ...nt_async.test_full_backup_and_restore.yaml | 234 +++++++++--- ...ient_async.test_selective_key_restore.yaml | 323 +++++++++++------ .../tests/test_backup_client.py | 43 ++- .../tests/test_backup_client_async.py | 33 +- 8 files changed, 1077 insertions(+), 287 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_backup_client.py b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_backup_client.py index 39666d43dc6b..11a662764b8b 100644 --- a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_backup_client.py +++ b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_backup_client.py @@ -93,3 +93,35 @@ def begin_selective_restore(self, blob_storage_uri, sas_token, folder_name, key_ polling=LROBasePolling(lro_algorithms=[KeyVaultBackupClientPolling()], timeout=polling_interval, **kwargs), **kwargs ) + + def get_backup_status(self, job_id, **kwargs): + # type: (str, **Any) -> BackupOperation + """Returns the status of a full backup operation. + + :param job_id: The job ID returned as part of the backup request + :type job_id: str + :return: The full backup operation status as a :class:`BackupOperation` + :rtype: BackupOperation + """ + return self._client.full_backup_status( + vault_base_url=self._vault_url, + job_id=job_id, + cls=BackupOperation._wrap_generated, + **kwargs + ) + + def get_restore_status(self, job_id, **kwargs): + # type: (str, **Any) -> RestoreOperation + """Returns the status of a restore operation. + + :param job_id: The job ID returned as part of the restore request + :type job_id: str + :return: The restore operation status as a :class:`RestoreOperation` + :rtype: RestoreOperation + """ + return self._client.restore_status( + vault_base_url=self.vault_url, + job_id=job_id, + cls=RestoreOperation._wrap_generated, + **kwargs + ) diff --git a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_backup_client.py b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_backup_client.py index b04faa321b21..16e33c8da024 100644 --- a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_backup_client.py +++ b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_backup_client.py @@ -102,3 +102,35 @@ async def begin_selective_restore( ), **kwargs ) + + async def get_backup_status( + self, job_id: str, **kwargs: "Any" + ) -> "BackupOperation": + """Returns the status of a full backup operation. + + :param str job_id: The job ID returned as part of the backup request + :returns: The full backup operation status as a :class:`BackupOperation` + :rtype: BackupOperation + """ + return await self._client.full_backup_status( + vault_base_url=self._vault_url, + job_id=job_id, + cls=BackupOperation._wrap_generated, + **kwargs + ) + + async def get_restore_status( + self, job_id: str, **kwargs: "Any" + ) -> "RestoreOperation": + """Returns the status of a restore operation. + + :param str job_id: The ID returned as part of the restore request + :returns: The restore operation status as a :class:`RestoreOperation` + :rtype: RestoreOperation + """ + return await self._client.restore_status( + vault_base_url=self._vault_url, + job_id=job_id, + cls=RestoreOperation._wrap_generated, + **kwargs + ) diff --git a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_full_backup_and_restore.yaml b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_full_backup_and_restore.yaml index 2813fc3d642a..7c9293e6ffe1 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_full_backup_and_restore.yaml +++ b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_full_backup_and_restore.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: @@ -31,19 +31,19 @@ interactions: strict-transport-security: - max-age=31536000; includeSubDomains www-authenticate: - - Bearer authorization="https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd", - resource="https://managedhsm-int.azure-int.net" + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-ms-server-latency: - - '2' + - '1' status: code: 401 message: Unauthorized - request: - body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containerlpibiggddqawmbw", + body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containertzdnut7zi4qw3kp", "token": "redacted"}' headers: Accept: @@ -57,15 +57,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: body: - string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1599693259,"endTime":null,"jobId":"0c6890ada4cf411987b1c8fff2e8d20f","azureStorageBlobContainerUri":null}' + string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1601598856,"endTime":null,"jobId":"9f79064b49724b1c9896ebcd5222477d","azureStorageBlobContainerUri":null}' headers: azure-asyncoperation: - - https://managedhsm/backup/0c6890ada4cf411987b1c8fff2e8d20f/pending + - https://managedhsm/backup/9f79064b49724b1c9896ebcd5222477d/pending cache-control: - no-cache content-length: @@ -75,7 +75,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:14:19 GMT + - Fri, 02 Oct 2020 00:34:16 GMT server: - Kestrel strict-transport-security: @@ -85,14 +85,60 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '962' + - '2444' status: code: 202 message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/9f79064b49724b1c9896ebcd5222477d/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":null,"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"9f79064b49724b1c9896ebcd5222477d","startTime":1601598856,"status":"InProgress","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '216' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:34:17 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1117' + status: + code: 200 + message: OK - request: body: null headers: @@ -103,23 +149,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/backup/0c6890ada4cf411987b1c8fff2e8d20f/pending + uri: https://managedhsm/backup/9f79064b49724b1c9896ebcd5222477d/pending response: body: - string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerlpibiggddqawmbw/mhsm-chriss-eu2-2020090923141950","endTime":1599693269,"error":null,"jobId":"0c6890ada4cf411987b1c8fff2e8d20f","startTime":1599693259,"status":"Succeeded","statusDetails":null}' + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containertzdnut7zi4qw3kp/mhsm-chlowehsm-2020100200341740","endTime":1601598867,"error":null,"jobId":"9f79064b49724b1c9896ebcd5222477d","startTime":1601598856,"status":"Succeeded","statusDetails":null}' headers: cache-control: - no-cache content-length: - - '289' + - '288' content-security-policy: - default-src 'self' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:14:29 GMT + - Fri, 02 Oct 2020 00:34:27 GMT server: - Kestrel strict-transport-security: @@ -129,19 +175,65 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '599' + - '1084' status: code: 200 message: OK - request: - body: '{"folderToRestore": "mhsm-chriss-eu2-2020090923141950", "sasTokenParameters": - {"storageResourceUri": "https://storname.blob.core.windows.net/containerlpibiggddqawmbw", + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/9f79064b49724b1c9896ebcd5222477d/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containertzdnut7zi4qw3kp/mhsm-chlowehsm-2020100200341740","endTime":1601598867,"error":null,"jobId":"9f79064b49724b1c9896ebcd5222477d","startTime":1601598856,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:34:28 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '515' + status: + code: 200 + message: OK +- request: + body: '{"folderToRestore": "mhsm-chlowehsm-2020100200341740", "sasTokenParameters": + {"storageResourceUri": "https://storname.blob.core.windows.net/containertzdnut7zi4qw3kp", "token": "redacted"}}' headers: Accept: @@ -151,19 +243,19 @@ interactions: Connection: - keep-alive Content-Length: - - '314' + - '313' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT uri: https://managedhsm/restore?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"f45c5ed12efc498990690cc92ed43684","startTime":1599693271,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"InProgress","statusDetails":null}' headers: azure-asyncoperation: - - https://managedhsm/restore/f45c5ed12efc498990690cc92ed43684/pending + - https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending cache-control: - no-cache content-length: @@ -173,7 +265,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:14:30 GMT + - Fri, 02 Oct 2020 00:34:29 GMT server: - Kestrel strict-transport-security: @@ -183,14 +275,106 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '812' + - '1388' status: code: 202 message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending?api-version=7.2-preview + response: + body: + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"InProgress","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '180' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:34:30 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '985' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending + response: + body: + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"InProgress","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '180' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:34:40 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '497' + status: + code: 200 + message: OK - request: body: null headers: @@ -201,12 +385,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/f45c5ed12efc498990690cc92ed43684/pending + uri: https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"f45c5ed12efc498990690cc92ed43684","startTime":1599693271,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"InProgress","statusDetails":null}' headers: cache-control: - no-cache @@ -217,7 +401,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:14:42 GMT + - Fri, 02 Oct 2020 00:34:45 GMT server: - Kestrel strict-transport-security: @@ -227,13 +411,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '534' + - '506' status: code: 200 message: OK @@ -247,12 +431,58 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending + response: + body: + string: '{"endTime":1601598887,"error":null,"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '143' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:34:51 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '472' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/f45c5ed12efc498990690cc92ed43684/pending + uri: https://managedhsm/restore/08089b7944ef471ca45e77921ff1f5df/pending?api-version=7.2-preview response: body: - string: '{"endTime":1599693288,"error":null,"jobId":"f45c5ed12efc498990690cc92ed43684","startTime":1599693271,"status":"Succeeded","statusDetails":null}' + string: '{"endTime":1601598887,"error":null,"jobId":"08089b7944ef471ca45e77921ff1f5df","startTime":1601598870,"status":"Succeeded","statusDetails":null}' headers: cache-control: - no-cache @@ -263,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:14:50 GMT + - Fri, 02 Oct 2020 00:34:52 GMT server: - Kestrel strict-transport-security: @@ -273,13 +503,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '656' + - '487' status: code: 200 message: OK diff --git a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_selective_key_restore.yaml b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_selective_key_restore.yaml index 955f4233ba3b..aa14d58a5303 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_selective_key_restore.yaml +++ b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client.test_selective_key_restore.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/keys/selective-restore-test-keya85a1290/create?api-version=7.1 response: @@ -31,8 +31,8 @@ interactions: strict-transport-security: - max-age=31536000; includeSubDomains www-authenticate: - - Bearer authorization="https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd", - resource="https://managedhsm-int.azure-int.net" + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" x-content-type-options: - nosniff x-frame-options: @@ -56,17 +56,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/keys/selective-restore-test-keya85a1290/create?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693317,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693317},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/012b1544acb10c63b57eb1d95ebcf9c6","kty":"RSA-HSM","n":"i6Kf3a2-Jfv9735-DX9cAOONQ7OtSaKwgx84JgRs0wZFcfe1cIw7nyPnsZtHb5TJfp5oTXDj7_EZWUYIyUhwHEKpLSKK_nlAx1Y1izm_3_01nhGLtLMERg0GGQJlYCO7G8IGIKJ2XkC1EItj_LV1BNF3qozJziVOtYdycHckUpzwD5ij-VVegxwF9KeaMO8wmzVMgxyVDWctQVjuwB0-lbnZr_aJj9uo1ntEyNbpkiuxe6scJqKL3c8siu1gAeZ7K7Z0r8TEWYFEispB3NnX63AFkpMhRF8XjD4HyhTMMIU7JiBR-0h1CXrCaRb7Ys7Hpq1E5jcvdpspCbN94B3f1Q"}}' + string: '{"attributes":{"created":1601598917,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601598917},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/aae82599cd7e46d995eaad3bb5a2e97b","kty":"RSA-HSM","n":"mUkI6IIEBBybDG2b-6_ohxZbYhCAsCoJy7Hd0j_8hsLR1QezRexuNXZXFWonjKCGJDjGE7SXgGqQB56B2mpME439HjywIN9nsGr1iwS0lyHtS8dgXVo1GROZg9HOazz4Gzq11Qp7v8zbwC4S8Zl7ifqB_D2U__AdI5AGRIGWHT5rpxtQeUGw9Tbo1qVV09ihFmOaI1Gl21Ufa4ynpEAHyyj_PkPC1ccfqZ70yihLG8iHzYQULv5jU2eQPO_oaD1YfBhOMSj0Jp1nAqVF-et1bRCcyTOhD2_QWUlLRKE99IWIlbENTIWoqITrwbg95z3qVw4un3YTYtzdbntreNK4ZQ"}}' headers: cache-control: - no-cache content-length: - - '753' + - '727' content-security-policy: - default-src 'self' content-type: @@ -78,16 +78,16 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '713' + - '257' status: code: 200 message: OK - request: - body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containerr5j67u54ef7gqx7", + body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containerzychvl7fcjxrfa4", "token": "redacted"}' headers: Accept: @@ -97,19 +97,19 @@ interactions: Connection: - keep-alive Content-Length: - - '233' + - '235' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: body: - string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1599693320,"endTime":null,"jobId":"7161b3a9af704527b36d5a94c34d435c","azureStorageBlobContainerUri":null}' + string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1601598919,"endTime":null,"jobId":"90c79f44687046f9a9b8ef37d1f40455","azureStorageBlobContainerUri":null}' headers: azure-asyncoperation: - - https://managedhsm/backup/7161b3a9af704527b36d5a94c34d435c/pending + - https://managedhsm/backup/90c79f44687046f9a9b8ef37d1f40455/pending cache-control: - no-cache content-length: @@ -119,7 +119,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:20 GMT + - Fri, 02 Oct 2020 00:35:19 GMT server: - Kestrel strict-transport-security: @@ -129,14 +129,60 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '878' + - '1753' status: code: 202 message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/90c79f44687046f9a9b8ef37d1f40455/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":null,"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"90c79f44687046f9a9b8ef37d1f40455","startTime":1601598919,"status":"InProgress","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '216' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:35:21 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1233' + status: + code: 200 + message: OK - request: body: null headers: @@ -147,23 +193,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/backup/7161b3a9af704527b36d5a94c34d435c/pending + uri: https://managedhsm/backup/90c79f44687046f9a9b8ef37d1f40455/pending response: body: - string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerr5j67u54ef7gqx7/mhsm-chriss-eu2-2020090923152045","endTime":1599693331,"error":null,"jobId":"7161b3a9af704527b36d5a94c34d435c","startTime":1599693320,"status":"Succeeded","statusDetails":null}' + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerzychvl7fcjxrfa4/mhsm-chlowehsm-2020100200352018","endTime":1601598929,"error":null,"jobId":"90c79f44687046f9a9b8ef37d1f40455","startTime":1601598919,"status":"Succeeded","statusDetails":null}' headers: cache-control: - no-cache content-length: - - '289' + - '288' content-security-policy: - default-src 'self' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:30 GMT + - Fri, 02 Oct 2020 00:35:31 GMT server: - Kestrel strict-transport-security: @@ -173,20 +219,65 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '632' + - '776' status: code: 200 message: OK - request: - body: '{"folder": "mhsm-chriss-eu2-2020090923152045", "sasTokenParameters": {"storageResourceUri": - "https://storname.blob.core.windows.net/containerr5j67u54ef7gqx7", "token": - "redacted"}}' + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/90c79f44687046f9a9b8ef37d1f40455/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerzychvl7fcjxrfa4/mhsm-chlowehsm-2020100200352018","endTime":1601598929,"error":null,"jobId":"90c79f44687046f9a9b8ef37d1f40455","startTime":1601598919,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:35:31 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '906' + status: + code: 200 + message: OK +- request: + body: '{"sasTokenParameters": {"storageResourceUri": "https://storname.blob.core.windows.net/containerzychvl7fcjxrfa4", + "token": "redacted"}, "folder": "mhsm-chlowehsm-2020100200352018"}' headers: Accept: - application/json @@ -195,19 +286,19 @@ interactions: Connection: - keep-alive Content-Length: - - '303' + - '304' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT uri: https://managedhsm/keys/selective-restore-test-keya85a1290/restore?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"a364959910264ceb91edb1df21290d87","startTime":1599693332,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"InProgress","statusDetails":null}' headers: azure-asyncoperation: - - https://managedhsm/restore/a364959910264ceb91edb1df21290d87/pending + - https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending cache-control: - no-cache content-length: @@ -217,7 +308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:32 GMT + - Fri, 02 Oct 2020 00:35:32 GMT server: - Kestrel strict-transport-security: @@ -227,14 +318,60 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '853' + - '1194' status: code: 202 message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending?api-version=7.2-preview + response: + body: + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"InProgress","statusDetails":null}' + headers: + cache-control: + - no-cache + content-length: + - '180' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:35:33 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '671' + status: + code: 200 + message: OK - request: body: null headers: @@ -245,12 +382,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/a364959910264ceb91edb1df21290d87/pending + uri: https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"a364959910264ceb91edb1df21290d87","startTime":1599693332,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"InProgress","statusDetails":null}' headers: cache-control: - no-cache @@ -261,7 +398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:43 GMT + - Fri, 02 Oct 2020 00:35:44 GMT server: - Kestrel strict-transport-security: @@ -271,13 +408,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '654' + - '527' status: code: 200 message: OK @@ -291,12 +428,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/a364959910264ceb91edb1df21290d87/pending + uri: https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"a364959910264ceb91edb1df21290d87","startTime":1599693332,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"InProgress","statusDetails":null}' headers: cache-control: - no-cache @@ -307,7 +444,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:49 GMT + - Fri, 02 Oct 2020 00:35:48 GMT server: - Kestrel strict-transport-security: @@ -317,13 +454,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '610' + - '501' status: code: 200 message: OK @@ -337,12 +474,60 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending + response: + body: + string: '{"endTime":1601598949,"error":null,"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"Succeeded","statusDetails":"Number + of successful key versions restored: 0, Number of key versions could not overwrite: + 2"}' + headers: + cache-control: + - no-cache + content-length: + - '233' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 00:35:55 GMT + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: + - addr=162.211.216.102 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '473' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/a364959910264ceb91edb1df21290d87/pending + uri: https://managedhsm/restore/adb460788bad4654baa745e1268ddf37/pending?api-version=7.2-preview response: body: - string: '{"endTime":1599693349,"error":null,"jobId":"a364959910264ceb91edb1df21290d87","startTime":1599693332,"status":"Succeeded","statusDetails":"Number + string: '{"endTime":1601598949,"error":null,"jobId":"adb460788bad4654baa745e1268ddf37","startTime":1601598932,"status":"Succeeded","statusDetails":"Number of successful key versions restored: 0, Number of key versions could not overwrite: 2"}' headers: @@ -355,7 +540,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Sep 2020 23:15:54 GMT + - Fri, 02 Oct 2020 00:35:55 GMT server: - Kestrel strict-transport-security: @@ -365,13 +550,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '616' + - '484' status: code: 200 message: OK @@ -387,17 +572,17 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://managedhsm/keys/selective-restore-test-keya85a1290?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693317,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693317},"deletedDate":1599693356,"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","decrypt","encrypt"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/012b1544acb10c63b57eb1d95ebcf9c6","kty":"RSA-HSM","n":"i6Kf3a2-Jfv9735-DX9cAOONQ7OtSaKwgx84JgRs0wZFcfe1cIw7nyPnsZtHb5TJfp5oTXDj7_EZWUYIyUhwHEKpLSKK_nlAx1Y1izm_3_01nhGLtLMERg0GGQJlYCO7G8IGIKJ2XkC1EItj_LV1BNF3qozJziVOtYdycHckUpzwD5ij-VVegxwF9KeaMO8wmzVMgxyVDWctQVjuwB0-lbnZr_aJj9uo1ntEyNbpkiuxe6scJqKL3c8siu1gAeZ7K7Z0r8TEWYFEispB3NnX63AFkpMhRF8XjD4HyhTMMIU7JiBR-0h1CXrCaRb7Ys7Hpq1E5jcvdpspCbN94B3f1Q"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-keya85a1290","scheduledPurgeDate":1600298156}' + string: '{"attributes":{"created":1601598917,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601598917},"deletedDate":1601598956,"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","decrypt","encrypt"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/aae82599cd7e46d995eaad3bb5a2e97b","kty":"RSA-HSM","n":"mUkI6IIEBBybDG2b-6_ohxZbYhCAsCoJy7Hd0j_8hsLR1QezRexuNXZXFWonjKCGJDjGE7SXgGqQB56B2mpME439HjywIN9nsGr1iwS0lyHtS8dgXVo1GROZg9HOazz4Gzq11Qp7v8zbwC4S8Zl7ifqB_D2U__AdI5AGRIGWHT5rpxtQeUGw9Tbo1qVV09ihFmOaI1Gl21Ufa4ynpEAHyyj_PkPC1ccfqZ70yihLG8iHzYQULv5jU2eQPO_oaD1YfBhOMSj0Jp1nAqVF-et1bRCcyTOhD2_QWUlLRKE99IWIlbENTIWoqITrwbg95z3qVw4un3YTYtzdbntreNK4ZQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-keya85a1290","scheduledPurgeDate":1609374956}' headers: cache-control: - no-cache content-length: - - '928' + - '885' content-security-policy: - default-src 'self' content-type: @@ -409,11 +594,11 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '485' + - '183' status: code: 200 message: OK @@ -427,17 +612,17 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET uri: https://managedhsm/deletedkeys/selective-restore-test-keya85a1290?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693317,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693317},"deletedDate":1599693356,"key":{"e":"AQAB","key_ops":["encrypt","decrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/012b1544acb10c63b57eb1d95ebcf9c6","kty":"RSA-HSM","n":"i6Kf3a2-Jfv9735-DX9cAOONQ7OtSaKwgx84JgRs0wZFcfe1cIw7nyPnsZtHb5TJfp5oTXDj7_EZWUYIyUhwHEKpLSKK_nlAx1Y1izm_3_01nhGLtLMERg0GGQJlYCO7G8IGIKJ2XkC1EItj_LV1BNF3qozJziVOtYdycHckUpzwD5ij-VVegxwF9KeaMO8wmzVMgxyVDWctQVjuwB0-lbnZr_aJj9uo1ntEyNbpkiuxe6scJqKL3c8siu1gAeZ7K7Z0r8TEWYFEispB3NnX63AFkpMhRF8XjD4HyhTMMIU7JiBR-0h1CXrCaRb7Ys7Hpq1E5jcvdpspCbN94B3f1Q"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-keya85a1290","scheduledPurgeDate":1600298156}' + string: '{"attributes":{"created":1601598917,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601598917},"deletedDate":1601598956,"key":{"e":"AQAB","key_ops":["encrypt","decrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsm/keys/selective-restore-test-keya85a1290/aae82599cd7e46d995eaad3bb5a2e97b","kty":"RSA-HSM","n":"mUkI6IIEBBybDG2b-6_ohxZbYhCAsCoJy7Hd0j_8hsLR1QezRexuNXZXFWonjKCGJDjGE7SXgGqQB56B2mpME439HjywIN9nsGr1iwS0lyHtS8dgXVo1GROZg9HOazz4Gzq11Qp7v8zbwC4S8Zl7ifqB_D2U__AdI5AGRIGWHT5rpxtQeUGw9Tbo1qVV09ihFmOaI1Gl21Ufa4ynpEAHyyj_PkPC1ccfqZ70yihLG8iHzYQULv5jU2eQPO_oaD1YfBhOMSj0Jp1nAqVF-et1bRCcyTOhD2_QWUlLRKE99IWIlbENTIWoqITrwbg95z3qVw4un3YTYtzdbntreNK4ZQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-keya85a1290","scheduledPurgeDate":1609374956}' headers: cache-control: - no-cache content-length: - - '928' + - '885' content-security-policy: - default-src 'self' content-type: @@ -449,13 +634,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20200909-2-c73be597-develop + - 1.0.20200917-2-1617fc9c-develop x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '183' + - '69' status: code: 200 message: OK @@ -471,7 +656,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://managedhsm/deletedkeys/selective-restore-test-keya85a1290?api-version=7.1 response: @@ -493,11 +678,11 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=24.17.201.78 + - addr=162.211.216.102 x-ms-keyvault-region: - - EASTUS + - eastus2 x-ms-server-latency: - - '506' + - '280' status: code: 204 message: '' diff --git a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_full_backup_and_restore.yaml b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_full_backup_and_restore.yaml index a89f1a466194..761f35debf21 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_full_backup_and_restore.yaml +++ b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_full_backup_and_restore.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: @@ -21,166 +21,288 @@ interactions: content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 strict-transport-security: max-age=31536000; includeSubDomains - www-authenticate: Bearer authorization="https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd", - resource="https://managedhsm-int.azure-int.net" + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-server-latency: '1' + x-ms-server-latency: '0' status: code: 401 message: Unauthorized - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup?api-version=7.2-preview + url: https://chlowehsm.managedhsm.azure.net/backup?api-version=7.2-preview - request: - body: '{"token": "redacted", "storageResourceUri": "https://storname.blob.core.windows.net/containerukawv6vxixb3rhm"}' + body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containerbg7icm2wfp27ig3", + "token": "redacted"}' headers: Accept: - application/json Content-Length: - - '233' + - '239' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: body: - string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1599693526,"endTime":null,"jobId":"c41d7765beaa4c3eae7a1e6159f9efb2","azureStorageBlobContainerUri":null}' + string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1601591609,"endTime":null,"jobId":"294a2b2b05f14363a5880067f591e431","azureStorageBlobContainerUri":null}' headers: - azure-asyncoperation: https://managedhsm/backup/c41d7765beaa4c3eae7a1e6159f9efb2/pending + azure-asyncoperation: https://managedhsm/backup/294a2b2b05f14363a5880067f591e431/pending cache-control: no-cache content-length: '216' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:18:46 GMT + date: Thu, 01 Oct 2020 22:33:29 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '1033' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1733' status: code: 202 - message: null - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup?api-version=7.2-preview + message: '' + url: https://chlowehsm.managedhsm.azure.net/backup?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/294a2b2b05f14363a5880067f591e431/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":null,"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"294a2b2b05f14363a5880067f591e431","startTime":1601591609,"status":"InProgress","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '216' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:33:31 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '871' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/backup/294a2b2b05f14363a5880067f591e431/pending?api-version=7.2-preview - request: body: null headers: User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/backup/c41d7765beaa4c3eae7a1e6159f9efb2/pending + uri: https://managedhsm/backup/294a2b2b05f14363a5880067f591e431/pending response: body: - string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerukawv6vxixb3rhm/mhsm-chriss-eu2-2020090923184683","endTime":1599693537,"error":null,"jobId":"c41d7765beaa4c3eae7a1e6159f9efb2","startTime":1599693526,"status":"Succeeded","statusDetails":null}' + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerbg7icm2wfp27ig3/mhsm-chlowehsm-2020100122332997","endTime":1601591618,"error":null,"jobId":"294a2b2b05f14363a5880067f591e431","startTime":1601591609,"status":"Succeeded","statusDetails":null}' headers: cache-control: no-cache - content-length: '289' + content-length: '288' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:18:57 GMT + date: Thu, 01 Oct 2020 22:33:41 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '641' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '472' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup/c41d7765beaa4c3eae7a1e6159f9efb2/pending + url: https://chlowehsm.managedhsm.azure.net/backup/294a2b2b05f14363a5880067f591e431/pending - request: - body: '{"folderToRestore": "mhsm-chriss-eu2-2020090923184683", "sasTokenParameters": - {"token": "redacted", "storageResourceUri": "https://storname.blob.core.windows.net/containerukawv6vxixb3rhm"}}' + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/294a2b2b05f14363a5880067f591e431/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerbg7icm2wfp27ig3/mhsm-chlowehsm-2020100122332997","endTime":1601591618,"error":null,"jobId":"294a2b2b05f14363a5880067f591e431","startTime":1601591609,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '288' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:33:42 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '447' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/backup/294a2b2b05f14363a5880067f591e431/pending?api-version=7.2-preview +- request: + body: '{"folderToRestore": "mhsm-chlowehsm-2020100122332997", "sasTokenParameters": + {"storageResourceUri": "https://storname.blob.core.windows.net/containerbg7icm2wfp27ig3", + "token": "redacted"}}' headers: Accept: - application/json Content-Length: - - '312' + - '317' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT uri: https://managedhsm/restore?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"e82968b7701143aeaddcc851525eca02","startTime":1599693539,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"3004a649aa6844edb289a5f1bc0db202","startTime":1601591622,"status":"InProgress","statusDetails":null}' headers: - azure-asyncoperation: https://managedhsm/restore/e82968b7701143aeaddcc851525eca02/pending + azure-asyncoperation: https://managedhsm/restore/3004a649aa6844edb289a5f1bc0db202/pending cache-control: no-cache content-length: '180' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:18:59 GMT + date: Thu, 01 Oct 2020 22:33:42 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '932' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '608' status: code: 202 - message: null - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/restore?api-version=7.2-preview + message: '' + url: https://chlowehsm.managedhsm.azure.net/restore?api-version=7.2-preview - request: body: null headers: + Accept: + - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/e82968b7701143aeaddcc851525eca02/pending + uri: https://managedhsm/restore/3004a649aa6844edb289a5f1bc0db202/pending?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"e82968b7701143aeaddcc851525eca02","startTime":1599693539,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"3004a649aa6844edb289a5f1bc0db202","startTime":1601591622,"status":"InProgress","statusDetails":null}' headers: cache-control: no-cache content-length: '180' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:19:10 GMT + date: Thu, 01 Oct 2020 22:33:43 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '675' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '447' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/restore/e82968b7701143aeaddcc851525eca02/pending + url: https://chlowehsm.managedhsm.azure.net/restore/3004a649aa6844edb289a5f1bc0db202/pending?api-version=7.2-preview - request: body: null headers: User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/3004a649aa6844edb289a5f1bc0db202/pending + response: + body: + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"3004a649aa6844edb289a5f1bc0db202","startTime":1601591622,"status":"InProgress","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '180' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:33:54 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '456' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/restore/3004a649aa6844edb289a5f1bc0db202/pending +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/3004a649aa6844edb289a5f1bc0db202/pending + response: + body: + string: '{"endTime":1601591639,"error":null,"jobId":"3004a649aa6844edb289a5f1bc0db202","startTime":1601591622,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '143' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:33:59 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '478' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/restore/3004a649aa6844edb289a5f1bc0db202/pending +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/e82968b7701143aeaddcc851525eca02/pending + uri: https://managedhsm/restore/3004a649aa6844edb289a5f1bc0db202/pending?api-version=7.2-preview response: body: - string: '{"endTime":1599693551,"error":null,"jobId":"e82968b7701143aeaddcc851525eca02","startTime":1599693539,"status":"Succeeded","statusDetails":null}' + string: '{"endTime":1601591639,"error":null,"jobId":"3004a649aa6844edb289a5f1bc0db202","startTime":1601591622,"status":"Succeeded","statusDetails":null}' headers: cache-control: no-cache content-length: '143' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:19:17 GMT + date: Thu, 01 Oct 2020 22:34:00 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '629' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '440' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/restore/e82968b7701143aeaddcc851525eca02/pending + url: https://chlowehsm.managedhsm.azure.net/restore/3004a649aa6844edb289a5f1bc0db202/pending?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_selective_key_restore.yaml b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_selective_key_restore.yaml index 02cc71c423fa..040bfb628da1 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_selective_key_restore.yaml +++ b/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_backup_client_async.test_selective_key_restore.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/keys/selective-restore-test-key20e5150d/create?api-version=7.1 response: @@ -21,15 +21,15 @@ interactions: content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 strict-transport-security: max-age=31536000; includeSubDomains - www-authenticate: Bearer authorization="https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd", - resource="https://managedhsm-int.azure-int.net" + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-server-latency: '0' + x-ms-server-latency: '1' status: code: 401 message: Unauthorized - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/keys/selective-restore-test-key20e5150d/create?api-version=7.1 + url: https://chlowehsm.managedhsm.azure.net/keys/selective-restore-test-key20e5150d/create?api-version=7.1 - request: body: '{"kty": "RSA"}' headers: @@ -40,274 +40,391 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/keys/selective-restore-test-key20e5150d/create?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693613,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693613},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/7500af2095d145ba1792f41a676385a2","kty":"RSA-HSM","n":"nk0J5UifiL3C-Wb2BzSUMAR8wDVPGIa5eMT0GNHBLjKai-IMj5GF55-yHD-GP2qQgrDWIIPM2wD5j03fcTqdehqSlyOrqBrRTqfBi2dc8hRuZr9bPttLwqrWzQR3mFag5PiDYvSMBj0cRNcp6ZlIONbMcaq68SV8H559sKowLxJIhF4z-5GRfCJboxvcLwtIGSvuv9HnB4qkrJF5tT9OOqeFQUGJgD01XmACGOZedKhJXzUqhUGm8XvwYDHx0aKXebWudw34ClAl7lWIMw5bd2DR-GUQ9T9i-bj4ipkosVZtZl4iyexhWFjKECJZC53kdLJ7K6rW-wlPb2129DvfwQ"}}' + string: '{"attributes":{"created":1601591665,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601591665},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/5cfeb43beec2485f1e716e7f905f9125","kty":"RSA-HSM","n":"rUiCMBpOm5LvgUekk5uws7D3MKrb6UWDLIwd1jxg9ntpPVbU-nVvGVwg4XwTPx7q5H_cTSaNnf3v1jIzA4kvqYPa21Lr4TRve9AeUcySCDz67N4hrVPncYWMQgQeAVgvkIiN2050-BpwQ6xI988HMwXX_8HTSRyvWw-ftavPFSvQwgAPbmpmLTdfq-zY8fW0tCps_xJnKyRk8kwcG8PMCuxnD_Mq6al3z_zcnjG5c6KSXxIc0_y9p2yHDJBSUYEspTNAxlz5ROU2XPxzrx7LvFA_yO-MJX2hIJoOxNBdNM4Qkjy16pgWcHQ1Dh6t5hX_GqCQGrWX0kCCCkDXeVPGPQ"}}' headers: cache-control: no-cache - content-length: '753' + content-length: '727' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '719' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '280' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/keys/selective-restore-test-key20e5150d/create?api-version=7.1 + url: https://chlowehsm.managedhsm.azure.net/keys/selective-restore-test-key20e5150d/create?api-version=7.1 - request: - body: null + body: '{"storageResourceUri": "https://storname.blob.core.windows.net/containerst5uppuukrzgyab", + "token": "redacted"}' headers: Accept: - application/json Content-Length: - - '0' + - '233' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST uri: https://managedhsm/backup?api-version=7.2-preview response: body: - string: '' + string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1601591667,"endTime":null,"jobId":"089db62f03fc4f90b16b6ec1b0994fce","azureStorageBlobContainerUri":null}' headers: + azure-asyncoperation: https://managedhsm/backup/089db62f03fc4f90b16b6ec1b0994fce/pending cache-control: no-cache - content-length: '0' + content-length: '216' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:34:26 GMT + server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains - www-authenticate: Bearer authorization="https://login.windows-ppe.net/f686d426-8d16-42db-81b7-ab578e110ccd", - resource="https://managedhsm-int.azure-int.net" x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-server-latency: '1' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '615' status: - code: 401 - message: Unauthorized - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup?api-version=7.2-preview + code: 202 + message: '' + url: https://chlowehsm.managedhsm.azure.net/backup?api-version=7.2-preview - request: - body: '{"storageResourceUri": "https://storname.blob.core.windows.net/container46nad73wruezm7t", - "token": "redacted"}' + body: null headers: Accept: - application/json - Content-Length: - - '233' - Content-Type: - - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://managedhsm/backup?api-version=7.2-preview + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/089db62f03fc4f90b16b6ec1b0994fce/pending?api-version=7.2-preview response: body: - string: '{"status":"InProgress","statusDetails":null,"error":{"code":null,"message":null,"innererror":null},"startTime":1599693615,"endTime":null,"jobId":"6dd3d9ef3c4340d583da7967d366f43c","azureStorageBlobContainerUri":null}' + string: '{"azureStorageBlobContainerUri":null,"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"089db62f03fc4f90b16b6ec1b0994fce","startTime":1601591667,"status":"InProgress","statusDetails":null}' headers: - azure-asyncoperation: https://managedhsm/backup/6dd3d9ef3c4340d583da7967d366f43c/pending cache-control: no-cache content-length: '216' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:20:14 GMT + date: Thu, 01 Oct 2020 22:34:27 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '880' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '457' status: - code: 202 - message: null - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup?api-version=7.2-preview + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/backup/089db62f03fc4f90b16b6ec1b0994fce/pending?api-version=7.2-preview - request: body: null headers: User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/backup/6dd3d9ef3c4340d583da7967d366f43c/pending + uri: https://managedhsm/backup/089db62f03fc4f90b16b6ec1b0994fce/pending response: body: - string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/container46nad73wruezm7t/mhsm-chriss-eu2-2020090923201530","endTime":1599693626,"error":null,"jobId":"6dd3d9ef3c4340d583da7967d366f43c","startTime":1599693615,"status":"Succeeded","statusDetails":null}' + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerst5uppuukrzgyab/mhsm-chlowehsm-2020100122342733","endTime":1601591676,"error":null,"jobId":"089db62f03fc4f90b16b6ec1b0994fce","startTime":1601591667,"status":"Succeeded","statusDetails":null}' headers: cache-control: no-cache - content-length: '289' + content-length: '288' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:20:26 GMT + date: Thu, 01 Oct 2020 22:34:37 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '636' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '483' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/backup/6dd3d9ef3c4340d583da7967d366f43c/pending + url: https://chlowehsm.managedhsm.azure.net/backup/089db62f03fc4f90b16b6ec1b0994fce/pending - request: - body: '{"sasTokenParameters": {"storageResourceUri": "https://storname.blob.core.windows.net/container46nad73wruezm7t", - "token": "redacted"}, "folder": "mhsm-chriss-eu2-2020090923201530"}' + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/backup/089db62f03fc4f90b16b6ec1b0994fce/pending?api-version=7.2-preview + response: + body: + string: '{"azureStorageBlobContainerUri":"https://storname.blob.core.windows.net/containerst5uppuukrzgyab/mhsm-chlowehsm-2020100122342733","endTime":1601591676,"error":null,"jobId":"089db62f03fc4f90b16b6ec1b0994fce","startTime":1601591667,"status":"Succeeded","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '288' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:34:38 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '491' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/backup/089db62f03fc4f90b16b6ec1b0994fce/pending?api-version=7.2-preview +- request: + body: '{"sasTokenParameters": {"storageResourceUri": "https://storname.blob.core.windows.net/containerst5uppuukrzgyab", + "token": "redacted"}, "folder": "mhsm-chlowehsm-2020100122342733"}' headers: Accept: - application/json Content-Length: - - '303' + - '302' Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT uri: https://managedhsm/keys/selective-restore-test-key20e5150d/restore?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"d8ca0b63bcac42f9b36997f4e163db2f","startTime":1599693627,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"689318b514cc47dc93f41325ed3c15ac","startTime":1601591679,"status":"InProgress","statusDetails":null}' headers: - azure-asyncoperation: https://managedhsm/restore/d8ca0b63bcac42f9b36997f4e163db2f/pending + azure-asyncoperation: https://managedhsm/restore/689318b514cc47dc93f41325ed3c15ac/pending cache-control: no-cache content-length: '180' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:20:27 GMT + date: Thu, 01 Oct 2020 22:34:39 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '898' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '638' status: code: 202 - message: null - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/keys/selective-restore-test-key20e5150d/restore?api-version=7.2-preview + message: '' + url: https://chlowehsm.managedhsm.azure.net/keys/selective-restore-test-key20e5150d/restore?api-version=7.2-preview - request: body: null headers: + Accept: + - application/json User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/d8ca0b63bcac42f9b36997f4e163db2f/pending + uri: https://managedhsm/restore/689318b514cc47dc93f41325ed3c15ac/pending?api-version=7.2-preview response: body: - string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"d8ca0b63bcac42f9b36997f4e163db2f","startTime":1599693627,"status":"InProgress","statusDetails":null}' + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"689318b514cc47dc93f41325ed3c15ac","startTime":1601591679,"status":"InProgress","statusDetails":null}' headers: cache-control: no-cache content-length: '180' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:20:38 GMT + date: Thu, 01 Oct 2020 22:34:39 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '656' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '472' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/restore/d8ca0b63bcac42f9b36997f4e163db2f/pending + url: https://chlowehsm.managedhsm.azure.net/restore/689318b514cc47dc93f41325ed3c15ac/pending?api-version=7.2-preview - request: body: null headers: User-Agent: - - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://managedhsm/restore/d8ca0b63bcac42f9b36997f4e163db2f/pending + uri: https://managedhsm/restore/689318b514cc47dc93f41325ed3c15ac/pending response: body: - string: '{"endTime":1599693639,"error":null,"jobId":"d8ca0b63bcac42f9b36997f4e163db2f","startTime":1599693627,"status":"Succeeded","statusDetails":"Number + string: '{"endTime":null,"error":{"code":null,"innererror":null,"message":null},"jobId":"689318b514cc47dc93f41325ed3c15ac","startTime":1601591679,"status":"InProgress","statusDetails":null}' + headers: + cache-control: no-cache + content-length: '180' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:34:50 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '443' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/restore/689318b514cc47dc93f41325ed3c15ac/pending +- request: + body: null + headers: + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/689318b514cc47dc93f41325ed3c15ac/pending + response: + body: + string: '{"endTime":1601591696,"error":null,"jobId":"689318b514cc47dc93f41325ed3c15ac","startTime":1601591679,"status":"Succeeded","statusDetails":"Number + of successful key versions restored: 0, Number of key versions could not overwrite: + 3"}' + headers: + cache-control: no-cache + content-length: '233' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + date: Thu, 01 Oct 2020 22:34:56 GMT + server: Kestrel + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '924' + status: + code: 200 + message: OK + url: https://chlowehsm.managedhsm.azure.net/restore/689318b514cc47dc93f41325ed3c15ac/pending +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-administration/4.0.0b2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsm/restore/689318b514cc47dc93f41325ed3c15ac/pending?api-version=7.2-preview + response: + body: + string: '{"endTime":1601591696,"error":null,"jobId":"689318b514cc47dc93f41325ed3c15ac","startTime":1601591679,"status":"Succeeded","statusDetails":"Number of successful key versions restored: 0, Number of key versions could not overwrite: - 2"}' + 3"}' headers: cache-control: no-cache content-length: '233' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 - date: Wed, 09 Sep 2020 23:20:44 GMT + date: Thu, 01 Oct 2020 22:34:57 GMT server: Kestrel strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '655' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '711' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/restore/d8ca0b63bcac42f9b36997f4e163db2f/pending + url: https://chlowehsm.managedhsm.azure.net/restore/689318b514cc47dc93f41325ed3c15ac/pending?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://managedhsm/keys/selective-restore-test-key20e5150d?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693613,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693613},"deletedDate":1599693645,"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","decrypt","encrypt"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/7500af2095d145ba1792f41a676385a2","kty":"RSA-HSM","n":"nk0J5UifiL3C-Wb2BzSUMAR8wDVPGIa5eMT0GNHBLjKai-IMj5GF55-yHD-GP2qQgrDWIIPM2wD5j03fcTqdehqSlyOrqBrRTqfBi2dc8hRuZr9bPttLwqrWzQR3mFag5PiDYvSMBj0cRNcp6ZlIONbMcaq68SV8H559sKowLxJIhF4z-5GRfCJboxvcLwtIGSvuv9HnB4qkrJF5tT9OOqeFQUGJgD01XmACGOZedKhJXzUqhUGm8XvwYDHx0aKXebWudw34ClAl7lWIMw5bd2DR-GUQ9T9i-bj4ipkosVZtZl4iyexhWFjKECJZC53kdLJ7K6rW-wlPb2129DvfwQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-key20e5150d","scheduledPurgeDate":1600298445}' + string: '{"error":{"code":"Conflict","message":"User triggered Restore operation + is in progress. Retry after the restore operation (Activity ID: d9c5d3c6-0335-11eb-b520-0242ac120008)"}}' headers: cache-control: no-cache - content-length: '928' + content-length: '176' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '483' + x-ms-server-latency: '1' + status: + code: 409 + message: '' + url: https://chlowehsm.managedhsm.azure.net/keys/selective-restore-test-key20e5150d?api-version=7.1 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsm/keys/selective-restore-test-key20e5150d?api-version=7.1 + response: + body: + string: '{"attributes":{"created":1601591665,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601591665},"deletedDate":1601591701,"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","decrypt","encrypt"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/5cfeb43beec2485f1e716e7f905f9125","kty":"RSA-HSM","n":"rUiCMBpOm5LvgUekk5uws7D3MKrb6UWDLIwd1jxg9ntpPVbU-nVvGVwg4XwTPx7q5H_cTSaNnf3v1jIzA4kvqYPa21Lr4TRve9AeUcySCDz67N4hrVPncYWMQgQeAVgvkIiN2050-BpwQ6xI988HMwXX_8HTSRyvWw-ftavPFSvQwgAPbmpmLTdfq-zY8fW0tCps_xJnKyRk8kwcG8PMCuxnD_Mq6al3z_zcnjG5c6KSXxIc0_y9p2yHDJBSUYEspTNAxlz5ROU2XPxzrx7LvFA_yO-MJX2hIJoOxNBdNM4Qkjy16pgWcHQ1Dh6t5hX_GqCQGrWX0kCCCkDXeVPGPQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-key20e5150d","scheduledPurgeDate":1609367701}' + headers: + cache-control: no-cache + content-length: '885' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '194' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/keys/selective-restore-test-key20e5150d?api-version=7.1 + url: https://chlowehsm.managedhsm.azure.net/keys/selective-restore-test-key20e5150d?api-version=7.1 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET uri: https://managedhsm/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 response: body: - string: '{"attributes":{"created":1599693613,"enabled":true,"exportable":false,"recoverableDays":7,"recoveryLevel":"CustomizedRecoverable+Purgeable","updated":1599693613},"deletedDate":1599693645,"key":{"e":"AQAB","key_ops":["encrypt","decrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/7500af2095d145ba1792f41a676385a2","kty":"RSA-HSM","n":"nk0J5UifiL3C-Wb2BzSUMAR8wDVPGIa5eMT0GNHBLjKai-IMj5GF55-yHD-GP2qQgrDWIIPM2wD5j03fcTqdehqSlyOrqBrRTqfBi2dc8hRuZr9bPttLwqrWzQR3mFag5PiDYvSMBj0cRNcp6ZlIONbMcaq68SV8H559sKowLxJIhF4z-5GRfCJboxvcLwtIGSvuv9HnB4qkrJF5tT9OOqeFQUGJgD01XmACGOZedKhJXzUqhUGm8XvwYDHx0aKXebWudw34ClAl7lWIMw5bd2DR-GUQ9T9i-bj4ipkosVZtZl4iyexhWFjKECJZC53kdLJ7K6rW-wlPb2129DvfwQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-key20e5150d","scheduledPurgeDate":1600298445}' + string: '{"attributes":{"created":1601591665,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1601591665},"deletedDate":1601591701,"key":{"e":"AQAB","key_ops":["encrypt","decrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsm/keys/selective-restore-test-key20e5150d/5cfeb43beec2485f1e716e7f905f9125","kty":"RSA-HSM","n":"rUiCMBpOm5LvgUekk5uws7D3MKrb6UWDLIwd1jxg9ntpPVbU-nVvGVwg4XwTPx7q5H_cTSaNnf3v1jIzA4kvqYPa21Lr4TRve9AeUcySCDz67N4hrVPncYWMQgQeAVgvkIiN2050-BpwQ6xI988HMwXX_8HTSRyvWw-ftavPFSvQwgAPbmpmLTdfq-zY8fW0tCps_xJnKyRk8kwcG8PMCuxnD_Mq6al3z_zcnjG5c6KSXxIc0_y9p2yHDJBSUYEspTNAxlz5ROU2XPxzrx7LvFA_yO-MJX2hIJoOxNBdNM4Qkjy16pgWcHQ1Dh6t5hX_GqCQGrWX0kCCCkDXeVPGPQ"},"recoveryId":"https://managedhsm/deletedkeys/selective-restore-test-key20e5150d","scheduledPurgeDate":1609367701}' headers: cache-control: no-cache - content-length: '928' + content-length: '885' content-security-policy: default-src 'self' content-type: application/json; charset=utf-8 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20200909-2-c73be597-develop - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '192' + x-ms-build-version: 1.0.20200917-2-1617fc9c-develop + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '65' status: code: 200 message: OK - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 + url: https://chlowehsm.managedhsm.azure.net/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 - request: body: null headers: User-Agent: - - azsdk-python-keyvault-keys/4.2.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.2.1 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://managedhsm/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 response: @@ -321,11 +438,11 @@ interactions: strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=24.17.201.78 - x-ms-keyvault-region: EASTUS - x-ms-server-latency: '545' + x-ms-keyvault-network-info: addr=162.211.216.102 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '238' status: code: 204 - message: null - url: https://eastus2.chriss-eu2.managedhsm-int.azure-int.net/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 + message: '' + url: https://chlowehsm.managedhsm.azure.net/deletedkeys/selective-restore-test-key20e5150d?api-version=7.1 version: 1 diff --git a/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client.py b/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client.py index 22b510c02e64..ced704835353 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client.py +++ b/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client.py @@ -3,9 +3,11 @@ # Licensed under the MIT License. # ------------------------------------ from datetime import datetime +from functools import partial import time from azure.core.credentials import AccessToken +from azure.core.exceptions import ResourceExistsError from azure.identity import DefaultAzureCredential from azure.keyvault.keys import KeyClient from azure.keyvault.administration import KeyVaultBackupClient, BackupOperation @@ -40,14 +42,28 @@ def test_full_backup_and_restore(self, container_uri, sas_token): # backup the vault backup_client = KeyVaultBackupClient(self.managed_hsm["url"], self.credential) backup_poller = backup_client.begin_full_backup(container_uri, sas_token) + + # check backup status and result + job_id = backup_poller.polling_method().resource().id + backup_status = backup_client.get_backup_status(job_id) + assert_in_progress_operation(backup_status) backup_operation = backup_poller.result() assert_successful_operation(backup_operation) + backup_status = backup_client.get_backup_status(job_id) + assert_successful_operation(backup_status) # restore the backup folder_name = backup_operation.azure_storage_blob_container_uri.split("/")[-1] restore_poller = backup_client.begin_full_restore(container_uri, sas_token, folder_name) + + # check restore status and result + job_id = restore_poller.polling_method().resource().id + restore_status = backup_client.get_restore_status(job_id) + assert_in_progress_operation(restore_status) restore_operation = restore_poller.result() assert_successful_operation(restore_operation) + restore_status = backup_client.get_restore_status(job_id) + assert_successful_operation(restore_status) @ResourceGroupPreparer(random_name_enabled=True, use_cache=True) @StorageAccountPreparer(random_name_enabled=True) @@ -61,16 +77,33 @@ def test_selective_key_restore(self, container_uri, sas_token): # backup the vault backup_client = KeyVaultBackupClient(self.managed_hsm["url"], self.credential) backup_poller = backup_client.begin_full_backup(container_uri, sas_token) + + # check backup status and result + job_id = backup_poller.polling_method().resource().id + backup_status = backup_client.get_backup_status(job_id) + assert_in_progress_operation(backup_status) backup_operation = backup_poller.result() assert_successful_operation(backup_operation) + backup_status = backup_client.get_backup_status(job_id) + assert_successful_operation(backup_status) # restore the key folder_name = backup_operation.azure_storage_blob_container_uri.split("/")[-1] restore_poller = backup_client.begin_selective_restore(container_uri, sas_token, folder_name, key_name) + + # check restore status and result + job_id = restore_poller.polling_method().resource().id + restore_status = backup_client.get_restore_status(job_id) + assert_in_progress_operation(restore_status) restore_operation = restore_poller.result() assert_successful_operation(restore_operation) + restore_status = backup_client.get_restore_status(job_id) + assert_successful_operation(restore_status) - key_client.begin_delete_key(key_name).wait() + # delete the key + delete_function = partial(key_client.begin_delete_key, key_name) + delete_poller = self._poll_until_no_exception(delete_function, ResourceExistsError) + delete_poller.wait() key_client.purge_deleted_key(key_name) @@ -93,6 +126,14 @@ def test_continuation_token(): assert kwargs["continuation_token"] == expected_token +def assert_in_progress_operation(operation): + if isinstance(operation, BackupOperation): + assert operation.azure_storage_blob_container_uri is None + assert operation.status == "InProgress" + assert operation.end_time is None + assert isinstance(operation.start_time, datetime) + + def assert_successful_operation(operation): if isinstance(operation, BackupOperation): assert operation.azure_storage_blob_container_uri diff --git a/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client_async.py b/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client_async.py index 8e9fee466006..8cff903b143b 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client_async.py +++ b/sdk/keyvault/azure-keyvault-administration/tests/test_backup_client_async.py @@ -7,6 +7,7 @@ from unittest import mock from azure.core.credentials import AccessToken +from azure.core.exceptions import ResourceExistsError from azure.identity.aio import DefaultAzureCredential from azure.keyvault.keys.aio import KeyClient from azure.keyvault.administration.aio import KeyVaultBackupClient @@ -16,6 +17,7 @@ from _shared.helpers_async import get_completed_future from _shared.test_case_async import KeyVaultTestCase from blob_container_preparer import BlobContainerPreparer +from test_backup_client import assert_in_progress_operation from test_backup_client import assert_successful_operation @@ -46,14 +48,28 @@ async def test_full_backup_and_restore(self, container_uri, sas_token): # backup the vault backup_client = KeyVaultBackupClient(self.managed_hsm["url"], self.credential) backup_poller = await backup_client.begin_full_backup(container_uri, sas_token) + + # check backup status and result + job_id = backup_poller.polling_method().resource().id + backup_status = await backup_client.get_backup_status(job_id) + assert_in_progress_operation(backup_status) backup_operation = await backup_poller.result() assert_successful_operation(backup_operation) + backup_status = await backup_client.get_backup_status(job_id) + assert_successful_operation(backup_status) # restore the backup folder_name = backup_operation.azure_storage_blob_container_uri.split("/")[-1] restore_poller = await backup_client.begin_full_restore(container_uri, sas_token, folder_name) + + # check restore status and result + job_id = restore_poller.polling_method().resource().id + restore_status = await backup_client.get_restore_status(job_id) + assert_in_progress_operation(restore_status) restore_operation = await restore_poller.result() assert_successful_operation(restore_operation) + restore_status = await backup_client.get_restore_status(job_id) + assert_successful_operation(restore_status) @ResourceGroupPreparer(random_name_enabled=True, use_cache=True) @StorageAccountPreparer(random_name_enabled=True) @@ -67,16 +83,31 @@ async def test_selective_key_restore(self, container_uri, sas_token): # backup the vault backup_client = KeyVaultBackupClient(self.managed_hsm["url"], self.credential) backup_poller = await backup_client.begin_full_backup(container_uri, sas_token) + + # check backup status and result + job_id = backup_poller.polling_method().resource().id + backup_status = await backup_client.get_backup_status(job_id) + assert_in_progress_operation(backup_status) backup_operation = await backup_poller.result() assert_successful_operation(backup_operation) + backup_status = await backup_client.get_backup_status(job_id) + assert_successful_operation(backup_status) # restore the key folder_name = backup_operation.azure_storage_blob_container_uri.split("/")[-1] restore_poller = await backup_client.begin_selective_restore(container_uri, sas_token, folder_name, key_name) + + # check restore status and result + job_id = restore_poller.polling_method().resource().id + restore_status = await backup_client.get_restore_status(job_id) + assert_in_progress_operation(restore_status) restore_operation = await restore_poller.result() assert_successful_operation(restore_operation) + restore_status = await backup_client.get_restore_status(job_id) + assert_successful_operation(restore_status) - await key_client.delete_key(key_name) + # delete the key + await self._poll_until_no_exception(key_client.delete_key, key_name, expected_exception=ResourceExistsError) await key_client.purge_deleted_key(key_name) From 5f61290620c6f7c41f4e202bb26210eda7e04cd4 Mon Sep 17 00:00:00 2001 From: turalf Date: Fri, 2 Oct 2020 12:11:00 -0700 Subject: [PATCH 54/71] Update communication pacakges to version b2 (#14209) Co-authored-by: Tural Farhadov --- .../azure-communication-administration/CHANGELOG.md | 2 ++ .../azure/communication/administration/_version.py | 2 +- sdk/communication/azure-communication-administration/setup.py | 2 +- sdk/communication/azure-communication-chat/CHANGELOG.md | 2 ++ .../azure/communication/chat/_version.py | 2 +- sdk/communication/azure-communication-sms/CHANGELOG.md | 2 ++ .../azure-communication-sms/azure/communication/sms/_version.py | 2 +- 7 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sdk/communication/azure-communication-administration/CHANGELOG.md b/sdk/communication/azure-communication-administration/CHANGELOG.md index b0f01d401436..40fe7b67ed80 100644 --- a/sdk/communication/azure-communication-administration/CHANGELOG.md +++ b/sdk/communication/azure-communication-administration/CHANGELOG.md @@ -1,4 +1,6 @@ # Release History +## 1.0.0b2 (Unreleased) + ## 1.0.0b1 (2020-09-22) - Preview release of the package \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_version.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_version.py index aa36e50db76a..78fb9dbb8835 100644 --- a/sdk/communication/azure-communication-administration/azure/communication/administration/_version.py +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_version.py @@ -4,6 +4,6 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "1.0.0b2" SDK_MONIKER = "communication-administration/{}".format(VERSION) # type: str diff --git a/sdk/communication/azure-communication-administration/setup.py b/sdk/communication/azure-communication-administration/setup.py index 4fa38abb553c..a2e816438094 100644 --- a/sdk/communication/azure-communication-administration/setup.py +++ b/sdk/communication/azure-communication-administration/setup.py @@ -43,7 +43,7 @@ license='MIT License', # ensure that the development status reflects the status of your package classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Programming Language :: Python :: 2', diff --git a/sdk/communication/azure-communication-chat/CHANGELOG.md b/sdk/communication/azure-communication-chat/CHANGELOG.md index c3134c141d5c..8aa0698e55c5 100644 --- a/sdk/communication/azure-communication-chat/CHANGELOG.md +++ b/sdk/communication/azure-communication-chat/CHANGELOG.md @@ -1,4 +1,6 @@ # Release History +## 1.0.0b2 (Unreleased) + ## 1.0.0b1 (2020-09-22) - Add ChatClient and ChatThreadClient diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_version.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_version.py index 46d66e577f16..8f65aefa51c7 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_version.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_version.py @@ -4,6 +4,6 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "1.0.0b2" SDK_MONIKER = "communication-chat/{}".format(VERSION) # type: str diff --git a/sdk/communication/azure-communication-sms/CHANGELOG.md b/sdk/communication/azure-communication-sms/CHANGELOG.md index c53341f8f56c..8fb2d78c4e5c 100644 --- a/sdk/communication/azure-communication-sms/CHANGELOG.md +++ b/sdk/communication/azure-communication-sms/CHANGELOG.md @@ -1,4 +1,6 @@ # Release History +## 1.0.0b2 (Unreleased) + ## 1.0.0b1 (2020-09-22) - Preview release of the package diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_version.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_version.py index af0484c4470b..5d682ff07107 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_version.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_version.py @@ -4,6 +4,6 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "1.0.0b2" SDK_MONIKER = "communication-sms/{}".format(VERSION) # type: str From 97c43d151f2e34430d82c9f8e578c94c38f4a3fa Mon Sep 17 00:00:00 2001 From: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Date: Fri, 2 Oct 2020 13:16:16 -0700 Subject: [PATCH 55/71] Feature/storage stg74 (#14175) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Storage][Generate]Generate Blob, Share, Datalake code * regenerate code * reverted undelete container changes (#13377) * [ADLS]change api version * Added Last Access Time Feature (#13433) * converted BlobItemInternal to BlobProperties and added the attribute in model's BlobProperties * removed none default * added unit test for get properties with lat * more unit tests * fixed failing test * added docstrings and addeed extra test * Update sdk/storage/azure-storage-blob/azure/storage/blob/_models.py Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * [Swagger]regenerate swagger for file-share * Added SMB Multichannel protocol (#13795) * added smb multichannel feature * added protocol properties to desarialize * added two more classes * better docstrings * added test and everything is working * added async * passing tests * fixed var names * Merge master again (#13967) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 916 (#13374) * Update Language Settings File (#13389) * [Storage]Revert equal sign in async (#13501) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 930 (#13384) * fix authorization header on asyncio requests containing url-encoded chars (#13346) * fix authorization header on asyncio requests containing url-encoded-able characters (=, ! etc) * edit all authentication files and add a test Co-authored-by: xiafu * If match headers (#13315) * verifying match conditions are correct, adding tests for other conditions * changes to verify etag is working, think it's being ignored by service * another change to test file, passing the correct etag to the service, it returns a 204 so no error is produced * renaming vars * testing for if-match conditions to make sure they are properly parsed and sent to service * reverting header back * testing update to reflect new response in create_entity * [text analytics] link opinion mining in the readme (#13493) * modify bing id docstring to mention Bing Entity Search more (#13509) * Tableitem metadata (#13445) * started collecting metadata, issue with asynciterator not being iterable * simplifying code, improving testing * issue with one recording, reran and seems good to go * fixing doc strings * fixed two tests, skipped another one. AsyncPageIterator is missing something to make it an iterator * new recording and skipping one test until can figure out AsyncPageIterator issue * adding asserts * add test for date and table_name, api_version is not returned unless full_metadata is specified * [EventGrid] Receive Functions (#13428) * initial changes * comments * str * static * from_json * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/_helpers.py * Fix storage file datalake readme and samples issues (#12512) * Fix storage file datalake readme issues * Update README.md * Make doc-owner recommended revisions to eventhub readme and samples. (#13518) Move auth samples into samples and link from readme rather than line. Add snippets to the top of samples lacking any verbiage. Whitespace improvements in client auth sample Explicit samples for connstr auth to link from new terse readme auth section. * [ServiceBus] Clean up README prior to P6 with doc-owner recommendations. (#13511) * Remove long-form samples from readme authentication section and move them into formal samples with URIs. (This by recommendation of docs folks, and supported via UX interview with user stating that the README was getting long in the teeth with this section being less critical) * Live pipeline issues (#13526) * changes to the tests that reflects the new serialization of EntityProperties, failing on acl payloads and sas signed identifiers * re-generated code, fixed a couple test methods, solved the media type issue for AccessPolicies, re-recorded tests because of changes in EntityProperty * updating a recording that slipped through * 404 python erroring sanitize_setup. should not be (#13532) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 946 (#13533) * update release date for Sep (#13371) * update release date for Sep * fix typo * update release date for Sep (#13370) * update changelog (#13369) * [text analytics] add --pre suffix to pip install (#13523) * Change prerelease versioning (#13500) - Use a instead of dev - Fix dev to alpha for regression test - Clean-up some devops feed publishing steps * add test for opinion in diff sentence (#13524) * don't want to exclude mgmt. auto-increments are fine here (#13549) * [keyvault] fix include_pending param and 2016-10-01 compatibility (#13161) * Add redirect_uri argument to InteractiveBrowserCredential (#13480) * Sync eng/common directory with azure-sdk-tools for PR 955 (#13553) * Increment package version after release of azure_storage_file_datalake (#13111) * Increment package version after release of azure_storage_file_share (#13106) * Clean up "?" if there is no query in request URL (#13530) * cleaned up the ? in source urls * [devtool]turn primary_endpoint and key from unicode into str Co-authored-by: xiafu * Update readme samples (#13486) * updated each sample to use env variables, more informative print statements * updating readme with more accurate links, still missing a few * grammar fixes * added a readme, and async versions for auth and create/delete operations * added more files (copies for async), and a README to the samples portion * basic commit, merging others into one branch * put async into another folder * more README updates to align with .NET * initial draft of README and samples * initial comments from cala and kate * caught a text analytics reference, thanks kate * caught a text analytics reference, thanks kate * reverting version * fixing two broken links * recording for test_list_tables that got left out * fixing broken links * another attempt at broken links * changing parentheses to a bracket per kristas recommendation * commenting out one test with weird behavior * found an actual broken link * lint fixes * update to readme and samples per cala, issy, and kates recs. added examples to sphinx docs that were not there. * added a quote around odata filter, thanks Chris for the catch * updating a few more broken links * adding an aka.ms link for pypi * two more broken links * reverting a change back * fixing missing END statements, removing link to nowhere, correcting logger * Sync eng/common directory with azure-sdk-tools repository for Tools PR 926 (#13368) * [keyvault] add scope enum (#13516) * delete connection_string in recorded tests (#13557) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 823 (#13394) * Add sample docstrings to eg samples (#13572) * docstrings * Apply suggestions from code review * few more docstrings * decode * add licesnse * [EventGrid] README.md updates (#13517) * Fix a link which did not have a target * Use "Event Grid" instead of "Eventgrid" or "EventGrid" in prose * Cloud Event Abstraction (#13542) * initial commit * oops * some changes * lint * test fix * sas key * some more cahgnes * test fix * 2.7 compat * comments * extensions * changes * Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/_models.py * remove test * Increment version for storage releases (#13096) * Increment package version after release of azure_storage_blob * Fix a docstring problem (#13579) * SharedTokenCacheCredential uses MSAL when given an AuthenticationRecord (#13490) * [EventHub] add SAS token auth capabilities to EventHub (#13354) * Add SAS token support to EventHub for connection string via 'sharedaccesssignature' * Adds changelog/docs/samples/tests, for now, utilize the old-style of test structure for sync vs async instead of preparer until import issue is resolved. * [Evengrid] Regenrate code gen (#13584) * Regenrate swagger * fix import * regen * Update Language Settings file (#13583) * Added blob exists method (#13221) * added feature and unit tests * fixed failing test issue * added async method and more unit tests * ffixed passed parameters * fixed python 27 issue with kwargs * reset commit * Update _blob_client_async.py removed unused import, fixed linter * Update sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * Update sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * fixed failing tests * fixed linting/import order Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * [keyvault] administration package readme (#13489) * add release date to changelog (#13590) * Sync eng/common directory with azure-sdk-tools repository (#13589) * VisualStudioCodeCredential raises CredentialUnavailableError when configured for ADFS (#13556) * Implement full vault backup and restore (#13525) * Identity release notes (#13585) * [DataLake][Rename]Rename with Sas (#12057) * [DataLake][Rename]Rename with Sas * small fix * recordings * fix pylint * fix pylint * fix pylint * Update sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py * [Schema Registry + Avro Serializer] 1.0.0b1 (#13124) * init commit * avro serializer structure * adding avro serializer * tweak api version and fix a typo * test template * avro serializer sync draft * major azure sr client work done * add sample docstring for sr * avro serializer async impl * close the writer * update avro se/de impl * update avro serializer impl * fix apireview reported error in sr * srav namespace, setup update * doc update * update doc and api * impl, doc update * partial update according to laruent's feedback * be consistent with eh extension structure * more update code according to feedback * update credential config * rename package name to azure-schemaregistry-avroserializer * fix pylint * try ci fix * fix test for py27 as avro only accept unicode * first round of review feedback * remove temp ci experiment * init add conftest.py to pass py2.7 test * laurent feedback update * remove dictmixin for b1, update comment in sample * update api in avroserializer and update test and readme * update test, docs and links * add share requirement * update avro dependency * pr feedback and livetest update * Win py27 issue (#13595) * change to the processor to check for BOM at the beginning * changes to serialize and deserialize to be consistent with py2/3 strings/unicode types. new recordings for all that, changes to tests for everything, and a bug in sas file * forgot to add a unicode explicitly, re-recorded some tests because of that * Sync eng/common directory with azure-sdk-tools repository for Tools PR 969 (#13591) * [ServiceBus] Expose internal amqp message properties via AMQPMessage wrapper object on Message (#13564) * Expose internal amqp message properties via AMQPMessage wrapper object on Message. Add test, changelog notes and docstring. (Note: Cannot rename old message as uamqp relies on the internal property name. Should likely be adapted.) Co-authored-by: Adam Ling (MSFT) * Update doc link in README.md (#13618) * Bump template version (#13580) * Increment package version after release of azure_appconfiguration (#13620) * Increment package version after release of azure_search_documents (#13622) * Increment package version after release of azure_core (#13621) * Fix data nspkg (#13623) * Add data nspkg to CI (#13626) * Update EH and SB code owner (#13633) * Rename ServiceBusManagementClient to ServiceBusAdministrationClient (#13597) * Rename ServiceBusManagementClient to ServiceBusAdministrationClient * Increment package version after release of azure_keyvault_certificates (#13630) * Add administration package to Key Vault pipeline (#13631) * fixed the long description, addition to changelog (#13637) * fixed the long description, addition to changelog * addresssing izzy's comments * [EventGrid] Fix lint errors (#13640) * Fix lint errors * comments * * Remove `is_anonymous_accessible` from management entities. (#13628) * Remove `support_ordering` from `create_queue` and `QueueProperties` * Remove `enable_subscription_partitioning` from `create_topic` and `TopicProperties` * update tests/changelog * Eventgrid Prepare for Release (#13643) * Release preparation * shared * codeowners * [Schema Registry] Fix docstring and docs (#13625) * fix docstring and docs * update codeowner and ci config * update init in serializer * update readme * update sr dependecy in avro serializer * update module __init__.py * revert dependcy to see if it helps doc generetion * [ServiceBus] Replace get_*_deadletter_receiver functions with a sub_queue parameter (#13552) * Remove get_*_deadletter_receiver functions and add a sub_queue parameter to get_*_receiver functions taking enum SubQueue to specify the target subqueue. Adjusts tests, docs accordingly. Co-authored-by: Adam Ling (MSFT) * [Storage]Fix a permission bug and add enable test for list blob with metadata (#13260) * Fix permission bug * test list blobs with metadata * add snapshot to get_blob_properties() response * fix test * [ChangeFeed]Unify cursor and add live mode (#13243) * [ChangeFeed]Unify cursor and add live mode * make the token into a str * address comments * 1. add a while True for sample 2. make the list of shards in cursor to a dict in internal code 3. test list 3-shard events in multiple times generate same results as list all events at once 4. Java is using sequential list, so it could give 1 shard cursor even there are 3 shards, the test makes sure python is working with 1 shard cursor. * make end_time/start_time and continuation_token mutual exclusive * update dependency version * make all '' to "" in cursor * fix pylint and update changelog * fix blob pylint * added playback mode only marker (#13636) * Update changelog (#13641) * added changelogs * added prs/issues in the changelogs * Update CHANGELOG.md (#13657) * - Rename `entity_availability_status` to `availability_status` (#13629) - Make it unsettable in create_* mgmt operations. (as it is readonly) - adjust tests, docs etc. * init resourcemover ci (#13666) Co-authored-by: xichen * Sdk automation/track2 azure mgmt keyvault (#13662) * Generated from c273efbfeb4c2c2e0729579114947c91ab747daa add tag * version and test Co-authored-by: SDK Automation * Increment package version after release of azure_keyvault_administration (#13651) * Increment package version after release of azure_identity (#13652) * [SchemaRegistry] small fix in setup.py (#13677) * [SchemaRegistry] Pin avro serializer dependency version (#13649) * Increment package version after release of azure_data_tables (#13642) * Increment version for eventhub releases (#13644) * Increment package version after release of azure_eventhub * Increment package version after release of azure_eventhub_checkpointstoreblob * Increment package version after release of azure_eventhub_checkpointstoreblob_aio * Add parameters to function (#13653) * [ServiceBus] Consistency review changes as detailed in issue #12415. (#13160) * Consistency review changes as detailed in issue #12415. * significant amount of renames, parameter removal, mgmt shim class building, and a few added capabilities in terms of renew_lock retval and receive_deferred param acceptance. * Update mgmt test recordings Co-authored-by: Adam Ling (MSFT) * [SchemaRegistry] Re-enable links check (#13689) * Release sdk resourcemover (#13665) * Generated from b7867a975ec9c797332d735ed8796474322c6621 fix schemas parameter * init ci and version Co-authored-by: SDK Automation Co-authored-by: xichen * [ServiceBus] Support SAS token-via-connection-string auth, and remove ServiceBusSharedKeyCredential export (#13627) - Remove public documentation and exports of ServiceBusSharedKeyCredential until we chose to release it across all languages. - Support for Sas Token connection strings (tests, etc) - Add safety net for if signature and key are both provided in connstr (inspired by .nets approach) Co-authored-by: Rakshith Bhyravabhotla * [text analytics] default to v3.1-preview.2, have it listed under enum V3_1_PREVIEW (#13708) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 982 (#13701) * Remove locale from docs links (#13672) * [ServiceBus] Set 7.0.0b6 release date in changelog (#13715) * [ServiceBus] Sample Fix (#13719) * fix samples * revert duration * Increment package version after release of azure_schemaregistry_avroserializer (#13682) * Increment package version after release of azure_schemaregistry (#13679) * Revert the changes of relative links (#13681) * KeyVaultBackupClient tests (#13709) * Release sdk automanage (#13693) * add automanage ci * auto generated sdk * add init Co-authored-by: xichen * Replace UTC_Now() workaround with MSRest.UTC (#13498) * use msrest.serialization utc instead of custom implementation * update reference for utc Co-authored-by: Andy Gee * Increment package version after release of azure_servicebus (#13720) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 965 (#13578) * Test preparer region config loader (and DeleteAfter fixes) (#12924) * Initial implementation of region-loading-from-config, and opting in for SB and EH to support canary region specification. * Truncate DeleteAfter at milliseconds to hopefully allow it to get picked up by engsys. Add get_region_override to __init__ exports. * Provide better validation semantics for the get_region_override function. (empty/null regions is invalid) * Sync eng/common directory with azure-sdk-tools for PR 973 (#13645) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 973 * Update update-docs-metadata.ps1 * Update update-docs-metadata.ps1 Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> * Update Tables Async Samples Refs (#13764) * remove dependency install from azure-sdk-tools * update tables samples w/ appropriate relative URLs * undo accidental commit * admonition in table service client not indented properly * Internal code for performing Key Vault crypto operations locally (#12490) * Abstract auth to the dev feeds. additionally, add pip auth (#13522) * abstract auth to the dev feeds. additionally, add pip auth * rename to yml-style filename formatting * [EventHubs] Make __init__.py compatible with pkgutil-style namespace (#13210) * Make __init__.py compatible with pkgutil-style namespace Fixes https://github.com/Azure/azure-sdk-for-python/issues/13187 * fix pylint and add license info Co-authored-by: Yunhao Ling * Raise msal-extensions dependency to ~=0.3.0 (#13635) * add redacted_text to samples (#13521) * adds support for enums by converting to string before sending on the … (#13726) * adds support for enums by converting to string before sending on the wire * forgot about considerations for python2 strings/unicode stuff * Allow skip publish DocMS or Github IO for each artifact (#13754) * Update codeowners file for Azure Template (#13485) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 999 (#13791) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 1000 (#13792) * regenerated with new autorest version (#13814) * removed try/except wrapper on upsert method, added _process_table_error instead of create call (#13815) fixes #13678 * Sync eng/common directory with azure-sdk-tools repository for Tools PR 974 (#13650) * [EventHubs] Update extensions.__ini__.py to the correct namespace module format (#13773) * Sync eng/common directory with azure-sdk-tools repository for Tools PR 895 (#13648) * unskip aad tests (#13818) * [text analytics] don't take doc # in json pointer to account for now bc of service bug (#13820) * Increment package version after release of azure_eventgrid (#13646) * [T2-GA] Appconfiguration (#13784) * generate appconfiguration track2 ga version * fix changelog * fix version * fix changelog * generate keyvault track2 ga version (#13786) * generate monitor track2 ga version (#13804) * generate eventhub track2 ga version (#13805) * generate network track2 ga version (#13810) * generate compute track2 ga version (#13830) * [T2-GA] Keyvault (#13785) * generate keyvault track2 ga version * fix changelog * Update CHANGELOG.md Co-authored-by: changlong-liu <59815250+changlong-liu@users.noreply.github.com> * CryptographyClient can decrypt and sign locally (#13772) * update release date (#13841) * add link to versioning story in samples (#13842) * GeneralNameReplacer correctly handles bytes bodies (#13710) * [ServiceBus] Update relative paths in readme/migration guide (#13417) * update readme paths * update for urls Co-authored-by: Andy Gee * Replaced relative link with absolute links and remove locale (#13846) Replaced relative link with absolute links and remove locale * Enable the link check on aggregate-report (#13859) * use azure-mgmt-core 1.2.0 (#13860) * [T2-GA] Resource (#13833) * ci.yml (#13862) * remove azure-common import from azure-devtools resource_testcase (#13881) * move import from azure-common to within the track1 call (#13880) * Synapse regenerated on 9/1 with autorest 5.2 preview (#13496) * Synapse regenerated on 9/1 with autorest 5.2 preview * 0.3.0 * ChangeLog * Update with latest autorest + latest Swagger 9/16 * use autorest.python 5.3.0 (#13835) * use autorest.python 5.3.0 * codeowner * 20200918 streamanalytics (#13861) * generate * add init.py * Small set of non-blocking changes from b6. (#13690) - adds EOF whitespace - renames _id to _session_id - Adjusts docstring type Closes #13686 * Add placeholder yml file for pipeline generation * Bump Storage-Blob Requires to Range (#13825) * bump dependency versions * update upper bound appropriately * revert unecessary changes * updated formatting to eliminate trailing comma. these setup.py don't do that * bump shared_requirements * [ServiceBus] mode (ReceiveMode) parameter needs better exception behavior (#13531) * mode parameter needs better exception behavior, as if it is mis-typed now it will return an AttributeError further down the stack without useful guidance (and only does so when creating the handler, as well). Will now return a TypeError at initialization. * Add note of AttributeError->TypeError behavior for receive_mode misalignment to changelog. * [SchemaRegistry] Samples for EH integration (#13884) * add sample for EH integration * add samples to readme and tweak the code * add descriptions * mention SR and serializer in EH * small tweak * Add communication service mapping * Update docs to reflect Track 2 Python SDK status (#13813) * Update python mgmt libraries message * Update and rename mgmt_preview_quickstart.rst to mgmt_quickstart.rst * Update python_mgmt_migration_guide.rst * Update index.rst * Update README.md * Update README.md * Update README.md * KeyVaultPreparer passes required SkuFamily argument (#13845) * Add code owners for Azure Communication Services (#13946) * Resolve Failing SchemaRegistry Regressions (#13817) * make the wheel retrieval a little bit more forgiving * add 1.0.0b1 to the omission * update version exclusion * add deprecate note to v1 of form recognizer (#13945) * add deprecate note to v1 of form recognizer * update language, add back to ci.yml * Additional Fixes from GA-ed Management Packages (#13914) * add adal to dev_reqs for storage package * add msrestazure to the dev_reqs for azure-common * azure-loganalytics and azure-applicationinsights are both still track1. have to add msrestazure to the dev_reqs as azure-common requires it * remove import of azure-common from the tests * bump the version for azure-mgmt-core. * crypto (#13950) * Added partition key param for querying change feed (#13857) * initia; changes for partitionkey for query changefeed * Added test * updated changelog * moved partition_key to kwargs * Sync eng/common directory with azure-sdk-tools repository for Tools PR 1022 (#13885) * Update testing (#13821) * changes for test_table.py * fixed up testing, noting which tests do not pass and the reasoning * small additions to testing * updated unicode test for storage * final update * updates that fix user_agent tests * test CI returns a longer user agent so flipping the order for this test should solve the issue * addresses anna's comments * re-recorded a test with a recording error * removed list comprehension for python3.5 compatability * fixing a testing bug * track2_azure-mgmt-baremetalinfrastructure for CI run normally (#13963) * ci.yml for track2_azure-mgmt-baremetalinfrastructure to make CI run normally * Removed unnecessary includes. Co-authored-by: Mitch Denny Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Co-authored-by: Aviram Hassan <41201924+aviramha@users.noreply.github.com> Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Co-authored-by: Rakshith Bhyravabhotla Co-authored-by: Tong Xu (MSFT) <57166602+v-xuto@users.noreply.github.com> Co-authored-by: KieranBrantnerMagee Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com> Co-authored-by: Xiang Yan Co-authored-by: Wes Haggard Co-authored-by: Charles Lowell Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> Co-authored-by: Matt Ellis Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Adam Ling (MSFT) Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Co-authored-by: Laurent Mazuel Co-authored-by: xichen Co-authored-by: xichen Co-authored-by: changlong-liu <59815250+changlong-liu@users.noreply.github.com> Co-authored-by: SDK Automation Co-authored-by: Rakshith Bhyravabhotla Co-authored-by: Andy Gee Co-authored-by: Andy Gee Co-authored-by: Piotr Jachowicz Co-authored-by: Kaihui (Kerwin) Sun Co-authored-by: Wes Haggard Co-authored-by: nickzhums <56864335+nickzhums@users.noreply.github.com> Co-authored-by: turalf Co-authored-by: Krista Pratico Co-authored-by: Srinath Narayanan Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Mitch Denny * Recursive acl (#13476) * [Storage][Datalake]Added supoort for recursive acl operations * [DataLake]Recursive ACL * re-record * re-record * rename progress_callback to progress_hook * re-record Co-authored-by: zezha-msft * [Storage]API Review Comments (#14019) * [Storage]API Review Comments * move new_name for undelete_container to kwargs * [Storage][Blob][QuickQuery]Arrow Format (#13750) * [Storage][Blob][DataLake]Quick Query Arrow Format * fix pylint * fix pylint * fix pylint * fix pylint * Set expiry (#12642) * [DataLake][SetExpiry]Set Expiry of DataLake File * address comments * use datalake set_expiry operation * add serialize rfc1123 and fix pylint * fix pylint * remove return type * Added get file range with the prevsharesnapshot parameter (#13507) * added feature * fixed var name * added unit test that is still being worked on * added unit test for get file range with snapshot * added recording of the unit test * added async unit test recording * [Swagger][FileShare]Regenerate for Clear Range Change * added a deserialize method * recoreded new tests and added deserialize * rerecorded * recorded some more * changed tests for sync * recorded async tests * added more docstrings * linter * added additional api * linter * unused import linter Co-authored-by: xiafu Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * [Datalake][Exception]Throw DataLakeAclChangeFailedError (#14129) * [Datalake][Exception]Throw DataLakeAclChangeFailedError * fix pylint * fix pylint * Share Lease Feature (#13567) * added needed parameters for shares * added async methods * added more methods for interacting with the API * fixed small mistake with elif * added tests and access conditions * added more tests for leases * fixed tests * async changes * added await * corrected import * fixed async imports and wrote all tests * linting * share renaming * added file lease sample * added sample for share * fixed samples * added docs * removed checks * lease change * lease change * added correct lease durations * removed spacing * version correction * fixed snapshot * added snapshot tests * added snapshot tests * changed version * test * test * more docstrings * fixed docstrings * more docstring changes * removed etag * added exta check on test * fixed tests * added more tests for file * added tests for list shares * unused import * changed method signitures * fixed kwargs * linter Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> * removed changelog feature * [DelegationSas]support directory sas & add feature for delegation sas (#14206) * [DelegationSas]support directory sas & add feature for delegation sas * add doc string Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Co-authored-by: Aviram Hassan <41201924+aviramha@users.noreply.github.com> Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Co-authored-by: Rakshith Bhyravabhotla Co-authored-by: Tong Xu (MSFT) <57166602+v-xuto@users.noreply.github.com> Co-authored-by: KieranBrantnerMagee Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com> Co-authored-by: Xiang Yan Co-authored-by: Wes Haggard Co-authored-by: Charles Lowell Co-authored-by: Matt Ellis Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Adam Ling (MSFT) Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Co-authored-by: Laurent Mazuel Co-authored-by: xichen Co-authored-by: xichen Co-authored-by: changlong-liu <59815250+changlong-liu@users.noreply.github.com> Co-authored-by: SDK Automation Co-authored-by: Rakshith Bhyravabhotla Co-authored-by: Andy Gee Co-authored-by: Andy Gee Co-authored-by: Piotr Jachowicz Co-authored-by: Kaihui (Kerwin) Sun Co-authored-by: Wes Haggard Co-authored-by: nickzhums <56864335+nickzhums@users.noreply.github.com> Co-authored-by: turalf Co-authored-by: Krista Pratico Co-authored-by: Srinath Narayanan Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Mitch Denny Co-authored-by: zezha-msft --- eng/ci_tools.txt | 1 + .../azure/storage/blob/__init__.py | 4 + .../azure/storage/blob/_blob_client.py | 70 +- .../storage/blob/_blob_service_client.py | 13 +- .../azure/storage/blob/_container_client.py | 10 +- .../azure/storage/blob/_deserialize.py | 1 + .../azure/storage/blob/_download.py | 1 + .../blob/_generated/_azure_blob_storage.py | 2 +- .../storage/blob/_generated/_configuration.py | 2 +- .../aio/_azure_blob_storage_async.py | 2 +- .../_generated/aio/_configuration_async.py | 2 +- .../_blob_operations_async.py | 5 +- .../blob/_generated/models/__init__.py | 6 + .../models/_azure_blob_storage_enums.py | 1 + .../storage/blob/_generated/models/_models.py | 72 +- .../blob/_generated/models/_models_py3.py | 76 +- .../_generated/operations/_blob_operations.py | 5 +- .../azure/storage/blob/_generated/version.py | 2 +- .../azure/storage/blob/_lease.py | 10 +- .../azure/storage/blob/_models.py | 32 +- .../azure/storage/blob/_serialize.py | 12 +- .../blob/_shared/shared_access_signature.py | 11 + .../storage/blob/_shared_access_signature.py | 18 +- .../storage/blob/aio/_blob_client_async.py | 53 +- .../blob/aio/_blob_service_client_async.py | 13 +- .../blob/aio/_container_client_async.py | 10 +- .../azure/storage/blob/aio/_lease_async.py | 10 +- .../azure-storage-blob/swagger/README.md | 2 +- ....test_get_properties_last_access_time.yaml | 346 ++ ...et_blob_properties_with_if_unmodified.yaml | 66 +- ..._list_blobs_contains_last_access_time.yaml | 214 + ...container.test_list_blobs_leased_blob.yaml | 66 +- ...st_quick_query_output_in_arrow_format.yaml | 217 + .../tests/test_blob_access_conditions.py | 18 + .../tests/test_container.py | 20 +- .../tests/test_container_async.py | 4 +- .../tests/test_quick_query.py | 61 + .../azure/storage/filedatalake/__init__.py | 20 +- .../_data_lake_directory_client.py | 8 +- .../filedatalake/_data_lake_file_client.py | 39 +- .../storage/filedatalake/_deserialize.py | 40 + .../azure/storage/filedatalake/_download.py | 5 +- .../filedatalake/_file_system_client.py | 3 +- .../filedatalake/_generated/_configuration.py | 4 +- .../_generated/_data_lake_storage_client.py | 2 +- .../_generated/aio/_configuration_async.py | 2 +- .../aio/_data_lake_storage_client_async.py | 2 +- .../_path_operations_async.py | 130 +- .../_generated/models/__init__.py | 4 +- .../models/_data_lake_storage_client_enums.py | 22 +- .../_generated/operations/_path_operations.py | 130 +- .../filedatalake/_generated/version.py | 2 +- .../filedatalake/_list_paths_helper.py | 73 + .../azure/storage/filedatalake/_models.py | 477 ++- .../storage/filedatalake/_path_client.py | 241 +- .../azure/storage/filedatalake/_serialize.py | 8 + .../_shared/shared_access_signature.py | 11 + .../filedatalake/_shared_access_signature.py | 42 + .../aio/_data_lake_directory_client_async.py | 6 +- .../aio/_data_lake_file_client_async.py | 31 +- .../filedatalake/aio/_download_async.py | 5 +- .../filedatalake/aio/_path_client_async.py | 225 +- ...talake_samples_access_control_recursive.py | 116 + ..._samples_access_control_recursive_async.py | 120 + .../swagger/README.md | 2 +- ....test_remove_access_control_recursive.yaml | 1410 +++++++ ...e_access_control_recursive_in_batches.yaml | 2100 ++++++++++ ...ive_in_batches_with_progress_callback.yaml | 2100 ++++++++++ ...ccess_control_recursive_with_failures.yaml | 1823 +++++++++ .../test_directory.test_rename_from.yaml | 144 + ...ory.test_set_access_control_recursive.yaml | 1456 +++++++ ...ontrol_recursive_continue_on_failures.yaml | 2238 +++++++++++ ...t_access_control_recursive_in_batches.yaml | 2146 ++++++++++ ...ve_in_batches_with_explicit_iteration.yaml | 2146 ++++++++++ ...ive_in_batches_with_progress_callback.yaml | 2146 ++++++++++ ...ss_control_recursive_stop_on_failures.yaml | 1823 +++++++++ ...ception_containing_continuation_token.yaml | 1458 +++++++ ...ccess_control_recursive_with_failures.yaml | 1823 +++++++++ ....test_update_access_control_recursive.yaml | 1456 +++++++ ...e_access_control_recursive_in_batches.yaml | 2146 ++++++++++ ...ive_in_batches_with_progress_callback.yaml | 2146 ++++++++++ ...ccess_control_recursive_with_failures.yaml | 1823 +++++++++ ...remove_access_control_recursive_async.yaml | 965 +++++ ...ss_control_recursive_in_batches_async.yaml | 1475 +++++++ ..._batches_with_progress_callback_async.yaml | 1475 +++++++ ...control_recursive_with_failures_async.yaml | 2176 ++++++++++ ...irectory_in_another_file_system_async.yaml | 158 +- ...irectory_async.test_rename_from_async.yaml | 98 + ...st_set_access_control_recursive_async.yaml | 1959 +++++++++ ...ss_control_recursive_in_batches_async.yaml | 1506 +++++++ ...batches_with_explicit_iteration_async.yaml | 1506 +++++++ ..._batches_with_progress_callback_async.yaml | 1506 +++++++ ...n_containing_continuation_token_async.yaml | 1000 +++++ ...control_recursive_with_failures_async.yaml | 1058 +++++ ...update_access_control_recursive_async.yaml | 996 +++++ ..._recursive_continue_on_failures_async.yaml | 1570 ++++++++ ...ss_control_recursive_in_batches_async.yaml | 1506 +++++++ ..._batches_with_progress_callback_async.yaml | 1506 +++++++ ...control_recursive_with_failures_async.yaml | 2145 ++++++++++ ....test_remove_access_control_recursive.yaml | 90 + ...ile.test_set_access_control_recursive.yaml | 136 + .../recordings/test_file.test_set_expiry.yaml | 208 + ....test_update_access_control_recursive.yaml | 136 + ...le_async.test_append_empty_data_async.yaml | 60 +- ...est_file_async.test_delete_file_async.yaml | 50 +- ...e_file_with_if_unmodified_since_async.yaml | 76 +- ..._control_with_if_modified_since_async.yaml | 131 + .../test_file_async.test_read_file_async.yaml | 74 +- ..._async.test_read_file_into_file_async.yaml | 74 +- ...le_async.test_read_file_to_text_async.yaml | 74 +- ...remove_access_control_recursive_async.yaml | 65 + ...st_rename_file_to_existing_file_async.yaml | 134 +- ..._rename_file_with_non_used_name_async.yaml | 84 +- ...st_set_access_control_recursive_async.yaml | 96 + ...test_file_async.test_set_expiry_async.yaml | 140 + ...update_access_control_recursive_async.yaml | 96 + ...st_quick_query_output_in_arrow_format.yaml | 233 ++ .../tests/test_directory.py | 558 ++- .../tests/test_directory_async.py | 542 ++- .../tests/test_file.py | 141 + .../tests/test_file_async.py | 97 +- .../tests/test_file_system_async.py | 85 +- .../tests/test_quick_query.py | 50 +- .../azure/storage/fileshare/__init__.py | 6 + .../azure/storage/fileshare/_deserialize.py | 19 + .../azure/storage/fileshare/_file_client.py | 125 +- .../_generated/_azure_file_storage.py | 2 +- .../aio/_azure_file_storage_async.py | 2 +- .../_directory_operations_async.py | 2 +- .../_file_operations_async.py | 17 +- .../_share_operations_async.py | 504 ++- .../fileshare/_generated/models/__init__.py | 27 +- .../models/_azure_file_storage_enums.py | 42 +- .../fileshare/_generated/models/_models.py | 185 +- .../_generated/models/_models_py3.py | 189 +- .../operations/_directory_operations.py | 2 +- .../_generated/operations/_file_operations.py | 17 +- .../operations/_share_operations.py | 504 ++- .../storage/fileshare/_generated/version.py | 2 +- .../azure/storage/fileshare/_lease.py | 111 +- .../azure/storage/fileshare/_models.py | 46 +- .../azure/storage/fileshare/_serialize.py | 3 +- .../azure/storage/fileshare/_share_client.py | 105 +- .../fileshare/_share_service_client.py | 10 +- .../_shared/shared_access_signature.py | 11 + .../fileshare/aio/_file_client_async.py | 96 +- .../storage/fileshare/aio/_lease_async.py | 101 +- .../fileshare/aio/_share_client_async.py | 105 +- .../aio/_share_service_client_async.py | 8 +- .../samples/file_samples_client.py | 25 + .../samples/file_samples_share.py | 16 + .../swagger/README.md | 2 +- ..._break_lease_with_broken_period_fails.yaml | 200 + .../test_file.test_list_ranges_2.yaml | 80 +- ...file.test_list_ranges_2_from_snapshot.yaml | 108 +- .../test_file.test_list_ranges_diff.yaml | 362 ++ .../test_file.test_list_ranges_none.yaml | 52 +- ...e.test_list_ranges_none_from_snapshot.yaml | 80 +- ..._ranges_none_with_invalid_lease_fails.yaml | 166 +- ...e.test_update_big_range_from_file_url.yaml | 128 +- ..._file.test_update_range_from_file_url.yaml | 142 +- ...update_range_from_file_url_with_lease.yaml | 358 +- ..._break_lease_with_broken_period_fails.yaml | 139 + ...t_file_async.test_list_ranges_2_async.yaml | 124 +- ...est_list_ranges_2_from_snapshot_async.yaml | 170 +- ...test_file_async.test_list_ranges_diff.yaml | 252 ++ ...ile_async.test_list_ranges_none_async.yaml | 78 +- ..._list_ranges_none_from_snapshot_async.yaml | 124 +- ...s_none_with_invalid_lease_fails_async.yaml | 129 +- ...c.test_update_big_range_from_file_url.yaml | 210 +- ...async.test_update_range_from_file_url.yaml | 233 +- ..._range_from_file_url_with_lease_async.yaml | 285 +- ...st_file_client.test_user_agent_append.yaml | 17 +- ...st_file_client.test_user_agent_custom.yaml | 33 +- ...t_file_client.test_user_agent_default.yaml | 16 +- ...nt_async.test_user_agent_append_async.yaml | 25 +- ...nt_async.test_user_agent_custom_async.yaml | 49 +- ...t_async.test_user_agent_default_async.yaml | 24 +- ...operties.test_file_service_properties.yaml | 108 +- ...file_service_properties.test_set_cors.yaml | 26 +- ...vice_properties.test_set_hour_metrics.yaml | 26 +- ...ce_properties.test_set_minute_metrics.yaml | 26 +- ...e_properties.test_too_many_cors_rules.yaml | 12 +- ...nc.test_file_service_properties_async.yaml | 105 +- ..._properties_async.test_set_cors_async.yaml | 42 +- ...ies_async.test_set_hour_metrics_async.yaml | 42 +- ...s_async.test_set_minute_metrics_async.yaml | 42 +- ..._async.test_too_many_cors_rules_async.yaml | 21 +- ...e.test_acquire_lease_on_sharesnapshot.yaml | 3484 +++++++++++++++++ ...share.test_delete_share_with_lease_id.yaml | 202 + ...hare.test_get_share_acl_with_lease_id.yaml | 129 + ...test_get_share_metadata_with_lease_id.yaml | 190 + ...st_get_share_properties_with_lease_id.yaml | 232 ++ ....test_lease_share_acquire_and_release.yaml | 130 + ...t_share.test_lease_share_break_period.yaml | 171 + ...hare.test_lease_share_change_lease_id.yaml | 176 + .../test_share.test_lease_share_renew.yaml | 205 + .../test_share.test_lease_share_twice.yaml | 132 + ..._share.test_lease_share_with_duration.yaml | 177 + ...st_lease_share_with_proposed_lease_id.yaml | 86 + ...t_share.test_list_shares_leased_share.yaml | 2997 ++++++++++++++ ...hare.test_set_share_acl_with_lease_id.yaml | 170 + ...test_set_share_metadata_with_lease_id.yaml | 190 + ...c.test_acquire_lease_on_sharesnapshot.yaml | 1856 +++++++++ ...async.test_delete_share_with_lease_id.yaml | 139 + ...sync.test_get_share_acl_with_lease_id.yaml | 91 + ...test_get_share_metadata_with_lease_id.yaml | 127 + ...st_get_share_properties_with_lease_id.yaml | 155 + ....test_lease_share_acquire_and_release.yaml | 89 + ...e_async.test_lease_share_break_period.yaml | 117 + ...sync.test_lease_share_change_lease_id.yaml | 121 + ...st_share_async.test_lease_share_renew.yaml | 140 + ...st_share_async.test_lease_share_twice.yaml | 91 + ..._async.test_lease_share_with_duration.yaml | 123 + ...st_lease_share_with_proposed_lease_id.yaml | 59 + ...e_async.test_list_shares_leased_share.yaml | 1945 +++++++++ ...sync.test_set_share_acl_with_lease_id.yaml | 121 + ...test_set_share_metadata_with_lease_id.yaml | 127 + .../tests/test_file.py | 57 +- .../tests/test_file_async.py | 59 + .../tests/test_file_service_properties.py | 18 +- .../test_file_service_properties_async.py | 17 +- .../tests/test_share.py | 255 +- .../tests/test_share_async.py | 273 ++ .../queue/_shared/shared_access_signature.py | 11 + 225 files changed, 77892 insertions(+), 2735 deletions(-) create mode 100644 sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_get_properties_last_access_time.yaml create mode 100644 sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_contains_last_access_time.yaml create mode 100644 sdk/storage/azure-storage-blob/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py create mode 100644 sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive.py create mode 100644 sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive_async.py create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches_with_progress_callback.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_with_failures.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_continue_on_failures.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_explicit_iteration.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_progress_callback.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_stop_on_failures.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_throws_exception_containing_continuation_token.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_with_failures.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches_with_progress_callback.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_with_failures.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_with_progress_callback_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_with_failures_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_explicit_iteration_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_progress_callback_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_throws_exception_containing_continuation_token_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_with_failures_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_continue_on_failures_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_with_progress_callback_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_with_failures_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_remove_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_expiry.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_update_access_control_recursive.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_remove_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_expiry_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_update_access_control_recursive_async.yaml create mode 100644 sdk/storage/azure-storage-file-datalake/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_break_lease_with_broken_period_fails.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_diff.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_break_lease_with_broken_period_fails.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_diff.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_acquire_lease_on_sharesnapshot.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_delete_share_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_acl_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_metadata_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_properties_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_acquire_and_release.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_break_period.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_change_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_renew.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_twice.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_duration.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_proposed_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_list_shares_leased_share.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_acl_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_metadata_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_acquire_lease_on_sharesnapshot.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_delete_share_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_acl_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_metadata_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_properties_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_acquire_and_release.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_break_period.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_change_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_renew.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_twice.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_duration.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_proposed_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_list_shares_leased_share.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_acl_with_lease_id.yaml create mode 100644 sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_metadata_with_lease_id.yaml diff --git a/eng/ci_tools.txt b/eng/ci_tools.txt index dac85fba9d07..496f9a71065d 100644 --- a/eng/ci_tools.txt +++ b/eng/ci_tools.txt @@ -1,4 +1,5 @@ # requirements leveraged by ci tools +cryptography==3.1 setuptools==44.1.0; python_version == '2.7' setuptools==46.4.0; python_version >= '3.5' virtualenv==20.0.23 diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/__init__.py b/sdk/storage/azure-storage-blob/azure/storage/blob/__init__.py index caa00401b96c..937d74b54037 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/__init__.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/__init__.py @@ -54,6 +54,8 @@ BlobQueryError, DelimitedJsonDialect, DelimitedTextDialect, + ArrowDialect, + ArrowType, ObjectReplicationPolicy, ObjectReplicationRule ) @@ -219,6 +221,8 @@ def download_blob_from_url( 'BlobQueryError', 'DelimitedJsonDialect', 'DelimitedTextDialect', + 'ArrowDialect', + 'ArrowType', 'BlobQueryReader', 'ObjectReplicationPolicy', 'ObjectReplicationRule' diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py index 64327c16f86d..7daace297862 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py @@ -476,7 +476,7 @@ def upload_blob( # pylint: disable=too-many-locals and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -576,7 +576,7 @@ def _download_blob_options(self, offset=None, length=None, **kwargs): 'lease_access_conditions': access_conditions, 'modified_access_conditions': mod_conditions, 'cpk_info': cpk_info, - 'cls': deserialize_blob_stream, + 'cls': kwargs.pop('cls', None) or deserialize_blob_stream, 'max_concurrency':kwargs.pop('max_concurrency', 1), 'encoding': kwargs.pop('encoding', None), 'timeout': kwargs.pop('timeout', None), @@ -636,7 +636,7 @@ def download_blob(self, offset=None, length=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -682,13 +682,19 @@ def _quick_query_options(self, query_expression, try: delimiter = input_format.lineterminator except AttributeError: - delimiter = input_format.delimiter + try: + delimiter = input_format.delimiter + except AttributeError: + raise ValueError("The Type of blob_format can only be DelimitedTextDialect or DelimitedJsonDialect") output_format = kwargs.pop('output_format', None) if output_format: try: delimiter = output_format.lineterminator except AttributeError: - delimiter = output_format.delimiter + try: + delimiter = output_format.delimiter + except AttributeError: + pass else: output_format = input_format query_request = QueryRequest( @@ -729,7 +735,7 @@ def query_blob(self, query_expression, **kwargs): :param str query_expression: Required. a query statement. - :keyword Callable[Exception] on_error: + :keyword Callable[~azure.storage.blob.BlobQueryError] on_error: A function to be called on any processing errors returned by the service. :keyword blob_format: Optional. Defines the serialization of the data currently stored in the blob. The default is to @@ -740,7 +746,8 @@ def query_blob(self, query_expression, **kwargs): Optional. Defines the output serialization for the data stream. By default the data will be returned as it is represented in the blob. By providing an output format, the blob data will be reformatted according to that profile. This value can be a DelimitedTextDialect or a DelimitedJsonDialect. - :paramtype output_format: ~azure.storage.blob.DelimitedTextDialect or ~azure.storage.blob.DelimitedJsonDialect + :paramtype output_format: ~azure.storage.blob.DelimitedTextDialect, ~azure.storage.blob.DelimitedJsonDialect + or list[~azure.storage.blob.ArrowDialect] :keyword lease: Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string. @@ -762,7 +769,7 @@ def query_blob(self, query_expression, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -879,7 +886,7 @@ def delete_blob(self, delete_snapshots=False, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -989,7 +996,7 @@ def get_blob_properties(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1031,14 +1038,15 @@ def get_blob_properties(self, **kwargs): snapshot=self.snapshot, lease_access_conditions=access_conditions, modified_access_conditions=mod_conditions, - cls=deserialize_blob_properties, + cls=kwargs.pop('cls', None) or deserialize_blob_properties, cpk_info=cpk_info, **kwargs) except StorageErrorException as error: process_storage_error(error) blob_props.name = self.blob_name - blob_props.snapshot = self.snapshot - blob_props.container = self.container_name + if isinstance(blob_props, BlobProperties): + blob_props.container = self.container_name + blob_props.snapshot = self.snapshot return blob_props # type: ignore def _set_http_headers_options(self, content_settings=None, **kwargs): @@ -1095,7 +1103,7 @@ def set_http_headers(self, content_settings=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1169,7 +1177,7 @@ def set_blob_metadata(self, metadata=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1516,7 +1524,7 @@ def create_snapshot(self, metadata=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on destination blob with a matching value. .. versionadded:: 12.4.0 @@ -1834,7 +1842,7 @@ def acquire_lease(self, lease_duration=-1, lease_id=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1882,7 +1890,7 @@ def set_standard_blob_tier(self, standard_blob_tier, **kwargs): .. versionadded:: 12.4.0 This keyword argument was introduced in API version '2019-12-12'. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2141,7 +2149,7 @@ def get_block_list(self, block_list_type="committed", **kwargs): Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string. :paramtype lease: ~azure.storage.blob.BlobLeaseClient or str - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on destination blob with a matching value. .. versionadded:: 12.4.0 @@ -2287,7 +2295,7 @@ def commit_block_list( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on destination blob with a matching value. .. versionadded:: 12.4.0 @@ -2333,7 +2341,7 @@ def set_premium_page_blob_tier(self, premium_page_blob_tier, **kwargs): blob and number of allowed IOPS. This is only applicable to page blobs on premium storage accounts. :type premium_page_blob_tier: ~azure.storage.blob.PremiumPageBlobTier - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2402,7 +2410,7 @@ def set_blob_tags(self, tags=None, **kwargs): bitflips on the wire if using http instead of https, as https (the default), will already validate. Note that this MD5 hash is not stored with the blob. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on destination blob with a matching value. :keyword int timeout: The timeout parameter is expressed in seconds. @@ -2438,7 +2446,7 @@ def get_blob_tags(self, **kwargs): :keyword str version_id: The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to add tags to. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on destination blob with a matching value. :keyword int timeout: The timeout parameter is expressed in seconds. @@ -2535,7 +2543,7 @@ def get_page_ranges( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2684,7 +2692,7 @@ def set_sequence_number(self, sequence_number_action, sequence_number=None, **kw and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2758,7 +2766,7 @@ def resize_blob(self, size, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2888,7 +2896,7 @@ def upload_page( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -3060,7 +3068,7 @@ def upload_pages_from_url(self, source_url, # type: str and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The destination match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -3177,7 +3185,7 @@ def clear_page(self, offset, length, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -3307,7 +3315,7 @@ def append_block( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -3454,7 +3462,7 @@ def append_block_from_url(self, copy_source_url, # type: str and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The destination match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_service_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_service_client.py index bde847565590..f68a68009112 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_service_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_service_client.py @@ -383,6 +383,10 @@ def list_containers( :param bool include_metadata: Specifies that container metadata to be returned in the response. The default value is `False`. + :keyword bool include_deleted: + Specifies that deleted containers to be returned in the response. This is for container restore enabled + account. The default value is `False`. + .. versionadded:: 12.4.0 :keyword int results_per_page: The maximum number of container names to retrieve per API call. If the request does not specify the server will return up to 5,000 items. @@ -401,6 +405,9 @@ def list_containers( :caption: Listing the containers in the blob service. """ include = ['metadata'] if include_metadata else [] + include_deleted = kwargs.pop('include_deleted', None) + if include_deleted: + include.append("deleted") timeout = kwargs.pop('timeout', None) results_per_page = kwargs.pop('results_per_page', None) @@ -557,7 +564,7 @@ def delete_container( **kwargs) @distributed_trace - def _undelete_container(self, deleted_container_name, deleted_container_version, new_name=None, **kwargs): + def undelete_container(self, deleted_container_name, deleted_container_version, **kwargs): # type: (str, str, str, **Any) -> ContainerClient """Restores soft-deleted container. @@ -571,12 +578,14 @@ def _undelete_container(self, deleted_container_name, deleted_container_version, Specifies the name of the deleted container to restore. :param str deleted_container_version: Specifies the version of the deleted container to restore. - :param str new_name: + :keyword str new_name: The new name for the deleted container to be restored to. + If not specified deleted_container_name will be used as the restored container name. :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: ~azure.storage.blob.ContainerClient """ + new_name = kwargs.pop('new_name', None) container = self.get_container_client(new_name or deleted_container_name) try: container._client.container.restore(deleted_container_name=deleted_container_name, # pylint: disable = protected-access diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py index e43c9c1c32de..ba327c2498ef 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py @@ -782,7 +782,7 @@ def upload_blob( and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -905,7 +905,7 @@ def delete_blob( and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -970,7 +970,7 @@ def download_blob(self, blob, offset=None, length=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1170,7 +1170,7 @@ def delete_blobs(self, *blobs, **kwargs): If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has not been modified since the specified date/time. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1339,7 +1339,7 @@ def set_standard_blob_tier_blobs( :type blobs: list[str], list[dict], or list[~azure.storage.blob.BlobProperties] :keyword ~azure.storage.blob.RehydratePriority rehydrate_priority: Indicates the priority with which to rehydrate an archived blob - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_deserialize.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_deserialize.py index a8b48b7b70f2..159e0e676c84 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_deserialize.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_deserialize.py @@ -144,6 +144,7 @@ def get_blob_properties_from_generated_code(generated): blob.tag_count = generated.properties.tag_count blob.tags = parse_tags(generated.blob_tags) # pylint: disable=protected-access blob.object_replication_source_properties = deserialize_ors_policies(generated.object_replication_metadata) + blob.last_accessed_on = generated.properties.last_accessed_on return blob diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_download.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_download.py index e11023c0f9c7..46e59e5d2492 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_download.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_download.py @@ -457,6 +457,7 @@ def readall(self): """Download the contents of this blob. This operation is blocking until all data is downloaded. + :rtype: bytes or str """ stream = BytesIO() diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_azure_blob_storage.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_azure_blob_storage.py index aa2784212021..831f6ce2033c 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_azure_blob_storage.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_azure_blob_storage.py @@ -55,7 +55,7 @@ def __init__(self, url, **kwargs): self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_configuration.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_configuration.py index 5bf56719ad19..c8a1875b6af8 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_configuration.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/_configuration.py @@ -40,7 +40,7 @@ def __init__(self, url, **kwargs): self.generate_client_request_id = True self.url = url - self.version = "2019-12-12" + self.version = "2020-02-10" def _configure(self, **kwargs): self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_azure_blob_storage_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_azure_blob_storage_async.py index 7b1aa347f118..367e296ea6f0 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_azure_blob_storage_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_azure_blob_storage_async.py @@ -56,7 +56,7 @@ def __init__( self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_configuration_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_configuration_async.py index a500a0cfe381..609cb82ac858 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_configuration_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/_configuration_async.py @@ -41,7 +41,7 @@ def __init__(self, url, **kwargs): self.accept_language = None self.url = url - self.version = "2019-12-12" + self.version = "2020-02-10" def _configure(self, **kwargs): self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations_async/_blob_operations_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations_async/_blob_operations_async.py index 24aea41c4e47..54d6dab2a31b 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations_async/_blob_operations_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/aio/operations_async/_blob_operations_async.py @@ -221,6 +221,7 @@ async def download(self, snapshot=None, version_id=None, timeout=None, range=Non 'x-ms-blob-content-md5': self._deserialize('bytearray', response.headers.get('x-ms-blob-content-md5')), 'x-ms-tag-count': self._deserialize('long', response.headers.get('x-ms-tag-count')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } @@ -264,6 +265,7 @@ async def download(self, snapshot=None, version_id=None, timeout=None, range=Non 'x-ms-blob-content-md5': self._deserialize('bytearray', response.headers.get('x-ms-blob-content-md5')), 'x-ms-tag-count': self._deserialize('long', response.headers.get('x-ms-tag-count')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } @@ -440,6 +442,7 @@ async def get_properties(self, snapshot=None, version_id=None, timeout=None, req 'x-ms-expiry-time': self._deserialize('rfc-1123', response.headers.get('x-ms-expiry-time')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), 'x-ms-rehydrate-priority': self._deserialize('str', response.headers.get('x-ms-rehydrate-priority')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) @@ -1116,7 +1119,7 @@ async def set_expiry(self, expiry_options, timeout=None, request_id=None, expire header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') header_parameters['x-ms-expiry-option'] = self._serialize.header("expiry_options", expiry_options, 'str') if expires_on is not None: - header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'str') + header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'rfc-1123') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/__init__.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/__init__.py index 6709caf3e7ea..3a6f8ed59f75 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/__init__.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/__init__.py @@ -12,6 +12,8 @@ try: from ._models_py3 import AccessPolicy from ._models_py3 import AppendPositionAccessConditions + from ._models_py3 import ArrowConfiguration + from ._models_py3 import ArrowField from ._models_py3 import BlobFlatListSegment from ._models_py3 import BlobHierarchyListSegment from ._models_py3 import BlobHTTPHeaders @@ -64,6 +66,8 @@ except (SyntaxError, ImportError): from ._models import AccessPolicy from ._models import AppendPositionAccessConditions + from ._models import ArrowConfiguration + from ._models import ArrowField from ._models import BlobFlatListSegment from ._models import BlobHierarchyListSegment from ._models import BlobHTTPHeaders @@ -145,6 +149,8 @@ __all__ = [ 'AccessPolicy', 'AppendPositionAccessConditions', + 'ArrowConfiguration', + 'ArrowField', 'BlobFlatListSegment', 'BlobHierarchyListSegment', 'BlobHTTPHeaders', diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py index d89e858684ff..e45eea3f2f3f 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py @@ -210,6 +210,7 @@ class QueryFormatType(str, Enum): delimited = "delimited" json = "json" + arrow = "arrow" class AccessTierRequired(str, Enum): diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py index acb79c0eebca..1fdddbe96a08 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models.py @@ -72,6 +72,68 @@ def __init__(self, **kwargs): self.append_position = kwargs.get('append_position', None) +class ArrowConfiguration(Model): + """arrow configuration. + + All required parameters must be populated in order to send to Azure. + + :param schema: Required. + :type schema: list[~azure.storage.blob.models.ArrowField] + """ + + _validation = { + 'schema': {'required': True}, + } + + _attribute_map = { + 'schema': {'key': 'Schema', 'type': '[ArrowField]', 'xml': {'name': 'Schema', 'itemsName': 'Schema', 'wrapped': True}}, + } + _xml_map = { + 'name': 'ArrowConfiguration' + } + + def __init__(self, **kwargs): + super(ArrowConfiguration, self).__init__(**kwargs) + self.schema = kwargs.get('schema', None) + + +class ArrowField(Model): + """field of an arrow schema. + + All required parameters must be populated in order to send to Azure. + + :param type: Required. + :type type: str + :param name: + :type name: str + :param precision: + :type precision: int + :param scale: + :type scale: int + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'type': {'key': 'Type', 'type': 'str', 'xml': {'name': 'Type'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'name': 'Name'}}, + 'precision': {'key': 'Precision', 'type': 'int', 'xml': {'name': 'Precision'}}, + 'scale': {'key': 'Scale', 'type': 'int', 'xml': {'name': 'Scale'}}, + } + _xml_map = { + 'name': 'Field' + } + + def __init__(self, **kwargs): + super(ArrowField, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.name = kwargs.get('name', None) + self.precision = kwargs.get('precision', None) + self.scale = kwargs.get('scale', None) + + class BlobFlatListSegment(Model): """BlobFlatListSegment. @@ -367,6 +429,8 @@ class BlobPropertiesInternal(Model): :param rehydrate_priority: Possible values include: 'High', 'Standard' :type rehydrate_priority: str or ~azure.storage.blob.models.RehydratePriority + :param last_accessed_on: + :type last_accessed_on: datetime """ _validation = { @@ -411,6 +475,7 @@ class BlobPropertiesInternal(Model): 'expires_on': {'key': 'Expiry-Time', 'type': 'rfc-1123', 'xml': {'name': 'Expiry-Time'}}, 'is_sealed': {'key': 'Sealed', 'type': 'bool', 'xml': {'name': 'Sealed'}}, 'rehydrate_priority': {'key': 'RehydratePriority', 'type': 'str', 'xml': {'name': 'RehydratePriority'}}, + 'last_accessed_on': {'key': 'LastAccessTime', 'type': 'rfc-1123', 'xml': {'name': 'LastAccessTime'}}, } _xml_map = { 'name': 'Properties' @@ -454,6 +519,7 @@ def __init__(self, **kwargs): self.expires_on = kwargs.get('expires_on', None) self.is_sealed = kwargs.get('is_sealed', None) self.rehydrate_priority = kwargs.get('rehydrate_priority', None) + self.last_accessed_on = kwargs.get('last_accessed_on', None) class BlobTag(Model): @@ -1523,7 +1589,7 @@ def __init__(self, **kwargs): class QueryFormat(Model): """QueryFormat. - :param type: Possible values include: 'delimited', 'json' + :param type: Possible values include: 'delimited', 'json', 'arrow' :type type: str or ~azure.storage.blob.models.QueryFormatType :param delimited_text_configuration: :type delimited_text_configuration: @@ -1531,12 +1597,15 @@ class QueryFormat(Model): :param json_text_configuration: :type json_text_configuration: ~azure.storage.blob.models.JsonTextConfiguration + :param arrow_configuration: + :type arrow_configuration: ~azure.storage.blob.models.ArrowConfiguration """ _attribute_map = { 'type': {'key': 'Type', 'type': 'QueryFormatType', 'xml': {'name': 'Type'}}, 'delimited_text_configuration': {'key': 'DelimitedTextConfiguration', 'type': 'DelimitedTextConfiguration', 'xml': {'name': 'DelimitedTextConfiguration'}}, 'json_text_configuration': {'key': 'JsonTextConfiguration', 'type': 'JsonTextConfiguration', 'xml': {'name': 'JsonTextConfiguration'}}, + 'arrow_configuration': {'key': 'ArrowConfiguration', 'type': 'ArrowConfiguration', 'xml': {'name': 'ArrowConfiguration'}}, } _xml_map = { } @@ -1546,6 +1615,7 @@ def __init__(self, **kwargs): self.type = kwargs.get('type', None) self.delimited_text_configuration = kwargs.get('delimited_text_configuration', None) self.json_text_configuration = kwargs.get('json_text_configuration', None) + self.arrow_configuration = kwargs.get('arrow_configuration', None) class QueryRequest(Model): diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py index 36c3964fa744..7e5a3fc91364 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/models/_models_py3.py @@ -72,6 +72,68 @@ def __init__(self, *, max_size: int=None, append_position: int=None, **kwargs) - self.append_position = append_position +class ArrowConfiguration(Model): + """arrow configuration. + + All required parameters must be populated in order to send to Azure. + + :param schema: Required. + :type schema: list[~azure.storage.blob.models.ArrowField] + """ + + _validation = { + 'schema': {'required': True}, + } + + _attribute_map = { + 'schema': {'key': 'Schema', 'type': '[ArrowField]', 'xml': {'name': 'Schema', 'itemsName': 'Schema', 'wrapped': True}}, + } + _xml_map = { + 'name': 'ArrowConfiguration' + } + + def __init__(self, *, schema, **kwargs) -> None: + super(ArrowConfiguration, self).__init__(**kwargs) + self.schema = schema + + +class ArrowField(Model): + """field of an arrow schema. + + All required parameters must be populated in order to send to Azure. + + :param type: Required. + :type type: str + :param name: + :type name: str + :param precision: + :type precision: int + :param scale: + :type scale: int + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'type': {'key': 'Type', 'type': 'str', 'xml': {'name': 'Type'}}, + 'name': {'key': 'Name', 'type': 'str', 'xml': {'name': 'Name'}}, + 'precision': {'key': 'Precision', 'type': 'int', 'xml': {'name': 'Precision'}}, + 'scale': {'key': 'Scale', 'type': 'int', 'xml': {'name': 'Scale'}}, + } + _xml_map = { + 'name': 'Field' + } + + def __init__(self, *, type: str, name: str=None, precision: int=None, scale: int=None, **kwargs) -> None: + super(ArrowField, self).__init__(**kwargs) + self.type = type + self.name = name + self.precision = precision + self.scale = scale + + class BlobFlatListSegment(Model): """BlobFlatListSegment. @@ -367,6 +429,8 @@ class BlobPropertiesInternal(Model): :param rehydrate_priority: Possible values include: 'High', 'Standard' :type rehydrate_priority: str or ~azure.storage.blob.models.RehydratePriority + :param last_accessed_on: + :type last_accessed_on: datetime """ _validation = { @@ -411,12 +475,13 @@ class BlobPropertiesInternal(Model): 'expires_on': {'key': 'Expiry-Time', 'type': 'rfc-1123', 'xml': {'name': 'Expiry-Time'}}, 'is_sealed': {'key': 'Sealed', 'type': 'bool', 'xml': {'name': 'Sealed'}}, 'rehydrate_priority': {'key': 'RehydratePriority', 'type': 'str', 'xml': {'name': 'RehydratePriority'}}, + 'last_accessed_on': {'key': 'LastAccessTime', 'type': 'rfc-1123', 'xml': {'name': 'LastAccessTime'}}, } _xml_map = { 'name': 'Properties' } - def __init__(self, *, last_modified, etag: str, creation_time=None, content_length: int=None, content_type: str=None, content_encoding: str=None, content_language: str=None, content_md5: bytearray=None, content_disposition: str=None, cache_control: str=None, blob_sequence_number: int=None, blob_type=None, lease_status=None, lease_state=None, lease_duration=None, copy_id: str=None, copy_status=None, copy_source: str=None, copy_progress: str=None, copy_completion_time=None, copy_status_description: str=None, server_encrypted: bool=None, incremental_copy: bool=None, destination_snapshot: str=None, deleted_time=None, remaining_retention_days: int=None, access_tier=None, access_tier_inferred: bool=None, archive_status=None, customer_provided_key_sha256: str=None, encryption_scope: str=None, access_tier_change_time=None, tag_count: int=None, expires_on=None, is_sealed: bool=None, rehydrate_priority=None, **kwargs) -> None: + def __init__(self, *, last_modified, etag: str, creation_time=None, content_length: int=None, content_type: str=None, content_encoding: str=None, content_language: str=None, content_md5: bytearray=None, content_disposition: str=None, cache_control: str=None, blob_sequence_number: int=None, blob_type=None, lease_status=None, lease_state=None, lease_duration=None, copy_id: str=None, copy_status=None, copy_source: str=None, copy_progress: str=None, copy_completion_time=None, copy_status_description: str=None, server_encrypted: bool=None, incremental_copy: bool=None, destination_snapshot: str=None, deleted_time=None, remaining_retention_days: int=None, access_tier=None, access_tier_inferred: bool=None, archive_status=None, customer_provided_key_sha256: str=None, encryption_scope: str=None, access_tier_change_time=None, tag_count: int=None, expires_on=None, is_sealed: bool=None, rehydrate_priority=None, last_accessed_on=None, **kwargs) -> None: super(BlobPropertiesInternal, self).__init__(**kwargs) self.creation_time = creation_time self.last_modified = last_modified @@ -454,6 +519,7 @@ def __init__(self, *, last_modified, etag: str, creation_time=None, content_leng self.expires_on = expires_on self.is_sealed = is_sealed self.rehydrate_priority = rehydrate_priority + self.last_accessed_on = last_accessed_on class BlobTag(Model): @@ -1523,7 +1589,7 @@ def __init__(self, *, start: int, end: int, **kwargs) -> None: class QueryFormat(Model): """QueryFormat. - :param type: Possible values include: 'delimited', 'json' + :param type: Possible values include: 'delimited', 'json', 'arrow' :type type: str or ~azure.storage.blob.models.QueryFormatType :param delimited_text_configuration: :type delimited_text_configuration: @@ -1531,21 +1597,25 @@ class QueryFormat(Model): :param json_text_configuration: :type json_text_configuration: ~azure.storage.blob.models.JsonTextConfiguration + :param arrow_configuration: + :type arrow_configuration: ~azure.storage.blob.models.ArrowConfiguration """ _attribute_map = { 'type': {'key': 'Type', 'type': 'QueryFormatType', 'xml': {'name': 'Type'}}, 'delimited_text_configuration': {'key': 'DelimitedTextConfiguration', 'type': 'DelimitedTextConfiguration', 'xml': {'name': 'DelimitedTextConfiguration'}}, 'json_text_configuration': {'key': 'JsonTextConfiguration', 'type': 'JsonTextConfiguration', 'xml': {'name': 'JsonTextConfiguration'}}, + 'arrow_configuration': {'key': 'ArrowConfiguration', 'type': 'ArrowConfiguration', 'xml': {'name': 'ArrowConfiguration'}}, } _xml_map = { } - def __init__(self, *, type=None, delimited_text_configuration=None, json_text_configuration=None, **kwargs) -> None: + def __init__(self, *, type=None, delimited_text_configuration=None, json_text_configuration=None, arrow_configuration=None, **kwargs) -> None: super(QueryFormat, self).__init__(**kwargs) self.type = type self.delimited_text_configuration = delimited_text_configuration self.json_text_configuration = json_text_configuration + self.arrow_configuration = arrow_configuration class QueryRequest(Model): diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/operations/_blob_operations.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/operations/_blob_operations.py index 947801686071..394a519856a6 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/operations/_blob_operations.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/operations/_blob_operations.py @@ -220,6 +220,7 @@ def download(self, snapshot=None, version_id=None, timeout=None, range=None, ran 'x-ms-blob-content-md5': self._deserialize('bytearray', response.headers.get('x-ms-blob-content-md5')), 'x-ms-tag-count': self._deserialize('long', response.headers.get('x-ms-tag-count')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } @@ -263,6 +264,7 @@ def download(self, snapshot=None, version_id=None, timeout=None, range=None, ran 'x-ms-blob-content-md5': self._deserialize('bytearray', response.headers.get('x-ms-blob-content-md5')), 'x-ms-tag-count': self._deserialize('long', response.headers.get('x-ms-tag-count')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } @@ -439,6 +441,7 @@ def get_properties(self, snapshot=None, version_id=None, timeout=None, request_i 'x-ms-expiry-time': self._deserialize('rfc-1123', response.headers.get('x-ms-expiry-time')), 'x-ms-blob-sealed': self._deserialize('bool', response.headers.get('x-ms-blob-sealed')), 'x-ms-rehydrate-priority': self._deserialize('str', response.headers.get('x-ms-rehydrate-priority')), + 'x-ms-last-access-time': self._deserialize('rfc-1123', response.headers.get('x-ms-last-access-time')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) @@ -1115,7 +1118,7 @@ def set_expiry(self, expiry_options, timeout=None, request_id=None, expires_on=N header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') header_parameters['x-ms-expiry-option'] = self._serialize.header("expiry_options", expiry_options, 'str') if expires_on is not None: - header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'str') + header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'rfc-1123') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/version.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/version.py index be045899fa00..6ef707dd11c9 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/version.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_generated/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2019-12-12" +VERSION = "2020-02-10" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py index 6180d7851aae..1fd668c0f9b3 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py @@ -96,7 +96,7 @@ def acquire(self, lease_duration=-1, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -149,7 +149,7 @@ def renew(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -199,7 +199,7 @@ def release(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -248,7 +248,7 @@ def change(self, proposed_lease_id, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -307,7 +307,7 @@ def break_lease(self, lease_break_period=None, **kwargs): If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has not been modified since the specified date/time. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py index 5d46d0ffcfe4..c27fa9c02fc4 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py @@ -9,7 +9,7 @@ from enum import Enum from azure.core.paging import PageIterator -from azure.storage.blob._generated.models import FilterBlobItem +from azure.storage.blob._generated.models import FilterBlobItem, ArrowField from ._shared import decode_base64_to_text from ._shared.response_handlers import return_context_and_deserialized, process_storage_error @@ -502,6 +502,11 @@ class BlobProperties(DictMixin): .. versionadded:: 12.4.0 + :ivar ~datetime.datetime last_accessed_on: + Indicates when the last Read/Write operation was performed on a Blob. + + .. versionadded:: 12.6.0 + :ivar int tag_count: Tags count on this blob. @@ -548,6 +553,7 @@ def __init__(self, **kwargs): self.request_server_encrypted = kwargs.get('x-ms-server-encrypted') self.object_replication_source_properties = kwargs.get('object_replication_source_properties') self.object_replication_destination_policy = kwargs.get('x-ms-or-policy-id') + self.last_accessed_on = kwargs.get('x-ms-last-access-time') self.tag_count = kwargs.get('x-ms-tag-count') self.tags = None @@ -1093,6 +1099,30 @@ def __init__(self, **kwargs): self.has_header = kwargs.pop('has_header', False) +class ArrowDialect(ArrowField): + """field of an arrow schema. + + All required parameters must be populated in order to send to Azure. + + :param ~azure.storage.blob.ArrowType type: Arrow field type. + :keyword str name: The name of the field. + :keyword int precision: The precision of the field. + :keyword int scale: The scale of the field. + """ + def __init__(self, type, **kwargs): # pylint: disable=redefined-builtin + super(ArrowDialect, self).__init__(type=type, **kwargs) + + +class ArrowType(str, Enum): + + INT64 = "int64" + BOOL = "bool" + TIMESTAMP_MS = "timestamp[ms]" + STRING = "string" + DOUBLE = "double" + DECIMAL = 'decimal' + + class ObjectReplicationPolicy(DictMixin): """Policy id and rule ids applied to a blob. diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_serialize.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_serialize.py index 1b4ee9f4608d..a4b13dad938e 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_serialize.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_serialize.py @@ -13,8 +13,7 @@ from ._models import ( ContainerEncryptionScope, - DelimitedJsonDialect -) + DelimitedJsonDialect) from ._generated.models import ( ModifiedAccessConditions, SourceModifiedAccessConditions, @@ -24,6 +23,7 @@ QuerySerialization, DelimitedTextConfiguration, JsonTextConfiguration, + ArrowConfiguration, QueryFormatType, BlobTag, BlobTags, LeaseAccessConditions @@ -35,6 +35,7 @@ '2019-07-07', '2019-10-10', '2019-12-12', + '2020-02-10', ] @@ -181,6 +182,13 @@ def serialize_query_format(formater): type=QueryFormatType.delimited, delimited_text_configuration=serialization_settings ) + elif isinstance(formater, list): + serialization_settings = ArrowConfiguration( + schema=formater + ) + qq_format = QueryFormat( + type=QueryFormatType.arrow, + arrow_configuration=serialization_settings) elif not formater: return None else: diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/shared_access_signature.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/shared_access_signature.py index 367c6554ef89..07aad5ffa1c8 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/shared_access_signature.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/shared_access_signature.py @@ -39,6 +39,12 @@ class QueryStringConstants(object): SIGNED_KEY_SERVICE = 'sks' SIGNED_KEY_VERSION = 'skv' + # for ADLS + SIGNED_AUTHORIZED_OID = 'saoid' + SIGNED_UNAUTHORIZED_OID = 'suoid' + SIGNED_CORRELATION_ID = 'scid' + SIGNED_DIRECTORY_DEPTH = 'sdd' + @staticmethod def to_list(): return [ @@ -68,6 +74,11 @@ def to_list(): QueryStringConstants.SIGNED_KEY_EXPIRY, QueryStringConstants.SIGNED_KEY_SERVICE, QueryStringConstants.SIGNED_KEY_VERSION, + # for ADLS + QueryStringConstants.SIGNED_AUTHORIZED_OID, + QueryStringConstants.SIGNED_UNAUTHORIZED_OID, + QueryStringConstants.SIGNED_CORRELATION_ID, + QueryStringConstants.SIGNED_DIRECTORY_DEPTH, ] diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_shared_access_signature.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_shared_access_signature.py index af1c2015f270..6864ab19b473 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_shared_access_signature.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_shared_access_signature.py @@ -55,7 +55,7 @@ def generate_blob(self, container_name, blob_name, snapshot=None, version_id=Non expiry=None, start=None, policy_id=None, ip=None, protocol=None, cache_control=None, content_disposition=None, content_encoding=None, content_language=None, - content_type=None): + content_type=None, **kwargs): ''' Generates a shared access signature for the blob or one of its snapshots. Use the returned signature with the sas_token parameter of any BlobService. @@ -126,12 +126,14 @@ def generate_blob(self, container_name, blob_name, snapshot=None, version_id=Non resource = 'bs' if snapshot else 'b' resource = 'bv' if version_id else resource + resource = 'd' if kwargs.pop("is_directory", None) else resource sas.add_resource(resource) sas.add_timestamp(snapshot or version_id) sas.add_override_response_headers(cache_control, content_disposition, content_encoding, content_language, content_type) + sas.add_info_for_hns_account(**kwargs) sas.add_resource_signature(self.account_name, self.account_key, resource_path, user_delegation_key=self.user_delegation_key) @@ -141,7 +143,7 @@ def generate_container(self, container_name, permission=None, expiry=None, start=None, policy_id=None, ip=None, protocol=None, cache_control=None, content_disposition=None, content_encoding=None, content_language=None, - content_type=None): + content_type=None, **kwargs): ''' Generates a shared access signature for the container. Use the returned signature with the sas_token parameter of any BlobService. @@ -206,6 +208,7 @@ def generate_container(self, container_name, permission=None, expiry=None, sas.add_override_response_headers(cache_control, content_disposition, content_encoding, content_language, content_type) + sas.add_info_for_hns_account(**kwargs) sas.add_resource_signature(self.account_name, self.account_key, container_name, user_delegation_key=self.user_delegation_key) return sas.get_token() @@ -216,6 +219,12 @@ class _BlobSharedAccessHelper(_SharedAccessHelper): def add_timestamp(self, timestamp): self._add_query(BlobQueryStringConstants.SIGNED_TIMESTAMP, timestamp) + def add_info_for_hns_account(self, **kwargs): + self._add_query(QueryStringConstants.SIGNED_DIRECTORY_DEPTH, kwargs.pop('sdd', None)) + self._add_query(QueryStringConstants.SIGNED_AUTHORIZED_OID, kwargs.pop('preauthorized_agent_object_id', None)) + self._add_query(QueryStringConstants.SIGNED_UNAUTHORIZED_OID, kwargs.pop('agent_object_id', None)) + self._add_query(QueryStringConstants.SIGNED_CORRELATION_ID, kwargs.pop('correlation_id', None)) + def get_value_to_append(self, query): return_value = self.query_dict.get(query) or '' return return_value + '\n' @@ -249,7 +258,10 @@ def add_resource_signature(self, account_name, account_key, path, user_delegatio self.get_value_to_append(QueryStringConstants.SIGNED_KEY_START) + self.get_value_to_append(QueryStringConstants.SIGNED_KEY_EXPIRY) + self.get_value_to_append(QueryStringConstants.SIGNED_KEY_SERVICE) + - self.get_value_to_append(QueryStringConstants.SIGNED_KEY_VERSION)) + self.get_value_to_append(QueryStringConstants.SIGNED_KEY_VERSION) + + self.get_value_to_append(QueryStringConstants.SIGNED_AUTHORIZED_OID) + + self.get_value_to_append(QueryStringConstants.SIGNED_UNAUTHORIZED_OID) + + self.get_value_to_append(QueryStringConstants.SIGNED_CORRELATION_ID)) else: string_to_sign += self.get_value_to_append(QueryStringConstants.SIGNED_IDENTIFIER) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py index 74891a987c59..3020da3e619d 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py @@ -206,7 +206,7 @@ async def upload_blob( and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -322,7 +322,7 @@ async def download_blob(self, offset=None, length=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -410,7 +410,7 @@ async def delete_blob(self, delete_snapshots=False, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -520,7 +520,7 @@ async def get_blob_properties(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -561,14 +561,15 @@ async def get_blob_properties(self, **kwargs): snapshot=self.snapshot, lease_access_conditions=access_conditions, modified_access_conditions=mod_conditions, - cls=deserialize_blob_properties, + cls=kwargs.pop('cls', None) or deserialize_blob_properties, cpk_info=cpk_info, **kwargs) except StorageErrorException as error: process_storage_error(error) blob_props.name = self.blob_name - blob_props.snapshot = self.snapshot - blob_props.container = self.container_name + if isinstance(blob_props, BlobProperties): + blob_props.container = self.container_name + blob_props.snapshot = self.snapshot return blob_props # type: ignore @distributed_trace_async @@ -602,7 +603,7 @@ async def set_http_headers(self, content_settings=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -650,7 +651,7 @@ async def set_blob_metadata(self, metadata=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -869,7 +870,7 @@ async def create_snapshot(self, metadata=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1019,7 +1020,7 @@ async def start_copy_from_url(self, source_url, metadata=None, incremental_copy= and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The destination match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1139,7 +1140,7 @@ async def acquire_lease(self, lease_duration=-1, lease_id=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1181,7 +1182,7 @@ async def set_standard_blob_tier(self, standard_blob_tier, **kwargs): :type standard_blob_tier: str or ~azure.storage.blob.StandardBlobTier :keyword ~azure.storage.blob.RehydratePriority rehydrate_priority: Indicates the priority with which to rehydrate an archived blob - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1339,7 +1340,7 @@ async def get_block_list(self, block_list_type="committed", **kwargs): Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string. :paramtype lease: ~azure.storage.blob.aio.BlobLeaseClient or str - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1421,7 +1422,7 @@ async def commit_block_list( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1468,7 +1469,7 @@ async def set_premium_page_blob_tier(self, premium_page_blob_tier, **kwargs): blob and number of allowed IOPS. This is only applicable to page blobs on premium storage accounts. :type premium_page_blob_tier: ~azure.storage.blob.PremiumPageBlobTier - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1525,7 +1526,7 @@ async def set_blob_tags(self, tags=None, **kwargs): bitflips on the wire if using http instead of https, as https (the default), will already validate. Note that this MD5 hash is not stored with the blob. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" :keyword int timeout: @@ -1550,7 +1551,7 @@ async def get_blob_tags(self, **kwargs): :keyword str version_id: The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to add tags to. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" :keyword int timeout: @@ -1615,7 +1616,7 @@ async def get_page_ranges( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1752,7 +1753,7 @@ async def set_sequence_number( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1802,7 +1803,7 @@ async def resize_blob(self, size, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1882,7 +1883,7 @@ async def upload_page( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1995,7 +1996,7 @@ async def upload_pages_from_url(self, source_url, # type: str and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The destination match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2075,7 +2076,7 @@ async def clear_page(self, offset, length, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2150,7 +2151,7 @@ async def append_block( # type: ignore and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -2238,7 +2239,7 @@ async def append_block_from_url(self, copy_source_url, # type: str and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The destination match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py index ab2e8a0defc7..86422827efe3 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py @@ -337,6 +337,10 @@ def list_containers( :param bool include_metadata: Specifies that container metadata to be returned in the response. The default value is `False`. + :keyword bool include_deleted: + Specifies that deleted containers to be returned in the response. This is for container restore enabled + account. The default value is `False`. + .. versionadded:: 12.4.0 :keyword int results_per_page: The maximum number of container names to retrieve per API call. If the request does not specify the server will return up to 5,000 items. @@ -355,6 +359,9 @@ def list_containers( :caption: Listing the containers in the blob service. """ include = ['metadata'] if include_metadata else [] + include_deleted = kwargs.pop('include_deleted', None) + if include_deleted: + include.append("deleted") timeout = kwargs.pop('timeout', None) results_per_page = kwargs.pop('results_per_page', None) command = functools.partial( @@ -510,7 +517,7 @@ async def delete_container( **kwargs) @distributed_trace_async - async def _undelete_container(self, deleted_container_name, deleted_container_version, new_name=None, **kwargs): + async def undelete_container(self, deleted_container_name, deleted_container_version, **kwargs): # type: (str, str, str, **Any) -> ContainerClient """Restores soft-deleted container. @@ -524,12 +531,14 @@ async def _undelete_container(self, deleted_container_name, deleted_container_ve Specifies the name of the deleted container to restore. :param str deleted_container_version: Specifies the version of the deleted container to restore. - :param str new_name: + :keyword str new_name: The new name for the deleted container to be restored to. + If not specified deleted_container_name will be used as the restored container name. :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: ~azure.storage.blob.aio.ContainerClient """ + new_name = kwargs.pop('new_name', None) container = self.get_container_client(new_name or deleted_container_name) try: await container._client.container.restore(deleted_container_name=deleted_container_name, # pylint: disable = protected-access diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py index 635dab1a20ae..730a1fd201b3 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py @@ -657,7 +657,7 @@ async def upload_blob( and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -780,7 +780,7 @@ async def delete_blob( and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -845,7 +845,7 @@ async def download_blob(self, blob, offset=None, length=None, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -934,7 +934,7 @@ async def delete_blobs( # pylint: disable=arguments-differ If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has not been modified since the specified date/time. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -1012,7 +1012,7 @@ async def set_standard_blob_tier_blobs( :type blobs: list[str], list[dict], or list[~azure.storage.blob.BlobProperties] :keyword ~azure.storage.blob.RehydratePriority rehydrate_priority: Indicates the priority with which to rehydrate an archived blob - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_lease_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_lease_async.py index 5f68a9b7b874..91bf93d04893 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_lease_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_lease_async.py @@ -92,7 +92,7 @@ async def acquire(self, lease_duration=-1, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -145,7 +145,7 @@ async def renew(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -195,7 +195,7 @@ async def release(self, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -244,7 +244,7 @@ async def change(self, proposed_lease_id, **kwargs): and act according to the condition specified by the `match_condition` parameter. :keyword ~azure.core.MatchConditions match_condition: The match condition to use upon the etag. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" @@ -303,7 +303,7 @@ async def break_lease(self, lease_break_period=None, **kwargs): If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has not been modified since the specified date/time. - :keyword str if_tags_match_condition + :keyword str if_tags_match_condition: Specify a SQL where clause on blob tags to operate only on blob with a matching value. eg. "\"tagname\"='my tag'" diff --git a/sdk/storage/azure-storage-blob/swagger/README.md b/sdk/storage/azure-storage-blob/swagger/README.md index 3332c55b5690..b9be2d094ffe 100644 --- a/sdk/storage/azure-storage-blob/swagger/README.md +++ b/sdk/storage/azure-storage-blob/swagger/README.md @@ -19,7 +19,7 @@ autorest --use=C:/work/autorest.python --version=2.0.4280 ### Settings ``` yaml -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-02-10/blob.json output-folder: ../azure/storage/blob/_generated namespace: azure.storage.blob no-namespace-folders: true diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_get_properties_last_access_time.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_get_properties_last_access_time.yaml new file mode 100644 index 000000000000..26eb62595223 --- /dev/null +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_get_properties_last_access_time.yaml @@ -0,0 +1,346 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:06:53 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utcontainer56131a54?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 04 Sep 2020 20:06:53 GMT + etag: + - '"0x8D8510E11772436"' + last-modified: + - Fri, 04 Sep 2020 20:06:53 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: hello world + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '11' + Content-Type: + - application/octet-stream + If-None-Match: + - '*' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 04 Sep 2020 20:06:54 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1 + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - XrY7u+Ae7tCTyyK7j1rNww== + date: + - Fri, 04 Sep 2020 20:06:53 GMT + etag: + - '"0x8D8510E118A992E"' + last-modified: + - Fri, 04 Sep 2020 20:06:53 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-content-crc64: + - vo7q9sPVKY0= + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:06:54 GMT + x-ms-version: + - '2020-02-10' + method: HEAD + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1 + response: + body: + string: '' + headers: + accept-ranges: + - bytes + content-length: + - '11' + content-md5: + - XrY7u+Ae7tCTyyK7j1rNww== + content-type: + - application/octet-stream + date: + - Fri, 04 Sep 2020 20:06:53 GMT + etag: + - '"0x8D8510E118A992E"' + last-modified: + - Fri, 04 Sep 2020 20:06:53 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - Hot + x-ms-access-tier-inferred: + - 'true' + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 04 Sep 2020 20:06:53 GMT + x-ms-last-access-time: + - Fri, 04 Sep 2020 20:06:53 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: this is test content + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:08:03 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1?blockid=MQ%3D%3D&comp=block + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 04 Sep 2020 20:08:02 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-content-crc64: + - wae/Ns62JRA= + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: ' + + MQ==' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '83' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:08:04 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1?comp=blocklist + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 04 Sep 2020 20:08:03 GMT + etag: + - '"0x8D8510E3B9B72BB"' + last-modified: + - Fri, 04 Sep 2020 20:08:04 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-content-crc64: + - iEgKfcNWGmY= + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:08:08 GMT + x-ms-version: + - '2020-02-10' + method: HEAD + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1 + response: + body: + string: '' + headers: + accept-ranges: + - bytes + content-length: + - '20' + content-type: + - application/octet-stream + date: + - Fri, 04 Sep 2020 20:08:07 GMT + etag: + - '"0x8D8510E3B9B72BB"' + last-modified: + - Fri, 04 Sep 2020 20:08:04 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - Hot + x-ms-access-tier-inferred: + - 'true' + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 04 Sep 2020 20:06:53 GMT + x-ms-last-access-time: + - Fri, 04 Sep 2020 20:08:04 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 04 Sep 2020 20:08:20 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.blob.core.windows.net/utcontainer56131a54/blob1 + response: + body: + string: this is test content + headers: + accept-ranges: + - bytes + content-length: + - '20' + content-range: + - bytes 0-19/20 + content-type: + - application/octet-stream + date: + - Fri, 04 Sep 2020 20:08:19 GMT + etag: + - '"0x8D8510E3B9B72BB"' + last-modified: + - Fri, 04 Sep 2020 20:08:04 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 04 Sep 2020 20:06:53 GMT + x-ms-last-access-time: + - Fri, 04 Sep 2020 20:08:04 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 206 + message: Partial Content +version: 1 diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_set_blob_properties_with_if_unmodified.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_set_blob_properties_with_if_unmodified.yaml index 7f76e0fe9600..da1bce3afdb2 100644 --- a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_set_blob_properties_with_if_unmodified.yaml +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_set_blob_properties_with_if_unmodified.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:53 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/utcontainer1a461d38?restype=container response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Fri, 25 Oct 2019 17:22:42 GMT + - Mon, 31 Aug 2020 19:33:53 GMT etag: - - '"0x8D7596FF1D3E313"' + - '"0x8D84DE4CBC260A7"' last-modified: - - Fri, 25 Oct 2019 17:22:42 GMT + - Mon, 31 Aug 2020 19:33:53 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -53,13 +53,13 @@ interactions: If-None-Match: - '*' User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/utcontainer1a461d38/blob1 response: @@ -71,11 +71,11 @@ interactions: content-md5: - XrY7u+Ae7tCTyyK7j1rNww== date: - - Fri, 25 Oct 2019 17:22:42 GMT + - Mon, 31 Aug 2020 19:33:53 GMT etag: - - '"0x8D7596FF1DC92CD"' + - '"0x8D84DE4CBEC5B60"' last-modified: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -83,7 +83,9 @@ interactions: x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' + x-ms-version-id: + - '2020-08-31T19:33:54.2072160Z' status: code: 201 message: Created @@ -99,17 +101,17 @@ interactions: Content-Length: - '0' If-Unmodified-Since: - - Fri, 25 Oct 2019 17:37:43 GMT + - Mon, 31 Aug 2020 19:48:54 GMT User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-blob-content-disposition: - inline x-ms-blob-content-language: - spanish x-ms-date: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/utcontainer1a461d38/blob1?comp=properties response: @@ -119,15 +121,15 @@ interactions: content-length: - '0' date: - - Fri, 25 Oct 2019 17:22:42 GMT + - Mon, 31 Aug 2020 19:33:53 GMT etag: - - '"0x8D7596FF1E7DF78"' + - '"0x8D84DE4CC0AE569"' last-modified: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK @@ -141,11 +143,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: HEAD uri: https://storagename.blob.core.windows.net/utcontainer1a461d38/blob1 response: @@ -161,11 +163,11 @@ interactions: content-length: - '11' date: - - Fri, 25 Oct 2019 17:22:42 GMT + - Mon, 31 Aug 2020 19:33:54 GMT etag: - - '"0x8D7596FF1E7DF78"' + - '"0x8D84DE4CC0AE569"' last-modified: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -175,7 +177,9 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 25 Oct 2019 17:22:43 GMT + - Mon, 31 Aug 2020 19:33:54 GMT + x-ms-is-current-version: + - 'true' x-ms-lease-state: - available x-ms-lease-status: @@ -183,7 +187,9 @@ interactions: x-ms-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' + x-ms-version-id: + - '2020-08-31T19:33:54.2072160Z' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_contains_last_access_time.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_contains_last_access_time.yaml new file mode 100644 index 000000000000..bca836b9628f --- /dev/null +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_contains_last_access_time.yaml @@ -0,0 +1,214 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Mon, 31 Aug 2020 05:13:55 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/container91b0170d?restype=container + response: + body: + string: "\uFEFFServerBusyThe + server is busy.\nRequestId:3ce0d6d6-101e-0091-5d55-7fbf70000000\nTime:2020-08-31T05:13:56.1643333Z" + headers: + content-length: + - '198' + content-type: + - application/xml + date: + - Mon, 31 Aug 2020 05:13:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - ServerBusy + x-ms-version: + - '2020-02-10' + status: + code: 503 + message: The server is busy. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Mon, 31 Aug 2020 05:13:55 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/container91b0170d?restype=container + response: + body: + string: "\uFEFFOperationTimedOutOperation + could not be completed within the specified time.\nRequestId:3ce0eb1c-101e-0091-2c55-7fbf70000000\nTime:2020-08-31T05:14:42.5822263Z" + headers: + connection: + - close + content-length: + - '245' + content-type: + - application/xml + date: + - Mon, 31 Aug 2020 05:14:42 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - OperationTimedOut + x-ms-version: + - '2020-02-10' + status: + code: 500 + message: Operation could not be completed within the specified time. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Mon, 31 Aug 2020 05:13:55 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/container91b0170d?restype=container + response: + body: + string: "\uFEFFContainerAlreadyExistsThe + specified container already exists.\nRequestId:afaf1e48-d01e-0037-8055-7f086e000000\nTime:2020-08-31T05:15:08.9654305Z" + headers: + content-length: + - '230' + content-type: + - application/xml + date: + - Mon, 31 Aug 2020 05:15:08 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - ContainerAlreadyExists + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: The specified container already exists. +- request: + body: hello world + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '11' + Content-Type: + - application/octet-stream + If-None-Match: + - '*' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-access-tier: + - Archive + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Mon, 31 Aug 2020 05:15:09 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/container91b0170d/blob1 + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - XrY7u+Ae7tCTyyK7j1rNww== + date: + - Mon, 31 Aug 2020 05:15:09 GMT + etag: + - '"0x8D84D6CD4A59A6D"' + last-modified: + - Mon, 31 Aug 2020 05:15:09 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-content-crc64: + - vo7q9sPVKY0= + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Mon, 31 Aug 2020 05:15:09 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.blob.core.windows.net/container91b0170d?restype=container&comp=list + response: + body: + string: "\uFEFFblob1Mon, + 31 Aug 2020 05:15:09 GMTMon, 31 Aug 2020 05:15:09 + GMT0x8D84D6CD4A59A6D11application/octet-streamXrY7u+Ae7tCTyyK7j1rNww==Mon, 31 Aug 2020 05:15:09 GMTBlockBlobArchiveMon, + 31 Aug 2020 05:15:09 GMTunlockedavailabletrue" + headers: + content-type: + - application/xml + date: + - Mon, 31 Aug 2020 05:15:09 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_leased_blob.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_leased_blob.yaml index d51e03ae7b9a..1dc923f4058b 100644 --- a/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_leased_blob.yaml +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_container.test_list_blobs_leased_blob.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/container73941128?restype=container response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Fri, 25 Oct 2019 17:59:35 GMT + - Mon, 28 Sep 2020 14:59:47 GMT etag: - - '"0x8D7597518ECA775"' + - '"0x8D863BF24A1824F"' last-modified: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -53,13 +53,13 @@ interactions: If-None-Match: - '*' User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/container73941128/blob1 response: @@ -71,11 +71,11 @@ interactions: content-md5: - XrY7u+Ae7tCTyyK7j1rNww== date: - - Fri, 25 Oct 2019 17:59:35 GMT + - Mon, 28 Sep 2020 14:59:47 GMT etag: - - '"0x8D7597518F66CB6"' + - '"0x8D863BF24BA54AE"' last-modified: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -83,7 +83,7 @@ interactions: x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -99,17 +99,17 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT x-ms-lease-action: - acquire x-ms-lease-duration: - '-1' x-ms-proposed-lease-id: - - 7c0a3856-5a7b-41a9-b2ea-46c007922f6c + - 7252b40b-7746-4557-be21-82f42dd16067 x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/container73941128/blob1?comp=lease response: @@ -119,17 +119,17 @@ interactions: content-length: - '0' date: - - Fri, 25 Oct 2019 17:59:35 GMT + - Mon, 28 Sep 2020 14:59:48 GMT etag: - - '"0x8D7597518F66CB6"' + - '"0x8D863BF24BA54AE"' last-modified: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:47 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-lease-id: - - 7c0a3856-5a7b-41a9-b2ea-46c007922f6c + - 7252b40b-7746-4557-be21-82f42dd16067 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -143,33 +143,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.0.0b5 Python/3.6.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Fri, 25 Oct 2019 17:59:36 GMT + - Mon, 28 Sep 2020 14:59:48 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.blob.core.windows.net/container73941128?restype=container&comp=list response: body: string: "\uFEFFblob1Fri, - 25 Oct 2019 17:59:36 GMTFri, 25 Oct 2019 17:59:36 - GMT0x8D7597518F66CB611application/octet-streamblob1Mon, + 28 Sep 2020 14:59:47 GMTMon, 28 Sep 2020 14:59:47 + GMT0x8D863BF24BA54AE11application/octet-streamXrY7u+Ae7tCTyyK7j1rNww==BlockBlobHottruelockedleasedinfinitetrue" + />Mon, 28 Sep 2020 14:59:47 GMTBlockBlobHottruelockedleasedinfinitetrue" headers: content-type: - application/xml date: - - Fri, 25 Oct 2019 17:59:35 GMT + - Mon, 28 Sep 2020 14:59:48 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml new file mode 100644 index 000000000000..8ee27403148f --- /dev/null +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 11 Sep 2020 20:58:27 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utqqcontainer9d4d1789?restype=container + response: + body: + string: '' + headers: + date: + - Fri, 11 Sep 2020 20:58:28 GMT + etag: + - '"0x8D856956EBF3C36"' + last-modified: + - Fri, 11 Sep 2020 20:58:28 GMT + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: '100,200,300,400 + + 300,400,500,600 + + ' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 11 Sep 2020 20:58:28 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.blob.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789 + response: + body: + string: '' + headers: + content-md5: + - /hmKXD7m7tyfn12eEsFvyQ== + date: + - Fri, 11 Sep 2020 20:58:28 GMT + etag: + - '"0x8D856956ED0E86F"' + last-modified: + - Fri, 11 Sep 2020 20:58:28 GMT + transfer-encoding: + - chunked + x-ms-content-crc64: + - Dn1U+tgM/4c= + x-ms-request-server-encrypted: + - 'false' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: ' + + SQLSELECT _2 from BlobStorage + WHERE _1 > 250arrowdecimalabc42' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '390' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 11 Sep 2020 20:58:28 GMT + x-ms-version: + - '2020-02-10' + method: POST + uri: https://storagename.blob.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789?comp=query + response: + body: + string: !!binary | + T2JqAQIWYXZyby5zY2hlbWG+HlsKICB7CiAgICAidHlwZSI6ICJyZWNvcmQiLAogICAgIm5hbWUi + OiAiY29tLm1pY3Jvc29mdC5henVyZS5zdG9yYWdlLnF1ZXJ5QmxvYkNvbnRlbnRzLnJlc3VsdERh + dGEiLAogICAgImRvYyI6ICJIb2xkcyByZXN1bHQgZGF0YSBpbiB0aGUgZm9ybWF0IHNwZWNpZmll + ZCBmb3IgdGhpcyBxdWVyeSAoQ1NWLCBKU09OLCBldGMuKS4iLAogICAgImZpZWxkcyI6IFsKICAg + ICAgewogICAgICAgICJuYW1lIjogImRhdGEiLAogICAgICAgICJ0eXBlIjogImJ5dGVzIgogICAg + ICB9CiAgICBdCiAgfSwKICB7CiAgICAidHlwZSI6ICJyZWNvcmQiLAogICAgIm5hbWUiOiAiY29t + Lm1pY3Jvc29mdC5henVyZS5zdG9yYWdlLnF1ZXJ5QmxvYkNvbnRlbnRzLmVycm9yIiwKICAgICJk + b2MiOiAiQW4gZXJyb3IgdGhhdCBvY2N1cnJlZCB3aGlsZSBwcm9jZXNzaW5nIHRoZSBxdWVyeS4i + LAogICAgImZpZWxkcyI6IFsKICAgICAgewogICAgICAgICJuYW1lIjogImZhdGFsIiwKICAgICAg + ICAidHlwZSI6ICJib29sZWFuIiwKICAgICAgICAiZG9jIjogIklmIHRydWUsIHRoaXMgZXJyb3Ig + cHJldmVudHMgZnVydGhlciBxdWVyeSBwcm9jZXNzaW5nLiAgTW9yZSByZXN1bHQgZGF0YSBtYXkg + YmUgcmV0dXJuZWQsIGJ1dCB0aGVyZSBpcyBubyBndWFyYW50ZWUgdGhhdCBhbGwgb2YgdGhlIG9y + aWdpbmFsIGRhdGEgd2lsbCBiZSBwcm9jZXNzZWQuICBJZiBmYWxzZSwgdGhpcyBlcnJvciBkb2Vz + IG5vdCBwcmV2ZW50IGZ1cnRoZXIgcXVlcnkgcHJvY2Vzc2luZy4iCiAgICAgIH0sCiAgICAgIHsK + ICAgICAgICAibmFtZSI6ICJuYW1lIiwKICAgICAgICAidHlwZSI6ICJzdHJpbmciLAogICAgICAg + ICJkb2MiOiAiVGhlIG5hbWUgb2YgdGhlIGVycm9yIgogICAgICB9LAogICAgICB7CiAgICAgICAg + Im5hbWUiOiAiZGVzY3JpcHRpb24iLAogICAgICAgICJ0eXBlIjogInN0cmluZyIsCiAgICAgICAg + ImRvYyI6ICJBIGRlc2NyaXB0aW9uIG9mIHRoZSBlcnJvciIKICAgICAgfSwKICAgICAgewogICAg + ICAgICJuYW1lIjogInBvc2l0aW9uIiwKICAgICAgICAidHlwZSI6ICJsb25nIiwKICAgICAgICAi + ZG9jIjogIlRoZSBibG9iIG9mZnNldCBhdCB3aGljaCB0aGUgZXJyb3Igb2NjdXJyZWQiCiAgICAg + IH0KICAgIF0KICB9LAogIHsKICAgICJ0eXBlIjogInJlY29yZCIsCiAgICAibmFtZSI6ICJjb20u + bWljcm9zb2Z0LmF6dXJlLnN0b3JhZ2UucXVlcnlCbG9iQ29udGVudHMucHJvZ3Jlc3MiLAogICAg + ImRvYyI6ICJJbmZvcm1hdGlvbiBhYm91dCB0aGUgcHJvZ3Jlc3Mgb2YgdGhlIHF1ZXJ5IiwKICAg + ICJmaWVsZHMiOiBbCiAgICAgIHsKICAgICAgICAibmFtZSI6ICJieXRlc1NjYW5uZWQiLAogICAg + ICAgICJ0eXBlIjogImxvbmciLAogICAgICAgICJkb2MiOiAiVGhlIG51bWJlciBvZiBieXRlcyB0 + aGF0IGhhdmUgYmVlbiBzY2FubmVkIgogICAgICB9LAogICAgICB7CiAgICAgICAgIm5hbWUiOiAi + dG90YWxCeXRlcyIsCiAgICAgICAgInR5cGUiOiAibG9uZyIsCiAgICAgICAgImRvYyI6ICJUaGUg + dG90YWwgbnVtYmVyIG9mIGJ5dGVzIHRvIGJlIHNjYW5uZWQgaW4gdGhpcyBxdWVyeSIKICAgICAg + fQogICAgXQogIH0sCiAgewogICAgInR5cGUiOiAicmVjb3JkIiwKICAgICJuYW1lIjogImNvbS5t + aWNyb3NvZnQuYXp1cmUuc3RvcmFnZS5xdWVyeUJsb2JDb250ZW50cy5lbmQiLAogICAgImRvYyI6 + ICJTZW50IGFzIHRoZSBmaW5hbCBtZXNzYWdlIG9mIHRoZSByZXNwb25zZSwgaW5kaWNhdGluZyB0 + aGF0IGFsbCByZXN1bHRzIGhhdmUgYmVlbiBzZW50LiIsCiAgICAiZmllbGRzIjogWwogICAgICB7 + CiAgICAgICAgIm5hbWUiOiAidG90YWxCeXRlcyIsCiAgICAgICAgInR5cGUiOiAibG9uZyIsCiAg + ICAgICAgImRvYyI6ICJUaGUgdG90YWwgbnVtYmVyIG9mIGJ5dGVzIHRvIGJlIHNjYW5uZWQgaW4g + dGhpcyBxdWVyeSIKICAgICAgfQogICAgXQogIH0KXQoAQmgjmNsu90Ck/YQ3d6WMowL2AwDwA/// + //94AAAAEAAAAAAACgAMAAYABQAIAAoAAAAAAQMADAAAAAgACAAAAAQACAAAAAQAAAABAAAAFAAA + ABAAFAAIAAYABwAMAAAAEAAQAAAAAAABByQAAAAUAAAABAAAAAAAAAAIAAwABAAIAAgAAAAEAAAA + AgAAAAMAAABhYmMA/////3AAAAAQAAAAAAAKAA4ABgAFAAgACgAAAAADAwAQAAAAAAAKAAwAAAAE + AAgACgAAADAAAAAEAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEA + AAAAAAAAAAAAAAAAAAAAAAAAQmgjmNsu90Ck/YQ3d6WMowLGAgDAAv////+IAAAAFAAAAAAAAAAM + ABYABgAFAAgADAAMAAAAAAMDABgAAAAQAAAAAAAAAAAACgAYAAwABAAIAAoAAAA8AAAAEAAAAAEA + AAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAABAAAAAQAA + AAAAAAAAAAAAAAAAAJABAAAAAAAAAAAAAAAAAABCaCOY2y73QKT9hDd3pYyjAgYEQEBCaCOY2y73 + QKT9hDd3pYyjAgQGQEJoI5jbLvdApP2EN3eljKM= + headers: + accept-ranges: + - bytes + content-type: + - avro/binary + date: + - Fri, 11 Sep 2020 20:58:28 GMT + etag: + - '"0x8D856956ED0E86F"' + last-modified: + - Fri, 11 Sep 2020 20:58:28 GMT + transfer-encoding: + - chunked + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 11 Sep 2020 20:58:28 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 11 Sep 2020 20:58:28 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.blob.core.windows.net/utqqcontainer9d4d1789?restype=container + response: + body: + string: '' + headers: + date: + - Fri, 11 Sep 2020 20:58:28 GMT + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py index d711422decb5..3b9c6bc02ab4 100644 --- a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py +++ b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py @@ -621,6 +621,24 @@ def test_set_blob_properties_with_if_unmodified_fail(self, resource_group, locat # Assert self.assertEqual(StorageErrorCode.condition_not_met, e.exception.error_code) + @pytest.mark.playback_test_only + @GlobalStorageAccountPreparer() + def test_get_properties_last_access_time(self, resource_group, location, storage_account, storage_account_key): + bsc = BlobServiceClient(self.account_url(storage_account, "blob"), storage_account_key, + connection_data_block_size=4 * 1024) + self._setup() + self._create_container_and_block_blob(self.container_name, 'blob1', b'hello world', bsc) + blob = bsc.get_blob_client(self.container_name, 'blob1') + # Assert + lat = blob.get_blob_properties().last_accessed_on + blob.stage_block(block_id='1', data="this is test content") + blob.commit_block_list(['1']) + new_lat = blob.get_blob_properties().last_accessed_on + self.assertIsInstance(lat, datetime) + self.assertIsInstance(new_lat, datetime) + self.assertGreater(new_lat, lat) + self.assertIsInstance(blob.download_blob().properties.last_accessed_on, datetime) + @GlobalStorageAccountPreparer() def test_set_blob_properties_with_if_match(self, resource_group, location, storage_account, storage_account_key): bsc = BlobServiceClient(self.account_url(storage_account, "blob"), storage_account_key, connection_data_block_size=4 * 1024) diff --git a/sdk/storage/azure-storage-blob/tests/test_container.py b/sdk/storage/azure-storage-blob/tests/test_container.py index a0903a6470f5..ff2c33347c96 100644 --- a/sdk/storage/azure-storage-blob/tests/test_container.py +++ b/sdk/storage/azure-storage-blob/tests/test_container.py @@ -742,7 +742,7 @@ def test_undelete_container(self, resource_group, location, storage_account, sto for container in container_list: # find the deleted container and restore it if container.deleted and container.name == container_client.container_name: - restored_ctn_client = bsc._undelete_container(container.name, container.version, + restored_ctn_client = bsc.undelete_container(container.name, container.version, new_name="restored" + str(restored_version)) restored_version += 1 @@ -774,7 +774,7 @@ def test_restore_to_existing_container(self, resource_group, location, storage_a # find the deleted container and restore it if container.deleted and container.name == container_client.container_name: with self.assertRaises(HttpResponseError): - bsc._undelete_container(container.name, container.version, + bsc.undelete_container(container.name, container.version, new_name=existing_container_client.container_name) @pytest.mark.live_test_only # sas token is dynamically generated @@ -804,7 +804,7 @@ def test_restore_with_sas(self, resource_group, location, storage_account, stora for container in container_list: # find the deleted container and restore it if container.deleted and container.name == container_client.container_name: - restored_ctn_client = bsc._undelete_container(container.name, container.version, + restored_ctn_client = bsc.undelete_container(container.name, container.version, new_name="restored" + str(restored_version)) restored_version += 1 @@ -827,6 +827,20 @@ def test_list_names(self, resource_group, location, storage_account, storage_acc self.assertEqual(blobs, ['blob1', 'blob2']) + @pytest.mark.playback_test_only + @GlobalStorageAccountPreparer() + def test_list_blobs_contains_last_access_time(self, resource_group, location, storage_account, storage_account_key): + bsc = BlobServiceClient(self.account_url(storage_account, "blob"), storage_account_key) + container = self._create_container(bsc) + data = b'hello world' + + blob_client = container.get_blob_client('blob1') + blob_client.upload_blob(data, standard_blob_tier=StandardBlobTier.Archive) + + # Act + for blob_properties in container.list_blobs(): + self.assertIsInstance(blob_properties.last_accessed_on, datetime) + @GlobalStorageAccountPreparer() def test_list_blobs_returns_rehydrate_priority(self, resource_group, location, storage_account, storage_account_key): bsc = BlobServiceClient(self.account_url(storage_account, "blob"), storage_account_key) diff --git a/sdk/storage/azure-storage-blob/tests/test_container_async.py b/sdk/storage/azure-storage-blob/tests/test_container_async.py index d6e4563cb406..9c280615e91f 100644 --- a/sdk/storage/azure-storage-blob/tests/test_container_async.py +++ b/sdk/storage/azure-storage-blob/tests/test_container_async.py @@ -806,7 +806,7 @@ async def test_undelete_container(self, resource_group, location, storage_accoun for container in container_list: # find the deleted container and restore it if container.deleted and container.name == container_client.container_name: - restored_ctn_client = await bsc._undelete_container(container.name, container.version, + restored_ctn_client = await bsc.undelete_container(container.name, container.version, new_name="restoredctn" + str(restored_version)) restored_version += 1 @@ -841,7 +841,7 @@ async def test_restore_to_existing_container(self, resource_group, location, sto # find the deleted container and restore it if container.deleted and container.name == container_client.container_name: with self.assertRaises(HttpResponseError): - await bsc._undelete_container(container.name, container.version, + await bsc.undelete_container(container.name, container.version, new_name=existing_container_client.container_name) @GlobalStorageAccountPreparer() diff --git a/sdk/storage/azure-storage-blob/tests/test_quick_query.py b/sdk/storage/azure-storage-blob/tests/test_quick_query.py index e11ed1b2f136..cf2e1d62ed98 100644 --- a/sdk/storage/azure-storage-blob/tests/test_quick_query.py +++ b/sdk/storage/azure-storage-blob/tests/test_quick_query.py @@ -5,6 +5,7 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- +import base64 import pytest @@ -17,6 +18,8 @@ ) # ------------------------------------------------------------------------------ +from azure.storage.blob._models import ArrowDialect, ArrowType + CSV_DATA = b'Service,Package,Version,RepoPath,MissingDocs\r\nApp Configuration,' \ b'azure-data-appconfiguration,1,appconfiguration,FALSE\r\nEvent Hubs' \ b'\r\nEvent Hubs - Azure Storage CheckpointStore,' \ @@ -875,4 +878,62 @@ def on_error(error): self.assertEqual(query_result, b'{"name":"owner"}\n{}\n{"name":"owner"}\n') self._teardown(bsc) + @GlobalStorageAccountPreparer() + def test_quick_query_output_in_arrow_format(self, resource_group, location, storage_account, + storage_account_key): + # Arrange + bsc = BlobServiceClient( + self.account_url(storage_account, "blob"), + credential=storage_account_key) + self._setup(bsc) + + data = b'100,200,300,400\n300,400,500,600\n' + + # upload the json file + blob_name = self._get_blob_reference() + blob_client = bsc.get_blob_client(self.container_name, blob_name) + blob_client.upload_blob(data, overwrite=True) + + errors = [] + def on_error(error): + errors.append(error) + + output_format = [ArrowDialect(ArrowType.DECIMAL, name="abc", precision=4, scale=2)] + + resp = blob_client.query_blob( + "SELECT _2 from BlobStorage WHERE _1 > 250", + on_error=on_error, + output_format=output_format) + query_result = base64.b64encode(resp.readall()) + expected_result = b"/////3gAAAAQAAAAAAAKAAwABgAFAAgACgAAAAABAwAMAAAACAAIAAAABAAIAAAABAAAAAEAAAAUAAAAEAAUAAgABgAHAAwAAAAQABAAAAAAAAEHJAAAABQAAAAEAAAAAAAAAAgADAAEAAgACAAAAAQAAAACAAAAAwAAAGFiYwD/////cAAAABAAAAAAAAoADgAGAAUACAAKAAAAAAMDABAAAAAAAAoADAAAAAQACAAKAAAAMAAAAAQAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAD/////iAAAABQAAAAAAAAADAAWAAYABQAIAAwADAAAAAADAwAYAAAAEAAAAAAAAAAAAAoAGAAMAAQACAAKAAAAPAAAABAAAAABAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAACQAQAAAAAAAAAAAAAAAAAA" + + self.assertEqual(len(errors), 0) + self.assertEqual(query_result, expected_result) + self._teardown(bsc) + + @GlobalStorageAccountPreparer() + def test_quick_query_input_in_arrow_format(self, resource_group, location, storage_account, + storage_account_key): + # Arrange + bsc = BlobServiceClient( + self.account_url(storage_account, "blob"), + credential=storage_account_key) + self._setup(bsc) + + # upload the json file + blob_name = self._get_blob_reference() + blob_client = bsc.get_blob_client(self.container_name, blob_name) + + errors = [] + def on_error(error): + errors.append(error) + + input_format = [ArrowDialect(ArrowType.DECIMAL, name="abc", precision=4, scale=2)] + + with self.assertRaises(ValueError): + blob_client.query_blob( + "SELECT * from BlobStorage", + on_error=on_error, + blob_format=input_format) + # ------------------------------------------------------------------------------ diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/__init__.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/__init__.py index a86368c72c85..0cfdefdae4e1 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/__init__.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/__init__.py @@ -18,7 +18,6 @@ DirectoryProperties, FileProperties, PathProperties, - PathPropertiesPaged, LeaseProperties, ContentSettings, AccountSasPermissions, @@ -30,8 +29,16 @@ AccessPolicy, DelimitedTextDialect, DelimitedJsonDialect, - DataLakeFileQueryError + ArrowDialect, + ArrowType, + DataLakeFileQueryError, + DataLakeAclChangeFailedError, + AccessControlChangeResult, + AccessControlChangeCounters, + AccessControlChangeFailure, + AccessControlChanges, ) + from ._shared_access_signature import generate_account_sas, generate_file_system_sas, generate_directory_sas, \ generate_file_sas @@ -60,9 +67,12 @@ 'DirectoryProperties', 'FileProperties', 'PathProperties', - 'PathPropertiesPaged', 'LeaseProperties', 'ContentSettings', + 'AccessControlChangeResult', + 'AccessControlChangeCounters', + 'AccessControlChangeFailure', + 'AccessControlChanges', 'AccountSasPermissions', 'FileSystemSasPermissions', 'DirectorySasPermissions', @@ -75,5 +85,9 @@ 'StorageStreamDownloader', 'DelimitedTextDialect', 'DelimitedJsonDialect', + 'DataLakeFileQueryError', + 'DataLakeAclChangeFailedError', + 'ArrowDialect', + 'ArrowType', 'DataLakeFileQueryError' ] diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py index 0584bb7ad9a7..c1c4ad8521e7 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py @@ -3,12 +3,11 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- - try: from urllib.parse import quote, unquote except ImportError: from urllib2 import quote, unquote # type: ignore - +from ._deserialize import deserialize_dir_properties from ._shared.base_client import parse_connection_str from ._data_lake_file_client import DataLakeFileClient from ._models import DirectoryProperties @@ -236,8 +235,7 @@ def get_directory_properties(self, **kwargs): :dedent: 4 :caption: Getting the properties for a file/directory. """ - blob_properties = self._get_path_properties(**kwargs) - return DirectoryProperties._from_blob_properties(blob_properties) # pylint: disable=protected-access + return self._get_path_properties(cls=deserialize_dir_properties, **kwargs) # pylint: disable=protected-access def rename_directory(self, new_name, # type: str **kwargs): @@ -306,7 +304,7 @@ def rename_directory(self, new_name, # type: str """ new_name = new_name.strip('/') new_file_system = new_name.split('/')[0] - new_path_and_token = new_name[len(new_file_system):].split('?') + new_path_and_token = new_name[len(new_file_system):].strip('/').split('?') new_path = new_path_and_token[0] try: new_dir_sas = new_path_and_token[1] or self._query_str.strip('?') diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py index e9478000cb19..7effeb3ba00e 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py @@ -21,8 +21,9 @@ from ._generated.models import StorageErrorException from ._download import StorageStreamDownloader from ._path_client import PathClient -from ._serialize import get_mod_conditions, get_path_http_headers, get_access_conditions, add_metadata_headers -from ._deserialize import process_storage_error +from ._serialize import get_mod_conditions, get_path_http_headers, get_access_conditions, add_metadata_headers, \ + convert_datetime_to_rfc1123 +from ._deserialize import process_storage_error, deserialize_file_properties from ._models import FileProperties, DataLakeFileQueryError @@ -246,8 +247,31 @@ def get_file_properties(self, **kwargs): :dedent: 4 :caption: Getting the properties for a file. """ - blob_properties = self._get_path_properties(**kwargs) - return FileProperties._from_blob_properties(blob_properties) # pylint: disable=protected-access + return self._get_path_properties(cls=deserialize_file_properties, **kwargs) # pylint: disable=protected-access + + def set_file_expiry(self, expiry_options, # type: str + expires_on=None, # type: Optional[Union[datetime, int]] + **kwargs): + # type: (str, Optional[Union[datetime, int]], **Any) -> None + """Sets the time a file will expire and be deleted. + + :param str expiry_options: + Required. Indicates mode of the expiry time. + Possible values include: 'NeverExpire', 'RelativeToCreation', 'RelativeToNow', 'Absolute' + :param datetime or int expires_on: + The time to set the file to expiry. + When expiry_options is RelativeTo*, expires_on should be an int in milliseconds. + If the type of expires_on is datetime, it should be in UTC time. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :rtype: None + """ + try: + expires_on = convert_datetime_to_rfc1123(expires_on) + except AttributeError: + expires_on = str(expires_on) + self._datalake_client_for_blob_operation.path \ + .set_expiry(expiry_options, expires_on=expires_on, **kwargs) # pylint: disable=protected-access def _upload_options( # pylint:disable=too-many-statements self, data, # type: Union[Iterable[AnyStr], IO[AnyStr]] @@ -637,7 +661,7 @@ def rename_file(self, new_name, # type: str """ new_name = new_name.strip('/') new_file_system = new_name.split('/')[0] - new_path_and_token = new_name[len(new_file_system):].split('?') + new_path_and_token = new_name[len(new_file_system):].strip('/').split('?') new_path = new_path_and_token[0] try: new_file_sas = new_path_and_token[1] or self._query_str.strip('?') @@ -671,7 +695,7 @@ def query_file(self, query_expression, **kwargs): :param str query_expression: Required. a query statement. eg. Select * from DataLakeStorage - :keyword Callable[Exception] on_error: + :keyword Callable[~azure.storage.filedatalake.DataLakeFileQueryError] on_error: A function to be called on any processing errors returned by the service. :keyword file_format: Optional. Defines the serialization of the data currently stored in the file. The default is to @@ -684,7 +708,8 @@ def query_file(self, query_expression, **kwargs): as it is represented in the file. By providing an output format, the file data will be reformatted according to that profile. This value can be a DelimitedTextDialect or a DelimitedJsonDialect. :paramtype output_format: - ~azure.storage.filedatalake.DelimitedTextDialect or ~azure.storage.filedatalake.DelimitedJsonDialect + ~azure.storage.filedatalake.DelimitedTextDialect, ~azure.storage.filedatalake.DelimitedJsonDialect + or list[~azure.storage.filedatalake.ArrowDialect] :keyword lease: Required if the file has an active lease. Value can be a DataLakeLeaseClient object or the lease ID as a string. diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_deserialize.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_deserialize.py index 9d0881a7229e..f54a82bd0d67 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_deserialize.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_deserialize.py @@ -12,6 +12,7 @@ from azure.core.pipeline.policies import ContentDecodePolicy from azure.core.exceptions import HttpResponseError, DecodeError, ResourceModifiedError, ClientAuthenticationError, \ ResourceNotFoundError, ResourceExistsError +from ._models import FileProperties, DirectoryProperties, LeaseProperties from ._shared.models import StorageErrorCode if TYPE_CHECKING: @@ -20,6 +21,45 @@ _LOGGER = logging.getLogger(__name__) +def deserialize_dir_properties(response, obj, headers): + metadata = deserialize_metadata(response, obj, headers) + dir_properties = DirectoryProperties( + metadata=metadata, + **headers + ) + return dir_properties + + +def deserialize_file_properties(response, obj, headers): + metadata = deserialize_metadata(response, obj, headers) + file_properties = FileProperties( + metadata=metadata, + **headers + ) + if 'Content-Range' in headers: + if 'x-ms-blob-content-md5' in headers: + file_properties.content_settings.content_md5 = headers['x-ms-blob-content-md5'] + else: + file_properties.content_settings.content_md5 = None + return file_properties + + +def from_blob_properties(blob_properties): + file_props = FileProperties() + file_props.name = blob_properties.name + file_props.etag = blob_properties.etag + file_props.deleted = blob_properties.deleted + file_props.metadata = blob_properties.metadata + file_props.lease = blob_properties.lease + file_props.lease.__class__ = LeaseProperties + file_props.last_modified = blob_properties.last_modified + file_props.creation_time = blob_properties.creation_time + file_props.size = blob_properties.size + file_props.deleted_time = blob_properties.deleted_time + file_props.remaining_retention_days = blob_properties.remaining_retention_days + file_props.content_settings = blob_properties.content_settings + return file_props + def normalize_headers(headers): normalized = {} for key, value in headers.items(): diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py index 181b503d8c4a..e4efd8c23dba 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py @@ -3,8 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- - -from ._models import FileProperties +from ._deserialize import from_blob_properties class StorageStreamDownloader(object): @@ -23,7 +22,7 @@ class StorageStreamDownloader(object): def __init__(self, downloader): self._downloader = downloader self.name = self._downloader.name - self.properties = FileProperties._from_blob_properties(self._downloader.properties) # pylint: disable=protected-access + self.properties = from_blob_properties(self._downloader.properties) # pylint: disable=protected-access self.size = self._downloader.size def __len__(self): diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_file_system_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_file_system_client.py index c29ae03ab2b0..5a8221b99dd5 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_file_system_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_file_system_client.py @@ -16,7 +16,8 @@ from azure.storage.blob import ContainerClient from ._shared.base_client import StorageAccountHostsMixin, parse_query, parse_connection_str from ._serialize import convert_dfs_url_to_blob_url -from ._models import LocationMode, FileSystemProperties, PathPropertiesPaged, PublicAccess +from ._models import LocationMode, FileSystemProperties, PublicAccess +from ._list_paths_helper import PathPropertiesPaged from ._data_lake_file_client import DataLakeFileClient from ._data_lake_directory_client import DataLakeDirectoryClient from ._data_lake_lease import DataLakeLeaseClient diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_configuration.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_configuration.py index 5fc3466c6b32..ab735955e276 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_configuration.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_configuration.py @@ -39,8 +39,6 @@ def __init__(self, url, file_system, path1, **kwargs): if url is None: raise ValueError("Parameter 'url' must not be None.") - if file_system is None: - raise ValueError("Parameter 'file_system' must not be None.") super(DataLakeStorageClientConfiguration, self).__init__(**kwargs) self._configure(**kwargs) @@ -52,7 +50,7 @@ def __init__(self, url, file_system, path1, **kwargs): self.file_system = file_system self.path1 = path1 self.resource = "filesystem" - self.version = "2019-12-12" + self.version = "2020-02-10" def _configure(self, **kwargs): self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_data_lake_storage_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_data_lake_storage_client.py index dcc65ad95730..ae9969b48ea5 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_data_lake_storage_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/_data_lake_storage_client.py @@ -47,7 +47,7 @@ def __init__(self, url, file_system, path1, **kwargs): self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_configuration_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_configuration_async.py index 5aaa28bacb43..3fcd1047f261 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_configuration_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_configuration_async.py @@ -51,7 +51,7 @@ def __init__(self, url, file_system, path1, **kwargs): self.file_system = file_system self.path1 = path1 self.resource = "filesystem" - self.version = "2019-12-12" + self.version = "2020-02-10" def _configure(self, **kwargs): self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_data_lake_storage_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_data_lake_storage_client_async.py index 929fece9b8e9..3486d5ce68f4 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_data_lake_storage_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/_data_lake_storage_client_async.py @@ -48,7 +48,7 @@ def __init__( self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/operations_async/_path_operations_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/operations_async/_path_operations_async.py index 0e8a10986fdd..28f0999cd2f5 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/operations_async/_path_operations_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/aio/operations_async/_path_operations_async.py @@ -23,6 +23,7 @@ class PathOperations: :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. + :ivar comp: . Constant value: "expiry". """ models = models @@ -34,6 +35,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + self.comp = "expiry" async def create(self, resource=None, continuation=None, mode=None, rename_source=None, source_lease_id=None, properties=None, permissions=None, umask=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, source_modified_access_conditions=None, *, cls=None, **kwargs): """Create File | Create Directory | Rename File | Rename Directory. @@ -73,8 +75,7 @@ async def create(self, resource=None, continuation=None, mode=None, rename_sourc character set. :type rename_source: str :param source_lease_id: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must - match. + the source path must have an active lease and the lease ID must match. :type source_lease_id: str :param properties: Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and @@ -264,7 +265,7 @@ async def create(self, resource=None, continuation=None, mode=None, rename_sourc return cls(response, None, response_headers) create.metadata = {'url': '/{filesystem}/{path}'} - async def update(self, action, body, mode=None, max_records=None, continuation=None, position=None, retain_uncommitted_data=None, close=None, content_length=None, properties=None, owner=None, group=None, permissions=None, acl=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, *, cls=None, **kwargs): + async def update(self, action, mode, body, max_records=None, continuation=None, force_flag=None, position=None, retain_uncommitted_data=None, close=None, content_length=None, properties=None, owner=None, group=None, permissions=None, acl=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, *, cls=None, **kwargs): """Append Data | Flush Data | Set Properties | Set Access Control. Uploads data to be appended to a file, flushes (writes) previously @@ -288,17 +289,15 @@ async def update(self, action, body, mode=None, max_records=None, continuation=N 'setAccessControl', 'setAccessControlRecursive' :type action: str or ~azure.storage.filedatalake.models.PathUpdateAction - :param body: Initial data - :type body: Generator - :param mode: Optional. Valid and Required for - "SetAccessControlRecursive" operation. Mode "set" sets POSIX access - control rights on files and directories, "modify" modifies one or more - POSIX access control rights that pre-exist on files and directories, - "remove" removes one or more POSIX access control rights that were - present earlier on files and directories. Possible values include: - 'set', 'modify', 'remove' + :param mode: Mode "set" sets POSIX access control rights on files and + directories, "modify" modifies one or more POSIX access control rights + that pre-exist on files and directories, "remove" removes one or more + POSIX access control rights that were present earlier on files and + directories. Possible values include: 'set', 'modify', 'remove' :type mode: str or ~azure.storage.filedatalake.models.PathSetAccessControlRecursiveMode + :param body: Initial data + :type body: Generator :param max_records: Optional. Valid for "SetAccessControlRecursive" operation. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than @@ -311,6 +310,14 @@ async def update(self, action, body, mode=None, max_records=None, continuation=N response, it must be percent-encoded and specified in a subsequent invocation of setAcessControlRecursive operation. :type continuation: str + :param force_flag: Optional. Valid for "SetAccessControlRecursive" + operation. If set to false, the operation will terminate quickly on + encountering user errors (4XX). If true, the operation will ignore + user errors and proceed with the operation on other sub-entities of + the directory. Continuation token will only be returned when forceFlag + is true in case of user errors. If not set the default value is false + for this. + :type force_flag: bool :param position: This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file. It is required when uploading data to be appended to the file and when @@ -451,12 +458,13 @@ async def update(self, action, body, mode=None, max_records=None, continuation=N # Construct parameters query_parameters = {} query_parameters['action'] = self._serialize.query("action", action, 'PathUpdateAction') - if mode is not None: - query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') if max_records is not None: query_parameters['maxRecords'] = self._serialize.query("max_records", max_records, 'int', minimum=1) if continuation is not None: query_parameters['continuation'] = self._serialize.query("continuation", continuation, 'str') + query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') + if force_flag is not None: + query_parameters['forceFlag'] = self._serialize.query("force_flag", force_flag, 'bool') if position is not None: query_parameters['position'] = self._serialize.query("position", position, 'long') if retain_uncommitted_data is not None: @@ -1219,7 +1227,7 @@ async def set_access_control(self, timeout=None, owner=None, group=None, permiss return cls(response, None, response_headers) set_access_control.metadata = {'url': '/{filesystem}/{path}'} - async def set_access_control_recursive(self, mode, timeout=None, continuation=None, max_records=None, acl=None, request_id=None, *, cls=None, **kwargs): + async def set_access_control_recursive(self, mode, timeout=None, continuation=None, force_flag=None, max_records=None, acl=None, request_id=None, *, cls=None, **kwargs): """Set the access control list for a path and subpaths. :param mode: Mode "set" sets POSIX access control rights on files and @@ -1241,6 +1249,14 @@ async def set_access_control_recursive(self, mode, timeout=None, continuation=No returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. :type continuation: str + :param force_flag: Optional. Valid for "SetAccessControlRecursive" + operation. If set to false, the operation will terminate quickly on + encountering user errors (4XX). If true, the operation will ignore + user errors and proceed with the operation on other sub-entities of + the directory. Continuation token will only be returned when forceFlag + is true in case of user errors. If not set the default value is false + for this. + :type force_flag: bool :param max_records: Optional. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than 2,000, the request will process up to 2,000 items @@ -1281,6 +1297,8 @@ async def set_access_control_recursive(self, mode, timeout=None, continuation=No if continuation is not None: query_parameters['continuation'] = self._serialize.query("continuation", continuation, 'str') query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') + if force_flag is not None: + query_parameters['forceFlag'] = self._serialize.query("force_flag", force_flag, 'bool') if max_records is not None: query_parameters['maxRecords'] = self._serialize.query("max_records", max_records, 'int', minimum=1) query_parameters['action'] = self._serialize.query("action", action, 'str') @@ -1497,7 +1515,7 @@ async def flush_data(self, timeout=None, position=None, retain_uncommitted_data= return cls(response, None, response_headers) flush_data.metadata = {'url': '/{filesystem}/{path}'} - async def append_data(self, body, position=None, timeout=None, content_length=None, request_id=None, path_http_headers=None, lease_access_conditions=None, *, cls=None, **kwargs): + async def append_data(self, body, position=None, timeout=None, content_length=None, transactional_content_crc64=None, request_id=None, path_http_headers=None, lease_access_conditions=None, *, cls=None, **kwargs): """Append data to the file. :param body: Initial data @@ -1522,6 +1540,9 @@ async def append_data(self, body, position=None, timeout=None, content_length=No Must be 0 for "Flush Data". Must be the length of the request content in bytes for "Append Data". :type content_length: long + :param transactional_content_crc64: Specify the transactional crc64 + for the body, to be validated by the service. + :type transactional_content_crc64: bytearray :param request_id: Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. @@ -1570,6 +1591,8 @@ async def append_data(self, body, position=None, timeout=None, content_length=No header_parameters['Content-Type'] = 'application/json; charset=utf-8' if content_length is not None: header_parameters['Content-Length'] = self._serialize.header("content_length", content_length, 'long', minimum=0) + if transactional_content_crc64 is not None: + header_parameters['x-ms-content-crc64'] = self._serialize.header("transactional_content_crc64", transactional_content_crc64, 'bytearray') if request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') @@ -1595,6 +1618,81 @@ async def append_data(self, body, position=None, timeout=None, content_length=No 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Content-MD5': self._deserialize('bytearray', response.headers.get('Content-MD5')), + 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), + 'x-ms-request-server-encrypted': self._deserialize('bool', response.headers.get('x-ms-request-server-encrypted')), } return cls(response, None, response_headers) append_data.metadata = {'url': '/{filesystem}/{path}'} + + async def set_expiry(self, expiry_options, timeout=None, request_id=None, expires_on=None, *, cls=None, **kwargs): + """Sets the time a blob will expire and be deleted. + + :param expiry_options: Required. Indicates mode of the expiry time. + Possible values include: 'NeverExpire', 'RelativeToCreation', + 'RelativeToNow', 'Absolute' + :type expiry_options: str or + ~azure.storage.filedatalake.models.PathExpiryOptions + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for Blob Service Operations. + :type timeout: int + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param expires_on: The time to set the blob to expiry + :type expires_on: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + # Construct URL + url = self.set_expiry.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + query_parameters['comp'] = self._serialize.query("self.comp", self.comp, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-expiry-option'] = self._serialize.header("expiry_options", expiry_options, 'str') + if expires_on is not None: + header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + set_expiry.metadata = {'url': '/{filesystem}/{path}'} diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/__init__.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/__init__.py index 4a3401ab7992..18d10bd6f2be 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/__init__.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/__init__.py @@ -36,6 +36,7 @@ from ._models import StorageError, StorageErrorException from ._models import StorageErrorError from ._data_lake_storage_client_enums import ( + PathExpiryOptions, PathGetPropertiesAction, PathLeaseAction, PathRenameMode, @@ -57,10 +58,11 @@ 'SourceModifiedAccessConditions', 'StorageError', 'StorageErrorException', 'StorageErrorError', + 'PathSetAccessControlRecursiveMode', + 'PathExpiryOptions', 'PathResourceType', 'PathRenameMode', 'PathUpdateAction', - 'PathSetAccessControlRecursiveMode', 'PathLeaseAction', 'PathGetPropertiesAction', ] diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/_data_lake_storage_client_enums.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/_data_lake_storage_client_enums.py index 35a1a57c853a..93d9c275140a 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/_data_lake_storage_client_enums.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/models/_data_lake_storage_client_enums.py @@ -12,6 +12,21 @@ from enum import Enum +class PathSetAccessControlRecursiveMode(str, Enum): + + set = "set" + modify = "modify" + remove = "remove" + + +class PathExpiryOptions(str, Enum): + + never_expire = "NeverExpire" + relative_to_creation = "RelativeToCreation" + relative_to_now = "RelativeToNow" + absolute = "Absolute" + + class PathResourceType(str, Enum): directory = "directory" @@ -33,13 +48,6 @@ class PathUpdateAction(str, Enum): set_access_control_recursive = "setAccessControlRecursive" -class PathSetAccessControlRecursiveMode(str, Enum): - - set = "set" - modify = "modify" - remove = "remove" - - class PathLeaseAction(str, Enum): acquire = "acquire" diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/operations/_path_operations.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/operations/_path_operations.py index 58e7d7e77321..9ed61575581a 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/operations/_path_operations.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/operations/_path_operations.py @@ -23,6 +23,7 @@ class PathOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. + :ivar comp: . Constant value: "expiry". """ models = models @@ -34,6 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + self.comp = "expiry" def create(self, resource=None, continuation=None, mode=None, rename_source=None, source_lease_id=None, properties=None, permissions=None, umask=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, source_modified_access_conditions=None, cls=None, **kwargs): """Create File | Create Directory | Rename File | Rename Directory. @@ -73,8 +75,7 @@ def create(self, resource=None, continuation=None, mode=None, rename_source=None character set. :type rename_source: str :param source_lease_id: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must - match. + the source path must have an active lease and the lease ID must match. :type source_lease_id: str :param properties: Optional. User-defined properties to be stored with the filesystem, in the format of a comma-separated list of name and @@ -264,7 +265,7 @@ def create(self, resource=None, continuation=None, mode=None, rename_source=None return cls(response, None, response_headers) create.metadata = {'url': '/{filesystem}/{path}'} - def update(self, action, body, mode=None, max_records=None, continuation=None, position=None, retain_uncommitted_data=None, close=None, content_length=None, properties=None, owner=None, group=None, permissions=None, acl=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, cls=None, **kwargs): + def update(self, action, mode, body, max_records=None, continuation=None, force_flag=None, position=None, retain_uncommitted_data=None, close=None, content_length=None, properties=None, owner=None, group=None, permissions=None, acl=None, request_id=None, timeout=None, path_http_headers=None, lease_access_conditions=None, modified_access_conditions=None, cls=None, **kwargs): """Append Data | Flush Data | Set Properties | Set Access Control. Uploads data to be appended to a file, flushes (writes) previously @@ -288,17 +289,15 @@ def update(self, action, body, mode=None, max_records=None, continuation=None, p 'setAccessControl', 'setAccessControlRecursive' :type action: str or ~azure.storage.filedatalake.models.PathUpdateAction - :param body: Initial data - :type body: Generator - :param mode: Optional. Valid and Required for - "SetAccessControlRecursive" operation. Mode "set" sets POSIX access - control rights on files and directories, "modify" modifies one or more - POSIX access control rights that pre-exist on files and directories, - "remove" removes one or more POSIX access control rights that were - present earlier on files and directories. Possible values include: - 'set', 'modify', 'remove' + :param mode: Mode "set" sets POSIX access control rights on files and + directories, "modify" modifies one or more POSIX access control rights + that pre-exist on files and directories, "remove" removes one or more + POSIX access control rights that were present earlier on files and + directories. Possible values include: 'set', 'modify', 'remove' :type mode: str or ~azure.storage.filedatalake.models.PathSetAccessControlRecursiveMode + :param body: Initial data + :type body: Generator :param max_records: Optional. Valid for "SetAccessControlRecursive" operation. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than @@ -311,6 +310,14 @@ def update(self, action, body, mode=None, max_records=None, continuation=None, p response, it must be percent-encoded and specified in a subsequent invocation of setAcessControlRecursive operation. :type continuation: str + :param force_flag: Optional. Valid for "SetAccessControlRecursive" + operation. If set to false, the operation will terminate quickly on + encountering user errors (4XX). If true, the operation will ignore + user errors and proceed with the operation on other sub-entities of + the directory. Continuation token will only be returned when forceFlag + is true in case of user errors. If not set the default value is false + for this. + :type force_flag: bool :param position: This parameter allows the caller to upload data in parallel and control the order in which it is appended to the file. It is required when uploading data to be appended to the file and when @@ -451,12 +458,13 @@ def update(self, action, body, mode=None, max_records=None, continuation=None, p # Construct parameters query_parameters = {} query_parameters['action'] = self._serialize.query("action", action, 'PathUpdateAction') - if mode is not None: - query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') if max_records is not None: query_parameters['maxRecords'] = self._serialize.query("max_records", max_records, 'int', minimum=1) if continuation is not None: query_parameters['continuation'] = self._serialize.query("continuation", continuation, 'str') + query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') + if force_flag is not None: + query_parameters['forceFlag'] = self._serialize.query("force_flag", force_flag, 'bool') if position is not None: query_parameters['position'] = self._serialize.query("position", position, 'long') if retain_uncommitted_data is not None: @@ -1218,7 +1226,7 @@ def set_access_control(self, timeout=None, owner=None, group=None, permissions=N return cls(response, None, response_headers) set_access_control.metadata = {'url': '/{filesystem}/{path}'} - def set_access_control_recursive(self, mode, timeout=None, continuation=None, max_records=None, acl=None, request_id=None, cls=None, **kwargs): + def set_access_control_recursive(self, mode, timeout=None, continuation=None, force_flag=None, max_records=None, acl=None, request_id=None, cls=None, **kwargs): """Set the access control list for a path and subpaths. :param mode: Mode "set" sets POSIX access control rights on files and @@ -1240,6 +1248,14 @@ def set_access_control_recursive(self, mode, timeout=None, continuation=None, ma returned in the response, it must be specified in a subsequent invocation of the delete operation to continue deleting the directory. :type continuation: str + :param force_flag: Optional. Valid for "SetAccessControlRecursive" + operation. If set to false, the operation will terminate quickly on + encountering user errors (4XX). If true, the operation will ignore + user errors and proceed with the operation on other sub-entities of + the directory. Continuation token will only be returned when forceFlag + is true in case of user errors. If not set the default value is false + for this. + :type force_flag: bool :param max_records: Optional. It specifies the maximum number of files or directories on which the acl change will be applied. If omitted or greater than 2,000, the request will process up to 2,000 items @@ -1280,6 +1296,8 @@ def set_access_control_recursive(self, mode, timeout=None, continuation=None, ma if continuation is not None: query_parameters['continuation'] = self._serialize.query("continuation", continuation, 'str') query_parameters['mode'] = self._serialize.query("mode", mode, 'PathSetAccessControlRecursiveMode') + if force_flag is not None: + query_parameters['forceFlag'] = self._serialize.query("force_flag", force_flag, 'bool') if max_records is not None: query_parameters['maxRecords'] = self._serialize.query("max_records", max_records, 'int', minimum=1) query_parameters['action'] = self._serialize.query("action", action, 'str') @@ -1496,7 +1514,7 @@ def flush_data(self, timeout=None, position=None, retain_uncommitted_data=None, return cls(response, None, response_headers) flush_data.metadata = {'url': '/{filesystem}/{path}'} - def append_data(self, body, position=None, timeout=None, content_length=None, request_id=None, path_http_headers=None, lease_access_conditions=None, cls=None, **kwargs): + def append_data(self, body, position=None, timeout=None, content_length=None, transactional_content_crc64=None, request_id=None, path_http_headers=None, lease_access_conditions=None, cls=None, **kwargs): """Append data to the file. :param body: Initial data @@ -1521,6 +1539,9 @@ def append_data(self, body, position=None, timeout=None, content_length=None, re Must be 0 for "Flush Data". Must be the length of the request content in bytes for "Append Data". :type content_length: long + :param transactional_content_crc64: Specify the transactional crc64 + for the body, to be validated by the service. + :type transactional_content_crc64: bytearray :param request_id: Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. @@ -1569,6 +1590,8 @@ def append_data(self, body, position=None, timeout=None, content_length=None, re header_parameters['Content-Type'] = 'application/json; charset=utf-8' if content_length is not None: header_parameters['Content-Length'] = self._serialize.header("content_length", content_length, 'long', minimum=0) + if transactional_content_crc64 is not None: + header_parameters['x-ms-content-crc64'] = self._serialize.header("transactional_content_crc64", transactional_content_crc64, 'bytearray') if request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') @@ -1594,6 +1617,81 @@ def append_data(self, body, position=None, timeout=None, content_length=None, re 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Content-MD5': self._deserialize('bytearray', response.headers.get('Content-MD5')), + 'x-ms-content-crc64': self._deserialize('bytearray', response.headers.get('x-ms-content-crc64')), + 'x-ms-request-server-encrypted': self._deserialize('bool', response.headers.get('x-ms-request-server-encrypted')), } return cls(response, None, response_headers) append_data.metadata = {'url': '/{filesystem}/{path}'} + + def set_expiry(self, expiry_options, timeout=None, request_id=None, expires_on=None, cls=None, **kwargs): + """Sets the time a blob will expire and be deleted. + + :param expiry_options: Required. Indicates mode of the expiry time. + Possible values include: 'NeverExpire', 'RelativeToCreation', + 'RelativeToNow', 'Absolute' + :type expiry_options: str or + ~azure.storage.filedatalake.models.PathExpiryOptions + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for Blob Service Operations. + :type timeout: int + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param expires_on: The time to set the blob to expiry + :type expires_on: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + # Construct URL + url = self.set_expiry.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + query_parameters['comp'] = self._serialize.query("self.comp", self.comp, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-expiry-option'] = self._serialize.header("expiry_options", expiry_options, 'str') + if expires_on is not None: + header_parameters['x-ms-expiry-time'] = self._serialize.header("expires_on", expires_on, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + set_expiry.metadata = {'url': '/{filesystem}/{path}'} diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/version.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/version.py index be045899fa00..6ef707dd11c9 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/version.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_generated/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2019-12-12" +VERSION = "2020-02-10" diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py new file mode 100644 index 000000000000..1e4b19e2767a --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py @@ -0,0 +1,73 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from azure.core.paging import PageIterator +from ._generated.models import StorageErrorException +from ._models import PathProperties +from ._deserialize import return_headers_and_deserialized_path_list +from ._generated.models import Path +from ._shared.response_handlers import process_storage_error + + +class PathPropertiesPaged(PageIterator): + """An Iterable of Path properties. + + :ivar str path: Filters the results to return only paths under the specified path. + :ivar int results_per_page: The maximum number of results retrieved per API call. + :ivar str continuation_token: The continuation token to retrieve the next page of results. + :ivar list(~azure.storage.filedatalake.PathProperties) current_page: The current page of listed results. + + :param callable command: Function to retrieve the next page of items. + :param str path: Filters the results to return only paths under the specified path. + :param int max_results: The maximum number of psths to retrieve per + call. + :param str continuation_token: An opaque continuation token. + """ + def __init__( + self, command, + recursive, + path=None, + max_results=None, + continuation_token=None, + upn=None): + super(PathPropertiesPaged, self).__init__( + get_next=self._get_next_cb, + extract_data=self._extract_data_cb, + continuation_token=continuation_token or "" + ) + self._command = command + self.recursive = recursive + self.results_per_page = max_results + self.path = path + self.upn = upn + self.current_page = None + self.path_list = None + + def _get_next_cb(self, continuation_token): + try: + return self._command( + self.recursive, + continuation=continuation_token or None, + path=self.path, + max_results=self.results_per_page, + upn=self.upn, + cls=return_headers_and_deserialized_path_list) + except StorageErrorException as error: + process_storage_error(error) + + def _extract_data_cb(self, get_next_return): + self.path_list, self._response = get_next_return + self.current_page = [self._build_item(item) for item in self.path_list] + + return self._response['continuation'] or None, self.current_page + + @staticmethod + def _build_item(item): + if isinstance(item, PathProperties): + return item + if isinstance(item, Path): + path = PathProperties._from_generated(item) # pylint: disable=protected-access + return path + return item diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py index 406eedceac74..790750a59b60 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py @@ -7,22 +7,17 @@ # pylint: disable=super-init-not-called, too-many-lines from enum import Enum -from azure.core.paging import PageIterator from azure.storage.blob import LeaseProperties as BlobLeaseProperties from azure.storage.blob import AccountSasPermissions as BlobAccountSasPermissions from azure.storage.blob import ResourceTypes as BlobResourceTypes from azure.storage.blob import UserDelegationKey as BlobUserDelegationKey from azure.storage.blob import ContentSettings as BlobContentSettings -from azure.storage.blob import ContainerSasPermissions, BlobSasPermissions from azure.storage.blob import AccessPolicy as BlobAccessPolicy from azure.storage.blob import DelimitedTextDialect as BlobDelimitedTextDialect from azure.storage.blob import DelimitedJsonDialect as BlobDelimitedJSON -from azure.storage.blob._generated.models import StorageErrorException +from azure.storage.blob import ArrowDialect as BlobArrowDialect from azure.storage.blob._models import ContainerPropertiesPaged -from ._deserialize import return_headers_and_deserialized_path_list -from ._generated.models import Path from ._shared.models import DictMixin -from ._shared.response_handlers import process_storage_error class FileSystemProperties(object): @@ -48,6 +43,7 @@ class FileSystemProperties(object): dictionary interface, for example: ``file_system_props["last_modified"]``. Additionally, the file system name is available as ``file_system_props["name"]``. """ + def __init__(self): self.name = None self.last_modified = None @@ -130,35 +126,18 @@ class DirectoryProperties(DictMixin): before being permanently deleted by the service. :var ~azure.storage.filedatalake.ContentSettings content_settings: """ + def __init__(self, **kwargs): - super(DirectoryProperties, self).__init__( - **kwargs - ) - self.name = None - self.etag = None + self.name = kwargs.get('name') + self.etag = kwargs.get('ETag') self.deleted = None - self.metadata = None - self.lease = None - self.last_modified = None - self.creation_time = None + self.metadata = kwargs.get('metadata') + self.lease = LeaseProperties(**kwargs) + self.last_modified = kwargs.get('Last-Modified') + self.creation_time = kwargs.get('x-ms-creation-time') self.deleted_time = None self.remaining_retention_days = None - @classmethod - def _from_blob_properties(cls, blob_properties): - directory_props = DirectoryProperties() - directory_props.name = blob_properties.name - directory_props.etag = blob_properties.etag - directory_props.deleted = blob_properties.deleted - directory_props.metadata = blob_properties.metadata - directory_props.lease = blob_properties.lease - directory_props.lease.__class__ = LeaseProperties - directory_props.last_modified = blob_properties.last_modified - directory_props.creation_time = blob_properties.creation_time - directory_props.deleted_time = blob_properties.deleted_time - directory_props.remaining_retention_days = blob_properties.remaining_retention_days - return directory_props - class FileProperties(DictMixin): """ @@ -178,38 +157,20 @@ class FileProperties(DictMixin): before being permanently deleted by the service. :var ~azure.storage.filedatalake.ContentSettings content_settings: """ + def __init__(self, **kwargs): - super(FileProperties, self).__init__( - **kwargs - ) - self.name = None - self.etag = None + self.name = kwargs.get('name') + self.etag = kwargs.get('ETag') self.deleted = None - self.metadata = None - self.lease = None - self.last_modified = None - self.creation_time = None - self.size = None + self.metadata = kwargs.get('metadata') + self.lease = LeaseProperties(**kwargs) + self.last_modified = kwargs.get('Last-Modified') + self.creation_time = kwargs.get('x-ms-creation-time') + self.size = kwargs.get('Content-Length') self.deleted_time = None + self.expiry_time = kwargs.get("x-ms-expiry-time") self.remaining_retention_days = None - self.content_settings = None - - @classmethod - def _from_blob_properties(cls, blob_properties): - file_props = FileProperties() - file_props.name = blob_properties.name - file_props.etag = blob_properties.etag - file_props.deleted = blob_properties.deleted - file_props.metadata = blob_properties.metadata - file_props.lease = blob_properties.lease - file_props.lease.__class__ = LeaseProperties - file_props.last_modified = blob_properties.last_modified - file_props.creation_time = blob_properties.creation_time - file_props.size = blob_properties.size - file_props.deleted_time = blob_properties.deleted_time - file_props.remaining_retention_days = blob_properties.remaining_retention_days - file_props.content_settings = blob_properties.content_settings - return file_props + self.content_settings = ContentSettings(**kwargs) class PathProperties(object): @@ -229,6 +190,7 @@ class PathProperties(object): conditionally. :ivar content_length: the size of file if the path is a file. """ + def __init__(self, **kwargs): super(PathProperties, self).__init__( **kwargs @@ -256,68 +218,6 @@ def _from_generated(cls, generated): return path_prop -class PathPropertiesPaged(PageIterator): - """An Iterable of Path properties. - - :ivar str path: Filters the results to return only paths under the specified path. - :ivar int results_per_page: The maximum number of results retrieved per API call. - :ivar str continuation_token: The continuation token to retrieve the next page of results. - :ivar list(~azure.storage.filedatalake.PathProperties) current_page: The current page of listed results. - - :param callable command: Function to retrieve the next page of items. - :param str path: Filters the results to return only paths under the specified path. - :param int max_results: The maximum number of psths to retrieve per - call. - :param str continuation_token: An opaque continuation token. - """ - def __init__( - self, command, - recursive, - path=None, - max_results=None, - continuation_token=None, - upn=None): - super(PathPropertiesPaged, self).__init__( - get_next=self._get_next_cb, - extract_data=self._extract_data_cb, - continuation_token=continuation_token or "" - ) - self._command = command - self.recursive = recursive - self.results_per_page = max_results - self.path = path - self.upn = upn - self.current_page = None - self.path_list = None - - def _get_next_cb(self, continuation_token): - try: - return self._command( - self.recursive, - continuation=continuation_token or None, - path=self.path, - max_results=self.results_per_page, - upn=self.upn, - cls=return_headers_and_deserialized_path_list) - except StorageErrorException as error: - process_storage_error(error) - - def _extract_data_cb(self, get_next_return): - self.path_list, self._response = get_next_return - self.current_page = [self._build_item(item) for item in self.path_list] - - return self._response['continuation'] or None, self.current_page - - @staticmethod - def _build_item(item): - if isinstance(item, PathProperties): - return item - if isinstance(item, Path): - path = PathProperties._from_generated(item) # pylint: disable=protected-access - return path - return item - - class LeaseProperties(BlobLeaseProperties): """DataLake Lease Properties. @@ -328,10 +228,6 @@ class LeaseProperties(BlobLeaseProperties): :ivar str duration: When a file is leased, specifies whether the lease is of infinite or fixed duration. """ - def __init__(self): - self.status = None - self.state = None - self.duration = None class ContentSettings(BlobContentSettings): @@ -380,6 +276,7 @@ class ContentSettings(BlobContentSettings): header is stored so that the client can check for message content integrity. """ + def __init__( self, **kwargs): super(ContentSettings, self).__init__( @@ -396,7 +293,7 @@ def __init__(self, read=False, write=False, delete=False, list=False, # pylint: ) -class FileSystemSasPermissions(ContainerSasPermissions): +class FileSystemSasPermissions(object): """FileSystemSasPermissions class to be used with the :func:`~azure.storage.filedatalake.generate_file_system_sas` function. @@ -408,15 +305,72 @@ class FileSystemSasPermissions(ContainerSasPermissions): Delete the file system. :param bool list: List paths in the file system. + :keyword bool move: + Move any file in the directory to a new location. + Note the move operation can optionally be restricted to the child file or directory owner or + the parent directory owner if the saoid parameter is included in the token and the sticky bit is set + on the parent directory. + :keyword bool execute: + Get the status (system defined properties) and ACL of any file in the directory. + If the caller is the owner, set access control on any file in the directory. + :keyword bool manage_ownership: + Allows the user to set owner, owning group, or act as the owner when renaming or deleting a file or directory + within a folder that has the sticky bit set. + :keyword bool manage_access_control: + Allows the user to set permissions and POSIX ACLs on files and directories. """ - def __init__(self, read=False, write=False, delete=False, list=False # pylint: disable=redefined-builtin - ): - super(FileSystemSasPermissions, self).__init__( - read=read, write=write, delete=delete, list=list - ) + def __init__(self, read=False, write=False, delete=False, list=False, # pylint: disable=redefined-builtin + **kwargs): + self.read = read + self.write = write + self.delete = delete + self.list = list + self.move = kwargs.pop('move', None) + self.execute = kwargs.pop('execute', None) + self.manage_ownership = kwargs.pop('manage_ownership', None) + self.manage_access_control = kwargs.pop('manage_access_control', None) + self._str = (('r' if self.read else '') + + ('w' if self.write else '') + + ('d' if self.delete else '') + + ('l' if self.list else '') + + ('m' if self.move else '') + + ('e' if self.execute else '') + + ('o' if self.manage_ownership else '') + + ('p' if self.manage_access_control else '')) + + def __str__(self): + return self._str -class DirectorySasPermissions(BlobSasPermissions): + @classmethod + def from_string(cls, permission): + """Create a FileSystemSasPermissions from a string. + + To specify read, write, or delete permissions you need only to + include the first letter of the word in the string. E.g. For read and + write permissions, you would provide a string "rw". + + :param str permission: The string which dictates the read, add, create, + write, or delete permissions. + :return: A FileSystemSasPermissions object + :rtype: ~azure.storage.fildatalake.FileSystemSasPermissions + """ + p_read = 'r' in permission + p_write = 'w' in permission + p_delete = 'd' in permission + p_list = 'l' in permission + p_move = 'm' in permission + p_execute = 'e' in permission + p_manage_ownership = 'o' in permission + p_manage_access_control = 'p' in permission + + parsed = cls(read=p_read, write=p_write, delete=p_delete, + list=p_list, move=p_move, execute=p_execute, manage_ownership=p_manage_ownership, + manage_access_control=p_manage_access_control) + return parsed + + +class DirectorySasPermissions(object): """DirectorySasPermissions class to be used with the :func:`~azure.storage.filedatalake.generate_directory_sas` function. @@ -428,16 +382,77 @@ class DirectorySasPermissions(BlobSasPermissions): Create or write content, properties, metadata. Lease the directory. :param bool delete: Delete the directory. + :keyword bool list: + List any files in the directory. Implies Execute. + :keyword bool move: + Move any file in the directory to a new location. + Note the move operation can optionally be restricted to the child file or directory owner or + the parent directory owner if the saoid parameter is included in the token and the sticky bit is set + on the parent directory. + :keyword bool execute: + Get the status (system defined properties) and ACL of any file in the directory. + If the caller is the owner, set access control on any file in the directory. + :keyword bool manage_ownership: + Allows the user to set owner, owning group, or act as the owner when renaming or deleting a file or directory + within a folder that has the sticky bit set. + :keyword bool manage_access_control: + Allows the user to set permissions and POSIX ACLs on files and directories. """ - def __init__(self, read=False, create=False, write=False, - delete=False): - super(DirectorySasPermissions, self).__init__( - read=read, create=create, write=write, - delete=delete - ) + def __init__(self, read=False, create=False, write=False, + delete=False, **kwargs): + self.read = read + self.create = create + self.write = write + self.delete = delete + self.list = kwargs.pop('list', None) + self.move = kwargs.pop('move', None) + self.execute = kwargs.pop('execute', None) + self.manage_ownership = kwargs.pop('manage_ownership', None) + self.manage_access_control = kwargs.pop('manage_access_control', None) + self._str = (('r' if self.read else '') + + ('c' if self.create else '') + + ('w' if self.write else '') + + ('d' if self.delete else '') + + ('l' if self.list else '') + + ('m' if self.move else '') + + ('e' if self.execute else '') + + ('o' if self.manage_ownership else '') + + ('p' if self.manage_access_control else '')) + + def __str__(self): + return self._str -class FileSasPermissions(BlobSasPermissions): + @classmethod + def from_string(cls, permission): + """Create a DirectorySasPermissions from a string. + + To specify read, create, write, or delete permissions you need only to + include the first letter of the word in the string. E.g. For read and + write permissions, you would provide a string "rw". + + :param str permission: The string which dictates the read, add, create, + write, or delete permissions. + :return: A DirectorySasPermissions object + :rtype: ~azure.storage.filedatalake.DirectorySasPermissions + """ + p_read = 'r' in permission + p_create = 'c' in permission + p_write = 'w' in permission + p_delete = 'd' in permission + p_list = 'l' in permission + p_move = 'm' in permission + p_execute = 'e' in permission + p_manage_ownership = 'o' in permission + p_manage_access_control = 'p' in permission + + parsed = cls(read=p_read, create=p_create, write=p_write, delete=p_delete, + list=p_list, move=p_move, execute=p_execute, manage_ownership=p_manage_ownership, + manage_access_control=p_manage_access_control) + return parsed + + +class FileSasPermissions(object): """FileSasPermissions class to be used with the :func:`~azure.storage.filedatalake.generate_file_sas` function. @@ -450,13 +465,69 @@ class FileSasPermissions(BlobSasPermissions): Create or write content, properties, metadata. Lease the file. :param bool delete: Delete the file. + :keyword bool move: + Move any file in the directory to a new location. + Note the move operation can optionally be restricted to the child file or directory owner or + the parent directory owner if the saoid parameter is included in the token and the sticky bit is set + on the parent directory. + :keyword bool execute: + Get the status (system defined properties) and ACL of any file in the directory. + If the caller is the owner, set access control on any file in the directory. + :keyword bool manage_ownership: + Allows the user to set owner, owning group, or act as the owner when renaming or deleting a file or directory + within a folder that has the sticky bit set. + :keyword bool manage_access_control: + Allows the user to set permissions and POSIX ACLs on files and directories. """ - def __init__(self, read=False, create=False, write=False, - delete=False): - super(FileSasPermissions, self).__init__( - read=read, create=create, write=write, - delete=delete - ) + + def __init__(self, read=False, create=False, write=False, delete=False, **kwargs): + self.read = read + self.create = create + self.write = write + self.delete = delete + self.list = list + self.move = kwargs.pop('move', None) + self.execute = kwargs.pop('execute', None) + self.manage_ownership = kwargs.pop('manage_ownership', None) + self.manage_access_control = kwargs.pop('manage_access_control', None) + self._str = (('r' if self.read else '') + + ('c' if self.create else '') + + ('w' if self.write else '') + + ('d' if self.delete else '') + + ('m' if self.move else '') + + ('e' if self.execute else '') + + ('o' if self.manage_ownership else '') + + ('p' if self.manage_access_control else '')) + + def __str__(self): + return self._str + + @classmethod + def from_string(cls, permission): + """Create a FileSasPermissions from a string. + + To specify read, write, or delete permissions you need only to + include the first letter of the word in the string. E.g. For read and + write permissions, you would provide a string "rw". + + :param str permission: The string which dictates the read, add, create, + write, or delete permissions. + :return: A FileSasPermissions object + :rtype: ~azure.storage.fildatalake.FileSasPermissions + """ + p_read = 'r' in permission + p_create = 'c' in permission + p_write = 'w' in permission + p_delete = 'd' in permission + p_move = 'm' in permission + p_execute = 'e' in permission + p_manage_ownership = 'o' in permission + p_manage_access_control = 'p' in permission + + parsed = cls(read=p_read, create=p_create, write=p_write, delete=p_delete, + move=p_move, execute=p_execute, manage_ownership=p_manage_ownership, + manage_access_control=p_manage_access_control) + return parsed class AccessPolicy(BlobAccessPolicy): @@ -502,6 +573,7 @@ class AccessPolicy(BlobAccessPolicy): be UTC. :paramtype start: ~datetime.datetime or str """ + def __init__(self, permission=None, expiry=None, **kwargs): super(AccessPolicy, self).__init__( permission=permission, expiry=expiry, start=kwargs.pop('start', None) @@ -521,6 +593,7 @@ class ResourceTypes(BlobResourceTypes): Access to object-level APIs for files(e.g. Create File, etc.) """ + def __init__(self, service=False, file_system=False, object=False # pylint: disable=redefined-builtin ): super(ResourceTypes, self).__init__(service=service, container=file_system, object=object) @@ -549,6 +622,7 @@ class UserDelegationKey(BlobUserDelegationKey): :ivar str value: The user delegation key. """ + @classmethod def _from_generated(cls, generated): delegation_key = cls() @@ -627,6 +701,28 @@ class DelimitedTextDialect(BlobDelimitedTextDialect): """ +class ArrowDialect(BlobArrowDialect): + """field of an arrow schema. + + All required parameters must be populated in order to send to Azure. + + :param str type: Required. + :keyword str name: The name of the field. + :keyword int precision: The precision of the field. + :keyword int scale: The scale of the field. + """ + + +class ArrowType(str, Enum): + + INT64 = "int64" + BOOL = "bool" + TIMESTAMP_MS = "timestamp[ms]" + STRING = "string" + DOUBLE = "double" + DECIMAL = 'decimal' + + class DataLakeFileQueryError(object): """The error happened during quick query operation. @@ -641,8 +737,101 @@ class DataLakeFileQueryError(object): :ivar int position: The blob offset at which the error occurred. """ + def __init__(self, error=None, is_fatal=False, description=None, position=None): self.error = error self.is_fatal = is_fatal self.description = description self.position = position + + +class AccessControlChangeCounters(DictMixin): + """ + AccessControlChangeCounters contains counts of operations that change Access Control Lists recursively. + + :ivar int directories_successful: + Number of directories where Access Control List has been updated successfully. + :ivar int files_successful: + Number of files where Access Control List has been updated successfully. + :ivar int failure_count: + Number of paths where Access Control List update has failed. + """ + + def __init__(self, directories_successful, files_successful, failure_count): + self.directories_successful = directories_successful + self.files_successful = files_successful + self.failure_count = failure_count + + +class AccessControlChangeResult(DictMixin): + """ + AccessControlChangeResult contains result of operations that change Access Control Lists recursively. + + :ivar ~azure.storage.filedatalake.AccessControlChangeCounters counters: + Contains counts of paths changed from start of the operation. + :ivar str continuation: + Optional continuation token. + Value is present when operation is split into multiple batches and can be used to resume progress. + """ + + def __init__(self, counters, continuation): + self.counters = counters + self.continuation = continuation + + +class AccessControlChangeFailure(DictMixin): + """ + Represents an entry that failed to update Access Control List. + + :ivar str name: + Name of the entry. + :ivar bool is_directory: + Indicates whether the entry is a directory. + :ivar str error_message: + Indicates the reason why the entry failed to update. + """ + + def __init__(self, name, is_directory, error_message): + self.name = name + self.is_directory = is_directory + self.error_message = error_message + + +class AccessControlChanges(DictMixin): + """ + AccessControlChanges contains batch and cumulative counts of operations + that change Access Control Lists recursively. + Additionally it exposes path entries that failed to update while these operations progress. + + :ivar ~azure.storage.filedatalake.AccessControlChangeCounters batch_counters: + Contains counts of paths changed within single batch. + :ivar ~azure.storage.filedatalake.AccessControlChangeCounters aggregate_counters: + Contains counts of paths changed from start of the operation. + :ivar list(~azure.storage.filedatalake.AccessControlChangeFailure) batch_failures: + List of path entries that failed to update Access Control List within single batch. + :ivar str continuation: + An opaque continuation token that may be used to resume the operations in case of failures. + """ + + def __init__(self, batch_counters, aggregate_counters, batch_failures, continuation): + self.batch_counters = batch_counters + self.aggregate_counters = aggregate_counters + self.batch_failures = batch_failures + self.continuation = continuation + + +class DataLakeAclChangeFailedError(Exception): + """The error happened during set/update/remove acl recursive operation. + + :ivar ~azure.core.exceptions.AzureError error: + The exception. + :ivar str description: + A description of the error. + :ivar str continuation: + An opaque continuation token that may be used to resume the operations in case of failures. + """ + + def __init__(self, error, description, continuation): + self.error = error + self.description = description + self.continuation = continuation diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py index decac55f5d4a..a0d5f72af5ae 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py @@ -12,16 +12,18 @@ import six +from azure.core.exceptions import AzureError from azure.storage.blob import BlobClient -from ._shared.base_client import StorageAccountHostsMixin, parse_query -from ._shared.response_handlers import return_response_headers -from ._serialize import convert_dfs_url_to_blob_url, get_mod_conditions, \ - get_path_http_headers, add_metadata_headers, get_lease_id, get_source_mod_conditions, get_access_conditions -from ._models import LocationMode, DirectoryProperties -from ._generated import DataLakeStorageClient from ._data_lake_lease import DataLakeLeaseClient -from ._generated.models import StorageErrorException from ._deserialize import process_storage_error +from ._generated import DataLakeStorageClient +from ._generated.models import StorageErrorException +from ._models import LocationMode, DirectoryProperties, AccessControlChangeResult, AccessControlChanges, \ + AccessControlChangeCounters, AccessControlChangeFailure, DataLakeAclChangeFailedError +from ._serialize import convert_dfs_url_to_blob_url, get_mod_conditions, \ + get_path_http_headers, add_metadata_headers, get_lease_id, get_source_mod_conditions, get_access_conditions +from ._shared.base_client import StorageAccountHostsMixin, parse_query +from ._shared.response_handlers import return_response_headers, return_headers_and_deserialized _ERROR_UNSUPPORTED_METHOD_FOR_ENCRYPTION = ( 'The require_encryption flag is set, but encryption is not supported' @@ -79,6 +81,9 @@ def __init__( # ADLS doesn't support secondary endpoint, make sure it's empty self._hosts[LocationMode.SECONDARY] = "" self._client = DataLakeStorageClient(self.url, file_system_name, path_name, pipeline=self._pipeline) + self._datalake_client_for_blob_operation = DataLakeStorageClient(self._blob_client.url, + file_system_name, path_name, + pipeline=self._pipeline) def __exit__(self, *args): self._blob_client.close() @@ -392,6 +397,225 @@ def get_access_control(self, upn=None, # type: Optional[bool] except StorageErrorException as error: process_storage_error(error) + @staticmethod + def _set_access_control_recursive_options(mode, acl, **kwargs): + # type: (str, str, **Any) -> Dict[str, Any] + + options = { + 'mode': mode, + 'force_flag': kwargs.pop('continue_on_failure', None), + 'timeout': kwargs.pop('timeout', None), + 'continuation': kwargs.pop('continuation', None), + 'max_records': kwargs.pop('batch_size', None), + 'acl': acl, + 'cls': return_headers_and_deserialized} + options.update(kwargs) + return options + + def set_access_control_recursive(self, + acl, + **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Sets the Access Control on a path and sub-paths. + + :param acl: + Sets POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, a user or + group identifier, and permissions in the format + "[scope:][type]:[id]:[permissions]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single change Access Control operation can execute. + If maximum is reached before all sub-paths are processed, + then continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :class:`~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='set', acl=acl, **kwargs) + return self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + def update_access_control_recursive(self, + acl, + **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Modifies the Access Control on a path and sub-paths. + + :param acl: + Modifies POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, a user or + group identifier, and permissions in the format + "[scope:][type]:[id]:[permissions]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single change Access Control operation can execute. + If maximum is reached before all sub-paths are processed, + then continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :class:`~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='modify', acl=acl, **kwargs) + return self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + def remove_access_control_recursive(self, + acl, + **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Removes the Access Control on a path and sub-paths. + + :param acl: + Removes POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, and a user or + group identifier in the format "[scope:][type]:[id]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single change Access Control operation can execute. + If maximum is reached before all sub-paths are processed then, + continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :class:`~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='remove', acl=acl, **kwargs) + return self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + def _set_access_control_internal(self, options, progress_hook, max_batches=None): + try: + continue_on_failure = options.get('force_flag') + total_directories_successful = 0 + total_files_success = 0 + total_failure_count = 0 + batch_count = 0 + last_continuation_token = None + current_continuation_token = None + continue_operation = True + while continue_operation: + headers, resp = self._client.path.set_access_control_recursive(**options) + + # make a running tally so that we can report the final results + total_directories_successful += resp.directories_successful + total_files_success += resp.files_successful + total_failure_count += resp.failure_count + batch_count += 1 + current_continuation_token = headers['continuation'] + + if current_continuation_token is not None: + last_continuation_token = current_continuation_token + + if progress_hook is not None: + progress_hook(AccessControlChanges( + batch_counters=AccessControlChangeCounters( + directories_successful=resp.directories_successful, + files_successful=resp.files_successful, + failure_count=resp.failure_count, + ), + aggregate_counters=AccessControlChangeCounters( + directories_successful=total_directories_successful, + files_successful=total_files_success, + failure_count=total_failure_count, + ), + batch_failures=[AccessControlChangeFailure( + name=failure.name, + is_directory=failure.type == 'DIRECTORY', + error_message=failure.error_message) for failure in resp.failed_entries], + continuation=last_continuation_token)) + + # update the continuation token, if there are more operations that cannot be completed in a single call + max_batches_satisfied = (max_batches is not None and batch_count == max_batches) + continue_operation = bool(current_continuation_token) and not max_batches_satisfied + options['continuation'] = current_continuation_token + + # currently the service stops on any failure, so we should send back the last continuation token + # for the user to retry the failed updates + # otherwise we should just return what the service gave us + return AccessControlChangeResult(counters=AccessControlChangeCounters( + directories_successful=total_directories_successful, + files_successful=total_files_success, + failure_count=total_failure_count), + continuation=last_continuation_token + if total_failure_count > 0 and not continue_on_failure else current_continuation_token) + except AzureError as error: + raise DataLakeAclChangeFailedError(error, error.message, last_continuation_token) + def _rename_path_options(self, rename_source, content_settings=None, metadata=None, **kwargs): # type: (Optional[ContentSettings], Optional[Dict[str, str]], **Any) -> Dict[str, Any] if self.require_encryption or (self.key_encryption_key is not None): @@ -414,7 +638,7 @@ def _rename_path_options(self, rename_source, content_settings=None, metadata=No 'lease_access_conditions': access_conditions, 'source_lease_id': source_lease_id, 'modified_access_conditions': mod_conditions, - 'source_modified_access_conditions':source_mod_conditions, + 'source_modified_access_conditions': source_mod_conditions, 'timeout': kwargs.pop('timeout', None), 'mode': 'legacy', 'cls': return_response_headers} @@ -526,7 +750,6 @@ def _get_path_properties(self, **kwargs): :caption: Getting the properties for a file/directory. """ path_properties = self._blob_client.get_blob_properties(**kwargs) - path_properties.__class__ = DirectoryProperties return path_properties def set_metadata(self, metadata, # type: Dict[str, str] diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_serialize.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_serialize.py index a75979f07799..9d700bfb029f 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_serialize.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_serialize.py @@ -13,6 +13,14 @@ def convert_dfs_url_to_blob_url(dfs_account_url): return dfs_account_url.replace('.dfs.', '.blob.', 1) +def convert_datetime_to_rfc1123(date): + weekday = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"][date.weekday()] + month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", + "Oct", "Nov", "Dec"][date.month - 1] + return "%s, %02d %s %04d %02d:%02d:%02d GMT" % (weekday, date.day, month, + date.year, date.hour, date.minute, date.second) + + def add_metadata_headers(metadata=None): # type: (Optional[Dict[str, str]]) -> str headers = list() diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py index 367c6554ef89..07aad5ffa1c8 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py @@ -39,6 +39,12 @@ class QueryStringConstants(object): SIGNED_KEY_SERVICE = 'sks' SIGNED_KEY_VERSION = 'skv' + # for ADLS + SIGNED_AUTHORIZED_OID = 'saoid' + SIGNED_UNAUTHORIZED_OID = 'suoid' + SIGNED_CORRELATION_ID = 'scid' + SIGNED_DIRECTORY_DEPTH = 'sdd' + @staticmethod def to_list(): return [ @@ -68,6 +74,11 @@ def to_list(): QueryStringConstants.SIGNED_KEY_EXPIRY, QueryStringConstants.SIGNED_KEY_SERVICE, QueryStringConstants.SIGNED_KEY_VERSION, + # for ADLS + QueryStringConstants.SIGNED_AUTHORIZED_OID, + QueryStringConstants.SIGNED_UNAUTHORIZED_OID, + QueryStringConstants.SIGNED_CORRELATION_ID, + QueryStringConstants.SIGNED_DIRECTORY_DEPTH, ] diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py index ec4622f5b70a..14dddef9e3a2 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py @@ -149,6 +149,19 @@ def generate_file_system_sas( :keyword str content_type: Response header value for Content-Type when resource is accessed using this shared access signature. + :keyword str preauthorized_agent_object_id: + The AAD object ID of a user assumed to be authorized by the owner of the user delegation key to perform + the action granted by the SAS token. The service will validate the SAS token and ensure that the owner of the + user delegation key has the required permissions before granting access but no additional permission check for + the agent object id will be performed. + :keyword str agent_object_id: + The AAD object ID of a user assumed to be unauthorized by the owner of the user delegation key to + perform the action granted by the SAS token. The service will validate the SAS token and ensure that the owner + of the user delegation key has the required permissions before granting access and the service will perform an + additional POSIX ACL check to determine if this user is authorized to perform the requested operation. + :keyword str correlation_id: + The correlation id to correlate the storage audit logs with the audit logs used by the principal + generating and distributing the SAS. :return: A Shared Access Signature (sas) token. :rtype: str """ @@ -238,9 +251,23 @@ def generate_directory_sas( :keyword str content_type: Response header value for Content-Type when resource is accessed using this shared access signature. + :keyword str preauthorized_agent_object_id: + The AAD object ID of a user assumed to be authorized by the owner of the user delegation key to perform + the action granted by the SAS token. The service will validate the SAS token and ensure that the owner of the + user delegation key has the required permissions before granting access but no additional permission check for + the agent object id will be performed. + :keyword str agent_object_id: + The AAD object ID of a user assumed to be unauthorized by the owner of the user delegation key to + perform the action granted by the SAS token. The service will validate the SAS token and ensure that the owner + of the user delegation key has the required permissions before granting access and the service will perform an + additional POSIX ACL check to determine if this user is authorized to perform the requested operation. + :keyword str correlation_id: + The correlation id to correlate the storage audit logs with the audit logs used by the principal + generating and distributing the SAS. :return: A Shared Access Signature (sas) token. :rtype: str """ + depth = len(directory_name.strip("/").split("/")) return generate_blob_sas( account_name=account_name, container_name=file_system_name, @@ -249,6 +276,8 @@ def generate_directory_sas( user_delegation_key=credential if not isinstance(credential, str) else None, permission=permission, expiry=expiry, + sdd=depth, + is_directory=True, **kwargs) @@ -331,6 +360,19 @@ def generate_file_sas( :keyword str content_type: Response header value for Content-Type when resource is accessed using this shared access signature. + :keyword str preauthorized_agent_object_id: + The AAD object ID of a user assumed to be authorized by the owner of the user delegation key to perform + the action granted by the SAS token. The service will validate the SAS token and ensure that the owner of the + user delegation key has the required permissions before granting access but no additional permission check for + the agent object id will be performed. + :keyword str agent_object_id: + The AAD object ID of a user assumed to be unauthorized by the owner of the user delegation key to + perform the action granted by the SAS token. The service will validate the SAS token and ensure that the owner + of the user delegation key has the required permissions before granting access and the service will perform an + additional POSIX ACL check to determine if this user is authorized to perform the requested operation. + :keyword str correlation_id: + The correlation id to correlate the storage audit logs with the audit logs used by the principal + generating and distributing the SAS. This can only be used when to generate sas with delegation key. :return: A Shared Access Signature (sas) token. :rtype: str """ diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py index c6a7dcb3ec29..c09c3f3597bb 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py @@ -11,6 +11,7 @@ from ._data_lake_file_client_async import DataLakeFileClient from .._data_lake_directory_client import DataLakeDirectoryClient as DataLakeDirectoryClientBase from .._models import DirectoryProperties +from .._deserialize import deserialize_dir_properties from ._path_client_async import PathClient @@ -203,8 +204,7 @@ async def get_directory_properties(self, **kwargs): :dedent: 4 :caption: Getting the properties for a file/directory. """ - blob_properties = await self._get_path_properties(**kwargs) - return DirectoryProperties._from_blob_properties(blob_properties) # pylint: disable=protected-access + return await self._get_path_properties(cls=deserialize_dir_properties, **kwargs) # pylint: disable=protected-access async def rename_directory(self, new_name, # type: str **kwargs): @@ -273,7 +273,7 @@ async def rename_directory(self, new_name, # type: str """ new_name = new_name.strip('/') new_file_system = new_name.split('/')[0] - new_path_and_token = new_name[len(new_file_system):].split('?') + new_path_and_token = new_name[len(new_file_system):].strip('/').split('?') new_path = new_path_and_token[0] try: new_dir_sas = new_path_and_token[1] or self._query_str.strip('?') diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py index dc1c69384c68..90fd7ca2a3fe 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py @@ -13,7 +13,8 @@ from ._download_async import StorageStreamDownloader from ._path_client_async import PathClient from .._data_lake_file_client import DataLakeFileClient as DataLakeFileClientBase -from .._deserialize import process_storage_error +from .._serialize import convert_datetime_to_rfc1123 +from .._deserialize import process_storage_error, deserialize_file_properties from .._generated.models import StorageErrorException from .._models import FileProperties from ..aio._upload_helper import upload_datalake_file @@ -207,8 +208,30 @@ async def get_file_properties(self, **kwargs): :dedent: 4 :caption: Getting the properties for a file. """ - blob_properties = await self._get_path_properties(**kwargs) - return FileProperties._from_blob_properties(blob_properties) # pylint: disable=protected-access + return await self._get_path_properties(cls=deserialize_file_properties, **kwargs) # pylint: disable=protected-access + + async def set_file_expiry(self, expiry_options, # type: str + expires_on=None, # type: Optional[Union[datetime, int]] + **kwargs): + # type: (str, Optional[Union[datetime, int]], **Any) -> None + """Sets the time a file will expire and be deleted. + + :param str expiry_options: + Required. Indicates mode of the expiry time. + Possible values include: 'NeverExpire', 'RelativeToCreation', 'RelativeToNow', 'Absolute' + :param datetime or int expires_on: + The time to set the file to expiry. + When expiry_options is RelativeTo*, expires_on should be an int in milliseconds + :keyword int timeout: + The timeout parameter is expressed in seconds. + :rtype: None + """ + try: + expires_on = convert_datetime_to_rfc1123(expires_on) + except AttributeError: + expires_on = str(expires_on) + await self._datalake_client_for_blob_operation.path.set_expiry(expiry_options, expires_on=expires_on, + **kwargs) # pylint: disable=protected-access async def upload_data(self, data, # type: Union[AnyStr, Iterable[AnyStr], IO[AnyStr]] length=None, # type: Optional[int] @@ -505,7 +528,7 @@ async def rename_file(self, new_name, # type: str """ new_name = new_name.strip('/') new_file_system = new_name.split('/')[0] - new_path_and_token = new_name[len(new_file_system):].split('?') + new_path_and_token = new_name[len(new_file_system):].strip('/').split('?') new_path = new_path_and_token[0] try: new_file_sas = new_path_and_token[1] or self._query_str.strip('?') diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py index 2fda96f2b6fd..ea27438b19da 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py @@ -3,8 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- - -from .._models import FileProperties +from .._deserialize import from_blob_properties class StorageStreamDownloader(object): @@ -23,7 +22,7 @@ class StorageStreamDownloader(object): def __init__(self, downloader): self._downloader = downloader self.name = self._downloader.name - self.properties = FileProperties._from_blob_properties(self._downloader.properties) # pylint: disable=protected-access + self.properties = from_blob_properties(self._downloader.properties) # pylint: disable=protected-access self.size = self._downloader.size def __len__(self): diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py index 61ea8c4df76e..f20b97de15a4 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py @@ -4,10 +4,12 @@ # license information. # -------------------------------------------------------------------------- # pylint: disable=invalid-overridden-method +from azure.core.exceptions import AzureError from azure.storage.blob.aio import BlobClient from .._shared.base_client_async import AsyncStorageAccountHostsMixin from .._path_client import PathClient as PathClientBase -from .._models import DirectoryProperties +from .._models import DirectoryProperties, AccessControlChangeResult, AccessControlChangeFailure, \ + AccessControlChangeCounters, AccessControlChanges, DataLakeAclChangeFailedError from .._generated.aio import DataLakeStorageClient from ._data_lake_lease_async import DataLakeLeaseClient from .._generated.models import StorageErrorException @@ -30,14 +32,23 @@ def __init__( # type: (...) -> None kwargs['retry_policy'] = kwargs.get('retry_policy') or ExponentialRetry(**kwargs) - super(PathClient, self).__init__(account_url, file_system_name, path_name, # type: ignore # pylint: disable=specify-parameter-names-in-call + super(PathClient, self).__init__(account_url, # pylint: disable=specify-parameter-names-in-call + file_system_name, path_name, credential=credential, - **kwargs) + **kwargs) # type: ignore kwargs.pop('_hosts', None) - self._blob_client = BlobClient(self._blob_account_url, file_system_name, blob_name=self.path_name, - credential=credential, _hosts=self._blob_client._hosts, **kwargs) # type: ignore # pylint: disable=protected-access + + self._blob_client = BlobClient(account_url=self._blob_account_url, container_name=file_system_name, + blob_name=path_name, + credential=credential, + _hosts=self._blob_client._hosts, # pylint: disable=protected-access + **kwargs) + self._client = DataLakeStorageClient(self.url, file_system_name, path_name, pipeline=self._pipeline) + self._datalake_client_for_blob_operation = DataLakeStorageClient(self._blob_client.url, + file_system_name, path_name, + pipeline=self._pipeline) self._loop = kwargs.get('loop', None) async def __aexit__(self, *args): @@ -264,6 +275,209 @@ async def get_access_control(self, upn=None, # type: Optional[bool] except StorageErrorException as error: process_storage_error(error) + async def set_access_control_recursive(self, + acl, + **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Sets the Access Control on a path and sub-paths. + + :param acl: + Sets POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, a user or + group identifier, and permissions in the format + "[scope:][type]:[id]:[permissions]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single change Access Control operation can execute. + If maximum is reached before all sub-paths are processed, + then continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='set', acl=acl, **kwargs) + return await self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + async def update_access_control_recursive(self, acl, **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Modifies the Access Control on a path and sub-paths. + + :param acl: + Modifies POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, a user or + group identifier, and permissions in the format + "[scope:][type]:[id]:[permissions]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single, + change Access Control operation can execute. + If maximum is reached before all sub-paths are processed, + then continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='modify', acl=acl, **kwargs) + return await self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + async def remove_access_control_recursive(self, + acl, + **kwargs): + # type: (str, **Any) -> AccessControlChangeResult + """ + Removes the Access Control on a path and sub-paths. + + :param acl: + Removes POSIX access control rights on files and directories. + The value is a comma-separated list of access control entries. Each + access control entry (ACE) consists of a scope, a type, and a user or + group identifier in the format "[scope:][type]:[id]". + :type acl: str + :keyword func(~azure.storage.filedatalake.AccessControlChanges) progress_hook: + Callback where the caller can track progress of the operation + as well as collect paths that failed to change Access Control. + :keyword str continuation: + Optional continuation token that can be used to resume previously stopped operation. + :keyword int batch_size: + Optional. If data set size exceeds batch size then operation will be split into multiple + requests so that progress can be tracked. Batch size should be between 1 and 2000. + The default when unspecified is 2000. + :keyword int max_batches: + Optional. Defines maximum number of batches that single change Access Control operation can execute. + If maximum is reached before all sub-paths are processed, + then continuation token can be used to resume operation. + Empty value indicates that maximum number of batches in unbound and operation continues till end. + :keyword bool continue_on_failure: + If set to False, the operation will terminate quickly on encountering user errors (4XX). + If True, the operation will ignore user errors and proceed with the operation on other sub-entities of + the directory. + Continuation token will only be returned when continue_on_failure is True in case of user errors. + If not set the default value is False for this. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: A summary of the recursive operations, including the count of successes and failures, + as well as a continuation token in case the operation was terminated prematurely. + :rtype: :~azure.storage.filedatalake.AccessControlChangeResult` + """ + if not acl: + raise ValueError("The Access Control List must be set for this operation") + + progress_hook = kwargs.pop('progress_hook', None) + max_batches = kwargs.pop('max_batches', None) + options = self._set_access_control_recursive_options(mode='remove', acl=acl, **kwargs) + return await self._set_access_control_internal(options=options, progress_hook=progress_hook, + max_batches=max_batches) + + async def _set_access_control_internal(self, options, progress_hook, max_batches=None): + try: + continue_on_failure = options.get('force_flag') + total_directories_successful = 0 + total_files_success = 0 + total_failure_count = 0 + batch_count = 0 + last_continuation_token = None + current_continuation_token = None + continue_operation = True + while continue_operation: + headers, resp = await self._client.path.set_access_control_recursive(**options) + + # make a running tally so that we can report the final results + total_directories_successful += resp.directories_successful + total_files_success += resp.files_successful + total_failure_count += resp.failure_count + batch_count += 1 + current_continuation_token = headers['continuation'] + + if current_continuation_token is not None: + last_continuation_token = current_continuation_token + + if progress_hook is not None: + await progress_hook(AccessControlChanges( + batch_counters=AccessControlChangeCounters( + directories_successful=resp.directories_successful, + files_successful=resp.files_successful, + failure_count=resp.failure_count, + ), + aggregate_counters=AccessControlChangeCounters( + directories_successful=total_directories_successful, + files_successful=total_files_success, + failure_count=total_failure_count, + ), + batch_failures=[AccessControlChangeFailure( + name=failure.name, + is_directory=failure.type == 'DIRECTORY', + error_message=failure.error_message) for failure in resp.failed_entries], + continuation=last_continuation_token)) + + # update the continuation token, if there are more operations that cannot be completed in a single call + max_batches_satisfied = (max_batches is not None and batch_count == max_batches) + continue_operation = bool(current_continuation_token) and not max_batches_satisfied + options['continuation'] = current_continuation_token + + # currently the service stops on any failure, so we should send back the last continuation token + # for the user to retry the failed updates + # otherwise we should just return what the service gave us + return AccessControlChangeResult(counters=AccessControlChangeCounters( + directories_successful=total_directories_successful, + files_successful=total_files_success, + failure_count=total_failure_count), + continuation=last_continuation_token + if total_failure_count > 0 and not continue_on_failure else current_continuation_token) + except AzureError as error: + raise DataLakeAclChangeFailedError(error, error.message, last_continuation_token) + async def _rename_path(self, rename_source, **kwargs): # type: (**Any) -> Dict[str, Any] @@ -358,7 +572,6 @@ async def _get_path_properties(self, **kwargs): :rtype: DirectoryProperties or FileProperties """ path_properties = await self._blob_client.get_blob_properties(**kwargs) - path_properties.__class__ = DirectoryProperties return path_properties async def set_metadata(self, metadata, # type: Dict[str, str] diff --git a/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive.py b/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive.py new file mode 100644 index 000000000000..0a2b25987646 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive.py @@ -0,0 +1,116 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: datalake_samples_access_control_recursive.py +DESCRIPTION: + This sample demonstrates recursive set/get access control on directories. +USAGE: + python datalake_samples_access_control_recursive.py + Set the environment variables with your own values before running the sample: + 1) STORAGE_ACCOUNT_NAME - the storage account name + 2) STORAGE_ACCOUNT_KEY - the storage account key +""" + +import os +import random +import uuid + +from azure.storage.filedatalake import ( + DataLakeServiceClient, +) + + +def recursive_access_control_sample(filesystem_client): + # create a parent directory + dir_name = "testdir" + print("Creating a directory named '{}'.".format(dir_name)) + directory_client = filesystem_client.create_directory(dir_name) + + # populate the directory with some child files + create_child_files(directory_client, 35) + + # get and display the permissions of the parent directory + acl_props = directory_client.get_access_control() + print("Permissions of directory '{}' are {}.".format(dir_name, acl_props['permissions'])) + + # set the permissions of the entire directory tree recursively + # update/remove acl operations are performed the same way + acl = 'user::rwx,group::r-x,other::rwx' + failed_entries = [] + + # the progress callback is invoked each time a batch is completed + def progress_callback(acl_changes): + print(("In this batch: {} directories and {} files were processed successfully, {} failures were counted. " + + "In total, {} directories and {} files were processed successfully, {} failures were counted.") + .format(acl_changes.batch_counters.directories_successful, acl_changes.batch_counters.files_successful, + acl_changes.batch_counters.failure_count, acl_changes.aggregate_counters.directories_successful, + acl_changes.aggregate_counters.files_successful, acl_changes.aggregate_counters.failure_count)) + + # keep track of failed entries if there are any + failed_entries.append(acl_changes.batch_failures) + + # illustrate the operation by using a small batch_size + acl_change_result = directory_client.set_access_control_recursive(acl=acl, progress_callback=progress_callback, + batch_size=5) + print("Summary: {} directories and {} files were updated successfully, {} failures were counted." + .format(acl_change_result.counters.directories_successful, acl_change_result.counters.files_successful, + acl_change_result.counters.failure_count)) + + # if an error was encountered, a continuation token would be returned if the operation can be resumed + if acl_change_result.continuation is not None: + print("The operation can be resumed by passing the continuation token {} again into the access control method." + .format(acl_change_result.continuation)) + + # get and display the permissions of the parent directory again + acl_props = directory_client.get_access_control() + print("New permissions of directory '{}' and its children are {}.".format(dir_name, acl_props['permissions'])) + + +def create_child_files(directory_client, num_child_files): + import concurrent.futures + import itertools + # Use a thread pool because it is too slow otherwise + with concurrent.futures.ThreadPoolExecutor(max_workers=10) as executor: + def create_file(): + # generate a random name + file_name = str(uuid.uuid4()).replace('-', '') + directory_client.get_file_client(file_name).create_file() + + futures = {executor.submit(create_file) for _ in itertools.repeat(None, num_child_files)} + concurrent.futures.wait(futures) + print("Created {} files under the directory '{}'.".format(num_child_files, directory_client.path_name)) + + +def run(): + account_name = os.getenv('STORAGE_ACCOUNT_NAME', "") + account_key = os.getenv('STORAGE_ACCOUNT_KEY', "") + + # set up the service client with the credentials from the environment variables + service_client = DataLakeServiceClient(account_url="{}://{}.dfs.core.windows.net".format( + "https", + account_name + ), credential=account_key) + + # generate a random name for testing purpose + fs_name = "testfs{}".format(random.randint(1, 1000)) + print("Generating a test filesystem named '{}'.".format(fs_name)) + + # create the filesystem + filesystem_client = service_client.create_file_system(file_system=fs_name) + + # invoke the sample code + try: + recursive_access_control_sample(filesystem_client) + finally: + # clean up the demo filesystem + filesystem_client.delete_file_system() + + +if __name__ == '__main__': + run() diff --git a/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive_async.py b/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive_async.py new file mode 100644 index 000000000000..0c9c79c66f24 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/samples/datalake_samples_access_control_recursive_async.py @@ -0,0 +1,120 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: datalake_samples_access_control_recursive_async.py +DESCRIPTION: + This sample demonstrates recursive set/get access control on directories. +USAGE: + python datalake_samples_access_control_recursive_async.py + Set the environment variables with your own values before running the sample: + 1) STORAGE_ACCOUNT_NAME - the storage account name + 2) STORAGE_ACCOUNT_KEY - the storage account key +""" + +import os +import random +import uuid +import asyncio + +from azure.storage.filedatalake.aio import ( + DataLakeServiceClient, +) + + +# TODO: rerun after test account is fixed +async def recursive_access_control_sample(filesystem_client): + # create a parent directory + dir_name = "testdir" + print("Creating a directory named '{}'.".format(dir_name)) + directory_client = await filesystem_client.create_directory(dir_name) + + # populate the directory with some child files + await create_child_files(directory_client, 35) + + # get and display the permissions of the parent directory + acl_props = await directory_client.get_access_control() + print("Permissions of directory '{}' are {}.".format(dir_name, acl_props['permissions'])) + + # set the permissions of the entire directory tree recursively + # update/remove acl operations are performed the same way + acl = 'user::rwx,group::r-x,other::rwx' + failed_entries = [] + + # the progress callback is invoked each time a batch is completed + async def progress_callback(acl_changes): + print(("In this batch: {} directories and {} files were processed successfully, {} failures were counted. " + + "In total, {} directories and {} files were processed successfully, {} failures were counted.") + .format(acl_changes.batch_counters.directories_successful, acl_changes.batch_counters.files_successful, + acl_changes.batch_counters.failure_count, acl_changes.aggregate_counters.directories_successful, + acl_changes.aggregate_counters.files_successful, acl_changes.aggregate_counters.failure_count)) + + # keep track of failed entries if there are any + failed_entries.append(acl_changes.batch_failures) + + # illustrate the operation by using a small batch_size + acl_change_result = await directory_client.set_access_control_recursive(acl=acl, + progress_callback=progress_callback, + batch_size=5) + print("Summary: {} directories and {} files were updated successfully, {} failures were counted." + .format(acl_change_result.counters.directories_successful, acl_change_result.counters.files_successful, + acl_change_result.counters.failure_count)) + + # if an error was encountered, a continuation token would be returned if the operation can be resumed + if acl_change_result.continuation is not None: + print("The operation can be resumed by passing the continuation token {} again into the access control method." + .format(acl_change_result.continuation)) + + # get and display the permissions of the parent directory again + acl_props = await directory_client.get_access_control() + print("New permissions of directory '{}' and its children are {}.".format(dir_name, acl_props['permissions'])) + + +async def create_child_files(directory_client, num_child_files): + import itertools + + async def create_file(): + # generate a random name + file_name = str(uuid.uuid4()).replace('-', '') + file_client = directory_client.get_file_client(file_name) + await file_client.create_file() + + futures = [asyncio.ensure_future(create_file()) for _ in itertools.repeat(None, num_child_files)] + await asyncio.wait(futures) + print("Created {} files under the directory '{}'.".format(num_child_files, directory_client.path_name)) + + +async def run(): + account_name = os.getenv('STORAGE_ACCOUNT_NAME', "") + account_key = os.getenv('STORAGE_ACCOUNT_KEY', "") + + # set up the service client with the credentials from the environment variables + service_client = DataLakeServiceClient(account_url="{}://{}.dfs.core.windows.net".format( + "https", + account_name + ), credential=account_key) + + async with service_client: + # generate a random name for testing purpose + fs_name = "testfs{}".format(random.randint(1, 1000)) + print("Generating a test filesystem named '{}'.".format(fs_name)) + + # create the filesystem + filesystem_client = await service_client.create_file_system(file_system=fs_name) + + # invoke the sample code + try: + await recursive_access_control_sample(filesystem_client) + finally: + # clean up the demo filesystem + await filesystem_client.delete_file_system() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(run()) diff --git a/sdk/storage/azure-storage-file-datalake/swagger/README.md b/sdk/storage/azure-storage-file-datalake/swagger/README.md index 3897b09b4370..b5e52fea83d1 100644 --- a/sdk/storage/azure-storage-file-datalake/swagger/README.md +++ b/sdk/storage/azure-storage-file-datalake/swagger/README.md @@ -19,7 +19,7 @@ autorest --use=C:/work/autorest.python --version=2.0.4280 ### Settings ``` yaml -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2019-12-12/DataLakeStorage.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.StorageDataLake/stable/2020-02-10/DataLakeStorage.json output-folder: ../azure/storage/filedatalake/_generated namespace: azure.storage.filedatalake no-namespace-folders: true diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive.yaml new file mode 100644 index 000000000000..cef6d614067d --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive.yaml @@ -0,0 +1,1410 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3a3cd30c-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51EA51ED0"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed583-601f-0021-08cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3a78b606-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51EB51C2B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed584-601f-0021-09cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3a889cec-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538%2Fsubfile0259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51EC4B9DD"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed585-601f-0021-0acd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3a98589e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538%2Fsubfile1259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51ED47E3A"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed586-601f-0021-0bcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3aa806ae-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538%2Fsubfile2259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51EE46125"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed587-601f-0021-0ccd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3ab7e1a0-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538%2Fsubfile3259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51EF42673"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed588-601f-0021-0dcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3ac7cafc-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir0259f1538%2Fsubfile4259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51F04148D"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed589-601f-0021-0ecd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3ad7b354-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51F14006A"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58a-601f-0021-0fcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3ae7908a-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538%2Fsubfile0259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51F2464F8"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58b-601f-0021-10cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3af8033e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538%2Fsubfile1259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:24 GMT + ETag: + - '"0x8D7D6E51F348F0D"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58c-601f-0021-11cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b081f26-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538%2Fsubfile2259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F4471BA"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58d-601f-0021-12cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b18323a-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538%2Fsubfile3259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F548FDD"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58e-601f-0021-13cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b28061a-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir1259f1538%2Fsubfile4259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F6429A6"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed58f-601f-0021-14cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b37c122-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F738469"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed590-601f-0021-15cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b46f368-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538%2Fsubfile0259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F832D92"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed591-601f-0021-16cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b56bcf8-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538%2Fsubfile1259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51F932EC7"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed592-601f-0021-17cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b68c650-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538%2Fsubfile2259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51FA5802A"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed593-601f-0021-18cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b792644-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538%2Fsubfile3259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51FB68B73"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed594-601f-0021-19cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b8a78b8-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir2259f1538%2Fsubfile4259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51FC7B280"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed595-601f-0021-1acd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3b9b32d4-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:25 GMT + ETag: + - '"0x8D7D6E51FD77DAF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed596-601f-0021-1bcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bac2c06-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538%2Fsubfile0259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E51FE89AC0"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed597-601f-0021-1ccd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bbc1a9e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538%2Fsubfile1259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E51FF87FFE"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed598-601f-0021-1dcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bcde5f8-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538%2Fsubfile2259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5200ADA24"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed599-601f-0021-1ecd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bde76ca-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538%2Fsubfile3259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5201B064F"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed59b-601f-0021-1fcd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bee8a24-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir3259f1538%2Fsubfile4259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5202AC17E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed59c-601f-0021-20cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3bfe7394-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5203A8CAC"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed59d-601f-0021-21cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3c0e2064-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538%2Fsubfile0259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5204A870B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed59e-601f-0021-22cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3c1e002e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538%2Fsubfile1259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5205AB74C"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed59f-601f-0021-23cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3c2e646e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538%2Fsubfile2259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5206AD5F0"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed5a0-601f-0021-24cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3c3e749e-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538%2Fsubfile3259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:26 GMT + ETag: + - '"0x8D7D6E5207B0819"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed5a1-601f-0021-25cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3c4e8a82-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538%2Fsubdir4259f1538%2Fsubfile4259f1538?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:27 GMT + ETag: + - '"0x8D7D6E5208B4922"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8d7ed5a2-601f-0021-26cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 3c5ed626-74c1-11ea-b9af-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:27 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem259f1538/directory259f1538?mode=remove&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 8d7ed5a3-601f-0021-27cd-081237000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches.yaml new file mode 100644 index 000000000000..a21c94cf22ac --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches.yaml @@ -0,0 +1,2100 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3fa56d36-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5240F4256"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b3-101f-002b-3ace-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3fe2d0c2-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5241EA7E6"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b4-101f-002b-3bce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 3ff21f78-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7%2Fsubfile0295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5242E38AA"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b5-101f-002b-3cce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4001c0ea-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7%2Fsubfile1295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5243DE747"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b6-101f-002b-3dce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 401182a0-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7%2Fsubfile2295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5244DDCC7"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b7-101f-002b-3ece-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4021741c-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7%2Fsubfile3295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5245DB12E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b8-101f-002b-3fce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4031364a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir0295419a7%2Fsubfile4295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5246D8F44"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861b9-101f-002b-40ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40412820-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5247D1137"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861ba-101f-002b-41ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 405082b6-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7%2Fsubfile0295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5248CB0A7"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861bb-101f-002b-42ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40602608-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7%2Fsubfile1295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:33 GMT + ETag: + - '"0x8D7D6E5249D0196"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861bc-101f-002b-43ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4070a046-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7%2Fsubfile2295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524AD0B0E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861bd-101f-002b-44ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4080b99a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7%2Fsubfile3295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524BCE1C8"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861be-101f-002b-45ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 409073b2-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir1295419a7%2Fsubfile4295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524CCD221"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861bf-101f-002b-46ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40a05cdc-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524DC0D99"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c0-101f-002b-47ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40af953a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7%2Fsubfile0295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524EBEBAE"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c1-101f-002b-48ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40bf88dc-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7%2Fsubfile1295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E524FBBBE4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c2-101f-002b-49ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40cf5f0a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7%2Fsubfile2295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E5250BE13E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c3-101f-002b-4ace-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40df606c-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7%2Fsubfile3295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E5251BC94B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c4-101f-002b-4bce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40ef6cc8-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir2295419a7%2Fsubfile4295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E5252BA29B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c5-101f-002b-4cce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 40ff23d4-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:34 GMT + ETag: + - '"0x8D7D6E5253AFB66"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c6-101f-002b-4dce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 410e9daa-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7%2Fsubfile0295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E5254B33FF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c7-101f-002b-4ece-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 412118ea-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7%2Fsubfile1295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E5255D711E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c8-101f-002b-4fce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4130f62a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7%2Fsubfile2295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E5256D50BF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861c9-101f-002b-50ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 41426bee-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7%2Fsubfile3295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E5257EAA18"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861ca-101f-002b-51ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 41524fa0-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir3295419a7%2Fsubfile4295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E5259062B4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861cb-101f-002b-52ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4164bbd6-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E525A09F08"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861cc-101f-002b-53ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 41741590-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7%2Fsubfile0295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E525B244FF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861cd-101f-002b-54ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4185b8ea-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7%2Fsubfile1295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E525C30344"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861ce-101f-002b-55ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 419677a2-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7%2Fsubfile2295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E525D2E5DC"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861cf-101f-002b-56ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 41a68160-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7%2Fsubfile3295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:35 GMT + ETag: + - '"0x8D7D6E525E312C4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861d0-101f-002b-57ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 41b68d58-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7%2Fsubdir4295419a7%2Fsubfile4295419a7?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + ETag: + - '"0x8D7D6E525F344FD"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 328861d1-101f-002b-58ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 41ca3920-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:36 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbosp+T7a7foM4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjAyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d2-101f-002b-59ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 41dae48c-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBbosp%2BT7a7foM4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjAyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbj2Y3C4IyTyqsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjAyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d3-101f-002b-5ace-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 41eb7fc2-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBbj2Y3C4IyTyqsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjAyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBapqYa4nf7UrGwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMDI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d4-101f-002b-5bce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 41fcb26a-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBapqYa4nf7UrGwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMDI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaGh5e9yIHUhrMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjEyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d5-101f-002b-5cce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 420d13b2-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBaGh5e9yIHUhrMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjEyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaN7IXsxaOY7NYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjEyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d7-101f-002b-5dce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 421e4ca4-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBaN7IXsxaOY7NYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjEyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbHnI6WuNHfihEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMTI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d8-101f-002b-5ece-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 422fb6f6-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBbHnI6WuNHfihEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMTI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa02Y/Pp/DJ7DQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMjI5NTQxOWE3L3N1YmZpbGUwMjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861d9-101f-002b-5fce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42405b32-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBa02Y%2FPp%2FDJ7DQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMjI5NTQxOWE3L3N1YmZpbGUwMjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa/sp2eqtKFhlEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMjI5NTQxOWE3L3N1YmZpbGUyMjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861da-101f-002b-60ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 4250bf68-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBa%2Fsp2eqtKFhlEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMjI5NTQxOWE3L3N1YmZpbGUyMjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb1wpbk16DC4JYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjIyOTU0MTlhNy9zdWJmaWxlNDI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861db-101f-002b-61ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 426177d6-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBb1wpbk16DC4JYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjIyOTU0MTlhNy9zdWJmaWxlNDI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBba7Ifhgt/CykkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMzI5NTQxOWE3L3N1YmZpbGUwMjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861dc-101f-002b-62ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42720d30-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBba7Ifhgt%2FCykkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMzI5NTQxOWE3L3N1YmZpbGUwMjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbRh5Wwj/2OoCwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMzI5NTQxOWE3L3N1YmZpbGUyMjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861dd-101f-002b-63ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42831fa8-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBbRh5Wwj%2F2OoCwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyMzI5NTQxOWE3L3N1YmZpbGUyMjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBab957K8o/JxusBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjMyOTU0MTlhNy9zdWJmaWxlNDI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861de-101f-002b-64ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42935c74-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBab957K8o%2FJxusBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjMyOTU0MTlhNy9zdWJmaWxlNDI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBavmsHUh+yNx8QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjQyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861df-101f-002b-65ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42a3cbb8-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBavmsHUh%2ByNx8QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjQyOTU0MTlhNy9zdWJmaWxlMDI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBak8dOFis7BraEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjQyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861e0-101f-002b-66ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42b3eb10-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBak8dOFis7BraEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yOTU0MTlhNwEwMUQ2MDhDRTAxNEM0M0UxL2RpcmVjdG9yeTI5NTQxOWE3L3N1YmRpcjQyOTU0MTlhNy9zdWJmaWxlMjI5NTQxOWE3FgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbugdj/97yGy2YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyNDI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861e3-101f-002b-69ce-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 42c46a26-74c1-11ea-bfaf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem295419a7/directory295419a7?continuation=VBbugdj%2F97yGy2YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI5NTQxOWE3ATAxRDYwOENFMDE0QzQzRTEvZGlyZWN0b3J5Mjk1NDE5YTcvc3ViZGlyNDI5NTQxOWE3L3N1YmZpbGU0Mjk1NDE5YTcWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:37 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 328861e4-101f-002b-6ace-08b680000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches_with_progress_callback.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches_with_progress_callback.yaml new file mode 100644 index 000000000000..d036748d558b --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_in_batches_with_progress_callback.yaml @@ -0,0 +1,2100 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 461c3334-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:43 GMT + ETag: + - '"0x8D7D6E52A839CE6"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801ce8-101f-0076-05ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 465788e4-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:43 GMT + ETag: + - '"0x8D7D6E52A9340D3"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cea-101f-0076-06ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46670b02-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322%2Fsubfile0ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:43 GMT + ETag: + - '"0x8D7D6E52AA35854"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801ceb-101f-0076-07ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4676df1e-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322%2Fsubfile1ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52AB30BA2"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cec-101f-0076-08ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4686be7a-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322%2Fsubfile2ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52AC2EB52"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801ced-101f-0076-09ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4696746e-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322%2Fsubfile3ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52AD27FBC"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cee-101f-0076-0ace-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46a5f4e8-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir0ea872322%2Fsubfile4ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52AE20D6A"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cef-101f-0076-0bce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46b584e4-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52AF0D549"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf0-101f-0076-0cce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46c4451a-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322%2Fsubfile0ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52B041EB1"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf1-101f-0076-0dce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46d79cb4-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322%2Fsubfile1ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52B13C4F8"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf2-101f-0076-0ece-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46e74650-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322%2Fsubfile2ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52B23573D"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf3-101f-0076-0fce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46f704aa-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322%2Fsubfile3ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52B333FDE"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf4-101f-0076-10ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4706b594-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir1ea872322%2Fsubfile4ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:44 GMT + ETag: + - '"0x8D7D6E52B4301C4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf5-101f-0076-11ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47168d7a-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52B54E566"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf6-101f-0076-12ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47286356-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322%2Fsubfile0ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52B64B86B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf7-101f-0076-13ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47383484-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322%2Fsubfile1ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52B772472"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf8-101f-0076-14ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 474aa2ea-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322%2Fsubfile2ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52B87A756"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cf9-101f-0076-15ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 475b38b2-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322%2Fsubfile3ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52B98CFCF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cfa-101f-0076-16ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 476c607e-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir2ea872322%2Fsubfile4ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52BA99EF9"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cfb-101f-0076-17ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 477d5794-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52BB9EA0E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cfc-101f-0076-18ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 478d8628-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322%2Fsubfile0ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52BC9B383"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cfd-101f-0076-19ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 479d4054-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322%2Fsubfile1ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52BDC44CA"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cfe-101f-0076-1ace-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47aff410-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322%2Fsubfile2ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:45 GMT + ETag: + - '"0x8D7D6E52BEC7299"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801cff-101f-0076-1bce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47c024de-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322%2Fsubfile3ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52BFDE6D4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d00-101f-0076-1cce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47d18d96-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir3ea872322%2Fsubfile4ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C0DBD66"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d01-101f-0076-1dce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47e162e8-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C1D69E3"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d02-101f-0076-1ece-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47f0fb72-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322%2Fsubfile0ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C3197ED"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d03-101f-0076-1fce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 48055568-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322%2Fsubfile1ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C41F8D1"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d04-101f-0076-20ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4815a292-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322%2Fsubfile2ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C51DBE9"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d05-101f-0076-21ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 48257bf4-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322%2Fsubfile3ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C62017B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d06-101f-0076-22ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4835b26c-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322%2Fsubdir4ea872322%2Fsubfile4ea872322?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + ETag: + - '"0x8D7D6E52C730287"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9b801d07-101f-0076-23ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 484687ae-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBacl5SCvayF+N4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjBlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d08-101f-0076-24ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 4856c86c-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:47 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBacl5SCvayF%2BN4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjBlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaX/IbTsI7JkrsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjBlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d09-101f-0076-25ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48680c30-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBaX%2FIbTsI7JkrsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjBlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbdjI2pzfyO9HwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMGVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0a-101f-0076-26ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 4878aaea-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbdjI2pzfyO9HwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMGVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbyopysmIOO3qMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjFlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0b-101f-0076-27ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 4888f09e-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbyopysmIOO3qMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjFlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb5yY79laHCtMYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjFlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0c-101f-0076-28ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 4899510a-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBb5yY79laHCtMYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjFlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBazuYWH6NOF0gEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMWVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0d-101f-0076-29ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48a9ac1c-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBazuYWH6NOF0gEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMWVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbA/ITe9/KTtCQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMmVhODcyMzIyL3N1YmZpbGUwZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0e-101f-0076-2ace-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48baf2ce-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbA%2FITe9%2FKTtCQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMmVhODcyMzIyL3N1YmZpbGUwZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbLl5aP+tDf3kEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMmVhODcyMzIyL3N1YmZpbGUyZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d0f-101f-0076-2bce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48cb90f2-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbLl5aP%2BtDf3kEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyMmVhODcyMzIyL3N1YmZpbGUyZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaB5531h6KYuIYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjJlYTg3MjMyMi9zdWJmaWxlNGVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d10-101f-0076-2cce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48dbf5b4-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBaB5531h6KYuIYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjJlYTg3MjMyMi9zdWJmaWxlNGVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBauyYzw0t2YklkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyM2VhODcyMzIyL3N1YmZpbGUwZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d11-101f-0076-2dce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48ecd956-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:48 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBauyYzw0t2YklkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyM2VhODcyMzIyL3N1YmZpbGUwZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:48 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBalop6h3//U+DwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyM2VhODcyMzIyL3N1YmZpbGUyZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d12-101f-0076-2ece-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 48fd3198-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:49 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBalop6h3%2F%2FU%2BDwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyM2VhODcyMzIyL3N1YmZpbGUyZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:49 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbv0pXboo2TnvsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjNlYTg3MjMyMi9zdWJmaWxlNGVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d13-101f-0076-2fce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 490db2ac-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:49 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbv0pXboo2TnvsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjNlYTg3MjMyMi9zdWJmaWxlNGVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:49 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbbv8rF1+7Xn9QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjRlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d14-101f-0076-30ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 491e4df6-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:49 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbbv8rF1%2B7Xn9QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjRlYTg3MjMyMi9zdWJmaWxlMGVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:49 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbQ1NiU2syb9bEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjRlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d15-101f-0076-31ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 492ebe0c-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:49 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBbQ1NiU2syb9bEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lYTg3MjMyMgEwMUQ2MDhDRTA3QUFBOENCL2RpcmVjdG9yeWVhODcyMzIyL3N1YmRpcjRlYTg3MjMyMi9zdWJmaWxlMmVhODcyMzIyFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:49 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaapNPup77ck3YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyNGVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d16-101f-0076-32ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 493f885e-74c1-11ea-8a80-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:49 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemea872322/directoryea872322?continuation=VBaapNPup77ck3YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWVhODcyMzIyATAxRDYwOENFMDdBQUE4Q0IvZGlyZWN0b3J5ZWE4NzIzMjIvc3ViZGlyNGVhODcyMzIyL3N1YmZpbGU0ZWE4NzIzMjIWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:49 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9b801d17-101f-0076-33ce-08bc04000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_with_failures.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_with_failures.yaml new file mode 100644 index 000000000000..be223a773ed7 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_remove_access_control_recursive_with_failures.yaml @@ -0,0 +1,1823 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 733a0da8-eef2-11ea-8835-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:07 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:07 GMT + ETag: + - '"0x8D85116575A66BE"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 4131373e-d01f-00de-3fff-82e2c7000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:06 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AnRqWP9GpxBCpnIfSipQzbY; expires=Sun, 04-Oct-2020 21:06:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA_vP3jBQbs0Ao4kTb0axVUjbo2Cl68W3oDLCPj9LcSCaBOcDLwymQvhtM4m2KZGpkV5K-DQqDfqfDl2ttIcX1VSYaMnhQE2xjpi_mZtpULt6A9pndQI6zvG3Cqek1Ax4oqEuT5SKB2UAAAdWG4XtIqNWbILZreu0DqMo5zL8TLWwgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - EUS ProdSlices + x-ms-request-id: + - ebaaa8da-2e0c-4849-af2d-0317a1a42c00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA_vP3jBQbs0Ao4kTb0axVUjbo2Cl68W3oDLCPj9LcSCaBOcDLwymQvhtM4m2KZGpkV5K-DQqDfqfDl2ttIcX1VSYaMnhQE2xjpi_mZtpULt6A9pndQI6zvG3Cqek1Ax4oqEuT5SKB2UAAAdWG4XtIqNWbILZreu0DqMo5zL8TLWwgAA; + fpc=AnRqWP9GpxBCpnIfSipQzbY; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:06 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AnRqWP9GpxBCpnIfSipQzbY; expires=Sun, 04-Oct-2020 21:06:07 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + nel: + - '{"report_to":"network-errors","max_age":86400,"success_fraction":0.001,"failure_fraction":1.0}' + report-to: + - '{"group":"network-errors","max_age":86400,"endpoints":[{"url":"https://ffde.nelreports.net/api/report?cat=estscorp+wst"}]}' + x-ms-ests-server: + - 2.1.11000.20 - SAN ProdSlices + x-ms-request-id: + - 2ec8c55f-2b62-4f74-8393-fcdc79075400 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://sts.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:07 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AjOzJlWRHBFFkuSOyfyhpXE; expires=Sun, 04-Oct-2020 21:06:08 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAqL-8Uz9FiVQKTRhw8i5R1IiZyYlqoiA4I8O5CN5tGKqF9s8XBR32BbcWaLGKT8mfDzWsQdzesCF768O9gX5gcZuQ9ZpgiE5iiRwbPT7dnY57MwDIS2jyGVk0gNnrP_MrfXx1LL4mKYLnkBCzAhjgK29JSYc0FtNosQiWhfqZQOsgAA; + domain=.sts.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - NCUS ProdSlices + x-ms-request-id: + - 29466696-4f13-436f-a80e-0a02ad312c00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1611' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:07 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Ar8s8FpunuVCpCD-qHcMqRA; expires=Sun, 04-Oct-2020 21:06:08 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAPUcD3ibogxlh-dXPVAtX9CXjAV-sw5jeQKIIDwzYxw2UMZsXpTv1FvnICJ7DmB3Iqc4RmVvNh3ayyQoVg3yEeum84pYFQJOTsRwdnuknr_tsOkJcVN0ovvLZDF8teB1XFcr-jPCmScCcPtsH1wfM3HfReeELL1YsvLmkRptv_RwgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - EUS ProdSlices + x-ms-request-id: + - 35d9e038-2b0f-4389-8a0e-1ddbf62f2d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1621' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AhhDoK_Yb9NKoNQ1AG6IMlU; expires=Sun, 04-Oct-2020 21:06:08 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA_WZtsJvAEPpvz-Anwb6dQ15Ckgqn3JoTe9f5miFl-jt5ZZEKRaHyI7VlX7onjTJuNWPmtLaXbWexgj7AY5itQRufm9tnbESeueUqyexZRnUw7bCL5Gdl-v2fAC9ARl-qmybPieTHI0CKlzuhmEaU34AhZL81OCT4_4hvL7bik8IgAA; + domain=.login.microsoft.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 0dbc3cdc-56c5-4ff2-b5d2-ae66d1b72c00 + status: + code: 200 + message: OK +- request: + body: client_id=68390a19-a897-236b-b453-488abf67b4fc&grant_type=client_credentials&client_info=1&client_secret=3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY=&scope=https%3A%2F%2Fstorage.azure.com%2F.default + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/x-www-form-urlencoded + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA_vP3jBQbs0Ao4kTb0axVUjbo2Cl68W3oDLCPj9LcSCaBOcDLwymQvhtM4m2KZGpkV5K-DQqDfqfDl2ttIcX1VSYaMnhQE2xjpi_mZtpULt6A9pndQI6zvG3Cqek1Ax4oqEuT5SKB2UAAAdWG4XtIqNWbILZreu0DqMo5zL8TLWwgAA; + fpc=AnRqWP9GpxBCpnIfSipQzbY; stsservicecookie=estsfd; x-ms-gateway-slice=corp + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + client-request-id: + - 67e9884c-067c-4965-a80e-838e228d5950 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 1|730,0| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.3.0 + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5OTI1MzI2OCwibmJmIjoxNTk5MjUzMjY4LCJleHAiOjE1OTkzMzk5NjgsImFpbyI6IkUyQmdZQ2pzWWptWDgweW4vWUlmcTFtRS84VE5BQT09IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiIzRHk4RGNWVzhrLTEwcTVtMDdjc0FBIiwidmVyIjoiMS4wIn0.tZVctmnLN88QhFkQERUrME_CWGu4N_DsKYVXKcCMKu4FG3r9-wZphYGY2l0P0-g-1Z6m6tmpetRNiodAUsDE9quY3j7dcr5BYb5ICc5-v4NoMb1AnrcM8WvInTlNzmZKJReBLlVgPUnUrST1sV84vUmeEJcBJCJoLy_vgHQa9NDt2G1NyS-_hbCDBpkfXRe4vmQBfi5W3mN0o-nemx47J1t5PXA3JmNbUV7a2vhZfxpqy9OGCUUXLzdi00BW_d2J3rv0wb3DBJgEgVavMxxf5eJOkK0jsi5xiB9eKGFpXMnaTTNDbzYH07DXY9UIjyJwSliJUzKDH9O2gBA0He8g9Q"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '1318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:07 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=AnRqWP9GpxBCpnIfSipQzbawvhSZAQAAAD-j5NYOAAAA; expires=Sun, 04-Oct-2020 + 21:06:08 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - 67e9884c-067c-4965-a80e-838e228d5950 + x-ms-clitelem: + - 1,0,0,, + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 0dbc3cdc-56c5-4ff2-b5d2-ae66d3b72c00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7398a96c-eef2-11ea-a990-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D85116587FD155"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa151-801f-00ec-03ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 745b6318-eef2-11ea-8f3b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D851165890B163"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa152-801f-00ec-04ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 746c7c38-eef2-11ea-b890-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d%2Fsubfile07a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D8511658A3B98B"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa153-801f-00ec-05ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 747f816e-eef2-11ea-97ac-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d%2Fsubfile17a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D8511658B96C14"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa154-801f-00ec-06ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74955af8-eef2-11ea-8a37-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d%2Fsubfile27a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D8511658CD9C90"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa157-801f-00ec-09ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74a911dc-eef2-11ea-9bd5-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d%2Fsubfile37a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:08 GMT + ETag: + - '"0x8D8511658E15C77"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa158-801f-00ec-0aff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74bd61be-eef2-11ea-9dc2-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir07a1a1b0d%2Fsubfile47a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D8511658F55AAA"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa159-801f-00ec-0bff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74d07bca-eef2-11ea-8d85-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D851165903AA32"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa15b-801f-00ec-0dff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74df5ed2-eef2-11ea-84b5-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d%2Fsubfile07a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D85116591BFC53"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:09 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa15c-801f-00ec-0eff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 74f7c9fa-eef2-11ea-a52e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d%2Fsubfile17a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D85116592EDE2E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa15d-801f-00ec-0fff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 750a5314-eef2-11ea-ba7d-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d%2Fsubfile27a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D8511659402581"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa15e-801f-00ec-10ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 751be74a-eef2-11ea-bba3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d%2Fsubfile37a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D8511659533E3D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa15f-801f-00ec-11ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 752fa9ae-eef2-11ea-90de-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir17a1a1b0d%2Fsubfile47a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D8511659667BD8"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa160-801f-00ec-12ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75422b34-eef2-11ea-bb4a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:09 GMT + ETag: + - '"0x8D85116597834C0"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa161-801f-00ec-13ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7553f42c-eef2-11ea-a92b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d%2Fsubfile07a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D85116598B480E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa162-801f-00ec-14ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75671f24-eef2-11ea-b41f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d%2Fsubfile17a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D8511659A4D5F7"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa163-801f-00ec-15ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75803f34-eef2-11ea-a250-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d%2Fsubfile27a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D8511659B7E37C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:10 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa164-801f-00ec-16ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7593640c-eef2-11ea-b463-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d%2Fsubfile37a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D8511659C8AA96"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa165-801f-00ec-17ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75a4c878-eef2-11ea-a569-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir27a1a1b0d%2Fsubfile47a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D8511659DABCD0"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa166-801f-00ec-18ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75b69aba-eef2-11ea-926e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D8511659EE37EF"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa16b-801f-00ec-1dff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75c9f812-eef2-11ea-9619-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d%2Fsubfile07a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D851165A018AB0"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa16c-801f-00ec-1eff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75dd6c9e-eef2-11ea-9ab0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d%2Fsubfile17a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:10 GMT + ETag: + - '"0x8D851165A14AB72"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa16d-801f-00ec-1fff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 75eff94a-eef2-11ea-b17a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d%2Fsubfile27a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A25709C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa16e-801f-00ec-20ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7600775e-eef2-11ea-aaa3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d%2Fsubfile37a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A36824E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa16f-801f-00ec-21ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7611fe58-eef2-11ea-a4f7-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir37a1a1b0d%2Fsubfile47a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A488E95"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa170-801f-00ec-22ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7624682e-eef2-11ea-a1a6-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A5D26A2"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa171-801f-00ec-23ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 76384bae-eef2-11ea-b4e5-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d%2Fsubfile07a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A6BA625"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa172-801f-00ec-24ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7646cf10-eef2-11ea-961c-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d%2Fsubfile17a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A7A4ECE"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa173-801f-00ec-25ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 765620b4-eef2-11ea-9b8e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d%2Fsubfile27a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165A914EB4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa174-801f-00ec-26ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 766d561e-eef2-11ea-bbc3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d%2Fsubfile37a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:11 GMT + ETag: + - '"0x8D851165AA65513"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa175-801f-00ec-27ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 76822776-eef2-11ea-bf0f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fsubdir47a1a1b0d%2Fsubfile47a1a1b0d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:12 GMT + ETag: + - '"0x8D851165AB94CA5"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3f4aa176-801f-00ec-28ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7694b40c-eef2-11ea-9bf5-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:12 GMT + ETag: + - '"0x8D851165AC8BDA7"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:12 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 41313748-d01f-00de-41ff-82e2c7000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 76a4188c-eef2-11ea-87d1-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:12 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7a1a1b0d/directory7a1a1b0d?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directory7a1a1b0d/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:13 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3f4aa177-801f-00ec-29ff-82e2b0000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_rename_from.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_rename_from.yaml index 7a294f076980..25f3e9845f2e 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_rename_from.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_rename_from.yaml @@ -149,4 +149,148 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a8be6412-7584-11ea-8fab-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:21 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemcd990ccd/directorycd990ccd?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 03 Apr 2020 08:25:21 GMT + ETag: + - '"0x8D7D7A88D25C901"' + Last-Modified: + - Fri, 03 Apr 2020 08:25:21 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 87ff0984-e01f-0062-6a91-09f46b000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a8faa012-7584-11ea-8fab-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:21 GMT + x-ms-properties: + - '' + x-ms-rename-source: + - /filesystemcd990ccd/directorycd990ccd + x-ms-source-lease-id: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemcd990ccd/newname?mode=legacy + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 03 Apr 2020 08:25:21 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 87ff0985-e01f-0062-6b91-09f46b000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a90c9be6-7584-11ea-8fab-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:22 GMT + x-ms-version: + - '2019-10-10' + method: HEAD + uri: https://storagename.blob.core.windows.net/filesystemcd990ccd/newname + response: + body: + string: '' + headers: + Accept-Ranges: + - bytes + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Fri, 03 Apr 2020 08:25:22 GMT + ETag: + - '"0x8D7D7A88D25C901"' + Last-Modified: + - Fri, 03 Apr 2020 08:25:21 GMT + Server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 03 Apr 2020 08:25:21 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-meta-hdi_isfolder: + - 'true' + x-ms-request-id: + - 3b43f4a7-d01e-001b-1091-09084f000000 + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2019-10-10' + status: + code: 200 + message: OK version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive.yaml new file mode 100644 index 000000000000..790c809e7ef4 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive.yaml @@ -0,0 +1,1456 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bac08c3c-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F3F3479"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 5573549e-701f-0060-26d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb12f382-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F4E8513"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 5573549f-701f-0060-27d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb221bb4-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6%2Fsubfile0e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F5E8025"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a0-701f-0060-28d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb321ed8-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6%2Fsubfile1e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F6EA24E"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a1-701f-0060-29d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb423d0e-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6%2Fsubfile2e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F7EC455"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a2-701f-0060-2ad1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb525b94-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6%2Fsubfile3e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F8E68C8"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a5-701f-0060-2dd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb61f644-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir0e6f813f6%2Fsubfile4e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89F9E3BDD"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a6-701f-0060-2ed1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb71be58-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89FAD4F0E"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a7-701f-0060-2fd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb8103e0-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6%2Fsubfile0e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89FBDA205"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a8-701f-0060-30d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb9156aa-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6%2Fsubfile1e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:28 GMT + ETag: + - '"0x8D7D6E89FCD893B"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354a9-701f-0060-31d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bba1051e-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6%2Fsubfile2e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E89FDD129F"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354aa-701f-0060-32d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbb0ab4a-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6%2Fsubfile3e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E89FECF826"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354ab-701f-0060-33d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbc0c50c-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir1e6f813f6%2Fsubfile4e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E89FFCE2E9"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354ac-701f-0060-34d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbd06e58-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A00C7485"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354ad-701f-0060-35d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbe025aa-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6%2Fsubfile0e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A01CD5FF"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354ae-701f-0060-36d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbf0696a-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6%2Fsubfile1e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A02CC184"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354af-701f-0060-37d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc007d50-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6%2Fsubfile2e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A03CEE89"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b0-701f-0060-38d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc10aae0-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6%2Fsubfile3e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A04CF414"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b1-701f-0060-39d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc2092a2-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir2e6f813f6%2Fsubfile4e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A05CF051"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b2-701f-0060-3ad1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc3088ce-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:29 GMT + ETag: + - '"0x8D7D6E8A06C50D6"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b3-701f-0060-3bd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc3feb70-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6%2Fsubfile0e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A07C5A39"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:30 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b4-701f-0060-3cd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc500afa-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6%2Fsubfile1e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A08C9967"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:31 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b5-701f-0060-3dd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc6050c2-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6%2Fsubfile2e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A09CD90F"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:31 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b6-701f-0060-3ed1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc7097ac-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6%2Fsubfile3e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A0AD95D4"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:31 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b7-701f-0060-3fd1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc956168-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir3e6f813f6%2Fsubfile4e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A0D1F017"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:31 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b8-701f-0060-40d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bca660da-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:30 GMT + ETag: + - '"0x8D7D6E8A0F8C46F"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:31 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354b9-701f-0060-41d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bccf252e-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6%2Fsubfile0e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:31 GMT + ETag: + - '"0x8D7D6E8A1229308"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354ba-701f-0060-42d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcf80a5c-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6%2Fsubfile1e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:31 GMT + ETag: + - '"0x8D7D6E8A13519EC"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354bb-701f-0060-43d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd08c19e-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6%2Fsubfile2e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:31 GMT + ETag: + - '"0x8D7D6E8A15B5C2E"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354bc-701f-0060-44d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd3eb83a-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6%2Fsubfile3e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:31 GMT + ETag: + - '"0x8D7D6E8A17B0413"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354bd-701f-0060-45d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd5aa360-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6%2Fsubdir4e6f813f6%2Fsubfile4e6f813f6?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:31:31 GMT + ETag: + - '"0x8D7D6E8A19701D1"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 557354be-701f-0060-46d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - bd77a8de-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:32 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6?mode=set&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:31:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 557354bf-701f-0060-47d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bda9078a-74c4-11ea-a5d7-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:33 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesysteme6f813f6/directorye6f813f6?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:31:33 GMT + ETag: + - '"0x8D7D6E89F3F3479"' + Last-Modified: + - Thu, 02 Apr 2020 09:31:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 557354c0-701f-0060-48d1-084ad3000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_continue_on_failures.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_continue_on_failures.yaml new file mode 100644 index 000000000000..997f1e0b74de --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_continue_on_failures.yaml @@ -0,0 +1,2238 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 780824d0-eef2-11ea-9af0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:15 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:14 GMT + ETag: + - '"0x8D851165C27F44D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - d7adc0c4-601f-00e4-4aff-82f8bf000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:15 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=ArnNDofpGJZOjU4nOTBgDlU; expires=Sun, 04-Oct-2020 21:06:15 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAnOzCBgXgf_3MWuOCB69YLDwmw6fbLN_I-vbNwgYxqyHK7ZVCsaRWgfX05vc9h8xvf3TtHAfXwsVos42xerVuKtoMdOZ910lB7P8780PVClPf074RiBjVHjq5l7rsWLbbPJZXshxs2VtelY80FrRtxWbSzTC01W73ILRxZUS2wswgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - NCUS ProdSlices + x-ms-request-id: + - 38e7e28f-de81-460e-82f8-16cc0e7a2b00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAnOzCBgXgf_3MWuOCB69YLDwmw6fbLN_I-vbNwgYxqyHK7ZVCsaRWgfX05vc9h8xvf3TtHAfXwsVos42xerVuKtoMdOZ910lB7P8780PVClPf074RiBjVHjq5l7rsWLbbPJZXshxs2VtelY80FrRtxWbSzTC01W73ILRxZUS2wswgAA; + fpc=ArnNDofpGJZOjU4nOTBgDlU; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:15 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=ArnNDofpGJZOjU4nOTBgDlU; expires=Sun, 04-Oct-2020 21:06:15 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + nel: + - '{"report_to":"network-errors","max_age":86400,"success_fraction":0.001,"failure_fraction":1.0}' + report-to: + - '{"group":"network-errors","max_age":86400,"endpoints":[{"url":"https://ffde.nelreports.net/api/report?cat=estscorp+wst"}]}' + x-ms-ests-server: + - 2.1.11000.20 - SAN ProdSlices + x-ms-request-id: + - 67e8964a-ce67-4777-9876-fcd304575400 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://sts.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:15 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AsZcGLZ6WN9Kvx-4l7I1WbA; expires=Sun, 04-Oct-2020 21:06:15 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAMggqtsBI0Ty8HLEGb0Pn2yctiKhJ2bY0T_sdbV7abRF6bBszv00TLYndaFh_x_TwMTBAITUV54xQQ604btwAa94FNkr4QPFveHzuWB0k2u77JUw1QMH0oYSIWGUxqsSDkuUbV2FXXT1gyXj_vn04yGPyRYKQOx3Nbl2gMeJ9V50gAA; + domain=.sts.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 83c9eef6-4375-45a7-a71f-a551d5fd2d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1611' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:15 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AjNxDmJEY2pGsVFlBuQCu9U; expires=Sun, 04-Oct-2020 21:06:16 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA2AbMkbwfLdCTzQiXPTMZERXFBqM89buc825V6-511eLoMTPeoVzU2cXXn884K9YMQb8se_aLAcYdXcunp-aykZoHs70NgBwyF7Qiqh0u7LTWn1h1cfjqp59vfLbfw5v7cu0FL9Pf71yCaiYVPqiRcHpd-Uu168lFR8dxP1VXnZUgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 0dbc3cdc-56c5-4ff2-b5d2-ae666fb82c00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1621' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AqB25eJXc4dLhCvwsqgNfyA; expires=Sun, 04-Oct-2020 21:06:16 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAGZLo4wM72MfIjU07OQVxBX9BRqlbc34W0IyljUKQA1zrIzXREU0MlPxTOUIsmxfngtD6aNWIYuQHwhBt9Whl36h_14ViavigX0ycFfMyjLQhBGkS1jh201WTtu7oS8nUH4g-IZ8u_qVAHxDCJLBKZY5zM07O4y1kzo8VidTX8LQgAA; + domain=.login.microsoft.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 83c9eef6-4375-45a7-a71f-a551d9fd2d00 + status: + code: 200 + message: OK +- request: + body: client_id=68390a19-a897-236b-b453-488abf67b4fc&grant_type=client_credentials&client_info=1&client_secret=3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY=&scope=https%3A%2F%2Fstorage.azure.com%2F.default + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/x-www-form-urlencoded + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAnOzCBgXgf_3MWuOCB69YLDwmw6fbLN_I-vbNwgYxqyHK7ZVCsaRWgfX05vc9h8xvf3TtHAfXwsVos42xerVuKtoMdOZ910lB7P8780PVClPf074RiBjVHjq5l7rsWLbbPJZXshxs2VtelY80FrRtxWbSzTC01W73ILRxZUS2wswgAA; + fpc=ArnNDofpGJZOjU4nOTBgDlU; stsservicecookie=estsfd; x-ms-gateway-slice=corp + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + client-request-id: + - cf329069-e332-4462-9100-c2af7e9127e6 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 1|730,0| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.3.0 + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5OTI1MzI3NiwibmJmIjoxNTk5MjUzMjc2LCJleHAiOjE1OTkzMzk5NzYsImFpbyI6IkUyQmdZTmkrM21mT1p0UDR5WEd6dHgrc1MrYjdBUUE9IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiIzS3c3TW9rY2cwT1lTeHlyckR3dkFBIiwidmVyIjoiMS4wIn0.npuWeaeKsq1KE2VVtdkF_A-rcGPW_om8b0QZsXYqBPp1FJ9ufuUM0lTTQvsaSslwNMVgj2wUTsmtd3NprheYIHjo1z_h9R6liUvtYhWu_n_STluocYrRVW_D42qwCQmRvWbOO_ogv_3CI3vnVxC2uS63U0YB6F17wr2pfDKi4xxBBljZo51uBQlZMG8mvum_r0y1skj1GC_aibnunfCkVsWHD10AluwdzMIBdfL-trh-H1F5pA7TayOm-hxflWSZVeZljBDnXaJfo3DKmeKWVRDKIvyFDI54QnGWnBvV3kgLkMA8hCA_BRfkzZE6C-dm_dT24y_sSRKbdZplVaNR0w"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '1318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=ArnNDofpGJZOjU4nOTBgDlWwvhSZAQAAAEij5NYOAAAA; expires=Sun, 04-Oct-2020 + 21:06:16 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - cf329069-e332-4462-9100-c2af7e9127e6 + x-ms-clitelem: + - 1,0,0,, + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - 323bacdc-1c89-4383-984b-1cabac3c2f00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 784a2a0c-eef2-11ea-a183-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D30712D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821dfc-701f-0041-76ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 790cdb8c-eef2-11ea-999e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D42A391"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821dfe-701f-0041-78ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 791f20d2-eef2-11ea-b149-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0%2Fsubfile0e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D557A2D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821dff-701f-0041-79ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7931bd80-eef2-11ea-a26d-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0%2Fsubfile1e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D6805B1"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e00-701f-0041-7aff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 794442de-eef2-11ea-974e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0%2Fsubfile2e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D7A62D5"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e02-701f-0041-7bff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79563770-eef2-11ea-9988-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0%2Fsubfile3e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D8A8D3D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e03-701f-0041-7cff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79664380-eef2-11ea-863a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir0e9ad1cb0%2Fsubfile4e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165D99409A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e04-701f-0041-7dff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7975aa24-eef2-11ea-b104-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165DAB82F4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e05-701f-0041-7eff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 798d8074-eef2-11ea-afc7-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0%2Fsubfile0e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:16 GMT + ETag: + - '"0x8D851165DC5BBFB"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e06-701f-0041-7fff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79a206c2-eef2-11ea-a904-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0%2Fsubfile1e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165DD9D32B"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e07-701f-0041-80ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79b60d74-eef2-11ea-9762-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0%2Fsubfile2e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165DEC9B0E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e09-701f-0041-01ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79c920e2-eef2-11ea-9cad-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0%2Fsubfile3e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165DFF7DE9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e0a-701f-0041-02ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79dbd88c-eef2-11ea-9132-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir1e9ad1cb0%2Fsubfile4e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165E12BA1D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e0c-701f-0041-04ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 79ef0134-eef2-11ea-ab8a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165E265795"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e0d-701f-0041-05ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a02b91c-eef2-11ea-af3d-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0%2Fsubfile0e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165E39C81F"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e0e-701f-0041-06ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a159c18-eef2-11ea-be76-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0%2Fsubfile1e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165E4A02C8"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e0f-701f-0041-07ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a26a6ca-eef2-11ea-9db7-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0%2Fsubfile2e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:17 GMT + ETag: + - '"0x8D851165E5E21D1"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e10-701f-0041-08ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a3a72b6-eef2-11ea-995a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0%2Fsubfile3e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165E70F1AB"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e11-701f-0041-09ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a4ddcca-eef2-11ea-b911-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:18 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir2e9ad1cb0%2Fsubfile4e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165E846C35"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e12-701f-0041-0aff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a60c14c-eef2-11ea-9483-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165E98C721"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e13-701f-0041-0bff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a74e5ac-eef2-11ea-99fa-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0%2Fsubfile0e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165EAB211D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e14-701f-0041-0cff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a86c2f6-eef2-11ea-99b0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0%2Fsubfile1e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165EBE3952"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e15-701f-0041-0dff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7a9a850c-eef2-11ea-828a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0%2Fsubfile2e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165ED12D8F"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e16-701f-0041-0eff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7aad74f8-eef2-11ea-a2cb-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0%2Fsubfile3e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165EE3FBA4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e17-701f-0041-0fff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ac05828-eef2-11ea-a86c-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir3e9ad1cb0%2Fsubfile4e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:18 GMT + ETag: + - '"0x8D851165EF6D0CD"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e18-701f-0041-10ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ad34042-eef2-11ea-9aa6-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F0B9ACD"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e19-701f-0041-11ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ae7eba6-eef2-11ea-9cc1-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:19 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0%2Fsubfile0e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F1ED36B"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e1a-701f-0041-12ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7afa66ee-eef2-11ea-a5cd-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0%2Fsubfile1e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F2DF155"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e1b-701f-0041-13ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7b099498-eef2-11ea-8ab6-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0%2Fsubfile2e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F3CE15C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e1c-701f-0041-14ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7b187db0-eef2-11ea-ab03-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0%2Fsubfile3e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F4BA08D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e1d-701f-0041-15ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7b274092-eef2-11ea-8d85-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fsubdir4e9ad1cb0%2Fsubfile4e9ad1cb0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F5A58BF"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - af821e1e-701f-0041-16ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7b35f26e-eef2-11ea-b599-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F6851E0"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - d7adc0ca-601f-00e4-4fff-82f8bf000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7b432c64-eef2-11ea-a2fa-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0%2Fcannottouchthisdir?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + ETag: + - '"0x8D851165F74F3F1"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - d7adc0cb-601f-00e4-50ff-82f8bf000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7b4fd68c-eef2-11ea-926f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorye9ad1cb0/cannottouchthisdir","type":"DIRECTORY"},{"errorMessage":"This + request is not authorized to perform this operation using this permission.","name":"directorye9ad1cb0/cannottouchthis","type":"FILE"}],"failureCount":2,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:19 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaS9Lfm5Mz20PkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIwZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e1f-701f-0041-17ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7b66627e-eef2-11ea-891c-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBaS9Lfm5Mz20PkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIwZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb8wb/IweP99oQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIxZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e20-701f-0041-18ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7b7c1bdc-eef2-11ea-ad61-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:20 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBb8wb%2FIweP99oQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIxZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbOn6e6rpLgnAMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1lOWFkMWNiMAEwMUQ2ODJGRjM5QUY2MEE0L2RpcmVjdG9yeWU5YWQxY2IwL3N1YmRpcjJlOWFkMWNiMC9zdWJmaWxlMmU5YWQxY2IwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e21-701f-0041-19ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7b91a93a-eef2-11ea-8433-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBbOn6e6rpLgnAMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1lOWFkMWNiMAEwMUQ2ODJGRjM5QUY2MEE0L2RpcmVjdG9yeWU5YWQxY2IwL3N1YmRpcjJlOWFkMWNiMC9zdWJmaWxlMmU5YWQxY2IwFgAAAA%3D%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBagqq+Ui73run4YfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1lOWFkMWNiMAEwMUQ2ODJGRjM5QUY2MEE0L2RpcmVjdG9yeWU5YWQxY2IwL3N1YmRpcjNlOWFkMWNiMC9zdWJmaWxlMmU5YWQxY2IwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e22-701f-0041-1aff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7ba80fc8-eef2-11ea-abbd-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBagqq%2BUi73run4YfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1lOWFkMWNiMAEwMUQ2ODJGRjM5QUY2MEE0L2RpcmVjdG9yeWU5YWQxY2IwL3N1YmRpcjNlOWFkMWNiMC9zdWJmaWxlMmU5YWQxY2IwFgAAAA%3D%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbV3Omhjo6kt/MBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXI0ZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e23-701f-0041-1bff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7bbdfa82-eef2-11ea-9f17-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBbV3Omhjo6kt%2FMBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXI0ZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":3} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e25-701f-0041-1dff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7bd44918-eef2-11ea-8ecb-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorye9ad1cb0/cannottouchthis","type":"FILE"},{"errorMessage":"This + request is not authorized to perform this operation using this permission.","name":"directorye9ad1cb0/cannottouchthisdir","type":"DIRECTORY"}],"failureCount":2,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaS9Lfm5Mz20PkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIwZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e27-701f-0041-1fff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7be99862-eef2-11ea-935f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBaS9Lfm5Mz20PkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIwZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:20 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb8wb/IweP99oQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIxZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e28-701f-0041-20ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 7c018b4a-eef2-11ea-ae64-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:21 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme9ad1cb0/directorye9ad1cb0?continuation=VBb8wb%2FIweP99oQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtZTlhZDFjYjABMDFENjgyRkYzOUFGNjBBNC9kaXJlY3RvcnllOWFkMWNiMC9zdWJkaXIxZTlhZDFjYjAvc3ViZmlsZTJlOWFkMWNiMBYAAAA%3D&mode=set&forceFlag=true&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":5} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:21 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbOn6e6rpLgnAMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1lOWFkMWNiMAEwMUQ2ODJGRjM5QUY2MEE0L2RpcmVjdG9yeWU5YWQxY2IwL3N1YmRpcjJlOWFkMWNiMC9zdWJmaWxlMmU5YWQxY2IwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - af821e30-701f-0041-21ff-82aec5000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches.yaml new file mode 100644 index 000000000000..86306d55fce6 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches.yaml @@ -0,0 +1,2146 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0ff8dfdc-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:13 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4720CBA"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:13 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741510-001f-0055-54cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1046c95e-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:13 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4832CFB"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:13 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741511-001f-0055-55cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1056a2ac-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:13 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865%2Fsubfile0dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4976D4D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741512-001f-0055-56cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 106ab3d2-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865%2Fsubfile1dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4A6F2B3"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741513-001f-0055-57cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 107a3e74-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865%2Fsubfile2dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4B67751"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741514-001f-0055-58cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1089d4c4-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865%2Fsubfile3dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:13 GMT + ETag: + - '"0x8D7D6E4F4C6FDE0"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741515-001f-0055-59cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 109a3fc6-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir0dcd71865%2Fsubfile4dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F4D75CDC"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741516-001f-0055-5acd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10aab446-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F4E68639"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741517-001f-0055-5bcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10b9fb18-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865%2Fsubfile0dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F4F69BA8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741518-001f-0055-5ccd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10ca0fda-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865%2Fsubfile1dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F506869D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741519-001f-0055-5dcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10d9feae-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865%2Fsubfile2dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F516A7B7"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:14 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151a-001f-0055-5ecd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10ea1352-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865%2Fsubfile3dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F5277460"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151b-001f-0055-5fcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 10faee34-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir1dcd71865%2Fsubfile4dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F53776DD"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151c-001f-0055-60cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 110abe36-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F546B83E"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151d-001f-0055-61cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 111a2a42-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865%2Fsubfile0dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F5579FCF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151e-001f-0055-62cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 112b1cf8-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865%2Fsubfile1dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:14 GMT + ETag: + - '"0x8D7D6E4F567E8D8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074151f-001f-0055-63cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 113b4fd8-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865%2Fsubfile2dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F57B0A0E"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741520-001f-0055-64cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 114e790a-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865%2Fsubfile3dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F58AE1ED"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741521-001f-0055-65cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1163760c-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir2dcd71865%2Fsubfile4dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5A06049"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741522-001f-0055-66cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1173c46c-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5AFA560"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:15 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741523-001f-0055-67cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 118446ca-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865%2Fsubfile0dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5C09D8E"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741524-001f-0055-68cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1193f2a0-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865%2Fsubfile1dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5D050F1"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741525-001f-0055-69cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11a3c4dc-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865%2Fsubfile2dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5E06408"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741527-001f-0055-6bcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11b3d818-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865%2Fsubfile3dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F5F04940"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741528-001f-0055-6ccd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11c8b378-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir3dcd71865%2Fsubfile4dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:15 GMT + ETag: + - '"0x8D7D6E4F605E610"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 30741529-001f-0055-6dcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11d93edc-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F6153A9C"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152a-001f-0055-6ecd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11e88482-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865%2Fsubfile0dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F624B5BE"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152b-001f-0055-6fcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 11f83148-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865%2Fsubfile1dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F63503A6"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152c-001f-0055-70cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 12087c60-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865%2Fsubfile2dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F6451920"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152d-001f-0055-71cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 121875de-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865%2Fsubfile3dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F654EC53"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152e-001f-0055-72cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 12285648-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865%2Fsubdir4dcd71865%2Fsubfile4dcd71865?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + ETag: + - '"0x8D7D6E4F665AED2"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 3074152f-001f-0055-73cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12391028-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb65fTC5ciBtdEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjBkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741530-001f-0055-74cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 125b855e-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBb65fTC5ciBtdEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjBkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbxjuaT6OrN37QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjBkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741531-001f-0055-75cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 126c4538-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBbxjuaT6OrN37QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjBkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:16 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa7/u3plZiKuXMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMGRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741533-001f-0055-77cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 127ca78e-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBa7%2Fu3plZiKuXMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMGRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaU0PzswOeKk6wBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjFkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741534-001f-0055-78cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 128d6d3a-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBaU0PzswOeKk6wBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjFkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBafu+69zcXG+ckBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjFkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741535-001f-0055-79cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 129db1ea-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBafu%2B69zcXG%2BckBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjFkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbVy+XHsLeBnw4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMWRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741536-001f-0055-7acd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12b043a0-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:17 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBbVy%2BXHsLeBnw4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMWRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBamjuSer5aX+SsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMmRjZDcxODY1L3N1YmZpbGUwZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741538-001f-0055-7ccd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12c14a60-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBamjuSer5aX%2BSsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMmRjZDcxODY1L3N1YmZpbGUwZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBat5fbPorTbk04YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMmRjZDcxODY1L3N1YmZpbGUyZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741539-001f-0055-7dcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12d1c8e0-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBat5fbPorTbk04YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyMmRjZDcxODY1L3N1YmZpbGUyZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbnlf2138ac9YkBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjJkY2Q3MTg2NS9zdWJmaWxlNGRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3074153b-001f-0055-7fcd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12e236b2-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBbnlf2138ac9YkBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjJkY2Q3MTg2NS9zdWJmaWxlNGRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbIu+ywirmc31YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyM2RjZDcxODY1L3N1YmZpbGUwZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3074153c-001f-0055-80cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 12f46bc0-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBbIu%2Bywirmc31YYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyM2RjZDcxODY1L3N1YmZpbGUwZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbD0P7hh5vQtTMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyM2RjZDcxODY1L3N1YmZpbGUyZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3074153d-001f-0055-01cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 1304e388-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBbD0P7hh5vQtTMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyM2RjZDcxODY1L3N1YmZpbGUyZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:17 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaJoPWb+umX0/QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjNkY2Q3MTg2NS9zdWJmaWxlNGRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3074153e-001f-0055-02cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 13153530-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBaJoPWb%2BumX0%2FQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjNkY2Q3MTg2NS9zdWJmaWxlNGRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa9zaqFj4rT0tsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjRkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 3074153f-001f-0055-03cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 132647da-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBa9zaqFj4rT0tsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjRkY2Q3MTg2NS9zdWJmaWxlMGRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa2prjUgqifuL4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjRkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741540-001f-0055-04cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 13393ade-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBa2prjUgqifuL4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1kY2Q3MTg2NQEwMUQ2MDhDREQxOUVGQzQwL2RpcmVjdG9yeWRjZDcxODY1L3N1YmRpcjRkY2Q3MTg2NS9zdWJmaWxlMmRjZDcxODY1FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb81rOu/9rY3nkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyNGRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741541-001f-0055-05cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 1349f4c8-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?continuation=VBb81rOu%2F9rY3nkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWRjZDcxODY1ATAxRDYwOENERDE5RUZDNDAvZGlyZWN0b3J5ZGNkNzE4NjUvc3ViZGlyNGRjZDcxODY1L3N1YmZpbGU0ZGNkNzE4NjUWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:18 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 30741542-001f-0055-06cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 135ae81e-74c1-11ea-9dfb-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:19 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystemdcd71865/directorydcd71865?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:05:18 GMT + ETag: + - '"0x8D7D6E4F4720CBA"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:13 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 30741543-001f-0055-07cd-0826c7000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_explicit_iteration.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_explicit_iteration.yaml new file mode 100644 index 000000000000..8cfca9b7a95a --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_explicit_iteration.yaml @@ -0,0 +1,2146 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1dbe90d8-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:01 GMT + ETag: + - '"0x8D7DD1302C6FE6E"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:01 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c14-901f-0049-32fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1e9b6c56-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:01 GMT + ETag: + - '"0x8D7DD1302DC21D0"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:01 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c17-901f-0049-33fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1eac8978-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f%2Fsubfile0a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:01 GMT + ETag: + - '"0x8D7DD1302EE84FF"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:01 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c18-901f-0049-34fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ebeebea-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f%2Fsubfile1a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:01 GMT + ETag: + - '"0x8D7DD1303006E37"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c19-901f-0049-35fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ed0dc9c-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f%2Fsubfile2a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:01 GMT + ETag: + - '"0x8D7DD1303124DBC"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1a-901f-0049-36fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ee2b976-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f%2Fsubfile3a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD1303248B46"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1b-901f-0049-37fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ef4ec7c-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir0a391226f%2Fsubfile4a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD130336C225"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1c-901f-0049-38fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f072c3e-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD130347D640"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1d-901f-0049-39fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f1832fe-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f%2Fsubfile0a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD130359DDCD"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1e-901f-0049-3afb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f2a3940-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f%2Fsubfile1a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD13036C2F3D"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c1f-901f-0049-3bfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f3c97de-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f%2Fsubfile2a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD13038167F7"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:02 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c20-901f-0049-3cfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f51ae94-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f%2Fsubfile3a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD13039310EF"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c21-901f-0049-3dfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f6369fe-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir1a391226f%2Fsubfile4a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:02 GMT + ETag: + - '"0x8D7DD1303A55084"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c22-901f-0049-3efb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f75af42-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1303B6BB77"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c23-901f-0049-3ffb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f8717b4-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f%2Fsubfile0a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1303C9159E"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c24-901f-0049-40fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1f997abc-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f%2Fsubfile1a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1303DB503C"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c25-901f-0049-41fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1fabba74-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f%2Fsubfile2a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1303ED65B3"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c26-901f-0049-42fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1fbdf450-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f%2Fsubfile3a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1303FFDA59"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c28-901f-0049-44fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1fd04010-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir2a391226f%2Fsubfile4a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD1304126977"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c29-901f-0049-45fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1fe2ccf8-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD130423FB22"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:03 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c2a-901f-0049-46fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ff4550e-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f%2Fsubfile0a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:03 GMT + ETag: + - '"0x8D7DD13043676EA"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c2b-901f-0049-47fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2006deb8-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f%2Fsubfile1a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD130448A494"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c2c-901f-0049-48fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2018f634-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f%2Fsubfile2a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD13045A9F5D"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c2d-901f-0049-49fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 202b2494-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f%2Fsubfile3a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD13046CF03F"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c2f-901f-0049-4afb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 203d606e-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir3a391226f%2Fsubfile4a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304801769"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c30-901f-0049-4bfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2050591c-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304920E3A"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c31-901f-0049-4cfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2062410e-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f%2Fsubfile0a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304A484E1"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c32-901f-0049-4dfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2074b4c4-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f%2Fsubfile1a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304B6BD64"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c33-901f-0049-4efb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 20872136-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f%2Fsubfile2a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304C9170F"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c34-901f-0049-4ffb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 20996fd0-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f%2Fsubfile3a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:04 GMT + ETag: + - '"0x8D7DD1304DBA986"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c36-901f-0049-50fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 20ac0a82-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f%2Fsubdir4a391226f%2Fsubfile4a391226f?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + ETag: + - '"0x8D7DD1304EE8570"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - ac487c37-901f-0049-51fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 20be9e90-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaDqK+cvZCh7uMBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjBhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c38-901f-0049-52fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 20e6d66c-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBaDqK%2BcvZCh7uMBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjBhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaIw73NsLLthIYBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjBhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c39-901f-0049-53fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 20f93244-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBaIw73NsLLthIYBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjBhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbCs7a3zcCq4kEYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMGEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3a-901f-0049-54fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 210b56c2-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbCs7a3zcCq4kEYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMGEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbtnaeymL+qyJ4BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjFhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3b-901f-0049-55fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 211e1e06-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbtnaeymL%2BqyJ4BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjFhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbm9rXjlZ3movsBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjFhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3c-901f-0049-56fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21309c16-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbm9rXjlZ3movsBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjFhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBashr6Z6O+hxDwYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMWEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3d-901f-0049-57fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2142d606-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBashr6Z6O%2BhxDwYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMWEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbfw7/A9863ohkYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMmEzOTEyMjZmL3N1YmZpbGUwYTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3e-901f-0049-58fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2155cdd8-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbfw7%2FA9863ohkYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMmEzOTEyMjZmL3N1YmZpbGUwYTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbUqK2R+uz7yHwYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMmEzOTEyMjZmL3N1YmZpbGUyYTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c3f-901f-0049-59fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2168bf60-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbUqK2R%2Buz7yHwYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyMmEzOTEyMjZmL3N1YmZpbGUyYTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBae2Kbrh568rrsBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjJhMzkxMjI2Zi9zdWJmaWxlNGEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c40-901f-0049-5afb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 217b4f18-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBae2Kbrh568rrsBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjJhMzkxMjI2Zi9zdWJmaWxlNGEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBax9rfu0uG8hGQYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyM2EzOTEyMjZmL3N1YmZpbGUwYTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c41-901f-0049-5bfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 218f1c00-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBax9rfu0uG8hGQYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyM2EzOTEyMjZmL3N1YmZpbGUwYTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa6naW/38Pw7gEYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyM2EzOTEyMjZmL3N1YmZpbGUyYTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c42-901f-0049-5cfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21a19e66-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBa6naW%2F38Pw7gEYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyM2EzOTEyMjZmL3N1YmZpbGUyYTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbw7a7ForG3iMYBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjNhMzkxMjI2Zi9zdWJmaWxlNGEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c43-901f-0049-5dfb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21b4d3f0-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbw7a7ForG3iMYBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjNhMzkxMjI2Zi9zdWJmaWxlNGEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbEgPHb19LziekBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjRhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c44-901f-0049-5efb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21ca5e5a-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbEgPHb19LziekBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjRhMzkxMjI2Zi9zdWJmaWxlMGEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbP6+OK2vC/44wBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjRhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c45-901f-0049-5ffb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21dd0550-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBbP6%2BOK2vC%2F44wBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW1hMzkxMjI2ZgEwMUQ2MEVGQkRFRjI5NTQ4L2RpcmVjdG9yeWEzOTEyMjZmL3N1YmRpcjRhMzkxMjI2Zi9zdWJmaWxlMmEzOTEyMjZmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaFm+jwp4L4hUsYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyNGEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c46-901f-0049-60fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 21efc8b6-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?continuation=VBaFm%2Bjwp4L4hUsYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbWEzOTEyMjZmATAxRDYwRUZCREVGMjk1NDgvZGlyZWN0b3J5YTM5MTIyNmYvc3ViZGlyNGEzOTEyMjZmL3N1YmZpbGU0YTM5MTIyNmYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Fri, 10 Apr 2020 05:50:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - ac487c48-901f-0049-62fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22033bf8-7aef-11ea-9d61-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:50:07 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystema391226f/directorya391226f?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Fri, 10 Apr 2020 05:50:07 GMT + ETag: + - '"0x8D7DD1302C6FE6E"' + Last-Modified: + - Fri, 10 Apr 2020 05:50:01 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - ac487c49-901f-0049-63fb-0eb4ca000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_progress_callback.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_progress_callback.yaml new file mode 100644 index 000000000000..f0ace475f20e --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_in_batches_with_progress_callback.yaml @@ -0,0 +1,2146 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16704878-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FAD7F527"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526656-b01f-006f-7ecd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16ab77ae-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FAE7241B"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526657-b01f-006f-7fcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16ba7e16-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0%2Fsubfile0812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FAF6B282"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526658-b01f-006f-80cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16ca2884-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0%2Fsubfile1812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB067B86"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526659-b01f-006f-01cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16da03e4-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0%2Fsubfile2812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB166245"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852665a-b01f-006f-02cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16e9d54e-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0%2Fsubfile3812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB26CECE"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852665b-b01f-006f-03cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 16fa3bbe-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir0812b21e0%2Fsubfile4812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB364F55"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852665e-b01f-006f-06cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1709b8d2-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB45FEF8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852665f-b01f-006f-07cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1719699e-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0%2Fsubfile0812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:24 GMT + ETag: + - '"0x8D7D6E4FB565F33"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526660-b01f-006f-08cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1729c5a0-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0%2Fsubfile1812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FB66443D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526661-b01f-006f-09cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 173ce734-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0%2Fsubfile2812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FB793686"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526662-b01f-006f-0acd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 174c9ca6-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0%2Fsubfile3812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FB894BBC"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526663-b01f-006f-0bcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 175ecd36-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir1812b21e0%2Fsubfile4812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FB9C1328"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526664-b01f-006f-0ccd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 176f75d2-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FBABB079"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526665-b01f-006f-0dcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17807990-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0%2Fsubfile0812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FBBD0100"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526666-b01f-006f-0ecd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17905162-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0%2Fsubfile1812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FBCCF107"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526667-b01f-006f-0fcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17a23dd2-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0%2Fsubfile2812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FBDE8139"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526668-b01f-006f-10cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17b1eb4c-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0%2Fsubfile3812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:25 GMT + ETag: + - '"0x8D7D6E4FBEEA396"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526669-b01f-006f-11cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17c21e90-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir2812b21e0%2Fsubfile4812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FBFEDF0C"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666a-b01f-006f-12cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17d24c20-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC0E29DF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666b-b01f-006f-13cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17e3ca68-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0%2Fsubfile0812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC21484C"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666c-b01f-006f-14cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 17f4c444-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0%2Fsubfile1812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC3184B8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666d-b01f-006f-15cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1805057a-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0%2Fsubfile2812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC415BEF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666e-b01f-006f-16cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1814c79e-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0%2Fsubfile3812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC513F63"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f852666f-b01f-006f-17cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1824bbea-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir3812b21e0%2Fsubfile4812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC6173DA"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526670-b01f-006f-18cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1834f136-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC7108CF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526671-b01f-006f-19cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 184482c2-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0%2Fsubfile0812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC826031"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526672-b01f-006f-1acd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1855c154-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0%2Fsubfile1812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:26 GMT + ETag: + - '"0x8D7D6E4FC928673"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526673-b01f-006f-1bcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1866026c-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0%2Fsubfile2812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + ETag: + - '"0x8D7D6E4FCA3052A"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526674-b01f-006f-1ccd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 187663fa-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0%2Fsubfile3812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + ETag: + - '"0x8D7D6E4FCB3368B"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526675-b01f-006f-1dcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1886c114-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0%2Fsubdir4812b21e0%2Fsubfile4812b21e0?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + ETag: + - '"0x8D7D6E4FCC35337"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - f8526676-b01f-006f-1ecd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 1896c23a-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBadpdL3ptnQgCwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMDgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526677-b01f-006f-1fcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18a99ac2-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:27 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBadpdL3ptnQgCwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMDgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaWzsCmq/uc6kkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMDgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526678-b01f-006f-20cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18ba76bc-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBaWzsCmq%2Fuc6kkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMDgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbcvsvc1onbjI4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjA4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526679-b01f-006f-21cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18cb1742-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbcvsvc1onbjI4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjA4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbzkNrZg/bbplEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMTgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667a-b01f-006f-22cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18dbb25a-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbzkNrZg%2FbbplEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMTgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb4+8iIjtSXzDQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMTgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667b-b01f-006f-23cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18ec0574-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBb4%2B8iIjtSXzDQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMTgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBayi8Py86bQqvMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjE4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667c-b01f-006f-24cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 18fc87f0-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBayi8Py86bQqvMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjE4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbBzsKr7IfGzNYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjI4MTJiMjFlMC9zdWJmaWxlMDgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667d-b01f-006f-25cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 190d83b6-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbBzsKr7IfGzNYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjI4MTJiMjFlMC9zdWJmaWxlMDgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbKpdD64aWKprMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjI4MTJiMjFlMC9zdWJmaWxlMjgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667e-b01f-006f-26cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 191dce10-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbKpdD64aWKprMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjI4MTJiMjFlMC9zdWJmaWxlMjgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaA1duAnNfNwHQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMjgxMmIyMWUwL3N1YmZpbGU0ODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f852667f-b01f-006f-27cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 192e2238-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBaA1duAnNfNwHQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMjgxMmIyMWUwL3N1YmZpbGU0ODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBav+8qFyajN6qsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjM4MTJiMjFlMC9zdWJmaWxlMDgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526680-b01f-006f-28cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 193ee4d8-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBav%2B8qFyajN6qsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjM4MTJiMjFlMC9zdWJmaWxlMDgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBakkNjUxIqBgM4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjM4MTJiMjFlMC9zdWJmaWxlMjgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526681-b01f-006f-29cd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 194fa0e8-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBakkNjUxIqBgM4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjM4MTJiMjFlMC9zdWJmaWxlMjgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbu4NOuufjG5gkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMzgxMmIyMWUwL3N1YmZpbGU0ODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526682-b01f-006f-2acd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 19604876-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbu4NOuufjG5gkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyMzgxMmIyMWUwL3N1YmZpbGU0ODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbajYywzJuC5yYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyNDgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526683-b01f-006f-2bcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 19711e80-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbajYywzJuC5yYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyNDgxMmIyMWUwL3N1YmZpbGUwODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbR5p7hwbnOjUMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyNDgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526684-b01f-006f-2ccd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 198203bc-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBbR5p7hwbnOjUMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTgxMmIyMWUwATAxRDYwOENERDgxQjlENEIvZGlyZWN0b3J5ODEyYjIxZTAvc3ViZGlyNDgxMmIyMWUwL3N1YmZpbGUyODEyYjIxZTAWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBablpWbvMuJ64QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjQ4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526685-b01f-006f-2dcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 19929ad8-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?continuation=VBablpWbvMuJ64QBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW04MTJiMjFlMAEwMUQ2MDhDREQ4MUI5RDRCL2RpcmVjdG9yeTgxMmIyMWUwL3N1YmRpcjQ4MTJiMjFlMC9zdWJmaWxlNDgxMmIyMWUwFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - f8526686-b01f-006f-2ecd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 19a34a22-74c1-11ea-8911-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:29 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem812b21e0/directory812b21e0?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:05:28 GMT + ETag: + - '"0x8D7D6E4FAD7F527"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - f8526687-b01f-006f-2fcd-083cbf000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_stop_on_failures.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_stop_on_failures.yaml new file mode 100644 index 000000000000..6b58fb0b5c75 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_stop_on_failures.yaml @@ -0,0 +1,1823 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 7cacc9b4-eef2-11ea-a93f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:22 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:22 GMT + ETag: + - '"0x8D8511660CD03BF"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:22 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - a8b6d1b6-b01f-005e-28ff-821dc1000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:23 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Ag39YbRXa-xBoGtJ5hAx0R4; expires=Sun, 04-Oct-2020 21:06:23 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAdRX_2Rog2JV0LsCHp2dqhiPw4mcrIn_6sq2_pKM5bsOytSFk6vVVRCmAfLSTA8zeNWwwx-3iAUg6SHNVkFDDlm7rvRIx2B1iGlHt5qippdTaZdFUY1iI0VYLiC6a0ZOp28RohQq5JoDcJi3v5kAZdczux_GFHi2glCshZ7gCHZ0gAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - EUS ProdSlices + x-ms-request-id: + - 00669505-11ab-46e1-9f8c-9d1597a22d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAdRX_2Rog2JV0LsCHp2dqhiPw4mcrIn_6sq2_pKM5bsOytSFk6vVVRCmAfLSTA8zeNWwwx-3iAUg6SHNVkFDDlm7rvRIx2B1iGlHt5qippdTaZdFUY1iI0VYLiC6a0ZOp28RohQq5JoDcJi3v5kAZdczux_GFHi2glCshZ7gCHZ0gAA; + fpc=Ag39YbRXa-xBoGtJ5hAx0R4; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:23 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Ag39YbRXa-xBoGtJ5hAx0R4; expires=Sun, 04-Oct-2020 21:06:23 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + nel: + - '{"report_to":"network-errors","max_age":86400,"success_fraction":0.001,"failure_fraction":1.0}' + report-to: + - '{"group":"network-errors","max_age":86400,"endpoints":[{"url":"https://ffde.nelreports.net/api/report?cat=estscorp+wst"}]}' + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 0465ee69-0a62-4c75-99fe-41739e054100 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://sts.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:22 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Ao4YUq0rs5ROnOlinwuaOgg; expires=Sun, 04-Oct-2020 21:06:23 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tABlnWnDXDLG31C9R6Z2Pv9W69qamaI2UJFQ7sAwkFoBTcRCWnVrU_tKrjm9djc5wnlSeZK3zMbUL_GWra37pNwQjGDCKnAMcj9NAVjClKmgDt-FGdF89P82umFFn_HbtLqM6WxUZVXLJFZbQoQuejLvuRmu12gayCtZWFx-OmrPsgAA; + domain=.sts.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - EUS ProdSlices + x-ms-request-id: + - 35d9e038-2b0f-4389-8a0e-1ddb4e312d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1611' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:23 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=ApW-Ci9beCpAlbdBPNGBKAU; expires=Sun, 04-Oct-2020 21:06:23 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAiDaJ1wLFYkZmg28d6ib_TmDdajqcCX5cWtiBdlHLi_FruiSmXwDWwmPo9Q9i8qqTjK9yXYoKMNJON6zaiE8vnzwNZse6VFPk9NPUBX0XNK8A4AswGBng2fyiBke0tazCa1sYbkZHzRr7cvkRSNwzJN40i4eOSiKUj9ED76mhmJggAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - 7b2b5062-dadc-4ebe-94c8-d5ba5b8e2d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1621' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:23 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AnPyus6K-K5LgeJNIQI0gqo; expires=Sun, 04-Oct-2020 21:06:24 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAirAPYw9q_JKFLIRiBpi6JO7HQo15ABEeUC054Fawfvw3R08_6DrlXblm_9GYzvNHjX6JyMBDfRiMYvgPMwzINyC_l7ZWliayNiEszGZHRCbZvj98yMSJ2e_Wh0WdL9TJTW_Ks4gyzimDkPt-zTwKymQPMdMuJGyFVbKtadub0m4gAA; + domain=.login.microsoft.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - NCUS ProdSlices + x-ms-request-id: + - efc23035-f4d6-4240-837e-f1a0c9ec2a00 + status: + code: 200 + message: OK +- request: + body: client_id=68390a19-a897-236b-b453-488abf67b4fc&grant_type=client_credentials&client_info=1&client_secret=3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY=&scope=https%3A%2F%2Fstorage.azure.com%2F.default + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/x-www-form-urlencoded + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAdRX_2Rog2JV0LsCHp2dqhiPw4mcrIn_6sq2_pKM5bsOytSFk6vVVRCmAfLSTA8zeNWwwx-3iAUg6SHNVkFDDlm7rvRIx2B1iGlHt5qippdTaZdFUY1iI0VYLiC6a0ZOp28RohQq5JoDcJi3v5kAZdczux_GFHi2glCshZ7gCHZ0gAA; + fpc=Ag39YbRXa-xBoGtJ5hAx0R4; stsservicecookie=estsfd; x-ms-gateway-slice=corp + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + client-request-id: + - e6f76784-2362-4f6c-ae77-9463e652abec + x-client-cpu: + - x64 + x-client-current-telemetry: + - 1|730,0| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.3.0 + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5OTI1MzI4NCwibmJmIjoxNTk5MjUzMjg0LCJleHAiOjE1OTkzMzk5ODQsImFpbyI6IkUyQmdZSmkxc3M1cFFsU2NzblMza3R6VjFNMGJBUT09IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiJZSEJQdlJabWRrR2VQYjFSbzdrdEFBIiwidmVyIjoiMS4wIn0.CgRRzX8QKSkLUWImTUbAt4b0qi4K8PIbUdk_dgMwxW3vMaNlLIFnEkhTXo8nhQ8MtSg7RwSLX1WI1tX3ncw4ERtu9-QTd_0CLwRSKX-mPsppOax9IS5UEPMVUiNFjAFk1L2qSyCiMtgonoZ4U4OUPApuK0l3DyjbEbmzq_cyE9c9UMgjLkFuJ_kXmXcu5aplNwVc-N_Po4wMtUvSVYgVSERhBo4NzhlaTFUhui9qz7HDdfi3x9flbBxGxfSelUIymQWk7vs4zTMGPmmDq_BkmnKOkHVDfYb_b3FmM_rAfPMKn4dl0ZA70_6ez195r6vVXf8k8pLBTmbnT0LKJpppLg"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '1318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:23 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=Ag39YbRXa-xBoGtJ5hAx0R6wvhSZAQAAAE-j5NYOAAAA; expires=Sun, 04-Oct-2020 + 21:06:24 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - e6f76784-2362-4f6c-ae77-9463e652abec + x-ms-clitelem: + - 1,0,0,, + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - bd4f7060-6616-4176-9e3d-bd51a3b92d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7cefdbb8-eef2-11ea-aa4f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:23 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D8511661F463A5"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199075-601f-00b9-2aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7dcf6428-eef2-11ea-ba9f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D8511662035524"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199078-601f-00b9-2dff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ddec614-eef2-11ea-9c3c-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11%2Fsubfile07a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D8511662161CB5"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:24 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199079-601f-00b9-2eff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7df18f24-eef2-11ea-b5e8-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11%2Fsubfile17a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D8511662288AB7"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19907c-601f-00b9-31ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e036086-eef2-11ea-a7b2-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11%2Fsubfile27a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D851166236DD69"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19907d-601f-00b9-32ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e126bfe-eef2-11ea-b788-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11%2Fsubfile37a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D851166248F295"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19907e-601f-00b9-33ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e2457ae-eef2-11ea-8b20-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir07a251b11%2Fsubfile47a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:24 GMT + ETag: + - '"0x8D85116625B17DF"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19907f-601f-00b9-34ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e366d9c-eef2-11ea-860f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D85116626CEF7A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199080-601f-00b9-35ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e488692-eef2-11ea-82e8-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11%2Fsubfile07a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D85116627F9277"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199081-601f-00b9-36ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e5ad07e-eef2-11ea-bdd1-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11%2Fsubfile17a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D851166290DA79"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199082-601f-00b9-37ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e6c52a4-eef2-11ea-ae09-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11%2Fsubfile27a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D8511662A4E9CF"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:25 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199083-601f-00b9-38ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e805e08-eef2-11ea-8e4d-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11%2Fsubfile37a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D8511662B92AE4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199084-601f-00b9-39ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7e94a886-eef2-11ea-acda-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir17a251b11%2Fsubfile47a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D8511662CD4132"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199085-601f-00b9-3aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ea8a254-eef2-11ea-8e77-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D8511662DF58A3"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199086-601f-00b9-3bff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ebac176-eef2-11ea-af8b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11%2Fsubfile07a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:25 GMT + ETag: + - '"0x8D8511662F21A9C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199088-601f-00b9-3dff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ecd3750-eef2-11ea-807a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11%2Fsubfile17a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116630538D5"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19908a-601f-00b9-3eff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ee0c880-eef2-11ea-9f90-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11%2Fsubfile27a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116631764DC"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19908b-601f-00b9-3fff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ef2cbb4-eef2-11ea-ae55-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11%2Fsubfile37a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D851166329691A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19908d-601f-00b9-41ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f04d564-eef2-11ea-8cd0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir27a251b11%2Fsubfile47a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116633BB12D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:26 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19908e-601f-00b9-42ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f173a0a-eef2-11ea-84c1-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116634DA31F"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19908f-601f-00b9-43ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f28a1e2-eef2-11ea-a0b4-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11%2Fsubfile07a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116635D2CF6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199090-601f-00b9-44ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f37fbb0-eef2-11ea-9ec0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11%2Fsubfile17a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116636B44F4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199091-601f-00b9-45ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f467e52-eef2-11ea-9ccc-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11%2Fsubfile27a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116637B7066"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199092-601f-00b9-46ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f565176-eef2-11ea-a2ae-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11%2Fsubfile37a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:26 GMT + ETag: + - '"0x8D85116638A2C02"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199093-601f-00b9-47ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f656766-eef2-11ea-8cbe-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir37a251b11%2Fsubfile47a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D85116639B36F2"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199095-601f-00b9-49ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f765ce4-eef2-11ea-bac2-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D8511663AC6A74"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199096-601f-00b9-4aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f88091e-eef2-11ea-b342-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11%2Fsubfile07a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D8511663C0BD17"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199097-601f-00b9-4bff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7f9c2464-eef2-11ea-afe7-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11%2Fsubfile17a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D8511663D38D20"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:27 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c199099-601f-00b9-4cff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7faf599c-eef2-11ea-bc83-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11%2Fsubfile27a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D8511663E65177"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19909a-601f-00b9-4dff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7fc197fa-eef2-11ea-a6bb-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11%2Fsubfile37a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:27 GMT + ETag: + - '"0x8D8511663F6C360"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19909b-601f-00b9-4eff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7ffd1018-eef2-11ea-9e39-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fsubdir47a251b11%2Fsubfile47a251b11?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:28 GMT + ETag: + - '"0x8D851166434364C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c19909c-601f-00b9-4fff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 800fcc1e-eef2-11ea-9417-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:28 GMT + ETag: + - '"0x8D851166446B28E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - a8b6d1c2-b01f-005e-33ff-821dc1000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 80226222-eef2-11ea-b445-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:28 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7a251b11/directory7a251b11?mode=set&maxRecords=6&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directory7a251b11/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":3} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:28 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 2c19909d-601f-00b9-50ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_throws_exception_containing_continuation_token.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_throws_exception_containing_continuation_token.yaml new file mode 100644 index 000000000000..23eef8f82546 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_throws_exception_containing_continuation_token.yaml @@ -0,0 +1,1458 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 70d39ffe-02e7-11eb-ad5e-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B555F84E5"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441d9e-801f-0008-29f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 71348c6e-02e7-11eb-964d-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B55779BF5"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441d9f-801f-0008-2af4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 714c75fe-02e7-11eb-8651-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad%2Fsubfile06ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B558E80A5"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da0-801f-0008-2bf4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7163ae1c-02e7-11eb-a6e1-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad%2Fsubfile16ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B55A76407"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da1-801f-0008-2cf4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 717c1e76-02e7-11eb-ab9f-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad%2Fsubfile26ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B55BBC83C"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da2-801f-0008-2df4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7190a3a4-02e7-11eb-8dfa-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad%2Fsubfile36ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B55D2B049"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da3-801f-0008-2ef4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 71a7daae-02e7-11eb-9243-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir06ad527ad%2Fsubfile46ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:42 GMT + ETag: + - '"0x8D8650B55EBADDA"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da4-801f-0008-2ff4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 71c0869e-02e7-11eb-b1bf-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B560384A7"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da5-801f-0008-30f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 71d8ced8-02e7-11eb-8070-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad%2Fsubfile06ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B561E76A6"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da6-801f-0008-31f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 71f371ee-02e7-11eb-934e-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad%2Fsubfile16ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B5636BB14"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da7-801f-0008-32f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 720ba810-02e7-11eb-87f7-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad%2Fsubfile26ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B564D44C4"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da8-801f-0008-33f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72222342-02e7-11eb-8173-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad%2Fsubfile36ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B56636985"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441da9-801f-0008-34f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7238ad2e-02e7-11eb-82ef-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir16ad527ad%2Fsubfile46ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:43 GMT + ETag: + - '"0x8D8650B567DEB19"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441daa-801f-0008-35f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7252c2ee-02e7-11eb-a09d-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B5694458E"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dab-801f-0008-36f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72694a5e-02e7-11eb-8c75-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad%2Fsubfile06ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B56AB6FB0"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dac-801f-0008-37f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72803d26-02e7-11eb-99bc-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad%2Fsubfile16ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B56BFD036"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dad-801f-0008-38f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7294c1da-02e7-11eb-a12e-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad%2Fsubfile26ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B56DA8F06"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dae-801f-0008-39f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72afcdae-02e7-11eb-80f4-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad%2Fsubfile36ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B56F35A79"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441daf-801f-0008-3af4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72c82d5e-02e7-11eb-a8ba-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir26ad527ad%2Fsubfile46ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B570A01AD"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db0-801f-0008-3bf4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72df51a8-02e7-11eb-9f57-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:44 GMT + ETag: + - '"0x8D8650B5722BD8A"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db1-801f-0008-3cf4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 72f8137e-02e7-11eb-9789-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad%2Fsubfile06ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B573D0CE3"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db2-801f-0008-3df4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7311c480-02e7-11eb-83bb-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad%2Fsubfile16ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B57518D3E"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db3-801f-0008-3ef4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7326a9b4-02e7-11eb-9d5c-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad%2Fsubfile26ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B576BFF6C"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db4-801f-0008-3ff4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 734155a8-02e7-11eb-ae03-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad%2Fsubfile36ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B578614DE"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db5-801f-0008-40f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 735b76e6-02e7-11eb-82ad-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir36ad527ad%2Fsubfile46ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B57A0702E"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db6-801f-0008-41f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 7375637a-02e7-11eb-851d-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:45 GMT + ETag: + - '"0x8D8650B57B76277"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db7-801f-0008-42f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 738cb79e-02e7-11eb-99bc-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad%2Fsubfile06ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:46 GMT + ETag: + - '"0x8D8650B57D2780F"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db8-801f-0008-43f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 73a74d38-02e7-11eb-9715-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad%2Fsubfile16ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:46 GMT + ETag: + - '"0x8D8650B57EB808A"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441db9-801f-0008-44f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 73c0e350-02e7-11eb-ab84-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad%2Fsubfile26ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:46 GMT + ETag: + - '"0x8D8650B5805E580"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dba-801f-0008-45f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 73dae90c-02e7-11eb-8478-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad%2Fsubfile36ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:46 GMT + ETag: + - '"0x8D8650B581D7DE3"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dbb-801f-0008-46f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 73f28d18-02e7-11eb-9c69-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad%2Fsubdir46ad527ad%2Fsubfile46ad527ad?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Wed, 30 Sep 2020 06:37:46 GMT + ETag: + - '"0x8D8650B58354A1B"' + Last-Modified: + - Wed, 30 Sep 2020 06:37:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9f441dbc-801f-0008-47f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 740a741c-02e7-11eb-87c0-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:47 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Wed, 30 Sep 2020 06:37:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaZ6bCPqb+Ws/wBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTZhZDUyN2FkATAxRDY5NkY0MzI0MzhBRTQvZGlyZWN0b3J5NmFkNTI3YWQvc3ViZGlyMDZhZDUyN2FkL3N1YmZpbGUwNmFkNTI3YWQWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9f441dbe-801f-0008-48f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 743affca-02e7-11eb-8832-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:37:47 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem6ad527ad/directory6ad527ad?continuation=VBaZ6bCPqb%2BWs%2FwBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTZhZDUyN2FkATAxRDY5NkY0MzI0MzhBRTQvZGlyZWN0b3J5NmFkNTI3YWQvc3ViZGlyMDZhZDUyN2FkL3N1YmZpbGUwNmFkNTI3YWQWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Wed, 30 Sep 2020 06:37:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaSgqLepJ3a2ZkBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTZhZDUyN2FkATAxRDY5NkY0MzI0MzhBRTQvZGlyZWN0b3J5NmFkNTI3YWQvc3ViZGlyMDZhZDUyN2FkL3N1YmZpbGUyNmFkNTI3YWQWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 9f441dc1-801f-0008-49f4-96ec2e000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_with_failures.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_with_failures.yaml new file mode 100644 index 000000000000..8cad141bd2f2 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_set_access_control_recursive_with_failures.yaml @@ -0,0 +1,1823 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 80e9f4c0-eef2-11ea-8bac-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:30 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:30 GMT + ETag: + - '"0x8D8511665091D30"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:29 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 72da93d6-f01f-00e6-4dff-824607000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:30 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AthJFWt-C9VHq-t-a6Lc4PM; expires=Sun, 04-Oct-2020 21:06:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAfXgI7etECrfQULEyyb2kY5I0926MD0kHxCpPx2tWLUtOrbaP8kkFrlyFSMiyTy0dczRe7DPxHx1IltaHXSlVIw0w-MA4DLtrgHtsw_pGML6jcwpiC4n3Aa3NxYdYz_DcBCecKHHRaXuojYnJf0oJkdJWd46zKIYeZrM-mchwc7AgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - d155e3cd-6b38-4a07-b2a7-06a1bebc2d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAfXgI7etECrfQULEyyb2kY5I0926MD0kHxCpPx2tWLUtOrbaP8kkFrlyFSMiyTy0dczRe7DPxHx1IltaHXSlVIw0w-MA4DLtrgHtsw_pGML6jcwpiC4n3Aa3NxYdYz_DcBCecKHHRaXuojYnJf0oJkdJWd46zKIYeZrM-mchwc7AgAA; + fpc=AthJFWt-C9VHq-t-a6Lc4PM; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:30 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AthJFWt-C9VHq-t-a6Lc4PM; expires=Sun, 04-Oct-2020 21:06:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + nel: + - '{"report_to":"network-errors","max_age":86400,"success_fraction":0.001,"failure_fraction":1.0}' + report-to: + - '{"group":"network-errors","max_age":86400,"endpoints":[{"url":"https://ffde.nelreports.net/api/report?cat=estscorp+wst"}]}' + x-ms-ests-server: + - 2.1.11000.20 - SAN ProdSlices + x-ms-request-id: + - f8b6e671-ec68-4ff0-bef7-37b17acd5400 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://sts.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:30 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AizTbpqVacpNq8YAfpgwj0M; expires=Sun, 04-Oct-2020 21:06:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tA6wDto0CCJ3kU8Na8QZBOlYtDYupQrR6WqK2pvrvUVleLjQRbhs1Ar5QKWXKrWOtTbb450bVAguogHO_Vh8OGX-5Zou_HcCO5PesolvKhu9x2bNbMkbA739jXxZ_rk95zgJ895opceH0nrLv-ZpRzlbbFTx_q-kLZAFw0mSGA9CQgAA; + domain=.sts.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - NCUS ProdSlices + x-ms-request-id: + - 4273dd89-005c-4d2f-bad8-e15fafa12d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1611' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:30 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AnPJyuC4WSpAmDL6gKCx-rQ; expires=Sun, 04-Oct-2020 21:06:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAMieCagHpZsNwXxD9D0BoX-KP14vsR3zrO8K4RtdsL8-xb0mp2mK_uxKp-sKxKfjSJIEjZePPD9mldnpwF4CoIj03JE11ySU-C9jXpg6f6FpYRoRqAwBhZbMGrxKZo4f2E0LNrZv5idRX3vFnhEESVgh3jx0N_iI-44ocjgb3oSIgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - NCUS ProdSlices + x-ms-request-id: + - d9455b13-a6ee-411d-acb5-c2801dae2b00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1621' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:31 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AtfCtg6XWZhPnkBmF_WzpWE; expires=Sun, 04-Oct-2020 21:06:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tARw07WgpGgwsmKdTSeLCVRL-1JIPaejfL9PR7aItB0EXrd4owbsMX44EOFbSWi9m_k6dO_vRTdYKw0Zi5HLXIrGBRM3GvpO7sJiUR1ZMVtklQTXCxKwL2L0IuWBG2ou6x28PNmppV_c1SItwYZ1li_jSMlJIE21ISv3WBNEmmiwkgAA; + domain=.login.microsoft.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - cd0f1888-8deb-44bd-add1-71680e992d00 + status: + code: 200 + message: OK +- request: + body: client_id=68390a19-a897-236b-b453-488abf67b4fc&grant_type=client_credentials&client_info=1&client_secret=3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY=&scope=https%3A%2F%2Fstorage.azure.com%2F.default + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/x-www-form-urlencoded + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAfXgI7etECrfQULEyyb2kY5I0926MD0kHxCpPx2tWLUtOrbaP8kkFrlyFSMiyTy0dczRe7DPxHx1IltaHXSlVIw0w-MA4DLtrgHtsw_pGML6jcwpiC4n3Aa3NxYdYz_DcBCecKHHRaXuojYnJf0oJkdJWd46zKIYeZrM-mchwc7AgAA; + fpc=AthJFWt-C9VHq-t-a6Lc4PM; stsservicecookie=estsfd; x-ms-gateway-slice=corp + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + client-request-id: + - 120e51ff-a174-427d-b0cb-bc68075add56 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 1|730,0| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.3.0 + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5OTI1MzI5MSwibmJmIjoxNTk5MjUzMjkxLCJleHAiOjE1OTkzMzk5OTEsImFpbyI6IkUyQmdZSmpQTEdVMzZiYkhYc2ZsUVh1eVpMaTRBQT09IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiJpQmdQemV1TnZVU3QwWEZvRUprdEFBIiwidmVyIjoiMS4wIn0.v-LaKAstnh3wts_XV_4nOMNVcSrjFoNNVgf55PX8lJk4NFSzi1Zk9xKT7JpyTFN5MvRGTGO1HWFtvGA9qdexetDMo1C267P9E7qSTqGPZM183221yEqCPL72AT2FkcY00Lh7itpMUcCH0HyCUYejFoWWgpkhQxrVpVS89WtOOqd1UaYCP3pqwZCbBZim1Zylmn-hHZb0R8knc2W_jy73rBFvz9s9z-1CoTySWb9pfdXZhePO6cyJaaVNGA557fFPi79erkgvluLKf0gU7qoG1u-OdQPbn0ZQdg5c_5MAP7cayohl1UHFKLvq1H03Km6VT5ntJcALarxK75KudkSGOg"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '1318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:31 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=AthJFWt-C9VHq-t-a6Lc4POwvhSZAQAAAFej5NYOAAAA; expires=Sun, 04-Oct-2020 + 21:06:31 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - 120e51ff-a174-427d-b0cb-bc68075add56 + x-ms-clitelem: + - 1,0,0,, + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - cd0f1888-8deb-44bd-add1-716810992d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 817b699a-eef2-11ea-a69b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:31 GMT + ETag: + - '"0x8D8511666675B9E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990a5-601f-00b9-56ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82439286-eef2-11ea-9a3e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:31 GMT + ETag: + - '"0x8D85116667AF5B4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990a7-601f-00b9-58ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 825732e8-eef2-11ea-8692-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb%2Fsubfile029e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:31 GMT + ETag: + - '"0x8D85116668E2CE9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990a8-601f-00b9-59ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 826a8728-eef2-11ea-a406-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb%2Fsubfile129e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666A10121"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990a9-601f-00b9-5aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 827d501c-eef2-11ea-a6ee-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb%2Fsubfile229e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666B45051"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990aa-601f-00b9-5bff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82905c9c-eef2-11ea-a0e6-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb%2Fsubfile329e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666C57213"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990ab-601f-00b9-5cff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82a1ca5c-eef2-11ea-afb3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir029e619cb%2Fsubfile429e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666D83294"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:32 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990ad-601f-00b9-5dff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82b3fdc6-eef2-11ea-81e2-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666E809B9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990ae-601f-00b9-5eff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82c45dee-eef2-11ea-9428-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb%2Fsubfile029e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D8511666FBD68B"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990af-601f-00b9-5fff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82d7a722-eef2-11ea-91d3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb%2Fsubfile129e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D85116670BF080"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b1-601f-00b9-61ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82e7c65c-eef2-11ea-ba38-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb%2Fsubfile229e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:32 GMT + ETag: + - '"0x8D85116671C6E42"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b2-601f-00b9-62ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 82f8bcba-eef2-11ea-8f23-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb%2Fsubfile329e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116672F6A1D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b3-601f-00b9-63ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 830b6b00-eef2-11ea-9374-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir129e619cb%2Fsubfile429e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116673E45F9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b4-601f-00b9-64ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8319d3f8-eef2-11ea-ade5-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116674C4F74"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b6-601f-00b9-66ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8327f9b4-eef2-11ea-9009-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb%2Fsubfile029e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116675AD648"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990b9-601f-00b9-69ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83367966-eef2-11ea-8588-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb%2Fsubfile129e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116676981ED"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990ba-601f-00b9-6aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83452eda-eef2-11ea-b0da-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb%2Fsubfile229e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D8511667781B89"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:33 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990bb-601f-00b9-6bff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8353a4c8-eef2-11ea-b586-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb%2Fsubfile329e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D851166786C5C3"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990be-601f-00b9-6eff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83630b7e-eef2-11ea-9abd-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir229e619cb%2Fsubfile429e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D85116679BA7D9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c0-601f-00b9-70ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8377eaa4-eef2-11ea-b0ce-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D8511667AE8463"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c1-601f-00b9-71ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 838ad324-eef2-11ea-8534-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb%2Fsubfile029e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:33 GMT + ETag: + - '"0x8D8511667C195A4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c2-601f-00b9-72ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 839ea564-eef2-11ea-bfa4-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb%2Fsubfile129e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D8511667D49765"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c3-601f-00b9-73ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83b08df0-eef2-11ea-b932-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb%2Fsubfile229e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D8511667E5C449"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c4-601f-00b9-74ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83c1d22e-eef2-11ea-a3f3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb%2Fsubfile329e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D8511667F7C68A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c5-601f-00b9-75ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83d3a274-eef2-11ea-afef-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir329e619cb%2Fsubfile429e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D8511668084873"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:34 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c6-601f-00b9-76ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83e43d74-eef2-11ea-a01a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D85116681A010E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c7-601f-00b9-77ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 83f63d9c-eef2-11ea-b33e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb%2Fsubfile029e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D85116682EB270"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990c9-601f-00b9-78ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 840af6ae-eef2-11ea-9c71-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb%2Fsubfile129e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D851166841BF83"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990ca-601f-00b9-79ff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 841d7782-eef2-11ea-9851-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb%2Fsubfile229e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:34 GMT + ETag: + - '"0x8D851166850B48A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990cb-601f-00b9-7aff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 842ced00-eef2-11ea-892b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb%2Fsubfile329e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:35 GMT + ETag: + - '"0x8D8511668632F93"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990cc-601f-00b9-7bff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 843f6a7a-eef2-11ea-ac5d-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fsubdir429e619cb%2Fsubfile429e619cb?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:35 GMT + ETag: + - '"0x8D851166876B72D"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 2c1990cd-601f-00b9-7cff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84528222-eef2-11ea-b539-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:35 GMT + ETag: + - '"0x8D85116688548A9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 72da93de-f01f-00e6-53ff-824607000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 84612736-eef2-11ea-a7e7-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem29e619cb/directory29e619cb?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directory29e619cb/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:35 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 2c1990d0-601f-00b9-7fff-82f23b000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive.yaml new file mode 100644 index 000000000000..6fc72924b587 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive.yaml @@ -0,0 +1,1456 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22506e98-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E506B926A1"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7cb-801f-0029-59cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 228c9602-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E506C872C1"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7cc-801f-0029-5acd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 229bd89c-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d%2Fsubfile02483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E506D8C0EB"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7cd-801f-0029-5bcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22ac1702-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d%2Fsubfile12483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E506E81F91"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7ce-801f-0029-5ccd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22bba23a-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d%2Fsubfile22483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E506F894CA"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7cf-801f-0029-5dcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22cc0d96-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:44 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d%2Fsubfile32483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E507087B9D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d0-801f-0029-5ecd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22dc0340-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir02483152d%2Fsubfile42483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E507186B3D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d1-801f-0029-5fcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22ebcd66-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:44 GMT + ETag: + - '"0x8D7D6E507275F04"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d2-801f-0029-60cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 22fac0be-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d%2Fsubfile02483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E50737D7EC"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d3-801f-0029-61cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 230b5820-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d%2Fsubfile12483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E50747C07D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d4-801f-0029-62cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 231b159e-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d%2Fsubfile22483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E507574416"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d5-801f-0029-63cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 232a97e4-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d%2Fsubfile32483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E50766B68F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d6-801f-0029-64cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 233a09cc-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir12483152d%2Fsubfile42483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E5077618C2"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d7-801f-0029-65cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23497a4c-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E5078511FD"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d8-801f-0029-66cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 235898d8-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d%2Fsubfile02483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E50794E0D6"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:45 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7d9-801f-0029-67cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 236866aa-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:45 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d%2Fsubfile12483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E507A4B73F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7db-801f-0029-69cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 237892dc-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d%2Fsubfile22483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E507B50B77"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7dd-801f-0029-6acd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 238859ce-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d%2Fsubfile32483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:45 GMT + ETag: + - '"0x8D7D6E507C4C6C5"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7df-801f-0029-6ccd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 239a6056-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir22483152d%2Fsubfile42483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E507D6EC1D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e0-801f-0029-6dcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23aa71ee-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E507E66471"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e1-801f-0029-6ecd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23bbd812-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d%2Fsubfile02483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E507F85410"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e2-801f-0029-6fcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23cbd992-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d%2Fsubfile12483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E5080839BA"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e3-801f-0029-70cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23ddad20-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d%2Fsubfile22483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E5081A4147"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e4-801f-0029-71cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23edc7fa-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d%2Fsubfile32483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E5082A10D4"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:46 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e5-801f-0029-72cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 23fd7a1a-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir32483152d%2Fsubfile42483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E50839A7F8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e6-801f-0029-73cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 240d3694-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E50848FB50"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e7-801f-0029-74cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 241c8914-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d%2Fsubfile02483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E508590BC6"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e8-801f-0029-75cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 242c82ec-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d%2Fsubfile12483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:46 GMT + ETag: + - '"0x8D7D6E5086916C3"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7e9-801f-0029-76cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 243ca816-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d%2Fsubfile22483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:47 GMT + ETag: + - '"0x8D7D6E508791DDE"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7ea-801f-0029-77cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 244ca748-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d%2Fsubfile32483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:47 GMT + ETag: + - '"0x8D7D6E508894C66"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7eb-801f-0029-78cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 245ce036-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d%2Fsubdir42483152d%2Fsubfile42483152d?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:47 GMT + ETag: + - '"0x8D7D6E50899784D"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 6095c7ec-801f-0029-79cd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 246cd6d0-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:47 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d?mode=modify&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:47 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 6095c7ed-801f-0029-7acd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 24a4a02e-74c1-11ea-86be-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:48 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem2483152d/directory2483152d?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:05:47 GMT + ETag: + - '"0x8D7D6E506B926A1"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:44 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 6095c7ee-801f-0029-7bcd-080838000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches.yaml new file mode 100644 index 000000000000..065960676d68 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches.yaml @@ -0,0 +1,2146 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2759dd0c-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:52 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:52 GMT + ETag: + - '"0x8D7D6E50BC07FED"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:52 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd257-901f-0025-6fcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27941314-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:52 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:52 GMT + ETag: + - '"0x8D7D6E50BCFCEE0"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd258-901f-0025-70cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27a3591e-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c%2Fsubfile027bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:52 GMT + ETag: + - '"0x8D7D6E50BDF8DCE"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd259-901f-0025-71cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27b31002-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c%2Fsubfile127bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:52 GMT + ETag: + - '"0x8D7D6E50BF06546"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25a-901f-0025-72cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27c3ca96-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c%2Fsubfile227bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50BFFE02B"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25b-901f-0025-73cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27d379b4-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c%2Fsubfile327bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C0FC7C1"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25c-901f-0025-74cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27e33dcc-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir027bf199c%2Fsubfile427bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C1F5B3F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25d-901f-0025-75cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 27f2e772-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C2EBC2F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25e-901f-0025-76cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28024c12-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c%2Fsubfile027bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C3EC4F2"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd25f-901f-0025-77cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28124a04-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c%2Fsubfile127bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C4E9C79"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd260-901f-0025-78cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2821fd82-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c%2Fsubfile227bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C5E72D3"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:53 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd261-901f-0025-79cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28321096-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c%2Fsubfile327bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C6E569A"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd262-901f-0025-7acd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2841dfd0-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir127bf199c%2Fsubfile427bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C7E3DBF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd265-901f-0025-7dcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2851aa1e-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:53 GMT + ETag: + - '"0x8D7D6E50C8D96C8"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd266-901f-0025-7ecd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28612598-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c%2Fsubfile027bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50C9D570F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd267-901f-0025-7fcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2870ae46-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c%2Fsubfile127bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CACF1C9"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd268-901f-0025-80cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 288072b8-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c%2Fsubfile227bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CBCC160"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd269-901f-0025-01cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 289049d6-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c%2Fsubfile327bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CCCA382"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26a-901f-0025-02cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28a03b2a-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir227bf199c%2Fsubfile427bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CDCD6F4"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26b-901f-0025-03cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28b06afe-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CEC89CD"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26c-901f-0025-04cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28c018e6-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c%2Fsubfile027bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50CFD254F"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:54 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26d-901f-0025-05cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28d0ba48-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c%2Fsubfile127bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50D0D5A36"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26e-901f-0025-06cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28e0c028-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c%2Fsubfile227bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50D1D83B2"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd26f-901f-0025-07cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 28f1134c-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c%2Fsubfile327bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:54 GMT + ETag: + - '"0x8D7D6E50D2DAC6A"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd270-901f-0025-08cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 29010eaa-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir327bf199c%2Fsubfile427bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D3D9DF2"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd271-901f-0025-09cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 291112fa-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D4D4519"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd272-901f-0025-0acd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2920aecc-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c%2Fsubfile027bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D5ECD6B"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd273-901f-0025-0bcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 293248f8-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c%2Fsubfile127bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D6EFCCB"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd274-901f-0025-0ccd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 29427b7e-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c%2Fsubfile227bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D7F25DF"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd275-901f-0025-0dcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2952e9d2-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c%2Fsubfile327bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D8FB3C0"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd276-901f-0025-0ecd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 296315a0-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c%2Fsubdir427bf199c%2Fsubfile427bf199c?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + ETag: + - '"0x8D7D6E50D9F8BB3"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 449fd277-901f-0025-0fcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29747494-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBapueDWhc/G5goYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMDI3YmYxOTljL3N1YmZpbGUwMjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd278-901f-0025-10cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2984cbe6-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBapueDWhc%2FG5goYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMDI3YmYxOTljL3N1YmZpbGUwMjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBai0vKHiO2KjG8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMDI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd279-901f-0025-11cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 299653b6-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBai0vKHiO2KjG8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMDI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:55 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBboovn99Z/N6qgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjAyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27a-901f-0025-12cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29a6d146-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBboovn99Z%2FN6qgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjAyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbHjOj4oODNwHcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMTI3YmYxOTljL3N1YmZpbGUwMjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27b-901f-0025-13cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29b7ac64-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBbHjOj4oODNwHcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMTI3YmYxOTljL3N1YmZpbGUwMjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbM5/qprcKBqhIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMTI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27c-901f-0025-14cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29c80e6a-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBbM5%2FqprcKBqhIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMTI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaGl/HT0LDGzNUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjEyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27d-901f-0025-15cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29d867e2-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBaGl%2FHT0LDGzNUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjEyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb10vCKz5HQqvABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjIyN2JmMTk5Yy9zdWJmaWxlMDI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27e-901f-0025-16cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29e95cc8-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBb10vCKz5HQqvABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjIyN2JmMTk5Yy9zdWJmaWxlMDI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb+ueLbwrOcwJUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjIyN2JmMTk5Yy9zdWJmaWxlMjI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd27f-901f-0025-17cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 29f9c4aa-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBb%2BueLbwrOcwJUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjIyN2JmMTk5Yy9zdWJmaWxlMjI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa0yemhv8HbplIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMjI3YmYxOTljL3N1YmZpbGU0MjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd280-901f-0025-18cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a0a6c92-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:57 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBa0yemhv8HbplIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMjI3YmYxOTljL3N1YmZpbGU0MjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBab5/ik6r7bjI0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjMyN2JmMTk5Yy9zdWJmaWxlMDI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd281-901f-0025-19cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a1b20b4-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:57 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBab5%2Fik6r7bjI0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjMyN2JmMTk5Yy9zdWJmaWxlMDI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:56 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaQjOr155yX5ugBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjMyN2JmMTk5Yy9zdWJmaWxlMjI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd282-901f-0025-1acd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a45dc64-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:57 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBaQjOr155yX5ugBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjMyN2JmMTk5Yy9zdWJmaWxlMjI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBba/OGPmu7QgC8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMzI3YmYxOTljL3N1YmZpbGU0MjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd284-901f-0025-1bcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a630f3c-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:57 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBba%2FOGPmu7QgC8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyMzI3YmYxOTljL3N1YmZpbGU0MjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbukb6R742UARh5GHQvYWNsY2JuMDZzdGYBMDFENUQ3RTNEQ0VDNkJFMC9maWxlc3lzdGVtMjdiZjE5OWMBMDFENjA4Q0RFOTA1RUM4RS9kaXJlY3RvcnkyN2JmMTk5Yy9zdWJkaXI0MjdiZjE5OWMvc3ViZmlsZTAyN2JmMTk5YxYAAAA= + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd285-901f-0025-1ccd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a742394-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:57 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBbukb6R742UARh5GHQvYWNsY2JuMDZzdGYBMDFENUQ3RTNEQ0VDNkJFMC9maWxlc3lzdGVtMjdiZjE5OWMBMDFENjA4Q0RFOTA1RUM4RS9kaXJlY3RvcnkyN2JmMTk5Yy9zdWJkaXI0MjdiZjE5OWMvc3ViZmlsZTAyN2JmMTk5YxYAAAA%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbl+qzA4q/Y62UYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyNDI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd286-901f-0025-1dcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2a9b339e-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:58 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBbl%2BqzA4q%2FY62UYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTI3YmYxOTljATAxRDYwOENERTkwNUVDOEUvZGlyZWN0b3J5MjdiZjE5OWMvc3ViZGlyNDI3YmYxOTljL3N1YmZpbGUyMjdiZjE5OWMWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaviqe6n92fjaIBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjQyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd287-901f-0025-1ecd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 2aac1bdc-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:58 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?continuation=VBaviqe6n92fjaIBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yN2JmMTk5YwEwMUQ2MDhDREU5MDVFQzhFL2RpcmVjdG9yeTI3YmYxOTljL3N1YmRpcjQyN2JmMTk5Yy9zdWJmaWxlNDI3YmYxOTljFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 449fd288-901f-0025-1fcd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ac6a812-74c1-11ea-908d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:05:58 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem27bf199c/directory27bf199c?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:05:57 GMT + ETag: + - '"0x8D7D6E50BC07FED"' + Last-Modified: + - Thu, 02 Apr 2020 09:05:52 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 449fd289-901f-0025-20cd-089f30000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches_with_progress_callback.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches_with_progress_callback.yaml new file mode 100644 index 000000000000..6466f2299fc6 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_in_batches_with_progress_callback.yaml @@ -0,0 +1,2146 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e16490a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E5127B464B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aadf9-e01f-005d-23cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e4e648e-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E5128A1E5E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aadfa-e01f-005d-24cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e5d2988-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317%2Fsubfile0e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E5129951F0"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aadfd-e01f-005d-27cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e6c5796-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317%2Fsubfile1e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E512A88C76"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aadfe-e01f-005d-28cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e7b9fee-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317%2Fsubfile2e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E512B7D585"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aadff-e01f-005d-29cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e8ae49a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317%2Fsubfile3e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E512C6FD99"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae00-e01f-005d-2acd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2e9a066e-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir0e7f52317%2Fsubfile4e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E512D637DD"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae01-e01f-005d-2bcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ea93b66-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:03 GMT + ETag: + - '"0x8D7D6E512E4B5C4"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae02-e01f-005d-2ccd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2eb7bdda-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317%2Fsubfile0e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E512F47304"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae03-e01f-005d-2dcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ec7829c-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317%2Fsubfile1e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E51303C4FF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae04-e01f-005d-2ecd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ed6d1ca-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317%2Fsubfile2e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E51312FAA6"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae05-e01f-005d-2fcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ee606ae-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317%2Fsubfile3e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E51322380F"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae06-e01f-005d-30cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ef5136a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir1e7f52317%2Fsubfile4e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E513314336"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae07-e01f-005d-31cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f0436b0-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5133FAFAD"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae08-e01f-005d-32cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f12a768-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317%2Fsubfile0e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5134EE8A2"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae09-e01f-005d-33cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f21f948-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317%2Fsubfile1e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5135E6196"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0a-e01f-005d-34cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f315f3c-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317%2Fsubfile2e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5136DA78E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0b-e01f-005d-35cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f408f7a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317%2Fsubfile3e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5137CED63"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:05 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0c-e01f-005d-36cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f4fe650-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir2e7f52317%2Fsubfile4e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:05 GMT + ETag: + - '"0x8D7D6E5138C302B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0d-e01f-005d-37cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f5f3cd6-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E5139B366E"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0e-e01f-005d-38cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f70c0dc-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317%2Fsubfile0e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513AD2281"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae0f-e01f-005d-39cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f800c7c-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317%2Fsubfile1e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513BCB2D3"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae10-e01f-005d-3acd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2f92739e-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317%2Fsubfile2e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513CEBDCF"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae11-e01f-005d-3bcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2fa1d14a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317%2Fsubfile3e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513DE09D6"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae12-e01f-005d-3ccd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2fb119b6-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir3e7f52317%2Fsubfile4e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513ED8A48"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae13-e01f-005d-3dcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2fc09cce-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E513FC8963"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae14-e01f-005d-3ecd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2fcf9260-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317%2Fsubfile0e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E5140DE121"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae15-e01f-005d-3fcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2fe0ef42-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317%2Fsubfile1e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E5141DBDA8"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae16-e01f-005d-40cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 2ff0c732-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317%2Fsubfile2e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:06 GMT + ETag: + - '"0x8D7D6E5142D196F"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae17-e01f-005d-41cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 30001214-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317%2Fsubfile3e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + ETag: + - '"0x8D7D6E5143C90F0"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae18-e01f-005d-42cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 300f83ca-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317%2Fsubdir4e7f52317%2Fsubfile4e7f52317?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + ETag: + - '"0x8D7D6E5144CBDE3"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - cc7aae19-e01f-005d-43cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 301fb45c-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaU1/CGrOTzzskBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjBlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1a-e01f-005d-44cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 302f5678-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBaU1%2FCGrOTzzskBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjBlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBafvOLXoca/pKwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjBlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1b-e01f-005d-45cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 303ee412-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBafvOLXoca%2FpKwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjBlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbVzOmt3LT4wmsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMGU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1c-e01f-005d-46cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 304e5c8a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbVzOmt3LT4wmsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMGU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBb64vioicv46LQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjFlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1d-e01f-005d-47cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 305e39b6-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBb64vioicv46LQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjFlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbxier5hOm0gtEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjFlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1e-e01f-005d-48cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 306dfbc6-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbxier5hOm0gtEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjFlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBa7+eGD+Zvz5BYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMWU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae1f-e01f-005d-49cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 307e265e-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBa7%2BeGD%2BZvz5BYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMWU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbIvODa5rrlgjMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMmU3ZjUyMzE3L3N1YmZpbGUwZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae20-e01f-005d-4acd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 308e736a-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbIvODa5rrlgjMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMmU3ZjUyMzE3L3N1YmZpbGUwZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbD1/KL65ip6FYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMmU3ZjUyMzE3L3N1YmZpbGUyZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae21-e01f-005d-4bcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 309e2bf2-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbD1%2FKL65ip6FYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyMmU3ZjUyMzE3L3N1YmZpbGUyZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaJp/nxlurujpEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjJlN2Y1MjMxNy9zdWJmaWxlNGU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae22-e01f-005d-4ccd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30adf956-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBaJp%2FnxlurujpEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjJlN2Y1MjMxNy9zdWJmaWxlNGU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBamiej0w5XupE4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyM2U3ZjUyMzE3L3N1YmZpbGUwZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae23-e01f-005d-4dcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30bf0db8-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBamiej0w5XupE4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyM2U3ZjUyMzE3L3N1YmZpbGUwZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBat4vqlzreizisYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyM2U3ZjUyMzE3L3N1YmZpbGUyZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae24-e01f-005d-4ecd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30cead40-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBat4vqlzreizisYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyM2U3ZjUyMzE3L3N1YmZpbGUyZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbnkvHfs8XlqOwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjNlN2Y1MjMxNy9zdWJmaWxlNGU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae25-e01f-005d-4fcd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30de7e96-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbnkvHfs8XlqOwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjNlN2Y1MjMxNy9zdWJmaWxlNGU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbT/67BxqahqcMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjRlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae26-e01f-005d-50cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30eeced6-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbT%2F67BxqahqcMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjRlN2Y1MjMxNy9zdWJmaWxlMGU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBbYlLyQy4Ttw6YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjRlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA== + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae27-e01f-005d-51cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 30ff19bc-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBbYlLyQy4Ttw6YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1lN2Y1MjMxNwEwMUQ2MDhDREVGQzNDMTlCL2RpcmVjdG9yeWU3ZjUyMzE3L3N1YmRpcjRlN2Y1MjMxNy9zdWJmaWxlMmU3ZjUyMzE3FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-continuation: + - VBaS5LfqtvaqpWEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyNGU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae28-e01f-005d-52cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 310f37d4-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?continuation=VBaS5LfqtvaqpWEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWU3ZjUyMzE3ATAxRDYwOENERUZDM0MxOUIvZGlyZWN0b3J5ZTdmNTIzMTcvc3ViZGlyNGU3ZjUyMzE3L3N1YmZpbGU0ZTdmNTIzMTcWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - cc7aae29-e01f-005d-53cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 311f1e92-74c1-11ea-afd2-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:06:08 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesysteme7f52317/directorye7f52317?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 09:06:08 GMT + ETag: + - '"0x8D7D6E5127B464B"' + Last-Modified: + - Thu, 02 Apr 2020 09:06:04 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - cc7aae2a-e01f-005d-54cd-083cc8000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_with_failures.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_with_failures.yaml new file mode 100644 index 000000000000..75146a6caa02 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory.test_update_access_control_recursive_with_failures.yaml @@ -0,0 +1,1823 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 850c2ec8-eef2-11ea-8f56-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:36 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:36 GMT + ETag: + - '"0x8D85116692C29A1"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:36 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - e2c8a206-401f-00e3-21ff-8294dc000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Aj5OWOV10A1IvLcNpghOpY4; expires=Sun, 04-Oct-2020 21:06:37 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAUpGEYnZ6Q0H_8aXGULquhF2BUoYl2SO92hVaY5yptWO5iuDn0Hz8E5ktKt6WfFbXY86wIP2H-G8WXOaIBsjrpUqd3BRE-1AXEj467bYUgTL10jw-3ZaxJsCCM7F-zNRIwsPsUfUtOGp1IyDPXMhtD5rFbHPZq6U4fxR0U66PTFQgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - 9c7d689f-ee6f-4d2f-b96b-204126702e00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAUpGEYnZ6Q0H_8aXGULquhF2BUoYl2SO92hVaY5yptWO5iuDn0Hz8E5ktKt6WfFbXY86wIP2H-G8WXOaIBsjrpUqd3BRE-1AXEj467bYUgTL10jw-3ZaxJsCCM7F-zNRIwsPsUfUtOGp1IyDPXMhtD5rFbHPZq6U4fxR0U66PTFQgAA; + fpc=Aj5OWOV10A1IvLcNpghOpY4; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Aj5OWOV10A1IvLcNpghOpY4; expires=Sun, 04-Oct-2020 21:06:37 GMT; path=/; + secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=corp; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + nel: + - '{"report_to":"network-errors","max_age":86400,"success_fraction":0.001,"failure_fraction":1.0}' + report-to: + - '{"group":"network-errors","max_age":86400,"endpoints":[{"url":"https://ffde.nelreports.net/api/report?cat=estscorp+wst"}]}' + x-ms-ests-server: + - 2.1.11000.20 - SAN ProdSlices + x-ms-request-id: + - 67e8964a-ce67-4777-9876-fcd36c5a5400 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://sts.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1651' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=Ajc4BWUkw_hHtE_HkZFHlGg; expires=Sun, 04-Oct-2020 21:06:37 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAQW7eqoaUvzFU6IXNtAqv4x4_EU53vkbMXXE3BDTbncR5sB2-AC45ZHFz_pHZk1alKY_BT-7Tvvr71G3Lr0tZsWt5N5xzs3QaQ4ozjI_uR6l0MebUOv0zzZ4fsIixtDKJZ-V-4gTB8j_Cusvr4nEKN9kDMf8m1zmXVV7v8hTedyIgAA; + domain=.sts.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - cd0f1888-8deb-44bd-add1-716886992d00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.windows.net/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1611' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AudfY2OjWRxFsKpfLWxyOi0; expires=Sun, 04-Oct-2020 21:06:37 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAo_nevTgOGjj3ixGePgaafLJp4r2ShsG-4d2FuzJrl3kLZPyi7ZdeeDDdyWwPJSF8Zn2n5OjJIOiyQXKY5eCBeZ2dzSSy5D7mAi33m70B7pgW5IPJ2rjNhexIM3GjVF96-hYqkFztvHtsvf1Z7qIrg-9AlKVqeRT-KiAqlgKIsScgAA; + domain=.login.windows.net; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - WUS2 ProdSlices + x-ms-request-id: + - 2fae4818-6440-417c-a620-ec657a652e00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoft.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1621' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=ArCe3K7jycVDtisKkvr__wI; expires=Sun, 04-Oct-2020 21:06:37 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAShmEZSpq09XLF2qlEAZh5CTo-u6liAhEG-s9GJ2ooInseAmj7dnrFrO9fcpRdicNCeZhBcUp3Jvbtobe4TEaivJNByt77CgSVMkd6hG5B50WNYZkzHQ1lSp9ByTCIRnnwDrLb5XhurIYG1Z8-x6m4nUNs-K5codfZFr8ZAFjZgIgAA; + domain=.login.microsoft.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - bd4f7060-6616-4176-9e3d-bd51d9ba2d00 + status: + code: 200 + message: OK +- request: + body: client_id=68390a19-a897-236b-b453-488abf67b4fc&grant_type=client_credentials&client_info=1&client_secret=3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY=&scope=https%3A%2F%2Fstorage.azure.com%2F.default + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/x-www-form-urlencoded + Cookie: + - esctx=AQABAAAAAAAGV_bv21oQQ4ROqh0_1-tAUpGEYnZ6Q0H_8aXGULquhF2BUoYl2SO92hVaY5yptWO5iuDn0Hz8E5ktKt6WfFbXY86wIP2H-G8WXOaIBsjrpUqd3BRE-1AXEj467bYUgTL10jw-3ZaxJsCCM7F-zNRIwsPsUfUtOGp1IyDPXMhtD5rFbHPZq6U4fxR0U66PTFQgAA; + fpc=Aj5OWOV10A1IvLcNpghOpY4; stsservicecookie=estsfd; x-ms-gateway-slice=corp + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + client-request-id: + - 62c035f2-d074-4c00-afa0-e3ff31ec2c08 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 1|730,0| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.3.0 + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5OTI1MzI5OCwibmJmIjoxNTk5MjUzMjk4LCJleHAiOjE1OTkzMzk5OTgsImFpbyI6IkUyQmdZT2pXek5MNis4bk1LKzM1OVBOZEgwNjVBd0E9IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiJmZmpzMlpTc2NrS1Y1QmVqaUhZc0FBIiwidmVyIjoiMS4wIn0.GNsqKU2dlRcZNVLLGoK61gNe4BEfCAAxa0cbO62RI6jF_W5P5o9YMLaYG7gP8YWonxP_7Ud6IFVGwPFIIsz2iBVv98WbHfn5YXB5UeN2VAxCbfdmudSKLnK0qViWTBU3HKbOb6ylXuSQ0Mn3I6PJbHcomRvC1f8Pm84424CUQ6lMD0bDIPS_GASFOqImD5F6ZOwlLeZGoixrPYxGy1tCsGR7IvHO8D7ae4k12R8gpP0imktPpjZBiRMFF3gXGdp3pV6Pe_z8XDR9k8hXco9qY7XXFFjnDWDNwrZo1JLEiuhz00gFYliu32jMsl8JXXCLi0L9W00kUKUShwQF0-7Xlg"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '1318' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Sep 2020 21:06:37 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=Aj5OWOV10A1IvLcNpghOpY6wvhSZAQAAAF2j5NYOAAAA; expires=Sun, 04-Oct-2020 + 21:06:38 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - 62c035f2-d074-4c00-afa0-e3ff31ec2c08 + x-ms-clitelem: + - 1,0,0,, + x-ms-ests-server: + - 2.1.11000.20 - SCUS ProdSlices + x-ms-request-id: + - d9ecf87d-ac94-4272-95e4-17a388762c00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8550732e-eef2-11ea-bc71-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A2FF6FD"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:38 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f36a-601f-0062-18ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 860b6e6c-eef2-11ea-9df4-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A42381C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:38 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f36c-601f-0062-19ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 861d2cbe-eef2-11ea-8833-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02%2Fsubfile078641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A54BEE6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:38 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f36d-601f-0062-1aff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 862fe064-eef2-11ea-a337-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02%2Fsubfile178641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A65B8F9"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:38 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f36f-601f-0062-1bff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8640982c-eef2-11ea-9106-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02%2Fsubfile278641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A761B36"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f370-601f-0062-1cff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86512c34-eef2-11ea-b2c2-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02%2Fsubfile378641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A8646C6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f371-601f-0062-1dff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86611928-eef2-11ea-b81a-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir078641b02%2Fsubfile478641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166A94505A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f372-601f-0062-1eff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 866fdce4-eef2-11ea-91ee-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:38 GMT + ETag: + - '"0x8D851166AA67041"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f373-601f-0062-1fff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86815438-eef2-11ea-bba3-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02%2Fsubfile078641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166AB4B1B4"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f374-601f-0062-20ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 868fd2e4-eef2-11ea-b8db-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02%2Fsubfile178641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166AC49ADD"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f375-601f-0062-21ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86a01042-eef2-11ea-8022-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02%2Fsubfile278641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166AD62C40"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f376-601f-0062-22ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86b1b7ca-eef2-11ea-b5bb-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02%2Fsubfile378641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166AE829A0"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f377-601f-0062-23ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86c3a974-eef2-11ea-92b8-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir178641b02%2Fsubfile478641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166AFA1B88"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:39 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f378-601f-0062-24ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86d5f21e-eef2-11ea-b162-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166B0C0556"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f379-601f-0062-25ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86e7845e-eef2-11ea-97b9-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02%2Fsubfile078641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166B1E5C39"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37a-601f-0062-26ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 86f9ebb6-eef2-11ea-bfac-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02%2Fsubfile178641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:39 GMT + ETag: + - '"0x8D851166B345D0A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37b-601f-0062-27ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 870fd442-eef2-11ea-a67b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02%2Fsubfile278641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166B4783EE"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37c-601f-0062-28ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87230ce8-eef2-11ea-920b-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02%2Fsubfile378641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166B5A199E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37d-601f-0062-29ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8735a7a6-eef2-11ea-a1df-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir278641b02%2Fsubfile478641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166B6CC2D6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37e-601f-0062-2aff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8748399e-eef2-11ea-9956-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166B7E9521"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f37f-601f-0062-2bff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8759a01c-eef2-11ea-9e9c-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02%2Fsubfile078641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166B8E78FC"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f380-601f-0062-2cff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8769a992-eef2-11ea-8e7e-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02%2Fsubfile178641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166BA16C42"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:40 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f381-601f-0062-2dff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 877ce6cc-eef2-11ea-a8c0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02%2Fsubfile278641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166BB5ECD6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f382-601f-0062-2eff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87918194-eef2-11ea-959f-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02%2Fsubfile378641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166BC8D4F6"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f383-601f-0062-2fff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87a45f88-eef2-11ea-9ed0-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir378641b02%2Fsubfile478641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:40 GMT + ETag: + - '"0x8D851166BDB366C"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f384-601f-0062-30ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87b6e040-eef2-11ea-97d6-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166BEDAF6E"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f385-601f-0062-31ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87c8fc02-eef2-11ea-a303-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02%2Fsubfile078641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166BFF0524"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f386-601f-0062-32ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87d9fc48-eef2-11ea-af68-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02%2Fsubfile178641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166C0F1428"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f387-601f-0062-33ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87ea1ec2-eef2-11ea-97fe-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02%2Fsubfile278641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166C1E837A"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f388-601f-0062-34ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 87fa0264-eef2-11ea-81b4-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02%2Fsubfile378641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166C311B2F"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f389-601f-0062-35ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 880c4b12-eef2-11ea-b357-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fsubdir478641b02%2Fsubfile478641b02?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166C41DD26"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - bde2f38a-601f-0062-36ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 881d898c-eef2-11ea-bcfd-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:42 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + ETag: + - '"0x8D851166C558277"' + Last-Modified: + - Fri, 04 Sep 2020 21:06:42 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - e2c8a227-401f-00e3-40ff-8294dc000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 8831ad2c-eef2-11ea-b295-001a7dda7113 + x-ms-date: + - Fri, 04 Sep 2020 21:06:42 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem78641b02/directory78641b02?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directory78641b02/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: + - Fri, 04 Sep 2020 21:06:41 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - bde2f38b-601f-0062-37ff-823406000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_async.yaml new file mode 100644 index 000000000000..2d56d7fd2c26 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_async.yaml @@ -0,0 +1,965 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e799e038-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CBF53F16"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59638-501f-0077-66d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e7c96542-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC00EEC1"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59639-501f-0077-67d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e7d5041a-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile044e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC0D624D"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963a-501f-0077-68d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile044e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e7e14f0e-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile144e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC19C709"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963b-501f-0077-69d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile144e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e7ee0046-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile244e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC25E955"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963c-501f-0077-6ad0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile244e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e7f9fc02-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile344e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC322412"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963d-501f-0077-6bd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile344e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8063b70-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile444e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC3E5C5B"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963e-501f-0077-6cd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir044e51a32%2Fsubfile444e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8126efe-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC4A10E7"' + Last-Modified: Thu, 02 Apr 2020 09:25:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5963f-501f-0077-6dd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e81e69e8-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile044e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC568578"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59640-501f-0077-6ed0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile044e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e82a9f7e-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile144e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC62BE85"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59641-501f-0077-6fd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile144e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e836dec4-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile244e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC6EF228"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59644-501f-0077-72d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile244e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e84315a4-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile344e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:34 GMT + Etag: '"0x8D7D6E7CC7B74A4"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59645-501f-0077-73d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile344e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e84f8b7c-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile444e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CC8799B5"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59646-501f-0077-74d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir144e51a32%2Fsubfile444e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e85bac22-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CC936B9D"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59647-501f-0077-75d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8677c8c-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile044e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CC9FFD56"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59648-501f-0077-76d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile044e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8741820-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile144e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCAC892D"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59649-501f-0077-77d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile144e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8809ffa-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile244e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCB90343"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964a-501f-0077-78d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile244e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e88d0dda-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile344e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCC544F3"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964b-501f-0077-79d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile344e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8996756-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile444e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCD1C9FF"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964c-501f-0077-7ad0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir244e51a32%2Fsubfile444e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8a5d6f8-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCDDC0EA"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964d-501f-0077-7bd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8b1b8c4-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile044e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCEA2A29"' + Last-Modified: Thu, 02 Apr 2020 09:25:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964e-501f-0077-7cd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile044e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8c23aaa-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile144e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CCFA8B64"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e5964f-501f-0077-7dd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile144e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8cea5b0-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile244e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CD06F7E6"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59650-501f-0077-7ed0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile244e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8db0292-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile344e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CD136CC5"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59651-501f-0077-7fd0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile344e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8e78b34-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile444e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:35 GMT + Etag: '"0x8D7D6E7CD1FEFD1"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59652-501f-0077-80d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir344e51a32%2Fsubfile444e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e8f414e4-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD2BEA5C"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59653-501f-0077-01d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e9000d6c-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile044e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD38A5CC"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59654-501f-0077-02d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile044e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e90cb454-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile144e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD452359"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59655-501f-0077-03d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile144e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e91956e6-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile244e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD51A904"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59656-501f-0077-04d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile244e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e925c6ec-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile344e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD5E9764"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59657-501f-0077-05d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile344e51a32?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - e93288b4-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile444e51a32?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:36 GMT + Etag: '"0x8D7D6E7CD6B09C1"' + Last-Modified: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 27e59658-501f-0077-06d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32%2Fsubdir444e51a32%2Fsubfile444e51a32?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - e93ed592-74c3-11ea-af09-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:36 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem44e51a32/directory44e51a32?mode=remove&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: Thu, 02 Apr 2020 09:25:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 27e59659-501f-0077-07d0-08e3d8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem44e51a32/directory44e51a32?mode=remove&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_async.yaml new file mode 100644 index 000000000000..5ce5d944cbf7 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_async.yaml @@ -0,0 +1,1475 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f5bf6a48-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:57 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA1CDCFB"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed87-a01f-004c-55d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f5f1fc56-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA297186"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed88-a01f-004c-56d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f5fdea98-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile07e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA362572"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed89-a01f-004c-57d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile07e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f60a9a22-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile17e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA42FB00"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8a-a01f-004c-58d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile17e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f617aa00-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile27e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA4FBB44"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8b-a01f-004c-59d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile27e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6246ace-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile37e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA5C7A5F"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8c-a01f-004c-5ad0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile37e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6312a20-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile47e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA69526E"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8d-a01f-004c-5bd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir07e931ea1%2Fsubfile47e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f63de7f6-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA755705"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8e-a01f-004c-5cd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f64a2548-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile07e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA82B85D"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed8f-a01f-004c-5dd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile07e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6575bf0-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile17e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA8F7DAE"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed90-a01f-004c-5ed0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile17e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6642a24-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:58 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile27e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DA9C49C6"' + Last-Modified: Thu, 02 Apr 2020 09:25:58 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed91-a01f-004c-5fd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile27e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f670f114-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile37e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:58 GMT + Etag: '"0x8D7D6E7DAAA32A2"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed92-a01f-004c-60d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile37e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f67eb236-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile47e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DAB706CD"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed93-a01f-004c-61d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir17e931ea1%2Fsubfile47e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f68bd04c-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DAC46FB3"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed94-a01f-004c-62d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f698f45c-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile07e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DAD18A0A"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed95-a01f-004c-63d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile07e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6a60584-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile17e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DADEA24A"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed96-a01f-004c-64d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile17e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6b33bbe-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile27e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DAEB6002"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed97-a01f-004c-65d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile27e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6c01992-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile37e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DAF89E0C"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed98-a01f-004c-66d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile37e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6cd49aa-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile47e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB059E8B"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed99-a01f-004c-67d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir27e931ea1%2Fsubfile47e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6da4c72-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB1234F9"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed9c-a01f-004c-6ad0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6e6b6d8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile07e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB1EF6A9"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed9d-a01f-004c-6bd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile07e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f6f3846c-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile17e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB2C247B"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed9e-a01f-004c-6cd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile17e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f700f4a8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile27e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB396793"' + Last-Modified: Thu, 02 Apr 2020 09:25:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824ed9f-a01f-004c-6dd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile27e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f70e0620-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile37e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:59 GMT + Etag: '"0x8D7D6E7DB4683E5"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda0-a01f-004c-6ed0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile37e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f71b31ec-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile47e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB537DC6"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda1-a01f-004c-6fd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir37e931ea1%2Fsubfile47e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f72800a2-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB5FC3C2"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda2-a01f-004c-70d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f7345172-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile07e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB6D5267"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda3-a01f-004c-71d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile07e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f741f700-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile17e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB7A3F88"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda4-a01f-004c-72d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile17e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f753360a-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile27e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB8BA9AA"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda5-a01f-004c-73d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile27e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f7605880-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile37e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DB98CA50"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda6-a01f-004c-74d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile37e931ea1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - f76d6f16-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile47e931ea1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:00 GMT + Etag: '"0x8D7D6E7DBA6D105"' + Last-Modified: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eda7-a01f-004c-75d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1%2Fsubdir47e931ea1%2Fsubfile47e931ea1?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f77b430c-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb+nOeTvYjYpeQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824eda8-a01f-004c-76d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f788b848-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb%2BnOeTvYjYpeQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb19/XCsKqUz4EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824eda9-a01f-004c-77d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb%2BnOeTvYjYpeQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7968658-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:00 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb19/XCsKqUz4EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa/h/64zdjTqUYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edaa-a01f-004c-78d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb19/XCsKqUz4EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjA3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7a3f6a8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBa/h/64zdjTqUYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaQqe+9mKfTg5kBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edab-a01f-004c-79d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBa/h/64zdjTqUYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7b24b68-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBaQqe%2B9mKfTg5kBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBabwv3slYWf6fwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edac-a01f-004c-7ad0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBaQqe%2B9mKfTg5kBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7c3d55e-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBabwv3slYWf6fwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbRsvaW6PfYjzsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMTdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edad-a01f-004c-7bd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBabwv3slYWf6fwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjE3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7d119bc-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbRsvaW6PfYjzsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMTdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBai9/fP99bO6R4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edae-a01f-004c-7cd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbRsvaW6PfYjzsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMTdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7decd96-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBai9/fP99bO6R4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBapnOWe+vSCg3sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edaf-a01f-004c-7dd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBai9/fP99bO6R4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7ec06c8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBapnOWe%2BvSCg3sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbj7O7kh4bF5bwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjI3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb0-a01f-004c-7ed0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBapnOWe%2BvSCg3sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMjdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f7f9b9da-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbj7O7kh4bF5bwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjI3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbMwv/h0vnFz2MYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb1-a01f-004c-7fd0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbj7O7kh4bF5bwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjI3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f80784ca-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbMwv/h0vnFz2MYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbHqe2w39uJpQYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb2-a01f-004c-80d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbMwv/h0vnFz2MYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUwN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f8152562-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbHqe2w39uJpQYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaN2ebKoqnOw8EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjM3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb3-a01f-004c-01d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBbHqe2w39uJpQYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyMzdlOTMxZWExL3N1YmZpbGUyN2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f822c118-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBaN2ebKoqnOw8EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjM3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa5tLnU18qKwu4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb4-a01f-004c-02d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBaN2ebKoqnOw8EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjM3ZTkzMWVhMS9zdWJmaWxlNDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f8312ed8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBa5tLnU18qKwu4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBay36uF2ujGqIsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb5-a01f-004c-03d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBa5tLnU18qKwu4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMDdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f83ec9f8-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:02 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBay36uF2ujGqIsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb4r6D/p5qBzkwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyNDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb6-a01f-004c-04d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBay36uF2ujGqIsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03ZTkzMWVhMQEwMUQ2MDhEMEI3NUFBRDA3L2RpcmVjdG9yeTdlOTMxZWExL3N1YmRpcjQ3ZTkzMWVhMS9zdWJmaWxlMjdlOTMxZWExFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - f84c4e84-74c3-11ea-b5cf-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:02 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb4r6D/p5qBzkwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyNDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824edb7-a01f-004c-05d0-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7e931ea1/directory7e931ea1?continuation=VBb4r6D/p5qBzkwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdlOTMxZWExATAxRDYwOEQwQjc1QUFEMDcvZGlyZWN0b3J5N2U5MzFlYTEvc3ViZGlyNDdlOTMxZWExL3N1YmZpbGU0N2U5MzFlYTEWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_with_progress_callback_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_with_progress_callback_async.yaml new file mode 100644 index 000000000000..0a37f013e559 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_in_batches_with_progress_callback_async.yaml @@ -0,0 +1,1475 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 06cdd964-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB41EFCC"' + Last-Modified: Thu, 02 Apr 2020 09:26:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380270-c01f-0038-0ad0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 071659d2-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB4E1EA5"' + Last-Modified: Thu, 02 Apr 2020 09:26:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380271-c01f-0038-0bd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07221a10-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile0b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB5AA3B1"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380272-c01f-0038-0cd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile0b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 072ebe46-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile1b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB67181A"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380273-c01f-0038-0dd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile1b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 073b4b48-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile2b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB73AE3F"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380275-c01f-0038-0ed0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile2b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0747d48a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile3b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB7FC1FB"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380276-c01f-0038-0fd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile3b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0753fd46-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile4b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB8C3EDA"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380277-c01f-0038-10d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir0b1f2281c%2Fsubfile4b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07606676-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:26 GMT + Etag: '"0x8D7D6E7EB97F120"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380278-c01f-0038-11d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 076c369a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile0b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBA49803"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380279-c01f-0038-12d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile0b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0778c57c-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile1b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBB0DAD4"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027a-c01f-0038-13d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile1b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 078503f0-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile2b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBBD18CA"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027b-c01f-0038-14d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile2b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07913c2e-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile3b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBC95BE7"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027c-c01f-0038-15d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile3b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 079d66c0-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile4b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBD5B368"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027d-c01f-0038-16d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir1b1f2281c%2Fsubfile4b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07a9e260-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBE189ED"' + Last-Modified: Thu, 02 Apr 2020 09:26:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027e-c01f-0038-17d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07b5ac12-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile0b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBEE056A"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38027f-c01f-0038-18d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile0b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07c22578-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile1b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EBFA79C3"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380280-c01f-0038-19d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile1b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07ce87aa-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile2b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EC079050"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380281-c01f-0038-1ad0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile2b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07db9166-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile3b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EC13EF93"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380282-c01f-0038-1bd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile3b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07e7ed08-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile4b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EC20EE59"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380283-c01f-0038-1cd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir2b1f2281c%2Fsubfile4b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 07f4e30a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EC2C9733"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380284-c01f-0038-1dd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0800a2da-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile0b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:27 GMT + Etag: '"0x8D7D6E7EC39A1D2"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380285-c01f-0038-1ed0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile0b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 080d9f76-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile1b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC45E4CA"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380286-c01f-0038-1fd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile1b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0819f08c-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile2b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC5208C6"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380287-c01f-0038-20d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile2b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 08262398-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile3b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC5E629F"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380288-c01f-0038-21d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile3b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 0832c80a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile4b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC6B14F4"' + Last-Modified: Thu, 02 Apr 2020 09:26:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a380289-c01f-0038-22d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir3b1f2281c%2Fsubfile4b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 084e20dc-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC86B5F0"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028a-c01f-0038-23d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 085c259c-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile0b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7EC9533B0"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028b-c01f-0038-24d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile0b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 087971ec-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile1b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7ECB2C966"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028c-c01f-0038-25d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile1b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 08874e34-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile2b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7ECC05E58"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028d-c01f-0038-26d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile2b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 08a367e0-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile3b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:28 GMT + Etag: '"0x8D7D6E7ECDC5CD8"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028e-c01f-0038-27d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile3b1f2281c?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 08b1111a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile4b1f2281c?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:26:29 GMT + Etag: '"0x8D7D6E7ECEA11D8"' + Last-Modified: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8a38028f-c01f-0038-28d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c%2Fsubdir4b1f2281c%2Fsubfile4b1f2281c?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 08c0727c-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaolM3x9Z/93zIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380290-c01f-0038-29d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 08dcccd8-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:29 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaolM3x9Z/93zIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaj/9+g+L2xtVcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380291-c01f-0038-2ad0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaolM3x9Z/93zIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 08f83f68-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaj/9%2Bg%2BL2xtVcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbpj9Tahc/205ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjBiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380292-c01f-0038-2bd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaj/9%2Bg%2BL2xtVcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 091367e8-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbpj9Tahc/205ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjBiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbGocXf0LD2+U8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380293-c01f-0038-2cd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbpj9Tahc/205ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjBiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 092f471a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbGocXf0LD2%2BU8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:29 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbNyteO3ZK6kyoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380294-c01f-0038-2dd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbGocXf0LD2%2BU8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 09466e4a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbNyteO3ZK6kyoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaHutz0oOD99e0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjFiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380295-c01f-0038-2ed0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbNyteO3ZK6kyoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMWIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 0961fd4a-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaHutz0oOD99e0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjFiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb0/92tv8Hrk8gBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380296-c01f-0038-2fd0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaHutz0oOD99e0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjFiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 097db260-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBb0/92tv8Hrk8gBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb/lM/8suOn+a0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380297-c01f-0038-30d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBb0/92tv8Hrk8gBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 09998b70-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:31 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBb/lM/8suOn%2Ba0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa15MSGz5Hgn2oYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMmIxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380298-c01f-0038-31d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBb/lM/8suOn%2Ba0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjJiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 09b52f88-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:31 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBa15MSGz5Hgn2oYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMmIxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaaytWDmu7gtbUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a380299-c01f-0038-32d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBa15MSGz5Hgn2oYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyMmIxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 09d0e85e-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:31 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaaytWDmu7gtbUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaRocfSl8ys39ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a38029a-c01f-0038-33d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaaytWDmu7gtbUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 09e80f70-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:31 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaRocfSl8ys39ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbb0cyo6r7ruRcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyM2IxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a38029b-c01f-0038-34d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaRocfSl8ys39ABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjNiMWYyMjgxYy9zdWJmaWxlMmIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 0a038110-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:31 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbb0cyo6r7ruRcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyM2IxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbvvJO2n92vuDgYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a38029c-c01f-0038-35d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbb0cyo6r7ruRcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyM2IxZjIyODFjL3N1YmZpbGU0YjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 0a1e388e-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:32 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbvvJO2n92vuDgYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbk14Hnkv/j0l0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a38029d-c01f-0038-36d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbvvJO2n92vuDgYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUwYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 0a39ed5e-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:32 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbk14Hnkv/j0l0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaup4qd742ktJoBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjRiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a38029f-c01f-0038-38d0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBbk14Hnkv/j0l0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWIxZjIyODFjATAxRDYwOEQwQzg3QzQzN0MvZGlyZWN0b3J5YjFmMjI4MWMvc3ViZGlyNGIxZjIyODFjL3N1YmZpbGUyYjFmMjI4MWMWAAAA&mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 0a555864-74c4-11ea-bc84-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:26:32 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaup4qd742ktJoBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjRiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:26:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8a3802a1-c01f-0038-3ad0-08928c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemb1f2281c/directoryb1f2281c?continuation=VBaup4qd742ktJoBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1iMWYyMjgxYwEwMUQ2MDhEMEM4N0M0MzdDL2RpcmVjdG9yeWIxZjIyODFjL3N1YmRpcjRiMWYyMjgxYy9zdWJmaWxlNGIxZjIyODFjFgAAAA%3D%3D&mode=remove&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_with_failures_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_with_failures_async.yaml new file mode 100644 index 000000000000..efa960567f58 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_remove_access_control_recursive_with_failures_async.yaml @@ -0,0 +1,2176 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 1bc0e230-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:01 GMT + Etag: '"0x8D7D6E8001CFAD2"' + Last-Modified: Thu, 02 Apr 2020 09:27:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9b801f06-101f-0076-55d0-08bc04000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + User-Agent: + - azsdk-python-identity/1.4.0b2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSIsImtpZCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU4NTgxOTMyMiwibmJmIjoxNTg1ODE5MzIyLCJleHAiOjE1ODU5MDYwMjIsImFpbyI6IjQyZGdZUGkvWjNXVS9ncUZsbmtIUytLWGI1dXZDZ0E9IiwiYXBwaWQiOiI2ODM5MGExOS1hNjQzLTQ1OGItYjcyNi00MDhhYmY2N2I0ZmMiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwic3ViIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoiMmVxVktaUy1OMC1ELVF6MjBRWm1BQSIsInZlciI6IjEuMCJ9.Foh1B7KtyVmNwJok7aHqPJqLnqkjqlatxwxgi_JITRThPAwDkj4BnOu-47tYqfALabTM_uPUMhel9_vm0TY2Lwdt77Cm894R57MCKR9-Sm-fcidewHI2qEc_L7Wuc4fgwpPtEjPsg9A6tbxQOfP-pkXDinzAzfuiMOYfToVJfnN8oMmzRamIKPrs77ahW00hThwwCx4-Et-A2jzQR0AZDEQiPQepTWt0e_ysCCjayFheTtzwsSzCa7g9B15TgPFz6hf_Z7TXadJGpSMahKPCol6IUu4tvlJuLqPlMMCpF6F2ckHEuqYZn0LLFKrAn06F2StfwS9BTONWe7fekSr_ZA"}' + headers: + Cache-Control: no-cache, no-store + Content-Length: '1235' + Content-Type: application/json; charset=utf-8 + Date: Thu, 02 Apr 2020 09:27:01 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.10244.32 - SAN ProdSlices + x-ms-request-id: 2995ead9-be94-4f37-83f9-0cf6d1066600 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1bfb198c-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:01 GMT + Etag: '"0x8D7D6E800982659"' + Last-Modified: Thu, 02 Apr 2020 09:27:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7702-801f-0074-7fd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1c6cdfae-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:01 GMT + Etag: '"0x8D7D6E800A511E5"' + Last-Modified: Thu, 02 Apr 2020 09:27:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7703-801f-0074-80d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1c79b3be-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800B2AA43"' + Last-Modified: Thu, 02 Apr 2020 09:27:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7704-801f-0074-01d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1c875d7a-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800C00AA9"' + Last-Modified: Thu, 02 Apr 2020 09:27:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7705-801f-0074-02d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1c94b768-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800CDC76B"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7706-801f-0074-03d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ca26f8e-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800DB3C9B"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7707-801f-0074-04d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1caff6a4-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800E8D397"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7708-801f-0074-05d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1cbd699c-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E800F57AD8"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7709-801f-0074-06d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1cca1822-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E801031BD0"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770a-801f-0074-07d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1cd7c0ee-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E8011081EE"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770b-801f-0074-08d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ce5475a-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E8011DE116"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770c-801f-0074-09d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1cf265b6-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E8012B57EB"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770d-801f-0074-0ad0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d00068a-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E80139F419"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770e-801f-0074-0bd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d0e8bd8-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:02 GMT + Etag: '"0x8D7D6E80147DDCC"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb770f-801f-0074-0cd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d1c7e14-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801553925"' + Last-Modified: Thu, 02 Apr 2020 09:27:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7710-801f-0074-0dd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d29e0ea-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801629264"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7711-801f-0074-0ed0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d374262-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E80170171E"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7712-801f-0074-0fd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d44da3a-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E8017DD0E7"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7713-801f-0074-10d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d529d96-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E8018C1AE4"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7714-801f-0074-11d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d60dda2-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801996312"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7715-801f-0074-12d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d6e1940-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801A7100D"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7716-801f-0074-13d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d7bdc9c-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801B506FC"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7717-801f-0074-14d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d89d5cc-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801C2C84A"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7718-801f-0074-15d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1d9777cc-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801D061C4"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7719-801f-0074-16d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1da52066-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801DE4185"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7720-801f-0074-17d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1db30302-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:03 GMT + Etag: '"0x8D7D6E801EB747F"' + Last-Modified: Thu, 02 Apr 2020 09:27:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7721-801f-0074-18d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1dc04e54-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E801F965C6"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7722-801f-0074-19d0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1dce0d32-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E80207B450"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7723-801f-0074-1ad0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1ddc75ac-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E802158130"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7724-801f-0074-1bd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1dea4434-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E8022501B2"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7725-801f-0074-1cd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1df9992a-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E802337593"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 22bb7726-801f-0074-1dd0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1e0843d0-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:27:05 GMT + Etag: '"0x8D7D6E8024137AF"' + Last-Modified: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9b801f07-101f-0076-56d0-08bc04000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 1e154634-74c4-11ea-acba-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorydf342007/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:27:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 22bb7727-801f-0074-1ed0-0802bc000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007?mode=remove&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 24a575f0-74c4-11ea-ab51-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:16 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl + response: + body: + string: '{"error":{"code":"FilesystemNotFound","message":"The specified filesystem + does not exist.\nRequestId:c631bb05-301f-002c-56d0-08dae3000000\nTime:2020-04-02T09:27:16.8162097Z"}}' + headers: + Content-Length: '175' + Content-Type: application/json;charset=utf-8 + Date: Thu, 02 Apr 2020 09:27:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: FilesystemNotFound + x-ms-request-id: c631bb05-301f-002c-56d0-08dae3000000 + x-ms-version: '2019-12-12' + status: + code: 404 + message: The specified filesystem does not exist. + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 2b774278-74c4-11ea-887e-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:27:27 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl + response: + body: + string: '{"error":{"code":"FilesystemNotFound","message":"The specified filesystem + does not exist.\nRequestId:5076e855-f01f-0033-11d0-0869e7000000\nTime:2020-04-02T09:27:29.6759516Z"}}' + headers: + Content-Length: '175' + Content-Type: application/json;charset=utf-8 + Date: Thu, 02 Apr 2020 09:27:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: FilesystemNotFound + x-ms-request-id: 5076e855-f01f-0033-11d0-0869e7000000 + x-ms-version: '2019-12-12' + status: + code: 404 + message: The specified filesystem does not exist. + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - 428e2652-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:06 GMT + Etag: '"0x8D7D6E826F87DAE"' + Last-Modified: Thu, 02 Apr 2020 09:28:07 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: 79cfd80f-b01f-0040-48d1-083174000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + User-Agent: + - azsdk-python-identity/1.4.0b2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSIsImtpZCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU4NTgxOTM4NywibmJmIjoxNTg1ODE5Mzg3LCJleHAiOjE1ODU5MDYwODcsImFpbyI6IjQyZGdZTGh2dTFtOXR2cEF5ZGw4M3hibnY4d3JBUT09IiwiYXBwaWQiOiI2ODM5MGExOS1hNjQzLTQ1OGItYjcyNi00MDhhYmY2N2I0ZmMiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwic3ViIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoiSXA4bG4xc2NuRUM4LTBnR0tteDBBQSIsInZlciI6IjEuMCJ9.IhYANJCWwkf900LZCTC_fiPuhhv7V5Q2cPJqEyTMm9DaWTnvz_0H1ztPYPUAe0LwrIX5sy1Gf1j5pG4pEwuNpQx2T_mRU7LWkDH95eDzmmLM9yEl2Ijsmu6T9zl-QUOSYaPQV-ZJH1tvbj35SQaSRS4xAc_KXFMdN0DV5oV6IkfNwnvOcb3YrFdefWQ-jCV5SkIniEjnVEQWxaqVo9QczOEep93JGcXkIjATZiHNrjPIPUfuC7j3A80nfqO_QSvEzvSZbsEIt-zCj1_wJfRRlIv6uttwFbYKfUad335rBDzJooVcppzaub1afce1OXJOQxEa_NeEAqNc8KMeUQuX9g"}' + headers: + Cache-Control: no-cache, no-store + Content-Length: '1235' + Content-Type: application/json; charset=utf-8 + Date: Thu, 02 Apr 2020 09:28:07 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.10244.32 - SAN ProdSlices + x-ms-request-id: 9f259f22-1c5b-409c-bcfb-48062a6c7400 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 42d411c6-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E8276D61F8"' + Last-Modified: Thu, 02 Apr 2020 09:28:07 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd00-a01f-003e-25d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4341207c-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E8277A9FF8"' + Last-Modified: Thu, 02 Apr 2020 09:28:07 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd01-a01f-003e-26d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 434e0ddc-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:07 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827886D58"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd02-a01f-003e-27d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 435be90c-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E82795ECD6"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd03-a01f-003e-28d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43696c26-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827A46765"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd04-a01f-003e-29d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4377bee8-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827B1B2FD"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd05-a01f-003e-2ad1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43853028-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827BF3FD2"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd06-a01f-003e-2bd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir0df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4392975e-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827CC5B3D"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd07-a01f-003e-2cd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 439fd37e-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827DA08BD"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd08-a01f-003e-2dd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43ad5364-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827E79EEC"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd09-a01f-003e-2ed1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43baff32-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E827F519BE"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0a-a01f-003e-2fd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43c892c8-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:07 GMT + Etag: '"0x8D7D6E828028F64"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0b-a01f-003e-30d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43d60d36-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8280FF6E3"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0c-a01f-003e-31d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir1df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43e37dc2-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:08 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8281D4FD4"' + Last-Modified: Thu, 02 Apr 2020 09:28:08 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0d-a01f-003e-32d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43f0cb80-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8282AE7BC"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0e-a01f-003e-33d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 43fe66e6-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8283897D3"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd0f-a01f-003e-34d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 440c14b2-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E828462E45"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd10-a01f-003e-35d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4419b3ce-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E828549865"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd11-a01f-003e-36d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 442817f2-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E828625075"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd12-a01f-003e-37d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir2df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4435e2ec-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8286F8341"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd13-a01f-003e-38d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4443086e-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8287D2855"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd14-a01f-003e-39d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4450a7ee-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8288A9CFB"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd15-a01f-003e-3ad1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 445e1596-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:08 GMT + Etag: '"0x8D7D6E8289840AD"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd16-a01f-003e-3bd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 446bb818-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828A5C5A4"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd17-a01f-003e-3cd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 447938a8-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:09 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828B3958B"' + Last-Modified: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd18-a01f-003e-3dd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir3df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 448719dc-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828C0B6FA"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd19-a01f-003e-3ed1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 449415f6-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile0df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828CE5342"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd1a-a01f-003e-3fd1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile0df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 44a1ceb2-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile1df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828DC11A3"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd1b-a01f-003e-40d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile1df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 44af8548-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile2df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828E9D7C1"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd1c-a01f-003e-41d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile2df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 44bd4ab6-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile3df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E828F7A966"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd1d-a01f-003e-42d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile3df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 44cb1a56-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile4df342007?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E829054418"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9733bd1e-a01f-003e-43d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fsubdir4df342007%2Fsubfile4df342007?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 44d8fe78-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:28:09 GMT + Etag: '"0x8D7D6E82912F9EF"' + Last-Modified: Thu, 02 Apr 2020 09:28:10 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 79cfd812-b01f-0040-4bd1-083174000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 44e59354-74c4-11ea-bc32-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:28:10 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdf342007/directorydf342007?mode=remove&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorydf342007/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:28:09 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9733bd1f-a01f-003e-44d1-08a133000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdf342007/directorydf342007?mode=remove&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_an_unencoded_directory_in_another_file_system_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_an_unencoded_directory_in_another_file_system_async.yaml index 6960f3c8cff9..9cc00ec73a98 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_an_unencoded_directory_in_another_file_system_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_an_unencoded_directory_in_another_file_system_async.yaml @@ -3,13 +3,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 069607a4-af4d-11ea-8659-001a7dda7113 + - 18555946-04c6-11eb-a875-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:14 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/oldfilesystem745924c6?restype=container response: @@ -17,12 +17,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:13 GMT - Etag: '"0x8D81170EAC23846"' - Last-Modified: Mon, 15 Jun 2020 21:13:14 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FC87D398"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 7002d3d9-201e-0027-4459-435a50000000 - x-ms-version: '2019-07-07' + x-ms-request-id: 0508d5ce-d01e-0033-04d2-98123f000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -31,15 +31,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 069f4622-af4d-11ea-b1a2-001a7dda7113 + - 18608de6-04c6-11eb-885b-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:14 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/oldfilesystem745924c6/old%20dir?resource=directory response: @@ -47,12 +47,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EAFDE328"' - Last-Modified: Mon, 15 Jun 2020 21:13:14 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCBCFF74"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 0acd1f81-d01f-0033-2559-43123f000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 7e784b8c-801f-003e-09d2-98daeb000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -61,15 +61,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06d99d0a-af4d-11ea-a19e-001a7dda7113 + - 1891a49c-04c6-11eb-8c60-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/oldfilesystem745924c6/old%20dir%2Foldfile?resource=file response: @@ -77,12 +77,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EB0AD1B0"' - Last-Modified: Mon, 15 Jun 2020 21:13:15 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCC56CB7"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 0acd1f82-d01f-0033-2659-43123f000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 7e784b90-801f-003e-0dd2-98daeb000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -91,13 +91,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06e68d48-af4d-11ea-806f-001a7dda7113 + - 189a0eb6-04c6-11eb-86aa-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.blob.core.windows.net/newfilesystem745924c6?restype=container response: @@ -105,12 +105,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EB134D3D"' - Last-Modified: Mon, 15 Jun 2020 21:13:15 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCCCB14E"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 7002d55e-201e-0027-3059-435a50000000 - x-ms-version: '2019-07-07' + x-ms-request-id: 0508d75a-d01e-0033-67d2-98123f000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -119,15 +119,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06f1bfd8-af4d-11ea-ac66-001a7dda7113 + - 18a3f81e-04c6-11eb-8989-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/newfilesystem745924c6/new%20name%2Fsub%20dir?resource=directory response: @@ -135,12 +135,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EB1FE596"' - Last-Modified: Mon, 15 Jun 2020 21:13:15 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCD841C3"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 0acd1f83-d01f-0033-2759-43123f000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 7e784b91-801f-003e-0ed2-98daeb000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -149,17 +149,17 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06fb6a78-af4d-11ea-aca6-001a7dda7113 + - 18ada44a-04c6-11eb-a789-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-rename-source: - /oldfilesystem745924c6/old%20dir x-ms-source-lease-id: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/newfilesystem745924c6/new%20name%2Fsub%20dir?mode=legacy response: @@ -167,10 +167,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 0acd1f84-d01f-0033-2859-43123f000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 7e784b92-801f-003e-0fd2-98daeb000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -179,13 +179,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 070734ec-af4d-11ea-9d7b-001a7dda7113 + - 18ba1b98-04c6-11eb-a810-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:02 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD uri: https://storagename.blob.core.windows.net/newfilesystem745924c6/new%20name/sub%20dir response: @@ -195,20 +195,20 @@ interactions: Accept-Ranges: bytes Content-Length: '0' Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EAFDE328"' - Last-Modified: Mon, 15 Jun 2020 21:13:14 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCBCFF74"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:13:14 GMT + x-ms-creation-time: Fri, 02 Oct 2020 15:44:02 GMT x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-meta-hdi_isfolder: 'true' - x-ms-request-id: 7002d5fc-201e-0027-4959-435a50000000 + x-ms-request-id: 0508d815-d01e-0033-11d2-98123f000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -217,13 +217,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0712fbcc-af4d-11ea-beb5-001a7dda7113 + - 18c2c01e-04c6-11eb-84c1-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:03 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD uri: https://storagename.blob.core.windows.net/newfilesystem745924c6/new%20name/sub%20dir/oldfile response: @@ -233,19 +233,19 @@ interactions: Accept-Ranges: bytes Content-Length: '0' Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:13:14 GMT - Etag: '"0x8D81170EB0AD1B0"' - Last-Modified: Mon, 15 Jun 2020 21:13:15 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT + Etag: '"0x8D866E9FCC56CB7"' + Last-Modified: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:13:15 GMT + x-ms-creation-time: Fri, 02 Oct 2020 15:44:02 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: 7002d66d-201e-0027-3259-435a50000000 + x-ms-request-id: 0508d831-d01e-0033-2bd2-98123f000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -254,13 +254,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 071b6800-af4d-11ea-8427-001a7dda7113 + - 18cb0a86-04c6-11eb-a812-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:13:15 GMT + - Fri, 02 Oct 2020 15:44:03 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: DELETE uri: https://storagename.blob.core.windows.net/oldfilesystem745924c6?restype=container response: @@ -268,10 +268,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:13:14 GMT + Date: Fri, 02 Oct 2020 15:44:02 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 7002d6a0-201e-0027-6259-435a50000000 - x-ms-version: '2019-07-07' + x-ms-request-id: 0508d869-d01e-0033-5ed2-98123f000000 + x-ms-version: '2020-02-10' status: code: 202 message: Accepted diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_async.yaml index cf587fcab1e1..5ee3bdcc9067 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_rename_from_async.yaml @@ -152,4 +152,102 @@ interactions: - /filesystem889911c7/newname - '' - '' +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ac3582c4-7584-11ea-b47a-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem889911c7/directory889911c7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 03 Apr 2020 08:25:27 GMT + Etag: '"0x8D7D7A890A1D5C9"' + Last-Modified: Fri, 03 Apr 2020 08:25:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 281b811b-701f-0002-6b91-0988f4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem889911c7/directory889911c7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ac764264-7584-11ea-b47a-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:27 GMT + x-ms-properties: + - '' + x-ms-rename-source: + - /filesystem889911c7/directory889911c7 + x-ms-source-lease-id: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem889911c7/newname?mode=legacy + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 03 Apr 2020 08:25:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 281b811c-701f-0002-6c91-0988f4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem889911c7/newname?mode=legacy +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ac83d15e-7584-11ea-b47a-acde48001122 + x-ms-date: + - Fri, 03 Apr 2020 08:25:27 GMT + x-ms-version: + - '2019-10-10' + method: HEAD + uri: https://storagename.blob.core.windows.net/filesystem889911c7/newname + response: + body: + string: '' + headers: + Accept-Ranges: bytes + Content-Length: '0' + Content-Type: application/octet-stream + Date: Fri, 03 Apr 2020 08:25:27 GMT + Etag: '"0x8D7D7A890A1D5C9"' + Last-Modified: Fri, 03 Apr 2020 08:25:27 GMT + Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-type: BlockBlob + x-ms-creation-time: Fri, 03 Apr 2020 08:25:27 GMT + x-ms-lease-state: available + x-ms-lease-status: unlocked + x-ms-meta-hdi_isfolder: 'true' + x-ms-request-id: 242dc9d0-601e-0053-5591-091578000000 + x-ms-server-encrypted: 'true' + x-ms-version: '2019-10-10' + status: + code: 200 + message: OK + url: https://aclcbn06stf.blob.core.windows.net/filesystem889911c7/newname version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_async.yaml new file mode 100644 index 000000000000..0d7f43d5dfc2 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_async.yaml @@ -0,0 +1,1959 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 92f02fa8-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E57766A7B4"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94388-901f-0047-68ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 933aa114-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E57773A627"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94389-901f-0047-69ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93477204-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E57781C2C1"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438a-901f-0047-6ace-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9355b2ec-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E5778FC015"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438b-901f-0047-6bce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9363b0f4-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E5779C6D33"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438c-901f-0047-6cce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9370606a-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:53 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E577A93950"' + Last-Modified: Thu, 02 Apr 2020 09:08:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438d-901f-0047-6dce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 937cf334-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E577B638F9"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438e-901f-0047-6ece-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9389f6ba-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E577C27AB3"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9438f-901f-0047-6fce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93969f0a-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:53 GMT + Etag: '"0x8D7D6E577D035D5"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94390-901f-0047-70ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93a3ec0a-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E577DD188F"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94391-901f-0047-71ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93b11cae-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E577EA08D6"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94392-901f-0047-72ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93bdf988-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E577F740B4"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94393-901f-0047-73ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93cb34a4-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E5780463A9"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94394-901f-0047-74ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93d850bc-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E57810A727"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94395-901f-0047-75ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93e46208-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E5781D726D"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94396-901f-0047-76ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93f14388-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E5782A2735"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94397-901f-0047-77ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 93fe1126-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E57837103F"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94398-901f-0047-78ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 940b012e-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:54 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E578441397"' + Last-Modified: Thu, 02 Apr 2020 09:08:54 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a94399-901f-0047-79ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 94180360-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E57850EDAD"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439a-901f-0047-7ace-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9424dc34-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E5785DE488"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439b-901f-0047-7bce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9431cae8-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:54 GMT + Etag: '"0x8D7D6E5786B47C2"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439c-901f-0047-7cce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 943f4bc8-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E57878E0FE"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439d-901f-0047-7dce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 944cd036-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578887756"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439e-901f-0047-7ece-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 945c5a38-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578954C58"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a9439f-901f-0047-7fce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 94693a8c-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578A26040"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a0-901f-0047-80ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 947662ca-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578AF0976"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a1-901f-0047-01ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 9482e2ca-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578BC40F2"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a2-901f-0047-02ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 94903024-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578C978D5"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a3-901f-0047-03ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 949d6802-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578D72970"' + Last-Modified: Thu, 02 Apr 2020 09:08:55 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a4-901f-0047-04ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 94ab1e84-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:55 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578E47E03"' + Last-Modified: Thu, 02 Apr 2020 09:08:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a5-901f-0047-05ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 94b86954-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:56 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:08:55 GMT + Etag: '"0x8D7D6E578F1DCB6"' + Last-Modified: Thu, 02 Apr 2020 09:08:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 77a943a6-901f-0047-06ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 94c584c2-74c1-11ea-b9ab-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:08:56 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?mode=set&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: Thu, 02 Apr 2020 09:08:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 77a943a7-901f-0047-07ce-085d17000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?mode=set&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bb650cec-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:01 GMT + Etag: '"0x8D7D6E59FF5EA95"' + Last-Modified: Thu, 02 Apr 2020 09:10:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958c5-801f-005b-15ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbd38ad2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:01 GMT + Etag: '"0x8D7D6E5A00C1405"' + Last-Modified: Thu, 02 Apr 2020 09:10:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958c6-801f-005b-16ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bbf16eb2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:01 GMT + Etag: '"0x8D7D6E5A02A8451"' + Last-Modified: Thu, 02 Apr 2020 09:10:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958c7-801f-005b-17ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc0a9e64-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:01 GMT + Etag: '"0x8D7D6E5A044141B"' + Last-Modified: Thu, 02 Apr 2020 09:10:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958c8-801f-005b-18ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc45ca52-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A07E7891"' + Last-Modified: Thu, 02 Apr 2020 09:10:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958c9-801f-005b-19ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc5ce1e2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A096715D"' + Last-Modified: Thu, 02 Apr 2020 09:10:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958ca-801f-005b-1ace-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc742384-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0ACF215"' + Last-Modified: Thu, 02 Apr 2020 09:10:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958cb-801f-005b-1bce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir0f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc8f84da-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0C843CD"' + Last-Modified: Thu, 02 Apr 2020 09:10:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958cc-801f-005b-1cce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bc9b9c70-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0D47C92"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958cd-801f-005b-1dce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bca7dc2e-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0E0A58B"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958ce-801f-005b-1ece-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcb3fae0-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0ECBD41"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958cf-801f-005b-1fce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcc01442-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A0F96F1C"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d0-801f-005b-20ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcccead2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A105C9A8"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d1-801f-005b-21ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir1f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcd920c2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:02 GMT + Etag: '"0x8D7D6E5A1118C8D"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d2-801f-005b-22ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bce4d5fc-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A11DC304"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d3-801f-005b-23ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcf10b1a-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A129C675"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d4-801f-005b-24ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bcfd1d38-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A136105A"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d5-801f-005b-25ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd09612e-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1423464"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d6-801f-005b-26ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd158d8c-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A14E6544"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d7-801f-005b-27ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir2f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd21ab6c-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A15A2362"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d8-801f-005b-28ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd2d6d26-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1664644"' + Last-Modified: Thu, 02 Apr 2020 09:10:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958d9-801f-005b-29ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd3988d6-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1726015"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958da-801f-005b-2ace-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd45a396-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A17EAB28"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958db-801f-005b-2bce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd51f7c2-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A18AD29B"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958dc-801f-005b-2cce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd5e1854-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1973865"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958dd-801f-005b-2dce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir3f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd6a7aa4-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1A30ACF"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958de-801f-005b-2ece-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd764dc0-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile0f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:03 GMT + Etag: '"0x8D7D6E5A1AF1D6E"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958df-801f-005b-2fce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile0f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd826fc4-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile1f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:04 GMT + Etag: '"0x8D7D6E5A1BB5843"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958e0-801f-005b-30ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile1f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd8eb298-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile2f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:04 GMT + Etag: '"0x8D7D6E5A1C79031"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958e1-801f-005b-31ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile2f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bd9ae16c-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile3f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:04 GMT + Etag: '"0x8D7D6E5A1D4A3F8"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958e2-801f-005b-32ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile3f73b18f0?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bda825de-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile4f73b18f0?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:04 GMT + Etag: '"0x8D7D6E5A1E13AB4"' + Last-Modified: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 730958e3-801f-005b-33ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0%2Fsubdir4f73b18f0%2Fsubfile4f73b18f0?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - bdb48450-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?mode=set&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 730958e4-801f-005b-34ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?mode=set&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bdcbfa40-74c1-11ea-8617-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:04 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:10:04 GMT + Etag: '"0x8D7D6E59FF5EA95"' + Last-Modified: Thu, 02 Apr 2020 09:10:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: 730958e5-801f-005b-35ce-080f77000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemf73b18f0/directoryf73b18f0?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_async.yaml new file mode 100644 index 000000000000..11c4343ef4b2 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_async.yaml @@ -0,0 +1,1506 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d18af158-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B5FB722D"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0503f-e01f-002f-15ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d1ce6104-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B607C0BC"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05041-e01f-002f-16ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d1da9046-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile023221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B613EF49"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05043-e01f-002f-17ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile023221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d1e6b718-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile123221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B61FFA11"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05044-e01f-002f-18ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile123221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d1f2c49a-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile223221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B62C3624"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05045-e01f-002f-19ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile223221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d1fef3be-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile323221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:37 GMT + Etag: '"0x8D7D6E5B638155D"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05046-e01f-002f-1ace-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile323221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d20addc8-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile423221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B64457A7"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05047-e01f-002f-1bce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir023221d5f%2Fsubfile423221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d216fc48-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B64FB34F"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05048-e01f-002f-1cce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d222aa5c-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile023221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B65C45CA"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05049-e01f-002f-1dce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile023221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d22efba4-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile123221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B66862A7"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504a-e01f-002f-1ece-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile123221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d23b0296-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile223221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6744269"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504b-e01f-002f-1fce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile223221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d246e598-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile323221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B680649C"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504c-e01f-002f-20ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile323221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2533852-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile423221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B68C9F20"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504d-e01f-002f-21ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir123221d5f%2Fsubfile423221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d25f6a5a-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B698504C"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504e-e01f-002f-22ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d26b0f86-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile023221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6A4AC35"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0504f-e01f-002f-23ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile023221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2776d12-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile123221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6B0F26E"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05050-e01f-002f-24ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile123221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2838b10-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile223221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6BDBB3C"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05051-e01f-002f-25ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile223221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d29084d2-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile323221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6CA2CC2"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05052-e01f-002f-26ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile323221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d29ce56a-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile423221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:39 GMT + Etag: '"0x8D7D6E5B6D6E13D"' + Last-Modified: Thu, 02 Apr 2020 09:10:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05053-e01f-002f-27ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir223221d5f%2Fsubfile423221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2a9ae08-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B6E2D4B9"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05054-e01f-002f-28ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2b59290-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile023221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B6EF5A6E"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05055-e01f-002f-29ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile023221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2c214a2-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile123221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B6FBBB65"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05056-e01f-002f-2ace-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile123221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2ce82b4-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile223221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B7083096"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05057-e01f-002f-2bce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile223221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2dad942-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile323221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B7155320"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05058-e01f-002f-2cce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile323221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2e81896-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile423221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B7218BE9"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c05059-e01f-002f-2dce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir323221d5f%2Fsubfile423221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d2f457b4-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B72D873D"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505a-e01f-002f-2ece-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d3006572-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile023221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B739F8B4"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505b-e01f-002f-2fce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile023221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d30cbd86-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile123221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B7467234"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505c-e01f-002f-30ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile123221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d31932b4-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile223221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B7536FB6"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505d-e01f-002f-31ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile223221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d32629ba-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile323221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B75FDE1B"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505e-e01f-002f-32ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile323221d5f?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d3329c0e-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile423221d5f?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:10:40 GMT + Etag: '"0x8D7D6E5B76C50A6"' + Last-Modified: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7c0505f-e01f-002f-33ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f%2Fsubdir423221d5f%2Fsubfile423221d5f?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d33eedf6-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:40 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBae5tur6rS0mqgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05060-e01f-002f-34ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d34bbd10-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBae5tur6rS0mqgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaVjcn655b48M0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05061-e01f-002f-35ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBae5tur6rS0mqgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d358706e-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaVjcn655b48M0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbf/cKAmuS/lgoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMDIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05062-e01f-002f-36ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaVjcn655b48M0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjAyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3653632-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbf/cKAmuS/lgoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMDIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbw09OFz5u/vNUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05063-e01f-002f-37ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbf/cKAmuS/lgoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMDIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3723602-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbw09OFz5u/vNUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb7uMHUwrnz1rABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05064-e01f-002f-38ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbw09OFz5u/vNUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d37efd06-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBb7uMHUwrnz1rABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaxyMquv8u0sHcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMTIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05065-e01f-002f-39ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBb7uMHUwrnz1rABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjEyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d38b94d0-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaxyMquv8u0sHcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMTIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbCjcv3oOqi1lIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05066-e01f-002f-3ace-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaxyMquv8u0sHcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMTIzMjIxZDVmL3N1YmZpbGU0MjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3986f16-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbCjcv3oOqi1lIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbJ5tmmrcjuvDcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05067-e01f-002f-3bce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbCjcv3oOqi1lIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3a552da-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbJ5tmmrcjuvDcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaDltLc0Lqp2vABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjIyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05068-e01f-002f-3cce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbJ5tmmrcjuvDcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMjIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3b1fa62-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaDltLc0Lqp2vABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjIyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBasuMPZhcWp8C8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c05069-e01f-002f-3dce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaDltLc0Lqp2vABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjIyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3bf2200-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBasuMPZhcWp8C8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBan09GIiOflmkoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506a-e01f-002f-3ece-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBasuMPZhcWp8C8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUwMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3cbd7de-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBan09GIiOflmkoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbto9ry9ZWi/I0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjMyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506b-e01f-002f-3fce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBan09GIiOflmkoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTIzMjIxZDVmATAxRDYwOENFOTMzQkNCMzYvZGlyZWN0b3J5MjMyMjFkNWYvc3ViZGlyMzIzMjIxZDVmL3N1YmZpbGUyMjMyMjFkNWYWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3d9dd20-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbto9ry9ZWi/I0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjMyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbZzoXsgPbm/aIBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506c-e01f-002f-40ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbto9ry9ZWi/I0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjMyMzIyMWQ1Zi9zdWJmaWxlNDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3e711f2-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbZzoXsgPbm/aIBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbSpZe9jdSql8cBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506d-e01f-002f-41ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbZzoXsgPbm/aIBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMDIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d3f3ce4c-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbSpZe9jdSql8cBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaY1ZzH8KbtcRh5GHQvYWNsY2JuMDZzdGYBMDFENUQ3RTNEQ0VDNkJFMC9maWxlc3lzdGVtMjMyMjFkNWYBMDFENjA4Q0U5MzNCQ0IzNi9kaXJlY3RvcnkyMzIyMWQ1Zi9zdWJkaXI0MjMyMjFkNWYvc3ViZmlsZTQyMzIyMWQ1ZhYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506e-e01f-002f-42ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBbSpZe9jdSql8cBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0yMzIyMWQ1ZgEwMUQ2MDhDRTkzM0JDQjM2L2RpcmVjdG9yeTIzMjIxZDVmL3N1YmRpcjQyMzIyMWQ1Zi9zdWJmaWxlMjIzMjIxZDVmFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d4027d84-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaY1ZzH8KbtcRh5GHQvYWNsY2JuMDZzdGYBMDFENUQ3RTNEQ0VDNkJFMC9maWxlc3lzdGVtMjMyMjFkNWYBMDFENjA4Q0U5MzNCQ0IzNi9kaXJlY3RvcnkyMzIyMWQ1Zi9zdWJkaXI0MjMyMjFkNWYvc3ViZmlsZTQyMzIyMWQ1ZhYAAAA%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:10:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: c7c0506f-e01f-002f-43ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?continuation=VBaY1ZzH8KbtcRh5GHQvYWNsY2JuMDZzdGYBMDFENUQ3RTNEQ0VDNkJFMC9maWxlc3lzdGVtMjMyMjFkNWYBMDFENjA4Q0U5MzNCQ0IzNi9kaXJlY3RvcnkyMzIyMWQ1Zi9zdWJkaXI0MjMyMjFkNWYvc3ViZmlsZTQyMzIyMWQ1ZhYAAAA%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4100e04-74c1-11ea-812a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:10:42 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:10:42 GMT + Etag: '"0x8D7D6E5B5FB722D"' + Last-Modified: Thu, 02 Apr 2020 09:10:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: c7c05070-e01f-002f-44ce-083b87000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem23221d5f/directory23221d5f?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_explicit_iteration_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_explicit_iteration_async.yaml new file mode 100644 index 000000000000..13ad5bb90f79 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_explicit_iteration_async.yaml @@ -0,0 +1,1506 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 664f5ecc-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134ADDCACB"' + Last-Modified: Fri, 10 Apr 2020 05:52:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab8d-801f-0008-1efc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66ad43b6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134AEB6F2F"' + Last-Modified: Fri, 10 Apr 2020 05:52:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab8e-801f-0008-1ffc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66bad4d6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile061d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134AF9918A"' + Last-Modified: Fri, 10 Apr 2020 05:52:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab8f-801f-0008-20fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile061d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66c8ee54-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile161d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134B08A810"' + Last-Modified: Fri, 10 Apr 2020 05:52:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab90-801f-0008-21fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile161d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66d7f75a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile261d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134B178500"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab91-801f-0008-22fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile261d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66e6df36-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile361d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134B270EB4"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab92-801f-0008-23fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile361d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 66f65d08-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile461d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134B360B6D"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab93-801f-0008-24fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir061d02769%2Fsubfile461d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 670556aa-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:02 GMT + Etag: '"0x8D7DD134B436C45"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab94-801f-0008-25fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67142e32-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile061d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B5336E3"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab95-801f-0008-26fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile061d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67228b4e-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile161d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B61D25C"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab96-801f-0008-27fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile161d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 6731697a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile261d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B703978"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab97-801f-0008-28fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile261d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67414052-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile361d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B801C8A"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab98-801f-0008-29fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile361d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 674f4db4-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile461d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B8F7607"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab99-801f-0008-2afc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir161d02769%2Fsubfile461d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 675ed3ce-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134B9DFF2B"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9a-801f-0008-2bfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 676d6c22-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile061d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134BACD003"' + Last-Modified: Fri, 10 Apr 2020 05:52:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9b-801f-0008-2cfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile061d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 677c13da-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile161d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134BBB2888"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9c-801f-0008-2dfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile161d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 678a7c9a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile261d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134BCA9C98"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9d-801f-0008-2efc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile261d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 6799cb6e-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile361d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134BD8CF2D"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9e-801f-0008-2ffc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile361d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67a808f0-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile461d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:03 GMT + Etag: '"0x8D7DD134BE7525C"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aab9f-801f-0008-30fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir261d02769%2Fsubfile461d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67b6b008-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134BF4FC83"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba0-801f-0008-31fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67c46d9c-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile061d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C033CCB"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba1-801f-0008-32fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile061d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67d2ab0a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile161d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C11DD4B"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba2-801f-0008-33fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile161d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67e13c4c-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile261d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C207236"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba3-801f-0008-34fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile261d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67efcc8a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile361d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C2ED493"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba4-801f-0008-35fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile361d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 67fe26a4-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile461d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C3D4DA3"' + Last-Modified: Fri, 10 Apr 2020 05:52:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba5-801f-0008-36fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir361d02769%2Fsubfile461d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 680ca0da-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C4B14BF"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba6-801f-0008-37fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 681a6242-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile061d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C598F00"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba7-801f-0008-38fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile061d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 6828df7a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile161d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C684DB5"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba8-801f-0008-39fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile161d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 6838edb6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile261d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:04 GMT + Etag: '"0x8D7DD134C796213"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aaba9-801f-0008-3afc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile261d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 6848ce2a-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile361d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:05 GMT + Etag: '"0x8D7DD134C87BA3C"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aabaa-801f-0008-3bfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile361d02769?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 68571034-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile461d02769?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Fri, 10 Apr 2020 05:52:05 GMT + Etag: '"0x8D7DD134C96621B"' + Last-Modified: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 084aabab-801f-0008-3cfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769%2Fsubdir461d02769%2Fsubfile461d02769?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68656c2e-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBalmJHq+df4xuoBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabac-801f-0008-3dfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68a3ea6c-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBalmJHq%2Bdf4xuoBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBau84O79PW0rI8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabad-801f-0008-3efc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBalmJHq%2Bdf4xuoBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68b26614-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBau84O79PW0rI8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbkg4jBiYfzykgYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabae-801f-0008-3ffc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBau84O79PW0rI8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjA2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68c10d72-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbkg4jBiYfzykgYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbLrZnE3Pjz4JcBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabaf-801f-0008-40fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbkg4jBiYfzykgYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68d0d0b8-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbLrZnE3Pjz4JcBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbAxouV0dq/ivIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb0-801f-0008-41fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbLrZnE3Pjz4JcBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68df78fc-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbAxouV0dq/ivIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaKtoDvrKj47DUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMTYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb1-801f-0008-42fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbAxouV0dq/ivIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjE2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68ee32b6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBaKtoDvrKj47DUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMTYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb584G2s4nuihAYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb2-801f-0008-43fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBaKtoDvrKj47DUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMTYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 68fd4d8c-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBb584G2s4nuihAYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbymJPnvqui4HUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb3-801f-0008-44fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBb584G2s4nuihAYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 690bd9a6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbymJPnvqui4HUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa46Jidw9nlhrIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjI2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb4-801f-0008-45fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbymJPnvqui4HUYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMjYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 691b4b52-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBa46Jidw9nlhrIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjI2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaXxomYlqblrG0YdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb5-801f-0008-46fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBa46Jidw9nlhrIBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjI2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 692a9558-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBaXxomYlqblrG0YdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBacrZvJm4SpxggYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb6-801f-0008-47fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBaXxomYlqblrG0YdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUwNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 69394bc0-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:06 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBacrZvJm4SpxggYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbW3ZCz5vbuoM8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjM2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb7-801f-0008-48fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBacrZvJm4SpxggYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyMzYxZDAyNzY5L3N1YmZpbGUyNjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 69480070-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbW3ZCz5vbuoM8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjM2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbisM+tk5WqoeABGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb8-801f-0008-49fc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbW3ZCz5vbuoM8BGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjM2MWQwMjc2OS9zdWJmaWxlNDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 695742c4-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbisM%2Btk5WqoeABGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbp2938nrfmy4UBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabb9-801f-0008-4afc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbisM%2Btk5WqoeABGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMDYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 69690158-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbp2938nrfmy4UBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:06 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBajq9aG48WhrUIYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyNDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabba-801f-0008-4bfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBbp2938nrfmy4UBGHYYcS9hY2xjYm4wNgEwMUQ1RDJGNTdGMjFCQUE0L2ZpbGVzeXN0ZW02MWQwMjc2OQEwMUQ2MEVGQzI3ODA1NEI4L2RpcmVjdG9yeTYxZDAyNzY5L3N1YmRpcjQ2MWQwMjc2OS9zdWJmaWxlMjYxZDAyNzY5FgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 69780658-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBajq9aG48WhrUIYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyNDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Fri, 10 Apr 2020 05:52:07 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 084aabbb-801f-0008-4cfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?continuation=VBajq9aG48WhrUIYdhhxL2FjbGNibjA2ATAxRDVEMkY1N0YyMUJBQTQvZmlsZXN5c3RlbTYxZDAyNzY5ATAxRDYwRUZDMjc4MDU0QjgvZGlyZWN0b3J5NjFkMDI3Njkvc3ViZGlyNDYxZDAyNzY5L3N1YmZpbGU0NjFkMDI3NjkWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 698b48c6-7aef-11ea-b7d5-acde48001122 + x-ms-date: + - Fri, 10 Apr 2020 05:52:07 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem61d02769/directory61d02769?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Fri, 10 Apr 2020 05:52:07 GMT + Etag: '"0x8D7DD134ADDCACB"' + Last-Modified: Fri, 10 Apr 2020 05:52:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: 084aabbc-801f-0008-4dfc-0eec2e000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06.dfs.core.windows.net/filesystem61d02769/directory61d02769?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_progress_callback_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_progress_callback_async.yaml new file mode 100644 index 000000000000..6ca766ec5ccf --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_in_batches_with_progress_callback_async.yaml @@ -0,0 +1,1506 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c5b8eca6-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:46 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AABFFE4A"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e610-401f-0044-16d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6a7d85c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AAE22583"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e614-401f-0044-19d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6b5d754-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile0399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AAF73B4C"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e615-401f-0044-1ad1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile0399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6cace8e-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile1399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB03E081"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e616-401f-0044-1bd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile1399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6d78764-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile2399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB10C56B"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e617-401f-0044-1cd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile2399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6e46ce0-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile3399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB1D6635"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e618-401f-0044-1dd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile3399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6f1101c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile4399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB2A2BFD"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e619-401f-0044-1ed1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir0399326da%2Fsubfile4399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c6fdecce-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:48 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB376446"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61a-401f-0044-1fd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c70b211e-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile0399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB443297"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61b-401f-0044-20d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile0399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c717b406-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile1399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB510179"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61c-401f-0044-21d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile1399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c724a1ac-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile2399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB5DD997"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61d-401f-0044-22d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile2399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c731925e-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile3399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:48 GMT + Etag: '"0x8D7D6E8AB6AA261"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61e-401f-0044-23d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile3399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c73e46ca-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile4399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8AB77773C"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e61f-401f-0044-24d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir1399326da%2Fsubfile4399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c74b2df4-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8AB83B895"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e620-401f-0044-25d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7575d86-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile0399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8AB90C3ED"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e621-401f-0044-26d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile0399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c76466f2-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile1399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8AB9E3210"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e622-401f-0044-27d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile1399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c771f038-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile2399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABAB59F9"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e623-401f-0044-28d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile2399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c77f195c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile3399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABB8E5E4"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e624-401f-0044-29d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile3399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c78c8cb8-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile4399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABC5ED01"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e625-401f-0044-2ad1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir2399326da%2Fsubfile4399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7997176-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:49 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABD2270E"' + Last-Modified: Thu, 02 Apr 2020 09:31:49 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e626-401f-0044-2bd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7a5b918-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile0399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABDEEB36"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e627-401f-0044-2cd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile0399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7b26c8a-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile1399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABEBBE48"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e628-401f-0044-2dd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile1399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7bf8212-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile2399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8ABF9144C"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e629-401f-0044-2ed1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile2399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7ccb5fe-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile3399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:49 GMT + Etag: '"0x8D7D6E8AC05F2B7"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62a-401f-0044-2fd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile3399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7d99b5c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile4399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC134580"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62b-401f-0044-30d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir3399326da%2Fsubfile4399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7e71070-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC1FF847"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62c-401f-0044-31d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c7f3b14a-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile0399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC2D0CFB"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62d-401f-0044-32d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile0399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c800b05c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile1399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC3A1FD7"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62e-401f-0044-33d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile1399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c80ddc32-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile2399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC481FAD"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e62f-401f-0044-34d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile2399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c81bb6c2-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile3399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC54F148"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e630-401f-0044-35d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile3399326da?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c828aee0-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile4399326da?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:50 GMT + Etag: '"0x8D7D6E8AC620690"' + Last-Modified: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3858e631-401f-0044-36d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da%2Fsubdir4399326da%2Fsubfile4399326da?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8358372-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:50 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaosKTJ9bycsZQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e632-401f-0044-37d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c85a2b82-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaosKTJ9bycsZQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaj27aY+J7Q2/EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e633-401f-0044-38d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaosKTJ9bycsZQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8679894-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaj27aY%2BJ7Q2/EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:50 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbpq73iheyXvTYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e634-401f-0044-39d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaj27aY%2BJ7Q2/EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjAzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c874e9c2-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbpq73iheyXvTYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbGhazn0JOXl+kBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e635-401f-0044-3ad1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbpq73iheyXvTYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8825b20-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbGhazn0JOXl%2BkBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbN7r623bHb/YwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e636-401f-0044-3bd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbGhazn0JOXl%2BkBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c88f8f52-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbN7r623bHb/YwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaHnrXMoMOcm0sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMTM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e637-401f-0044-3cd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbN7r623bHb/YwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjEzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c89cf5fc-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaHnrXMoMOcm0sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMTM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb027SVv+KK/W4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e638-401f-0044-3dd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaHnrXMoMOcm0sYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMTM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8aa86f4-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBb027SVv%2BKK/W4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb/sKbEssDGlwsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e639-401f-0044-3ed1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBb027SVv%2BKK/W4YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8b7adac-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBb/sKbEssDGlwsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa1wK2+z7KB8cwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjIzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63a-401f-0044-3fd1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBb/sKbEssDGlwsYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMjM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8c4a96c-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBa1wK2%2Bz7KB8cwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjIzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaa7ry7ms2B2xMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63b-401f-0044-40d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBa1wK2%2Bz7KB8cwBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjIzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8d21480-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:51 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaa7ry7ms2B2xMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaRha7ql+/NsXYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63c-401f-0044-41d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaa7ry7ms2B2xMYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUwMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8df717a-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaRha7ql%2B/NsXYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbb9aWQ6p2K17EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjMzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63d-401f-0044-42d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaRha7ql%2B/NsXYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyMzM5OTMyNmRhL3N1YmZpbGUyMzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8ed1078-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbb9aWQ6p2K17EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjMzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbvmPqOn/7O1p4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63e-401f-0044-43d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbb9aWQ6p2K17EBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjMzOTkzMjZkYS9zdWJmaWxlNDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c8fafc1a-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbvmPqOn/7O1p4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbk8+jfktyCvPsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e63f-401f-0044-44d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbvmPqOn/7O1p4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMDM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c90a00d4-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbk8%2BjfktyCvPsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:51 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaug+Ol767F2jwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyNDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e640-401f-0044-45d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBbk8%2BjfktyCvPsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW0zOTkzMjZkYQEwMUQ2MDhEMTg3NjMwMzdEL2RpcmVjdG9yeTM5OTMyNmRhL3N1YmRpcjQzOTkzMjZkYS9zdWJmaWxlMjM5OTMyNmRhFgAAAA%3D%3D&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c917cfd4-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaug%2BOl767F2jwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyNDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:31:52 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3858e641-401f-0044-46d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?continuation=VBaug%2BOl767F2jwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTM5OTMyNmRhATAxRDYwOEQxODc2MzAzN0QvZGlyZWN0b3J5Mzk5MzI2ZGEvc3ViZGlyNDM5OTMyNmRhL3N1YmZpbGU0Mzk5MzI2ZGEWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c9254fce-74c4-11ea-8fb5-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:52 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem399326da/directory399326da?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:31:52 GMT + Etag: '"0x8D7D6E8AABFFE4A"' + Last-Modified: Thu, 02 Apr 2020 09:31:48 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: 3858e642-401f-0044-47d1-08bc73000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem399326da/directory399326da?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_throws_exception_containing_continuation_token_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_throws_exception_containing_continuation_token_async.yaml new file mode 100644 index 000000000000..4e14cd5d2d1f --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_throws_exception_containing_continuation_token_async.yaml @@ -0,0 +1,1000 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84068ae2-02e7-11eb-bd2f-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:13 GMT + Etag: '"0x8D8650B68732153"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d51-a01f-0052-04f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84487e08-02e7-11eb-9e82-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:13 GMT + Etag: '"0x8D8650B6880B237"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d52-a01f-0052-05f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8455f1ba-02e7-11eb-be46-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile066642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B688EAA1A"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d53-a01f-0052-06f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile066642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8466ed5c-02e7-11eb-8637-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile166642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B689FB6EE"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d54-a01f-0052-07f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile166642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8476092e-02e7-11eb-b5f0-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile266642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68AED345"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d55-a01f-0052-08f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile266642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84843af0-02e7-11eb-88e0-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile366642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68BD23E0"' + Last-Modified: Wed, 30 Sep 2020 06:38:14 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d56-a01f-0052-09f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile366642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 849290a8-02e7-11eb-b2da-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:14 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile466642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68CB747E"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d57-a01f-0052-0af4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir066642ca7%2Fsubfile466642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84a0c7b0-02e7-11eb-bf8d-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68D94621"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d58-a01f-0052-0bf4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84aeab34-02e7-11eb-b401-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile066642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68E7CA6A"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d59-a01f-0052-0cf4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile066642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84bcfa68-02e7-11eb-9128-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile166642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B68F6146B"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5a-a01f-0052-0df4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile166642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84cb61b6-02e7-11eb-9928-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile266642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B69046328"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5b-a01f-0052-0ef4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile266642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84da4fdc-02e7-11eb-b408-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile366642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B691370A5"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5c-a01f-0052-0ff4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile366642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84e8a612-02e7-11eb-8fda-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile466642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:14 GMT + Etag: '"0x8D8650B6921C195"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5d-a01f-0052-10f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir166642ca7%2Fsubfile466642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 84f6734c-02e7-11eb-8811-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B692E5A74"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5e-a01f-0052-11f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85030dfe-02e7-11eb-8c78-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile066642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B693B761C"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d5f-a01f-0052-12f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile066642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 851065d2-02e7-11eb-98a8-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile166642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69492B48"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d60-a01f-0052-13f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile166642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 851e8576-02e7-11eb-b823-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile266642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B6957BCD6"' + Last-Modified: Wed, 30 Sep 2020 06:38:15 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d61-a01f-0052-14f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile266642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 852d0d3e-02e7-11eb-a7c9-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:15 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile366642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69668A41"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d62-a01f-0052-15f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile366642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 853bccc8-02e7-11eb-902b-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile466642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69755682"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d63-a01f-0052-16f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir266642ca7%2Fsubfile466642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 854aac4c-02e7-11eb-9bf1-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B6983B929"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d64-a01f-0052-17f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 855907f4-02e7-11eb-9862-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile066642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69928EE1"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d65-a01f-0052-18f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile066642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8567ffa8-02e7-11eb-9558-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile166642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69A1FD15"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d66-a01f-0052-19f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile166642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85774e24-02e7-11eb-b85c-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile266642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69B0E2B8"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d67-a01f-0052-1af4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile266642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 858636d8-02e7-11eb-8ad0-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile366642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:15 GMT + Etag: '"0x8D8650B69BFDA70"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d68-a01f-0052-1bf4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile366642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85953314-02e7-11eb-97cf-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile466642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B69CF212B"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d69-a01f-0052-1cf4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir366642ca7%2Fsubfile466642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85a7c176-02e7-11eb-bc91-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B69E199B3"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6a-a01f-0052-1df4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85b70b3e-02e7-11eb-8f8d-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile066642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B69F0DDA6"' + Last-Modified: Wed, 30 Sep 2020 06:38:16 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6b-a01f-0052-1ef4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile066642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85c63dd0-02e7-11eb-84e3-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:16 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile166642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B6A001B89"' + Last-Modified: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6c-a01f-0052-1ff4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile166642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85d5643a-02e7-11eb-8d63-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile266642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B6A0F3C63"' + Last-Modified: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6d-a01f-0052-20f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile266642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85e49d80-02e7-11eb-bf81-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile366642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B6A1F09F9"' + Last-Modified: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6e-a01f-0052-21f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile366642ca7?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 85f44222-02e7-11eb-96dd-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile466642ca7?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 30 Sep 2020 06:38:16 GMT + Etag: '"0x8D8650B6A2E3FFE"' + Last-Modified: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 25c88d6f-a01f-0052-22f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7%2Fsubdir466642ca7%2Fsubfile466642ca7?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 860348b8-02e7-11eb-800a-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:17 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaY/qfyvMK75ewBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTY2NjQyY2E3ATAxRDY5NkY0NDVBMzQwMDYvZGlyZWN0b3J5NjY2NDJjYTcvc3ViZGlyMDY2NjQyY2E3L3N1YmZpbGUwNjY2NDJjYTcWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 25c88d70-a01f-0052-23f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?mode=set&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 86338662-02e7-11eb-a224-001a7dda7113 + x-ms-date: + - Wed, 30 Sep 2020 06:38:17 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?continuation=VBaY/qfyvMK75ewBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTY2NjQyY2E3ATAxRDY5NkY0NDVBMzQwMDYvZGlyZWN0b3J5NjY2NDJjYTcvc3ViZGlyMDY2NjQyY2E3L3N1YmZpbGUwNjY2NDJjYTcWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Wed, 30 Sep 2020 06:38:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaTlbWjseD3j4kBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTY2NjQyY2E3ATAxRDY5NkY0NDVBMzQwMDYvZGlyZWN0b3J5NjY2NDJjYTcvc3ViZGlyMDY2NjQyY2E3L3N1YmZpbGUyNjY2NDJjYTcWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 25c88d72-a01f-0052-24f4-968ac9000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://amandaadlscanary.dfs.core.windows.net/filesystem66642ca7/directory66642ca7?continuation=VBaY/qfyvMK75ewBGH4YeS9hbWFuZGFhZGxzY2FuYXJ5ATAxRDYxQzE4RjBEQTE5OUMvZmlsZXN5c3RlbTY2NjQyY2E3ATAxRDY5NkY0NDVBMzQwMDYvZGlyZWN0b3J5NjY2NDJjYTcvc3ViZGlyMDY2NjQyY2E3L3N1YmZpbGUwNjY2NDJjYTcWAAAA&mode=set&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_with_failures_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_with_failures_async.yaml new file mode 100644 index 000000000000..14822e914c92 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_set_access_control_recursive_with_failures_async.yaml @@ -0,0 +1,1058 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - cce36114-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:58 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B13F423C"' + Last-Modified: Thu, 02 Apr 2020 09:31:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: 0811ba49-201f-000f-14d1-084020000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + User-Agent: + - azsdk-python-identity/1.4.0b2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSIsImtpZCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU4NTgxOTYxOSwibmJmIjoxNTg1ODE5NjE5LCJleHAiOjE1ODU5MDYzMTksImFpbyI6IjQyZGdZRmh4VFNsOFBXZmhrOGgvNTVOVEZuZ3ZBd0E9IiwiYXBwaWQiOiI2ODM5MGExOS1hNjQzLTQ1OGItYjcyNi00MDhhYmY2N2I0ZmMiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwic3ViIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoiRDdoNGpUaUZ0ME8zbXR3V1h1ZHlBQSIsInZlciI6IjEuMCJ9.cgKwMcb61Rm-hXn1Z7As2hDfMbQOHOM73PqDs6O4FQywmSEnm58As1Cv-79DGrPnHaGH8wADTdGtXviaxQQv7dL8KWikBuIvheViEdPFiCZQBs_z080ihYemJpX1Dr5wgLa7pRRbd4MycOeNvQwTLODkveUOJz7UojSSnCQH94OPD2T3_WpbzzIjgE-3KkWUWwzqmymvR4CYJfTMwlZLr_LZVkswsi3wKMclYnTstBYvHB6oTd2mKnhXIP5OlvZPMYE58OZKg_zO9EtjbBSeffe84MhqZyKUZnRZDzVG2G8B_MKmGHtyaTXan4QcrRJI9Ln6oguSLlkiavRdRhVo6w"}' + headers: + Cache-Control: no-cache, no-store + Content-Length: '1235' + Content-Type: application/json; charset=utf-8 + Date: Thu, 02 Apr 2020 09:31:59 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.10244.32 - SAN ProdSlices + x-ms-request-id: 8d78b80f-8538-43b7-b79a-dc165ee77200 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cd1cc88c-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1BAAFF3"' + Last-Modified: Thu, 02 Apr 2020 09:31:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7776-c01f-0017-59d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cd8e7040-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:31:59 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1C782C2"' + Last-Modified: Thu, 02 Apr 2020 09:31:59 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7777-c01f-0017-5ad1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cd9b3e88-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile07ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1D530B3"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7778-c01f-0017-5bd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile07ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cda8e2b8-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile17ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1E2EB92"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7779-c01f-0017-5cd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile17ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cdb6c3b0-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile27ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1F0D18F"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777a-c01f-0017-5dd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile27ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cdc4660a-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile37ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B1FDF66B"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777b-c01f-0017-5ed1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile37ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cdd1a518-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile47ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B20B8F8E"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777c-c01f-0017-5fd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir07ffd1ec5%2Fsubfile47ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cddf4d8a-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B2189BC6"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777d-c01f-0017-60d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cdec6682-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile07ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B22703F2"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777e-c01f-0017-61d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile07ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cdfaba48-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile17ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B2355443"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd777f-c01f-0017-62d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile17ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce09099a-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile27ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B2429D11"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7782-c01f-0017-65d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile27ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce166554-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile37ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:31:59 GMT + Etag: '"0x8D7D6E8B2505CBC"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7783-c01f-0017-66d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile37ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce241064-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile47ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B25DC6C6"' + Last-Modified: Thu, 02 Apr 2020 09:32:00 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7784-c01f-0017-67d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir17ffd1ec5%2Fsubfile47ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce3182ee-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:00 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B26ACC29"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7785-c01f-0017-68d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce3e6b9e-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile07ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2785DA8"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7786-c01f-0017-69d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile07ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce4be472-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile17ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B285891E"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7787-c01f-0017-6ad1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile17ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce59466c-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile27ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B293C3AF"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7788-c01f-0017-6bd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile27ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce677b74-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile37ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2A12B58"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7789-c01f-0017-6cd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile37ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce74f7ae-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile47ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2AF67B2"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778a-c01f-0017-6dd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir27ffd1ec5%2Fsubfile47ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce832e14-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2BC7E01"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778b-c01f-0017-6ed1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce903910-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile07ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2CA19B3"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778c-c01f-0017-6fd1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile07ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ce9dc260-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile17ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2D782F2"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778d-c01f-0017-70d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile17ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ceab101e-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile27ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2E4F4C3"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778e-c01f-0017-71d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile27ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ceb8c9a2-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile37ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:00 GMT + Etag: '"0x8D7D6E8B2F2FAF4"' + Last-Modified: Thu, 02 Apr 2020 09:32:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd778f-c01f-0017-72d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile37ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cec6acca-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile47ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B3016A2F"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7790-c01f-0017-73d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir37ffd1ec5%2Fsubfile47ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - ced5264c-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B30EA70B"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7791-c01f-0017-74d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cee48bd2-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile07ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B31EB5A0"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7792-c01f-0017-75d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile07ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cef278dc-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile17ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B32C874A"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7793-c01f-0017-76d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile17ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cf003fda-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile27ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B33EBFC4"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7794-c01f-0017-77d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile27ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cf1286b8-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile37ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B34C754F"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7795-c01f-0017-78d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile37ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cf201dd2-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile47ffd1ec5?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B35A36FF"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 4dfd7796-c01f-0017-79d1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fsubdir47ffd1ec5%2Fsubfile47ffd1ec5?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - cf2e051e-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:32:02 GMT + Etag: '"0x8D7D6E8B36798C7"' + Last-Modified: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 0811ba4b-201f-000f-15d1-084020000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - cf3a9f9a-74c4-11ea-b88d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:32:02 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5?mode=set&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directory7ffd1ec5/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:32:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 4dfd7797-c01f-0017-7ad1-089f47000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7ffd1ec5/directory7ffd1ec5?mode=set&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_async.yaml new file mode 100644 index 000000000000..7a8dcdca5cd9 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_async.yaml @@ -0,0 +1,996 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 45e719ea-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A450117"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0957-e01f-0000-6fd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46192598-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A51991A"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0958-e01f-0000-70d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4625c0be-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile043871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A5F67B2"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0959-e01f-0000-71d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile043871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 463385a0-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile143871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A6C1A0D"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095a-e01f-0000-72d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile143871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46400b5e-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile243871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A78DE40"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095b-e01f-0000-73d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile243871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 464cf27e-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile343871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A85DF39"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095c-e01f-0000-74d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile343871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4659bb58-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile443871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A9287CC"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095d-e01f-0000-75d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir043871a27%2Fsubfile443871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 466697ec-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72A9F0C77"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095e-e01f-0000-76d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 467345be-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile043871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72AACB32B"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf095f-e01f-0000-77d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile043871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4680c7a2-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile143871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72AB98C26"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0960-e01f-0000-78d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile143871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 468d91f8-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile243871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72AC65149"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0961-e01f-0000-79d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile243871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 469a634c-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile343871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:03 GMT + Etag: '"0x8D7D6E72AD331B5"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0962-e01f-0000-7ad0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile343871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46a7714a-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile443871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72AE10447"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0963-e01f-0000-7bd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir143871a27%2Fsubfile443871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46b51ce6-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72AEE2C07"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0964-e01f-0000-7cd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46c23f16-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile043871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72AFB4594"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0965-e01f-0000-7dd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile043871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46cf3478-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile143871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B07F23E"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0966-e01f-0000-7ed0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile143871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46dbe38a-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile243871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B14C693"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0967-e01f-0000-7fd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile243871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46ea3c64-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile343871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B23C0F4"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0968-e01f-0000-80d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile343871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 46f7a3f4-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile443871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B30D3C5"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0969-e01f-0000-01d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir243871a27%2Fsubfile443871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4704b242-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B3CDEB9"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096a-e01f-0000-02d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4710cd5c-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile043871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B49B39F"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096b-e01f-0000-03d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile043871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 471d9dfc-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile143871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B571A1D"' + Last-Modified: Thu, 02 Apr 2020 09:21:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096c-e01f-0000-04d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile143871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 472b041a-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile243871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B651995"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096d-e01f-0000-05d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile243871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 473909b6-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile343871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:04 GMT + Etag: '"0x8D7D6E72B71E752"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096e-e01f-0000-06d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile343871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4745ef32-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile443871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72B7EC88B"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf096f-e01f-0000-07d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir343871a27%2Fsubfile443871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 4752babe-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72B8B40BD"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0970-e01f-0000-08d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 475f1cf0-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile043871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72B980FE7"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0971-e01f-0000-09d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile043871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 476c041a-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile143871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72BA8DDF7"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0972-e01f-0000-0ad0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile143871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 477cc322-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile243871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72BB59C97"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0973-e01f-0000-0bd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile243871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47897e6e-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile343871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72BC28D63"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0974-e01f-0000-0cd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile343871a27?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47966f2a-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile443871a27?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:05 GMT + Etag: '"0x8D7D6E72BD022BB"' + Last-Modified: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cecf0977-e01f-0000-0fd0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27%2Fsubdir443871a27%2Fsubfile443871a27?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 47a3f000-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27?mode=modify&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":6,"failedEntries":[],"failureCount":0,"filesSuccessful":25} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:05 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: cecf0978-e01f-0000-10d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27?mode=modify&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 47c47730-74c3-11ea-bf8a-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:05 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem43871a27/directory43871a27?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:21:06 GMT + Etag: '"0x8D7D6E72A450117"' + Last-Modified: Thu, 02 Apr 2020 09:21:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: cecf0979-e01f-0000-11d0-08364c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem43871a27/directory43871a27?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_continue_on_failures_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_continue_on_failures_async.yaml new file mode 100644 index 000000000000..df23b2e7bd39 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_continue_on_failures_async.yaml @@ -0,0 +1,1570 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - fdbf0b3e-ec25-11ea-8852-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:30 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:29 GMT + Etag: '"0x8D84E49E1DA4E8D"' + Last-Modified: Tue, 01 Sep 2020 07:37:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: a3a8250b-601f-0096-7632-80fff0000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - azsdk-python-identity/1.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyIsImtpZCI6ImppYk5ia0ZTU2JteFBZck45Q0ZxUms0SzRndyJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU5ODk0NTU1MCwibmJmIjoxNTk4OTQ1NTUwLCJleHAiOjE1OTkwMzIyNTAsImFpbyI6IkUyQmdZQWhvNWV0b1oxKy9kbGt1MDBMdmZYSDFBQT09IiwiYXBwaWQiOiJjNmI1ZmUxYS05YjU5LTQ5NzUtOTJjNC1kOWY3MjhjM2MzNzEiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiZTMzOWFhM2YtZmM2YS00MDJiLTk3M2EtMzFjZDhkNjRiMjgwIiwicmgiOiIwLkFRRUF2NGo1Y3ZHR3IwR1JxeTE4MEJIYlJ4ci10Y1pabTNWSmtzVFo5eWpEdzNFYUFBQS4iLCJzdWIiOiJlMzM5YWEzZi1mYzZhLTQwMmItOTczYS0zMWNkOGQ2NGIyODAiLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1dGkiOiJUNHRyZ2liVXJFQ0VMcTl1RU9ZR0FBIiwidmVyIjoiMS4wIn0.HEw4Zp-YVFzsDGVYut-ZjlumXShfpIdDLjm-5wSV_NDVBPdHlKBBrKmsGNFGfY9u9MOTGBwcFpyloxlg5bDAjCRWpaYyW_Ikn5ARcpSNkRokofyFDBwOVspHijS_TCc5h9KcCGxbgQEl1d82LxdmcMWgAHhrw4GwK9nfmUuk8zGtFPyAuA89x86u-5lzwUoO71efC_RgiwktzHMig4fj-thuuSh5OmRQ0ub7m4rEt_1MuMDK-JSUkQp2e6GPnbJqOsHJ9-FJ8f3DOD4qo63qnr-rV2Kws6vTumXYaW7rRlpTehcjlbfAG084RujYpKbWSW4Fp4-PAKwR8d9zbrNjgA"}' + headers: + Cache-Control: no-store, no-cache + Content-Length: '1318' + Content-Type: application/json; charset=utf-8 + Date: Tue, 01 Sep 2020 07:37:29 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.11000.19 - WUS2 ProdSlices + x-ms-request-id: 826b8b4f-d426-40ac-842e-af6e10e60600 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fdffe712-ec25-11ea-be2b-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:30 GMT + Etag: '"0x8D84E49E263D6DC"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738f5-501f-0069-4432-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe414f8a-ec25-11ea-bec2-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:30 GMT + Etag: '"0x8D84E49E271611A"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738f6-501f-0069-4532-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe4ee6b0-ec25-11ea-a204-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile0c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E27F5AB7"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738f7-501f-0069-4632-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile0c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe5ccbd8-ec25-11ea-ae85-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile1c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E28D54A1"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738f8-501f-0069-4732-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile1c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe6aee1c-ec25-11ea-8394-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile2c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E29B8BA3"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738f9-501f-0069-4832-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile2c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe791cd8-ec25-11ea-90f2-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile3c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2A984DF"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738fa-501f-0069-4932-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile3c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe86fcd4-ec25-11ea-a8db-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile4c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2B79450"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738fc-501f-0069-4a32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir0c85c22e1%2Fsubfile4c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fe94b8d0-ec25-11ea-9041-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2C47AB2"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738fd-501f-0069-4b32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fea1f552-ec25-11ea-9b22-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile0c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2D29F23"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738fe-501f-0069-4c32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile0c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - feaf8d5e-ec25-11ea-a7da-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile1c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2DFB5B4"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 939738ff-501f-0069-4d32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile1c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - febd1c5c-ec25-11ea-acad-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:31 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile2c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2EDE643"' + Last-Modified: Tue, 01 Sep 2020 07:37:31 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973900-501f-0069-4e32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile2c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fecb6218-ec25-11ea-9746-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile3c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E2FC27FA"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973901-501f-0069-4f32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile3c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fed9b99a-ec25-11ea-b6dd-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile4c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:31 GMT + Etag: '"0x8D84E49E30A9516"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973902-501f-0069-5032-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir1c85c22e1%2Fsubfile4c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fee814ba-ec25-11ea-b9f3-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E318E5D5"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973903-501f-0069-5132-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - fef640a2-ec25-11ea-88cf-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile0c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E3276018"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973904-501f-0069-5232-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile0c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff04dbc8-ec25-11ea-beae-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile1c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E33652DE"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973905-501f-0069-5332-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile1c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff191214-ec25-11ea-a967-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile2c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E34A614A"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973906-501f-0069-5432-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile2c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff27857a-ec25-11ea-ab7c-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile3c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E3575496"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973907-501f-0069-5532-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile3c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff344dde-ec25-11ea-a869-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile4c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E364403F"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973908-501f-0069-5632-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir2c85c22e1%2Fsubfile4c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff410e48-ec25-11ea-b4b9-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E370826A"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973909-501f-0069-5732-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff4d3e0c-ec25-11ea-a465-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:32 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile0c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E37D3A47"' + Last-Modified: Tue, 01 Sep 2020 07:37:32 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973912-501f-0069-6032-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile0c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff5a8b6e-ec25-11ea-a28c-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile1c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E38B0F39"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973913-501f-0069-6132-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile1c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff68594c-ec25-11ea-a9db-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile2c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:32 GMT + Etag: '"0x8D84E49E398DECE"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973914-501f-0069-6232-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile2c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff7629ee-ec25-11ea-a136-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile3c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3A69AA0"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973915-501f-0069-6332-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile3c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff83e118-ec25-11ea-b22f-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile4c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3B4817B"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973916-501f-0069-6432-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir3c85c22e1%2Fsubfile4c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ff92ac6c-ec25-11ea-9afc-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3C3D59E"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973917-501f-0069-6532-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffa0ffa4-ec25-11ea-a6ae-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile0c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3D10ED3"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973918-501f-0069-6632-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile0c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffaedc3a-ec25-11ea-90c6-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile1c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3E0B6C6"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 93973919-501f-0069-6732-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile1c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffbdf812-ec25-11ea-99b7-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile2c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3EF1F03"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9397391a-501f-0069-6832-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile2c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffcc9eb8-ec25-11ea-a9f6-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile3c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E3FE8810"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9397391b-501f-0069-6932-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile3c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffdbfd28-ec25-11ea-9d27-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile4c85c22e1?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E40DA82A"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9397391c-501f-0069-6a32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fsubdir4c85c22e1%2Fsubfile4c85c22e1?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - ffeb6a64-ec25-11ea-97e6-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:33 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 01 Sep 2020 07:37:33 GMT + Etag: '"0x8D84E49E41C544D"' + Last-Modified: Tue, 01 Sep 2020 07:37:33 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: a3a8251a-601f-0096-0532-80fff0000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - fff9a2a8-ec25-11ea-817f-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directoryc85c22e1/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbwj6PE5qvA2n0YbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjBjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397391d-501f-0069-6b32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 001c6468-ec26-11ea-b423-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbwj6PE5qvA2n0YbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjBjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbt2e6ptdGFiMkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397391e-501f-0069-6c32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbwj6PE5qvA2n0YbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjBjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 002ac6ae-ec26-11ea-9d9f-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbt2e6ptdGFiMkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbmsvz4uPPJ4qwBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397391f-501f-0069-6d32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbt2e6ptdGFiMkBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 0038a82e-ec26-11ea-bfc5-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbmsvz4uPPJ4qwBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbKxZXTn8WZ0LABGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973920-501f-0069-6e32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbmsvz4uPPJ4qwBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIwYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 0048258a-ec26-11ea-997a-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbKxZXTn8WZ0LABGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaD7OaHkP6OrrQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973921-501f-0069-6f32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbKxZXTn8WZ0LABGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 0057ae4c-ec26-11ea-a04d-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaD7OaHkP6OrrQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaIh/TWndzCxNEBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973923-501f-0069-7032-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaD7OaHkP6OrrQBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 0068be24-ec26-11ea-8e2d-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaIh/TWndzCxNEBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb75LGV64mMsBgYbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973924-501f-0069-7132-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaIh/TWndzCxNEBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIxYzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 007a4818-ec26-11ea-a8d9-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:34 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBb75LGV64mMsBgYbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaxsv71/4+TxDMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973925-501f-0069-7232-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBb75LGV64mMsBgYbBhnL2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 008a7b7e-ec26-11ea-a118-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaxsv71/4%2BTxDMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa62eyk8q3frlYYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973926-501f-0069-7332-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaxsv71/4%2BTxDMYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00993888-ec26-11ea-8118-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBa62eyk8q3frlYYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbBroeCkufVutUBGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIzYzg1YzIyZTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973927-501f-0069-7432-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBa62eyk8q3frlYYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjJjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00ae871e-ec26-11ea-b56c-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbBroeCkufVutUBGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIzYzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbfh/bb2qCY4k4YfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973928-501f-0069-7532-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbBroeCkufVutUBGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXIzYzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00bf09ac-ec26-11ea-8734-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbfh/bb2qCY4k4YfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbU7OSK14LUiCsYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 93973929-501f-0069-7632-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbfh/bb2qCY4k4YfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlMWM4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00cf7922-ec26-11ea-a96f-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbU7OSK14LUiCsYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaxlLrvlvvL1t8BGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397392a-501f-0069-7732-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBbU7OSK14LUiCsYfRh4L2dlbjFnZW4yZG9tYWluMQEwMUQ2MTNDM0ZFNkNDQTg0L2ZpbGVzeXN0ZW1jODVjMjJlMQEwMUQ2ODAzMkJGNjFCMjZCL2RpcmVjdG9yeWM4NWMyMmUxL3N1YmRpcjNjODVjMjJlMS9zdWJmaWxlM2M4NWMyMmUxFgAAAA%3D%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00e03686-ec26-11ea-8505-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaxlLrvlvvL1t8BGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaq8bDu35PX78MBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397392b-501f-0069-7832-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaxlLrvlvvL1t8BGGwYZy9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEWAAAA&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00efbc40-ec26-11ea-b068-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaq8bDu35PX78MBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBahmqK/0rGbhaYBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA= + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397392c-501f-0069-7932-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBaq8bDu35PX78MBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTFjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 00fe5830-ec26-11ea-9a75-001a7dda7113 + x-ms-date: + - Tue, 01 Sep 2020 07:37:35 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBahmqK/0rGbhaYBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Tue, 01 Sep 2020 07:37:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9397392d-501f-0069-7a32-80cf6d000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://gen1gen2domain1.dfs.core.windows.net/filesystemc85c22e1/directoryc85c22e1?continuation=VBahmqK/0rGbhaYBGH0YeC9nZW4xZ2VuMmRvbWFpbjEBMDFENjEzQzNGRTZDQ0E4NC9maWxlc3lzdGVtYzg1YzIyZTEBMDFENjgwMzJCRjYxQjI2Qi9kaXJlY3RvcnljODVjMjJlMS9zdWJkaXI0Yzg1YzIyZTEvc3ViZmlsZTNjODVjMjJlMRYAAAA%3D&mode=modify&forceFlag=true&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_async.yaml new file mode 100644 index 000000000000..6cff4bca82da --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_async.yaml @@ -0,0 +1,1506 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 58d38264-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:34 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D3EF8C0"' + Last-Modified: Thu, 02 Apr 2020 09:21:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee817f-201f-0052-65d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5912832e-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D4B3128"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8180-201f-0052-66d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 592233aa-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile07cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D5C4A8B"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8181-201f-0052-67d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile07cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 592fdadc-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile17cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D686C00"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8182-201f-0052-68d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile17cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 593bf89e-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile27cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D74C0A7"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8183-201f-0052-69d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile27cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59484c16-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile37cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D813BB7"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8184-201f-0052-6ad0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile37cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5954d166-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile47cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D8DCC32"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8185-201f-0052-6bd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir07cbc1e96%2Fsubfile47cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5961aca6-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73D9A2DD1"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8186-201f-0052-6cd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 596e0276-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile07cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73DA69A63"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8187-201f-0052-6dd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile07cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 597a1dea-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile17cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73DB2FAA7"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8188-201f-0052-6ed0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile17cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59869584-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile27cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73DBFCD61"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8189-201f-0052-6fd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile27cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59934d42-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile37cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:34 GMT + Etag: '"0x8D7D6E73DCC2B0E"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818a-201f-0052-70d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile37cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 599fbef6-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:35 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile47cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73DD8A4D6"' + Last-Modified: Thu, 02 Apr 2020 09:21:35 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818b-201f-0052-71d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir17cbc1e96%2Fsubfile47cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59ac35dc-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73DE4CA43"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818c-201f-0052-72d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59b862b2-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile07cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73DF15FC9"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818d-201f-0052-73d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile07cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59c4f3ec-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile17cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73DFDDF95"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818e-201f-0052-74d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile17cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59d17a18-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile27cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E0A6F47"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee818f-201f-0052-75d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile27cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59de04cc-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile37cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E16E1CD"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8190-201f-0052-76d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile37cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59ea5100-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile47cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E232493"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8191-201f-0052-77d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir27cbc1e96%2Fsubfile47cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 59f6b6b6-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E2F1BC5"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8192-201f-0052-78d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a02994a-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile07cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E3B8E5B"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8193-201f-0052-79d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile07cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a0f27f0-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile17cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E481678"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8194-201f-0052-7ad0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile17cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a1bb0c4-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile27cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E557E47"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8195-201f-0052-7bd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile27cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a28d83a-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile37cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E61CA08"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8196-201f-0052-7cd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile37cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a352be4-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile47cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:35 GMT + Etag: '"0x8D7D6E73E6DF129"' + Last-Modified: Thu, 02 Apr 2020 09:21:36 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8197-201f-0052-7dd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir37cbc1e96%2Fsubfile47cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a419c12-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:36 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73E7A2126"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8198-201f-0052-7ed0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a4dc3fc-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile07cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73E86B7B3"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee8199-201f-0052-7fd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile07cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a5a2d68-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile17cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73E931599"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee819a-201f-0052-80d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile17cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a6684be-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile27cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73E9FD43D"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee819b-201f-0052-01d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile27cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a733b1e-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile37cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73EAC1CC9"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee819c-201f-0052-02d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile37cbc1e96?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5a7f8e50-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile47cbc1e96?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:21:37 GMT + Etag: '"0x8D7D6E73EB86463"' + Last-Modified: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 3bee819d-201f-0052-03d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96%2Fsubdir47cbc1e96%2Fsubfile47cbc1e96?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5a8bb89c-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaBjOC3gsS31rUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee819e-201f-0052-04d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5a98c212-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaBjOC3gsS31rUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaK5/Lmj+b7vNABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee819f-201f-0052-05d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaBjOC3gsS31rUBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5aa598de-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaK5/Lmj%2Bb7vNABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbAl/mc8pS82hcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a0-201f-0052-06d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaK5/Lmj%2Bb7vNABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjA3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5ab2a48e-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbAl/mc8pS82hcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbvueiZp+u88MgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a1-201f-0052-07d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbAl/mc8pS82hcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5abf9630-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbvueiZp%2Bu88MgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbk0vrIqsnwmq0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a2-201f-0052-08d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbvueiZp%2Bu88MgBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5acc3ea8-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbk0vrIqsnwmq0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBauovGy17u3/GoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMTdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a3-201f-0052-09d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbk0vrIqsnwmq0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjE3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5ad8eab8-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:37 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBauovGy17u3/GoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMTdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:37 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbd5/DryJqhmk8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a4-201f-0052-0ad0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBauovGy17u3/GoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMTdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5ae63e84-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbd5/DryJqhmk8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbWjOK6xbjt8CoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a5-201f-0052-0bd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbd5/DryJqhmk8YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5af319d8-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbWjOK6xbjt8CoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBac/OnAuMqqlu0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjI3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a6-201f-0052-0cd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbWjOK6xbjt8CoYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMjdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b000da0-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBac/OnAuMqqlu0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjI3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaz0vjF7bWqvDIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a7-201f-0052-0dd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBac/OnAuMqqlu0BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjI3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b0cfd44-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaz0vjF7bWqvDIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa4ueqU4Jfm1lcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a8-201f-0052-0ed0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaz0vjF7bWqvDIYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUwN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b19d8e8-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBa4ueqU4Jfm1lcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbyyeHuneWhsJABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjM3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81a9-201f-0052-0fd0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBa4ueqU4Jfm1lcYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyMzdjYmMxZTk2L3N1YmZpbGUyN2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b27131e-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbyyeHuneWhsJABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjM3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbGpL7w6Iblsb8BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81aa-201f-0052-10d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbyyeHuneWhsJABGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjM3Y2JjMWU5Ni9zdWJmaWxlNDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b34eec6-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbGpL7w6Iblsb8BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbNz6yh5aSp29oBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81ab-201f-0052-11d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbGpL7w6Iblsb8BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMDdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b423914-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbNz6yh5aSp29oBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaHv6fbmNbuvR0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyNDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81ac-201f-0052-12d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBbNz6yh5aSp29oBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW03Y2JjMWU5NgEwMUQ2MDhEMDFBN0Q3RUM1L2RpcmVjdG9yeTdjYmMxZTk2L3N1YmRpcjQ3Y2JjMWU5Ni9zdWJmaWxlMjdjYmMxZTk2FgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5b4f38a8-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaHv6fbmNbuvR0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyNDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 3bee81ad-201f-0052-13d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?continuation=VBaHv6fbmNbuvR0YeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbTdjYmMxZTk2ATAxRDYwOEQwMUE3RDdFQzUvZGlyZWN0b3J5N2NiYzFlOTYvc3ViZGlyNDdjYmMxZTk2L3N1YmZpbGU0N2NiYzFlOTYWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5b5c1bae-74c3-11ea-8ccd-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:21:38 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:21:38 GMT + Etag: '"0x8D7D6E73D3EF8C0"' + Last-Modified: Thu, 02 Apr 2020 09:21:34 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: 3bee81ae-201f-0052-14d0-084aa4000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem7cbc1e96/directory7cbc1e96?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_with_progress_callback_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_with_progress_callback_async.yaml new file mode 100644 index 000000000000..ac8f18a83f8a --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_in_batches_with_progress_callback_async.yaml @@ -0,0 +1,1506 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a2cc8da2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:38 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E78736DD28"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90462-401f-006b-09d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a30a9890-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E78742A5CE"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90463-401f-006b-0ad0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a316685a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile0af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E7874F8F40"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90464-401f-006b-0bd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile0af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a323386e-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile1af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E7875C1D28"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90465-401f-006b-0cd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile1af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a32ffc66-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile2af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E7876897FB"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90466-401f-006b-0dd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile2af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a33c6d2a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile3af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E78774DDF1"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90467-401f-006b-0ed0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile3af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a34896ae-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile4af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E787815107"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90468-401f-006b-0fd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir0af1e2811%2Fsubfile4af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3550d76-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E7878D4A12"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90469-401f-006b-10d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3615ae0-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile0af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E78799C4D5"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046a-401f-006b-11d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile0af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a36d9f6c-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile1af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E787A6E141"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046b-401f-006b-12d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile1af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a37aa11c-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile2af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E787B31D55"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046c-401f-006b-13d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile2af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a38ae784-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:39 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile3af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:38 GMT + Etag: '"0x8D7D6E787C34E36"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046d-401f-006b-14d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile3af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3972c88-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile4af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E787CF77F7"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046e-401f-006b-15d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir1af1e2811%2Fsubfile4af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3a32588-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E787DB452B"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9046f-401f-006b-16d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3af2360-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile0af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E787E7B375"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90470-401f-006b-17d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile0af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3bb7e44-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile1af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E787F466B2"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90471-401f-006b-18d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile1af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3c8024a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile2af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E788006885"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90472-401f-006b-19d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile2af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3d4087e-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile3af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E7880C99F3"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90473-401f-006b-1ad0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile3af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3e0368a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile4af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E78818E4ED"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90474-401f-006b-1bd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir2af1e2811%2Fsubfile4af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3ecbcde-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E78825AF7A"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90475-401f-006b-1cd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a3f988ec-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile0af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E788322E78"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90476-401f-006b-1dd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile0af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a40601b2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile1af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E7883E9B15"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90477-401f-006b-1ed0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile1af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a4125d40-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile2af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E7884B1275"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90478-401f-006b-1fd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile2af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a41eedc6-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile3af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E78857A4B2"' + Last-Modified: Thu, 02 Apr 2020 09:23:40 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90479-401f-006b-20d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile3af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a42b75c8-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:40 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile4af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:40 GMT + Etag: '"0x8D7D6E788648B17"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047a-401f-006b-21d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir3af1e2811%2Fsubfile4af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a438617a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E788707B41"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047b-401f-006b-22d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a4445804-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile0af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E7887DB4BD"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047c-401f-006b-23d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile0af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a4518db2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile1af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E7888B674B"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047d-401f-006b-24d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile1af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a45f3fde-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile2af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E788992156"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047e-401f-006b-25d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile2af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a46ccfaa-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile3af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E788A56F42"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff9047f-401f-006b-26d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile3af1e2811?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a4794abe-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile4af1e2811?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:23:41 GMT + Etag: '"0x8D7D6E788B205BA"' + Last-Modified: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cff90480-401f-006b-27d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811%2Fsubdir4af1e2811%2Fsubfile4af1e2811?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a485bcae-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":2,"failedEntries":[],"failureCount":0,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaHnN7Qz5icj/4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90481-401f-006b-28d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a49327c2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaHnN7Qz5icj/4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaM98yBwrrQ5ZsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90482-401f-006b-29d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaHnN7Qz5icj/4BGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a49ff3e4-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaM98yBwrrQ5ZsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbGh8f7v8iXg1wYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90483-401f-006b-2ad0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaM98yBwrrQ5ZsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjBhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4ad1fc4-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbGh8f7v8iXg1wYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbpqdb+6reXqYMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90484-401f-006b-2bd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbGh8f7v8iXg1wYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4ba3376-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:41 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbpqdb%2B6reXqYMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbiwsSv55Xbw+YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90485-401f-006b-2cd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbpqdb%2B6reXqYMBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4c866d0-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbiwsSv55Xbw%2BYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:41 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaoss/VmuecpSEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMWFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90486-401f-006b-2dd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbiwsSv55Xbw%2BYBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjFhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4d548dc-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaoss/VmuecpSEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMWFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbb986MhcaKwwQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90487-401f-006b-2ed0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaoss/VmuecpSEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMWFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4e27eee-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbb986MhcaKwwQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbQnNzdiOTGqWEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90488-401f-006b-2fd0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbb986MhcaKwwQYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4ef0448-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbQnNzdiOTGqWEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaa7Nen9ZaBz6YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjJhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90489-401f-006b-30d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbQnNzdiOTGqWEYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyMmFmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a4fc06fc-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaa7Nen9ZaBz6YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjJhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa1wsaioOmB5XkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048a-401f-006b-31d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaa7Nen9ZaBz6YBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjJhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a509749a-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBa1wsaioOmB5XkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBa+qdTzrcvNjxwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048b-401f-006b-32d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBa1wsaioOmB5XkYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUwYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a51620d2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBa%2BqdTzrcvNjxwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBb02d+J0LmK6dsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjNhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048c-401f-006b-33d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBa%2BqdTzrcvNjxwYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyM2FmMWUyODExL3N1YmZpbGUyYWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a5237336-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBb02d%2BJ0LmK6dsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjNhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbAtICXpdrO6PQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048d-401f-006b-34d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBb02d%2BJ0LmK6dsBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjNhZjFlMjgxMS9zdWJmaWxlNGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a530cde2-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbAtICXpdrO6PQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBbL35LGqPiCgpEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA== + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048e-401f-006b-35d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbAtICXpdrO6PQBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMGFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a53dd352-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbL35LGqPiCgpEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":2} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-continuation: VBaBr5m81YrF5FYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyNGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff9048f-401f-006b-36d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBbL35LGqPiCgpEBGHkYdC9hY2xjYm4wNnN0ZgEwMUQ1RDdFM0RDRUM2QkUwL2ZpbGVzeXN0ZW1hZjFlMjgxMQEwMUQ2MDhEMDY0NjlBNDk5L2RpcmVjdG9yeWFmMWUyODExL3N1YmRpcjRhZjFlMjgxMS9zdWJmaWxlMmFmMWUyODExFgAAAA%3D%3D&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - a54ae830-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaBr5m81YrF5FYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyNGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: cff90490-401f-006b-37d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?continuation=VBaBr5m81YrF5FYYeRh0L2FjbGNibjA2c3RmATAxRDVEN0UzRENFQzZCRTAvZmlsZXN5c3RlbWFmMWUyODExATAxRDYwOEQwNjQ2OUE0OTkvZGlyZWN0b3J5YWYxZTI4MTEvc3ViZGlyNGFmMWUyODExL3N1YmZpbGU0YWYxZTI4MTEWAAAA&mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - a557f6ce-74c3-11ea-9165-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:23:42 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 09:23:42 GMT + Etag: '"0x8D7D6E78736DD28"' + Last-Modified: Thu, 02 Apr 2020 09:23:39 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: cff90491-401f-006b-38d0-08b1b8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemaf1e2811/directoryaf1e2811?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_with_failures_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_with_failures_async.yaml new file mode 100644 index 000000000000..c111da9feb21 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_directory_async.test_update_access_control_recursive_with_failures_async.yaml @@ -0,0 +1,2145 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - bdefb384-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:24 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:23 GMT + Etag: '"0x8D7D6E7A250531C"' + Last-Modified: Thu, 02 Apr 2020 09:24:24 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: cc7aaff0-e01f-005d-58d0-083cc8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + User-Agent: + - azsdk-python-identity/1.4.0b2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSIsImtpZCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU4NTgxOTE2NCwibmJmIjoxNTg1ODE5MTY0LCJleHAiOjE1ODU5MDU4NjQsImFpbyI6IjQyZGdZUGdUMHJjcTN2ZEgzZjcvdis1WEc4Z3RBd0E9IiwiYXBwaWQiOiI2ODM5MGExOS1hNjQzLTQ1OGItYjcyNi00MDhhYmY2N2I0ZmMiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwic3ViIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoid1Vldmc3eEZFRTItdHA4V3E4UjBBQSIsInZlciI6IjEuMCJ9.Jy92gA0bPgkPyYGtrAl9nz6R02XxU9T8QPqt8xUtZZ9XtZFe6ut58Sd660N2SxGA9zw2mg6cwKKHDf_Ad89Ghtssq7Krmm7T2I1dPNoGBEQgodDP9H8fZfLOtEV182Tt9dvKy1D0qiYmZa4lQRh9hptsu9xNluMJrbyMNNOjtD-iJqCgJADWwoJha-TFcZcRbwpGkiFBt9pR2oYuboYeHwEYPfzo3iEK3oQ5ZDrCk2qhOd4BtOyuoDiNW6khqIMo3QWx9cEVb2dIsw3RPHAGzpKEzdEpaehBxfOdEe7Ys8-sH3kEb7d2vHEhw0EKBummjxQqY649xqWyVAHIxx-gUQ"}' + headers: + Cache-Control: no-cache, no-store + Content-Length: '1235' + Content-Type: application/json; charset=utf-8 + Date: Thu, 02 Apr 2020 09:24:24 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.10244.32 - SAN ProdSlices + x-ms-request-id: 83af47c1-45bc-4d10-beb6-9f16abc47400 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - be2ebb10-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:24 GMT + Etag: '"0x8D7D6E7A2C7235E"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f6f-701f-003d-14d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - be9ae844-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A2D4380C"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f70-701f-003d-15d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bea7f6a6-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A2E16C16"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f71-701f-003d-16d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - beb51cd2-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A2EE43C3"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f72-701f-003d-17d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bec1f164-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A2FB3AC7"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f73-701f-003d-18d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - becee810-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A307F8E1"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f74-701f-003d-19d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bede1bfa-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A317C16F"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f75-701f-003d-1ad0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - beeb7674-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A32428FF"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f76-701f-003d-1bd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bef7dd1a-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:25 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A3311721"' + Last-Modified: Thu, 02 Apr 2020 09:24:25 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f77-701f-003d-1cd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf04c624-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A33DEA3C"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f78-701f-003d-1dd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf11a4f2-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A34ABF12"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f79-701f-003d-1ed0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf1ea788-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A357916B"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7a-701f-003d-1fd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf2b98a8-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:25 GMT + Etag: '"0x8D7D6E7A364AE29"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7b-701f-003d-20d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf38acd2-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3713F5B"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7c-701f-003d-21d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf453dda-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A37E6C84"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7d-701f-003d-22d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf524f8e-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A38B714D"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7e-701f-003d-23d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf5f5076-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3987B4D"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f7f-701f-003d-24d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf6c5c94-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3A581E9"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f80-701f-003d-25d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf795b06-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3B29E07"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f81-701f-003d-26d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf869776-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3BF89C1"' + Last-Modified: Thu, 02 Apr 2020 09:24:26 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f82-701f-003d-27d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bf9344a8-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:26 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3CC63C3"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f83-701f-003d-28d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfa052f6-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3D99F85"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f84-701f-003d-29d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfad85d4-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3E6B4C3"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f85-701f-003d-2ad0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfbaa1ba-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A3F3C5B2"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f86-701f-003d-2bd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfc7b59e-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:26 GMT + Etag: '"0x8D7D6E7A4015C0B"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f87-701f-003d-2cd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfd55eec-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A40E2D6D"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f88-701f-003d-2dd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfe1e266-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A41B6C0C"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f89-701f-003d-2ed0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bfef5c3e-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A428B1C4"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f8a-701f-003d-2fd0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - bffc930e-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A4361B48"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f8b-701f-003d-30d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c009dc94-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A44348F7"' + Last-Modified: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f8c-701f-003d-31d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c02d2244-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:27 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A466E850"' + Last-Modified: Thu, 02 Apr 2020 09:24:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: b3817f8d-701f-003d-32d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c03b6278-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:28 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:24:27 GMT + Etag: '"0x8D7D6E7A4747FEC"' + Last-Modified: Thu, 02 Apr 2020 09:24:28 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cc7aaff1-e01f-005d-59d0-083cc8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c057b3a6-74c3-11ea-ab46-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:28 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorydd3c1ffc/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:24:27 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: b3817f8e-701f-003d-33d0-084057000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?mode=modify&maxRecords=2&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - ca2e1cb2-74c3-11ea-9807-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:24:44 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl + response: + body: + string: '{"error":{"code":"FilesystemNotFound","message":"The specified filesystem + does not exist.\nRequestId:df49cb3c-f01f-001c-7bd0-08642c000000\nTime:2020-04-02T09:24:45.0281327Z"}}' + headers: + Content-Length: '175' + Content-Type: application/json;charset=utf-8 + Date: Thu, 02 Apr 2020 09:24:44 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: FilesystemNotFound + x-ms-request-id: df49cb3c-f01f-001c-7bd0-08642c000000 + x-ms-version: '2019-12-12' + status: + code: 404 + message: The specified filesystem does not exist. + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::--x,group::--x,other::--x + x-ms-client-request-id: + - d3eb2470-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:01 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:01 GMT + Etag: '"0x8D7D6E7B85AB63E"' + Last-Modified: Thu, 02 Apr 2020 09:25:01 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: 0acd079b-f01f-0041-5ad0-086ea8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/%2F?action=setAccessControl +- request: + body: + client_id: 68390a19-a897-236b-b453-488abf67b4fc + client_secret: 3Ujhg7pzkOeE7flc6Z187ugf5/cJnszGPjAiXmcwhaY= + grant_type: client_credentials + scope: https://storage.azure.com/.default + headers: + User-Agent: + - azsdk-python-identity/1.4.0b2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + method: POST + uri: https://login.microsoftonline.com/32f988bf-54f1-15af-36ab-2d7cd364db47/oauth2/v2.0/token + response: + body: + string: '{"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSIsImtpZCI6IllNRUxIVDBndmIwbXhvU0RvWWZvbWpxZmpZVSJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTU4NTgxOTIwMSwibmJmIjoxNTg1ODE5MjAxLCJleHAiOjE1ODU5MDU5MDEsImFpbyI6IjQyZGdZQWdJKzJYeE1YQmV6T0x6anF2ZmZmRytEd0E9IiwiYXBwaWQiOiI2ODM5MGExOS1hNjQzLTQ1OGItYjcyNi00MDhhYmY2N2I0ZmMiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwic3ViIjoiYzRmNDgyODktYmI4NC00MDg2LWIyNTAtNmY5NGE4ZjY0Y2VlIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidXRpIjoiZUdSbmVJQm1MRVdFaERqU0lXRjNBQSIsInZlciI6IjEuMCJ9.afeID0xaAg9YRI8NboLj9QsS-ld80SXbCbt07afefnSPRoyceXJhecrwxNG7TQIZbKSRMMGrHxCfBw5XugCRiirGmNJX0-EtO-tF_a9LJdaxLhLq2kiySbwrTYNp357qvpIi3DW07dZGxOJsGM2Niju4T9rRdWvygB_D5zPnV-6p6pPGFDcSnQCCSSj04AQRsTF-kDgWTtPNg4Rvw7Ssu6Qop2i7aB_nWUP3qwr8cLZPuDX2K7qJz8CqPpJeHzlkAKfQEiegBlBjnha241AJ0T2otTa5KhEjvoZbGhfkGeJi6mhqGpq6QHFwubHjEGhARMqyvEcTBw-qSuPBgNpbpA"}' + headers: + Cache-Control: no-cache, no-store + Content-Length: '1235' + Content-Type: application/json; charset=utf-8 + Date: Thu, 02 Apr 2020 09:25:01 GMT + Expires: '-1' + P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: no-cache + Set-Cookie: stsservicecookie=ests; path=/; SameSite=None; secure; HttpOnly + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Content-Type-Options: nosniff + x-ms-ests-server: 2.1.10244.32 - SAN ProdSlices + x-ms-request-id: 78676478-6680-452c-8484-38d221617700 + status: + code: 200 + message: OK + url: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4387374-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:01 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B8D43509"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed76f-601f-0021-30d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4a827aa-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B8E0D2DD"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed770-601f-0021-31d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4b4ac96-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B8EE0BE4"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed771-601f-0021-32d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4c1f4d2-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B8FC3A8D"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed772-601f-0021-33d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4d04a46-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B90A27DC"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed773-601f-0021-34d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4de2b0c-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B9170799"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed774-601f-0021-35d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4eae888-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B9241022"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed775-601f-0021-36d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir0dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d4f81120-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B9309D57"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed776-601f-0021-37d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d504a5ca-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:02 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B93DB727"' + Last-Modified: Thu, 02 Apr 2020 09:25:02 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed777-601f-0021-38d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d511a450-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B94AB7FD"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed778-601f-0021-39d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d51eb3e8-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B957BCA8"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed779-601f-0021-3ad0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d52bc6b4-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:02 GMT + Etag: '"0x8D7D6E7B965234A"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77a-601f-0021-3bd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d53912ec-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B97258CA"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77b-601f-0021-3cd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir1dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5465b5a-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B97F2644"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77c-601f-0021-3dd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5530d46-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B98C401F"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77d-601f-0021-3ed0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d56012a2-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9997DFF"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77e-601f-0021-3fd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d56d8c66-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9A6B24C"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed77f-601f-0021-40d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d57ab184-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9B3DBB0"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed780-601f-0021-41d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d587d60c-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9C0FABC"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed781-601f-0021-42d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir2dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d594fa12-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9CDDF68"' + Last-Modified: Thu, 02 Apr 2020 09:25:03 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed782-601f-0021-43d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5a1e0a6-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:03 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9DB3DAE"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed783-601f-0021-44d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5af1c76-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9E84A16"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed786-601f-0021-47d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5bc42fc-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7B9F5E505"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed787-601f-0021-48d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5c9b784-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:03 GMT + Etag: '"0x8D7D6E7BA02EF75"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed788-601f-0021-49d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5d6dc98-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA114E07"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed789-601f-0021-4ad0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir3dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5e54008-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA1E1799"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78a-601f-0021-4bd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5f1f53c-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA2B93D8"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78b-601f-0021-4cd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile0dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d5ff8eea-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA38F151"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78c-601f-0021-4dd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile1dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d60cc538-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA4651E4"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78d-601f-0021-4ed0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile2dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d61a2494-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA5367CD"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78e-601f-0021-4fd0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile3dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d62781c0-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA60CF94"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 8d7ed78f-601f-0021-50d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fsubdir4dd3c1ffc%2Fsubfile4dd3c1ffc?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d634f3be-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:04 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fcannottouchthis?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 09:25:04 GMT + Etag: '"0x8D7D6E7BA6DEE5C"' + Last-Modified: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 0acd079e-f01f-0041-5dd0-086ea8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc%2Fcannottouchthis?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d6424014-74c3-11ea-8793-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 09:25:05 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?mode=modify&maxRecords=2&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":1,"failedEntries":[{"errorMessage":"This request + is not authorized to perform this operation using this permission.","name":"directorydd3c1ffc/cannottouchthis","type":"FILE"}],"failureCount":1,"filesSuccessful":0} + + ' + headers: + Date: Thu, 02 Apr 2020 09:25:04 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 8d7ed790-601f-0021-51d0-081237000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystemdd3c1ffc/directorydd3c1ffc?mode=modify&maxRecords=2&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_remove_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_remove_access_control_recursive.yaml new file mode 100644 index 000000000000..e871194d5bda --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_remove_access_control_recursive.yaml @@ -0,0 +1,90 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 61bac300-74bf-11ea-b1ff-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:53:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystembaa61303/filebaa61303?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 08:53:11 GMT + ETag: + - '"0x8D7D6E346240844"' + Last-Modified: + - Thu, 02 Apr 2020 08:53:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8ebb23ba-201f-006d-4ccc-088207000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 61f8d690-74bf-11ea-b1ff-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:53:11 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystembaa61303/filebaa61303?mode=remove&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 08:53:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 8ebb23bc-201f-006d-4dcc-088207000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_access_control_recursive.yaml new file mode 100644 index 000000000000..97b9bcd14116 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_access_control_recursive.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 50b9682c-74bf-11ea-b4b0-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:52:43 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem82ad11c1/file82ad11c1?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 08:52:43 GMT + ETag: + - '"0x8D7D6E3353FAF66"' + Last-Modified: + - Thu, 02 Apr 2020 08:52:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 938aaada-e01f-0062-14cc-08f46b000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 51165aa0-74bf-11ea-b4b0-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:52:43 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem82ad11c1/file82ad11c1?mode=set&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 08:52:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 938aaadc-e01f-0062-15cc-08f46b000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5125a53c-74bf-11ea-b4b0-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:52:43 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem82ad11c1/file82ad11c1?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 08:52:43 GMT + ETag: + - '"0x8D7D6E3353FAF66"' + Last-Modified: + - Thu, 02 Apr 2020 08:52:43 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 938aaadd-e01f-0062-16cc-08f46b000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_expiry.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_expiry.yaml new file mode 100644 index 000000000000..f21edffa71c6 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_set_expiry.yaml @@ -0,0 +1,208 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 08a85f0a-9f22-11ea-b31d-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:11 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem84ed0a59/directory84ed0a59?resource=directory + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Tue, 26 May 2020 07:25:11 GMT + ETag: + - '"0x8D80145ED25E619"' + Last-Modified: + - Tue, 26 May 2020 07:25:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9388e921-901f-0066-392e-330280000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 08fa93dc-9f22-11ea-bf47-001a7dda7113 + x-ms-content-disposition: + - inline + x-ms-content-language: + - spanish + x-ms-date: + - Tue, 26 May 2020 07:25:11 GMT + x-ms-properties: + - hello=d29ybGQ=,number=NDI= + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem84ed0a59/directory84ed0a59%2Fnewfile?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Tue, 26 May 2020 07:25:11 GMT + ETag: + - '"0x8D80145ED335B0A"' + Last-Modified: + - Tue, 26 May 2020 07:25:11 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 9388e922-901f-0066-3a2e-330280000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 09086e8c-9f22-11ea-bd32-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:11 GMT + x-ms-expiry-option: + - Absolute + x-ms-expiry-time: + - Tue, 26 May 2020 08:25:11 GMT + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.blob.core.windows.net/filesystem84ed0a59/directory84ed0a59/newfile?comp=expiry + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Tue, 26 May 2020 07:25:12 GMT + ETag: + - '"0x8D80145ED335B0A"' + Last-Modified: + - Tue, 26 May 2020 07:25:11 GMT + Server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 8528af15-701e-009a-2a2e-33d379000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 098639e8-9f22-11ea-8208-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:12 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.blob.core.windows.net/filesystem84ed0a59/directory84ed0a59/newfile + response: + body: + string: '' + headers: + Accept-Ranges: + - bytes + Content-Disposition: + - inline + Content-Language: + - spanish + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 26 May 2020 07:25:12 GMT + ETag: + - '"0x8D80145ED335B0A"' + Last-Modified: + - Tue, 26 May 2020 07:25:11 GMT + Server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - Hot + x-ms-access-tier-inferred: + - 'true' + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Tue, 26 May 2020 07:25:11 GMT + x-ms-expiry-time: + - Tue, 26 May 2020 08:25:11 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-meta-hello: + - world + x-ms-meta-number: + - '42' + x-ms-request-id: + - 8528af6d-701e-009a-792e-33d379000000 + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_update_access_control_recursive.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_update_access_control_recursive.yaml new file mode 100644 index 000000000000..9bca126a3253 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file.test_update_access_control_recursive.yaml @@ -0,0 +1,136 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5eef33ae-74bf-11ea-ae7e-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:53:06 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystemb98a12f8/fileb98a12f8?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Thu, 02 Apr 2020 08:53:06 GMT + ETag: + - '"0x8D7D6E343554718"' + Last-Modified: + - Thu, 02 Apr 2020 08:53:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: + - 4d4551d7-c01f-004a-37cc-0895c3000000 + x-ms-version: + - '2019-12-12' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - 5f299328-74bf-11ea-ae7e-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:53:07 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystemb98a12f8/fileb98a12f8?mode=modify&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: + - Thu, 02 Apr 2020 08:53:06 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: + - chunked + x-ms-namespace-enabled: + - 'true' + x-ms-request-id: + - 4d4551d8-c01f-004a-38cc-0895c3000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 5f397388-74bf-11ea-ae7e-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:53:07 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystemb98a12f8/fileb98a12f8?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: + - Thu, 02 Apr 2020 08:53:06 GMT + ETag: + - '"0x8D7D6E343554718"' + Last-Modified: + - Thu, 02 Apr 2020 08:53:07 GMT + Server: + - Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-group: + - $superuser + x-ms-owner: + - $superuser + x-ms-permissions: + - rwxr-xrwx + x-ms-request-id: + - 4d4551d9-c01f-004a-39cc-0895c3000000 + x-ms-version: + - '2019-12-12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_append_empty_data_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_append_empty_data_async.yaml index e46a3bac4f6f..a65eb9dda83d 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_append_empty_data_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_append_empty_data_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0605d5a6-af4c-11ea-b5e7-001a7dda7113 + - e7ec5be8-fdd7-11ea-89a6-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:04 GMT + - Wed, 23 Sep 2020 20:03:53 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem95221206/file95221206?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:03 GMT - Etag: '"0x8D8116FEA5D78F8"' - Last-Modified: Mon, 15 Jun 2020 21:06:04 GMT + Date: Wed, 23 Sep 2020 20:03:53 GMT + Etag: '"0x8D85FFBCC479DA7"' + Last-Modified: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: db833674-301f-003b-2b58-430830000000 - x-ms-version: '2019-02-02' + x-ms-request-id: ddda84bc-501f-003d-32e4-913b8f000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -35,13 +35,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 063893dc-af4c-11ea-9ec3-001a7dda7113 + - e81c7f64-fdd7-11ea-bd49-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:04 GMT + - Wed, 23 Sep 2020 20:03:54 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem95221206/file95221206?position=0&retainUncommittedData=false&close=false&action=flush response: @@ -49,13 +49,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:03 GMT - Etag: '"0x8D8116FEA65E1B4"' - Last-Modified: Mon, 15 Jun 2020 21:06:04 GMT + Date: Wed, 23 Sep 2020 20:03:54 GMT + Etag: '"0x8D85FFBCC5116E0"' + Last-Modified: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: db833675-301f-003b-2c58-430830000000 + x-ms-request-id: ddda84bd-501f-003d-33e4-913b8f000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -64,15 +64,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 064111c2-af4c-11ea-86fa-001a7dda7113 + - e825a734-fdd7-11ea-91fd-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:04 GMT + - Wed, 23 Sep 2020 20:03:54 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD - uri: https://storagename.blob.core.windows.net/filesystem95221206/file95221206 + uri: https://storagename.blob.core.windows.net/filesystem95221206//file95221206 response: body: string: '' @@ -80,21 +80,21 @@ interactions: Accept-Ranges: bytes Content-Length: '0' Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:03 GMT - Etag: '"0x8D8116FEA65E1B4"' - Last-Modified: Mon, 15 Jun 2020 21:06:04 GMT + Date: Wed, 23 Sep 2020 20:03:53 GMT + Etag: '"0x8D85FFBCC5116E0"' + Last-Modified: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:04 GMT + x-ms-creation-time: Wed, 23 Sep 2020 20:03:54 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: 040a5b57-e01e-004a-5e58-43ee1b000000 + x-ms-request-id: 50122c4e-d01e-000c-68e4-91da9c000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: https://xiafuhns.blob.core.windows.net/filesystem95221206/file95221206 + url: https://xiafuhns.blob.core.windows.net/filesystem95221206//file95221206 version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_async.yaml index 3ecb7357a608..60f6ce164af1 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 067e222c-af4c-11ea-a965-001a7dda7113 + - e85d7480-fdd7-11ea-bd83-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:04 GMT + - Wed, 23 Sep 2020 20:03:54 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem2e3d0f79/file2e3d0f79?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:04 GMT - Etag: '"0x8D8116FEAC14BF9"' - Last-Modified: Mon, 15 Jun 2020 21:06:05 GMT + Date: Wed, 23 Sep 2020 20:03:54 GMT + Etag: '"0x8D85FFBCCA8DCE4"' + Last-Modified: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 2ec0d0b3-e01f-005a-0458-432b73000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 19dca297-801f-0063-17e4-91d06f000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -33,13 +33,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 069c2e36-af4c-11ea-bb7c-001a7dda7113 + - e87d7258-fdd7-11ea-8f0b-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:05 GMT + - Wed, 23 Sep 2020 20:03:54 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: DELETE uri: https://storagename.dfs.core.windows.net/filesystem2e3d0f79/file2e3d0f79?recursive=true response: @@ -47,10 +47,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:04 GMT + Date: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 2ec0d0b4-e01f-005a-0558-432b73000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 19dca298-801f-0063-18e4-91d06f000000 + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -59,27 +59,27 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06a34240-af4c-11ea-bf8e-001a7dda7113 + - e8856038-fdd7-11ea-8b2c-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:05 GMT + - Wed, 23 Sep 2020 20:03:54 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD - uri: https://storagename.blob.core.windows.net/filesystem2e3d0f79/file2e3d0f79 + uri: https://storagename.blob.core.windows.net/filesystem2e3d0f79//file2e3d0f79 response: body: string: '' headers: - Date: Mon, 15 Jun 2020 21:06:04 GMT + Date: Wed, 23 Sep 2020 20:03:54 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 Transfer-Encoding: chunked x-ms-error-code: BlobNotFound - x-ms-request-id: f714f661-901e-0040-5e58-434aac000000 - x-ms-version: '2019-07-07' + x-ms-request-id: 0b12149d-101e-0061-31e4-916ed7000000 + x-ms-version: '2020-02-10' status: code: 404 message: The specified blob does not exist. - url: https://xiafuhns.blob.core.windows.net/filesystem2e3d0f79/file2e3d0f79 + url: https://xiafuhns.blob.core.windows.net/filesystem2e3d0f79//file2e3d0f79 version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_with_if_unmodified_since_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_with_if_unmodified_since_async.yaml index 8b0571bc582e..8ed5aeb820a8 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_with_if_unmodified_since_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_delete_file_with_if_unmodified_since_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 06fdb782-af4c-11ea-80e7-001a7dda7113 + - e8d6ce26-fdd7-11ea-8501-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:05 GMT + - Wed, 23 Sep 2020 20:03:55 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem362619b6/file362619b6?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:05 GMT - Etag: '"0x8D8116FEB4105EA"' - Last-Modified: Mon, 15 Jun 2020 21:06:05 GMT + Date: Wed, 23 Sep 2020 20:03:55 GMT + Etag: '"0x8D85FFBCD22DAF9"' + Last-Modified: Wed, 23 Sep 2020 20:03:55 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: e6e92059-401f-0021-2558-4369ef000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 6a6f5871-501f-0060-4fe4-91310b000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -33,15 +33,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 071c0d9a-af4c-11ea-a567-001a7dda7113 + - e8f772ca-fdd7-11ea-83ec-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:05 GMT + - Wed, 23 Sep 2020 20:03:55 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD - uri: https://storagename.blob.core.windows.net/filesystem362619b6/file362619b6 + uri: https://storagename.blob.core.windows.net/filesystem362619b6//file362619b6 response: body: string: '' @@ -49,36 +49,36 @@ interactions: Accept-Ranges: bytes Content-Length: '0' Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:04 GMT - Etag: '"0x8D8116FEB4105EA"' - Last-Modified: Mon, 15 Jun 2020 21:06:05 GMT + Date: Wed, 23 Sep 2020 20:03:55 GMT + Etag: '"0x8D85FFBCD22DAF9"' + Last-Modified: Wed, 23 Sep 2020 20:03:55 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:05 GMT + x-ms-creation-time: Wed, 23 Sep 2020 20:03:55 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: 085ba31c-501e-004f-5258-433cc0000000 + x-ms-request-id: b3cdea29-e01e-005a-3be4-912b73000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: https://xiafuhns.blob.core.windows.net/filesystem362619b6/file362619b6 + url: https://xiafuhns.blob.core.windows.net/filesystem362619b6//file362619b6 - request: body: null headers: If-Unmodified-Since: - - Mon, 15 Jun 2020 21:06:05 GMT + - Wed, 23 Sep 2020 20:03:55 GMT User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0724f75c-af4c-11ea-9e13-001a7dda7113 + - e8ff785a-fdd7-11ea-8d3f-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:06 GMT + - Wed, 23 Sep 2020 20:03:55 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: DELETE uri: https://storagename.dfs.core.windows.net/filesystem362619b6/file362619b6?recursive=true response: @@ -86,10 +86,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:05 GMT + Date: Wed, 23 Sep 2020 20:03:55 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: e6e9205a-401f-0021-2658-4369ef000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 6a6f5872-501f-0060-50e4-91310b000000 + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -98,27 +98,27 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 072d1806-af4c-11ea-8bd5-001a7dda7113 + - e90763d4-fdd7-11ea-ae50-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:06 GMT + - Wed, 23 Sep 2020 20:03:55 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: HEAD - uri: https://storagename.blob.core.windows.net/filesystem362619b6/file362619b6 + uri: https://storagename.blob.core.windows.net/filesystem362619b6//file362619b6 response: body: string: '' headers: - Date: Mon, 15 Jun 2020 21:06:05 GMT + Date: Wed, 23 Sep 2020 20:03:55 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 Transfer-Encoding: chunked x-ms-error-code: BlobNotFound - x-ms-request-id: 085ba358-501e-004f-0b58-433cc0000000 - x-ms-version: '2019-07-07' + x-ms-request-id: b3cdea85-e01e-005a-0fe4-912b73000000 + x-ms-version: '2020-02-10' status: code: 404 message: The specified blob does not exist. - url: https://xiafuhns.blob.core.windows.net/filesystem362619b6/file362619b6 + url: https://xiafuhns.blob.core.windows.net/filesystem362619b6//file362619b6 version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_get_access_control_with_if_modified_since_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_get_access_control_with_if_modified_since_async.yaml index 03eb072969e2..e5ff8371f1f9 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_get_access_control_with_if_modified_since_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_get_access_control_with_if_modified_since_async.yaml @@ -130,4 +130,135 @@ interactions: code: 200 message: OK url: https://xiafuhns.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?action=getAccessControl&upn=false +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - e95b879a-fdd7-11ea-a0fa-001a7dda7113 + x-ms-date: + - Wed, 23 Sep 2020 20:03:56 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 23 Sep 2020 20:03:55 GMT + Etag: '"0x8D85FFBCDA50DF2"' + Last-Modified: Wed, 23 Sep 2020 20:03:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 041d425c-001f-0052-48e4-91317c000000 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://xiafuhns.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - e9798634-fdd7-11ea-8851-001a7dda7113 + x-ms-date: + - Wed, 23 Sep 2020 20:03:56 GMT + x-ms-permissions: + - '0777' + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?action=setAccessControl + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Wed, 23 Sep 2020 20:03:55 GMT + Etag: '"0x8D85FFBCDA50DF2"' + Last-Modified: Wed, 23 Sep 2020 20:03:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-namespace-enabled: 'true' + x-ms-request-id: 041d425d-001f-0052-49e4-91317c000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://xiafuhns.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?action=setAccessControl +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - e981acd8-fdd7-11ea-8146-001a7dda7113 + x-ms-date: + - Wed, 23 Sep 2020 20:03:56 GMT + x-ms-version: + - '2020-02-10' + method: HEAD + uri: https://storagename.blob.core.windows.net/filesystembf461bd2//filebf461bd2 + response: + body: + string: '' + headers: + Accept-Ranges: bytes + Content-Length: '0' + Content-Type: application/octet-stream + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCDA50DF2"' + Last-Modified: Wed, 23 Sep 2020 20:03:56 GMT + Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: Hot + x-ms-access-tier-inferred: 'true' + x-ms-blob-type: BlockBlob + x-ms-creation-time: Wed, 23 Sep 2020 20:03:56 GMT + x-ms-lease-state: available + x-ms-lease-status: unlocked + x-ms-request-id: c9ef7d2c-101e-002c-18e4-91a13b000000 + x-ms-server-encrypted: 'true' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://xiafuhns.blob.core.windows.net/filesystembf461bd2//filebf461bd2 +- request: + body: null + headers: + If-Modified-Since: + - Wed, 23 Sep 2020 19:48:56 GMT + User-Agent: + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - e9897786-fdd7-11ea-ab90-001a7dda7113 + x-ms-date: + - Wed, 23 Sep 2020 20:03:56 GMT + x-ms-version: + - '2020-02-10' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Wed, 23 Sep 2020 20:03:55 GMT + Etag: '"0x8D85FFBCDA50DF2"' + Last-Modified: Wed, 23 Sep 2020 20:03:56 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::rwx,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxrwxrwx + x-ms-request-id: 041d425e-001f-0052-4ae4-91317c000000 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://xiafuhns.dfs.core.windows.net/filesystembf461bd2/filebf461bd2?action=getAccessControl&upn=false version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_async.yaml index 342942746e6c..9e806ffa5a9b 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0803339e-af4c-11ea-82cb-001a7dda7113 + - e9c07da4-fdd7-11ea-b7ef-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:07 GMT + - Wed, 23 Sep 2020 20:03:56 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystemf8c0ea2/filef8c0ea2?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FEC466678"' - Last-Modified: Mon, 15 Jun 2020 21:06:07 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCE0A51EF"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: f8cfc0b5-301f-0049-5158-430f7f000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 041d4261-001f-0052-4de4-91317c000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -55,13 +55,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0821b824-af4c-11ea-9480-001a7dda7113 + - e9df2102-fdd7-11ea-93cf-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:07 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystemf8c0ea2/filef8c0ea2?position=0&action=append response: @@ -69,11 +69,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: f8cfc0b6-301f-0049-5258-430f7f000000 + x-ms-request-id: 041d4262-001f-0052-4ee4-91317c000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -84,13 +84,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0829de5a-af4c-11ea-9459-001a7dda7113 + - e9e6bbe8-fdd7-11ea-832b-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:07 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystemf8c0ea2/filef8c0ea2?position=1024&retainUncommittedData=false&close=false&action=flush response: @@ -98,13 +98,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FEC586D2A"' - Last-Modified: Mon, 15 Jun 2020 21:06:07 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCE1AF2B1"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: f8cfc0b7-301f-0049-5358-430f7f000000 + x-ms-request-id: 041d4263-001f-0052-4fe4-91317c000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -115,17 +115,17 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0833e10c-af4c-11ea-b4d3-001a7dda7113 + - e9ef66f4-fdd7-11ea-8ea6-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:07 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET - uri: https://storagename.blob.core.windows.net/filesystemf8c0ea2/filef8c0ea2 + uri: https://storagename.blob.core.windows.net/filesystemf8c0ea2//filef8c0ea2 response: body: string: !!binary | @@ -152,19 +152,19 @@ interactions: Content-Length: '1024' Content-Range: bytes 0-1023/1024 Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FEC586D2A"' - Last-Modified: Mon, 15 Jun 2020 21:06:07 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCE1AF2B1"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:07 GMT + x-ms-creation-time: Wed, 23 Sep 2020 20:03:57 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: f6c1abd4-001e-000f-3b58-433bf8000000 + x-ms-request-id: 7feca502-e01e-0017-49e4-91e49f000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: https://xiafuhns.blob.core.windows.net/filesystemf8c0ea2/filef8c0ea2 + url: https://xiafuhns.blob.core.windows.net/filesystemf8c0ea2//filef8c0ea2 version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_into_file_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_into_file_async.yaml index 80141a1febfe..8edaea71876c 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_into_file_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_into_file_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 087af952-af4c-11ea-ab5b-001a7dda7113 + - ea240a64-fdd7-11ea-b897-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:08 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystemb81612ba/fileb81612ba?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FECBEEAB6"' - Last-Modified: Mon, 15 Jun 2020 21:06:08 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCE70346C"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: e6e92060-401f-0021-2c58-4369ef000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 1716bd26-901f-0050-5ae4-918fc4000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -55,13 +55,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 089a1536-af4c-11ea-bb9b-001a7dda7113 + - ea452914-fdd7-11ea-bed2-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:08 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystemb81612ba/fileb81612ba?position=0&action=append response: @@ -69,11 +69,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: e6e92063-401f-0021-2e58-4369ef000000 + x-ms-request-id: 1716bd27-901f-0050-5be4-918fc4000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -84,13 +84,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 08a1de9a-af4c-11ea-98af-001a7dda7113 + - ea4d5912-fdd7-11ea-b946-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:08 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystemb81612ba/fileb81612ba?position=1024&retainUncommittedData=false&close=false&action=flush response: @@ -98,13 +98,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FECCFD3B6"' - Last-Modified: Mon, 15 Jun 2020 21:06:08 GMT + Date: Wed, 23 Sep 2020 20:03:56 GMT + Etag: '"0x8D85FFBCE818625"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: e6e92064-401f-0021-2f58-4369ef000000 + x-ms-request-id: 1716bd28-901f-0050-5ce4-918fc4000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -115,17 +115,17 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 08ab5b6c-af4c-11ea-9207-001a7dda7113 + - ea56bb62-fdd7-11ea-9fe0-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:08 GMT + - Wed, 23 Sep 2020 20:03:57 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET - uri: https://storagename.blob.core.windows.net/filesystemb81612ba/fileb81612ba + uri: https://storagename.blob.core.windows.net/filesystemb81612ba//fileb81612ba response: body: string: !!binary | @@ -152,19 +152,19 @@ interactions: Content-Length: '1024' Content-Range: bytes 0-1023/1024 Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:07 GMT - Etag: '"0x8D8116FECCFD3B6"' - Last-Modified: Mon, 15 Jun 2020 21:06:08 GMT + Date: Wed, 23 Sep 2020 20:03:57 GMT + Etag: '"0x8D85FFBCE818625"' + Last-Modified: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:08 GMT + x-ms-creation-time: Wed, 23 Sep 2020 20:03:57 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: 77b7a376-a01e-005b-1b58-4374af000000 + x-ms-request-id: d2513da0-b01e-000a-71e4-91e923000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: https://xiafuhns.blob.core.windows.net/filesystemb81612ba/fileb81612ba + url: https://xiafuhns.blob.core.windows.net/filesystemb81612ba//fileb81612ba version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_to_text_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_to_text_async.yaml index 7ab13076dd8b..4f3dfe1f1b1c 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_to_text_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_read_file_to_text_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 08ed9bc0-af4c-11ea-83af-001a7dda7113 + - ea943236-fdd7-11ea-a8b9-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:09 GMT + - Wed, 23 Sep 2020 20:03:58 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem94141208/file94141208?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:08 GMT - Etag: '"0x8D8116FED312FFF"' - Last-Modified: Mon, 15 Jun 2020 21:06:09 GMT + Date: Wed, 23 Sep 2020 20:03:57 GMT + Etag: '"0x8D85FFBCEDF5780"' + Last-Modified: Wed, 23 Sep 2020 20:03:58 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 6a0885ff-801f-005c-2758-4318cc000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 294c4b64-801f-005c-03e4-9118cc000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -50,13 +50,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 090c69ca-af4c-11ea-96ea-001a7dda7113 + - eab4b0d0-fdd7-11ea-aa74-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:09 GMT + - Wed, 23 Sep 2020 20:03:58 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem94141208/file94141208?position=0&action=append response: @@ -64,11 +64,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:08 GMT + Date: Wed, 23 Sep 2020 20:03:57 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 6a088604-801f-005c-2c58-4318cc000000 + x-ms-request-id: 294c4b65-801f-005c-04e4-9118cc000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -79,13 +79,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09151f6e-af4c-11ea-b9e6-001a7dda7113 + - eabc0b70-fdd7-11ea-bd85-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:09 GMT + - Wed, 23 Sep 2020 20:03:58 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem94141208/file94141208?position=1026&retainUncommittedData=false&close=false&action=flush response: @@ -93,13 +93,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:08 GMT - Etag: '"0x8D8116FED42F62B"' - Last-Modified: Mon, 15 Jun 2020 21:06:09 GMT + Date: Wed, 23 Sep 2020 20:03:57 GMT + Etag: '"0x8D85FFBCEF01ACA"' + Last-Modified: Wed, 23 Sep 2020 20:03:58 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 6a088609-801f-005c-3158-4318cc000000 + x-ms-request-id: 294c4b66-801f-005c-05e4-9118cc000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -110,17 +110,17 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 091e5158-af4c-11ea-9626-001a7dda7113 + - eac4a63a-fdd7-11ea-bbf6-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:09 GMT + - Wed, 23 Sep 2020 20:03:58 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET - uri: https://storagename.blob.core.windows.net/filesystem94141208/file94141208 + uri: https://storagename.blob.core.windows.net/filesystem94141208//file94141208 response: body: string: ' hello hello world hello world world hello hello hello hello world @@ -142,19 +142,19 @@ interactions: Content-Length: '1026' Content-Range: bytes 0-1025/1026 Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:09 GMT - Etag: '"0x8D8116FED42F62B"' - Last-Modified: Mon, 15 Jun 2020 21:06:09 GMT + Date: Wed, 23 Sep 2020 20:03:58 GMT + Etag: '"0x8D85FFBCEF01ACA"' + Last-Modified: Wed, 23 Sep 2020 20:03:58 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:09 GMT + x-ms-creation-time: Wed, 23 Sep 2020 20:03:58 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: 8892abb2-001e-006d-2258-43f9df000000 + x-ms-request-id: e7cc1a40-b01e-0068-62e4-912b04000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: https://xiafuhns.blob.core.windows.net/filesystem94141208/file94141208 + url: https://xiafuhns.blob.core.windows.net/filesystem94141208//file94141208 version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_remove_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_remove_access_control_recursive_async.yaml new file mode 100644 index 000000000000..0803ea154bf2 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_remove_access_control_recursive_async.yaml @@ -0,0 +1,65 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - 1860c51e-74c0-11ea-b115-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:58:17 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystembf7017fd/filebf7017fd?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 08:58:17 GMT + Etag: '"0x8D7D6E3FCCCCE03"' + Last-Modified: Thu, 02 Apr 2020 08:58:18 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 9824eae1-a01f-004c-48cc-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystembf7017fd/filebf7017fd?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - mask,default:user,default:group,user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a,default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a + x-ms-client-request-id: + - 189f112a-74c0-11ea-b115-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:58:18 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystembf7017fd/filebf7017fd?mode=remove&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 08:58:17 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 9824eae2-a01f-004c-49cc-08a67c000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystembf7017fd/filebf7017fd?mode=remove&action=setAccessControlRecursive +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_to_existing_file_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_to_existing_file_async.yaml index 1bcd4dc81ca2..6d8e577d9151 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_to_existing_file_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_to_existing_file_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 097514a8-af4c-11ea-98c9-001a7dda7113 + - 2b3adc82-04c6-11eb-a4a4-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:09 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/existingfile?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT - Etag: '"0x8D8116FEDBA1448"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT + Etag: '"0x8D866EA0F9E9B32"' + Last-Modified: Fri, 02 Oct 2020 15:44:34 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632db7-901f-0022-5158-43888b000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 98d77ad0-a01f-0016-72d2-98bb43000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -37,13 +37,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0994e636-af4c-11ea-ad4d-001a7dda7113 + - 2b735bd2-04c6-11eb-9a00-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/existingfile?position=0&action=append response: @@ -51,11 +51,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632db8-901f-0022-5258-43888b000000 + x-ms-request-id: 98d77ad5-a01f-0016-76d2-98bb43000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -66,13 +66,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 099c3430-af4c-11ea-bf22-001a7dda7113 + - 2b7b1a6c-04c6-11eb-aaa5-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/existingfile?position=1&retainUncommittedData=false&close=false&action=flush response: @@ -80,13 +80,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT - Etag: '"0x8D8116FEDC98ADD"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT + Etag: '"0x8D866EA0FAF998B"' + Last-Modified: Fri, 02 Oct 2020 15:44:34 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632db9-901f-0022-5358-43888b000000 + x-ms-request-id: 98d77ad7-a01f-0016-78d2-98bb43000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -95,15 +95,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09a4bb2e-af4c-11ea-ac6b-001a7dda7113 + - 2b854fc2-04c6-11eb-86a4-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/file75cf1689?resource=file response: @@ -111,12 +111,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT - Etag: '"0x8D8116FEDD1F778"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT + Etag: '"0x8D866EA0FB973C5"' + Last-Modified: Fri, 02 Oct 2020 15:44:34 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632dba-901f-0022-5458-43888b000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 98d77ad8-a01f-0016-79d2-98bb43000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -129,13 +129,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09accab6-af4c-11ea-80a6-001a7dda7113 + - 2b8e9ca4-04c6-11eb-b448-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/file75cf1689?position=0&action=append response: @@ -143,11 +143,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632dbb-901f-0022-5558-43888b000000 + x-ms-request-id: 98d77ad9-a01f-0016-7ad2-98bb43000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -158,13 +158,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09b419de-af4c-11ea-a051-001a7dda7113 + - 2b96d334-04c6-11eb-9631-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/file75cf1689?position=3&retainUncommittedData=false&close=false&action=flush response: @@ -172,13 +172,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT - Etag: '"0x8D8116FEDE1BCD3"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT + Etag: '"0x8D866EA0FCB1384"' + Last-Modified: Fri, 02 Oct 2020 15:44:34 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632dbd-901f-0022-5658-43888b000000 + x-ms-request-id: 98d77adb-a01f-0016-7cd2-98bb43000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -187,17 +187,17 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09bc9e5c-af4c-11ea-a7b4-001a7dda7113 + - 2ba08286-04c6-11eb-81f6-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-rename-source: - /filesystem75cf1689/file75cf1689 x-ms-source-lease-id: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystem75cf1689/existingfile?mode=legacy response: @@ -205,10 +205,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:09 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 3f632dbe-901f-0022-5758-43888b000000 - x-ms-version: '2019-02-02' + x-ms-request-id: 98d77adc-a01f-0016-7dd2-98bb43000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -219,15 +219,15 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09c794ae-af4c-11ea-b5d5-001a7dda7113 + - 2bac84d2-04c6-11eb-9ffb-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:44:34 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.blob.core.windows.net/filesystem75cf1689/existingfile response: @@ -238,17 +238,17 @@ interactions: Content-Length: '3' Content-Range: bytes 0-2/3 Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:10 GMT - Etag: '"0x8D8116FEDE1BCD3"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:44:33 GMT + Etag: '"0x8D866EA0FCB1384"' + Last-Modified: Fri, 02 Oct 2020 15:44:34 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:10 GMT + x-ms-creation-time: Fri, 02 Oct 2020 15:44:34 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: c9ed65aa-301e-0059-0d58-43ca17000000 + x-ms-request-id: 5f9fe94e-501e-0002-69d2-98f32c000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_with_non_used_name_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_with_non_used_name_async.yaml index 1db2cd80454d..4fb95f40eb44 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_with_non_used_name_async.yaml +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_rename_file_with_non_used_name_async.yaml @@ -3,15 +3,15 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 09ffe462-af4c-11ea-9268-001a7dda7113 + - 3d8cbbd8-04c6-11eb-9cb2-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:10 GMT + - Fri, 02 Oct 2020 15:45:04 GMT x-ms-properties: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystema3c31753/filea3c31753?resource=file response: @@ -19,12 +19,12 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:10 GMT - Etag: '"0x8D8116FEE438371"' - Last-Modified: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:45:04 GMT + Etag: '"0x8D866EA21EA7DBF"' + Last-Modified: Fri, 02 Oct 2020 15:45:05 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 265bf458-901f-000d-4958-438540000000 - x-ms-version: '2019-02-02' + x-ms-request-id: c5ef4353-a01f-0006-50d2-987e2b000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -37,13 +37,13 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0a1e53fe-af4c-11ea-9528-001a7dda7113 + - 3dbf1a94-04c6-11eb-8fc7-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:11 GMT + - Fri, 02 Oct 2020 15:45:05 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystema3c31753/filea3c31753?position=0&action=append response: @@ -51,11 +51,11 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:45:04 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 265bf459-901f-000d-4a58-438540000000 + x-ms-request-id: c5ef4354-a01f-0006-51d2-987e2b000000 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted @@ -66,13 +66,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0a25a1fe-af4c-11ea-9711-001a7dda7113 + - 3dc68b4a-04c6-11eb-b373-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:11 GMT + - Fri, 02 Oct 2020 15:45:05 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PATCH uri: https://storagename.dfs.core.windows.net/filesystema3c31753/filea3c31753?position=3&retainUncommittedData=false&close=false&action=flush response: @@ -80,13 +80,13 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:10 GMT - Etag: '"0x8D8116FEE5360BF"' - Last-Modified: Mon, 15 Jun 2020 21:06:11 GMT + Date: Fri, 02 Oct 2020 15:45:04 GMT + Etag: '"0x8D866EA21FA5ABB"' + Last-Modified: Fri, 02 Oct 2020 15:45:05 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 265bf45a-901f-000d-4b58-438540000000 + x-ms-request-id: c5ef4355-a01f-0006-52d2-987e2b000000 x-ms-request-server-encrypted: 'false' - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK @@ -95,17 +95,17 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0a2e4eb4-af4c-11ea-99fa-001a7dda7113 + - 3dd37518-04c6-11eb-8f0d-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:11 GMT + - Fri, 02 Oct 2020 15:45:05 GMT x-ms-rename-source: - /filesystema3c31753/filea3c31753 x-ms-source-lease-id: - '' x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.dfs.core.windows.net/filesystema3c31753/newname?mode=legacy response: @@ -113,10 +113,10 @@ interactions: string: '' headers: Content-Length: '0' - Date: Mon, 15 Jun 2020 21:06:10 GMT + Date: Fri, 02 Oct 2020 15:45:05 GMT Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: 265bf45b-901f-000d-4c58-438540000000 - x-ms-version: '2019-02-02' + x-ms-request-id: c5ef4358-a01f-0006-55d2-987e2b000000 + x-ms-version: '2020-02-10' status: code: 201 message: Created @@ -127,15 +127,15 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-dfs/12.1.2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-client-request-id: - - 0a3969ec-af4c-11ea-9e38-001a7dda7113 + - 3dde1906-04c6-11eb-b997-001a7dda7113 x-ms-date: - - Mon, 15 Jun 2020 21:06:11 GMT + - Fri, 02 Oct 2020 15:45:05 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.blob.core.windows.net/filesystema3c31753/newname response: @@ -146,17 +146,17 @@ interactions: Content-Length: '3' Content-Range: bytes 0-2/3 Content-Type: application/octet-stream - Date: Mon, 15 Jun 2020 21:06:10 GMT - Etag: '"0x8D8116FEE5360BF"' - Last-Modified: Mon, 15 Jun 2020 21:06:11 GMT + Date: Fri, 02 Oct 2020 15:45:04 GMT + Etag: '"0x8D866EA21FA5ABB"' + Last-Modified: Fri, 02 Oct 2020 15:45:05 GMT Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-type: BlockBlob - x-ms-creation-time: Mon, 15 Jun 2020 21:06:10 GMT + x-ms-creation-time: Fri, 02 Oct 2020 15:45:05 GMT x-ms-lease-state: available x-ms-lease-status: unlocked - x-ms-request-id: eb939905-901e-0032-3758-434de3000000 + x-ms-request-id: 606d84ab-101e-003c-0ad2-986453000000 x-ms-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_access_control_recursive_async.yaml new file mode 100644 index 000000000000..3ebfe99819e4 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_access_control_recursive_async.yaml @@ -0,0 +1,96 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c1ee0ed0-74bf-11ea-9301-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:55:52 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem787416bb/file787416bb?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 08:55:52 GMT + Etag: '"0x8D7D6E3A6722BE7"' + Last-Modified: Thu, 02 Apr 2020 08:55:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: cc7aad03-e01f-005d-10cc-083cc8000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystem787416bb/file787416bb?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - c2537acc-74bf-11ea-9301-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:55:53 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystem787416bb/file787416bb?mode=set&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 08:55:52 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: cc7aad04-e01f-005d-11cc-083cc8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem787416bb/file787416bb?mode=set&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - c261d2de-74bf-11ea-9301-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:55:53 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystem787416bb/file787416bb?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 08:55:52 GMT + Etag: '"0x8D7D6E3A6722BE7"' + Last-Modified: Thu, 02 Apr 2020 08:55:53 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: cc7aad05-e01f-005d-12cc-083cc8000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystem787416bb/file787416bb?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_expiry_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_expiry_async.yaml new file mode 100644 index 000000000000..eb65df676e12 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_set_expiry_async.yaml @@ -0,0 +1,140 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 107e1ee6-9f22-11ea-b27b-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem217a0f53/directory217a0f53?resource=directory + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 26 May 2020 07:25:23 GMT + Etag: '"0x8D80145F4DF209F"' + Last-Modified: Tue, 26 May 2020 07:25:24 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7f29fe2-401f-0028-752e-332c08000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://emilyhnseuap.dfs.core.windows.net/filesystem217a0f53/directory217a0f53?resource=directory +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 10b47fba-9f22-11ea-993d-001a7dda7113 + x-ms-content-disposition: + - inline + x-ms-content-language: + - spanish + x-ms-date: + - Tue, 26 May 2020 07:25:24 GMT + x-ms-properties: + - hello=d29ybGQ=,number=NDI= + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystem217a0f53/directory217a0f53%2Fnewfile?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 26 May 2020 07:25:24 GMT + Etag: '"0x8D80145F4ECE3A1"' + Last-Modified: Tue, 26 May 2020 07:25:24 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: c7f29fe3-401f-0028-762e-332c08000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://emilyhnseuap.dfs.core.windows.net/filesystem217a0f53/directory217a0f53%2Fnewfile?resource=file +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 10c24164-9f22-11ea-8bbd-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:24 GMT + x-ms-expiry-option: + - Absolute + x-ms-expiry-time: + - Tue, 26 May 2020 08:25:24 GMT + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.blob.core.windows.net/filesystem217a0f53/directory217a0f53/newfile?comp=expiry + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Tue, 26 May 2020 07:25:25 GMT + Etag: '"0x8D80145F4ECE3A1"' + Last-Modified: Tue, 26 May 2020 07:25:24 GMT + Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 5cbafaac-901e-0059-6d2e-33ca23000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://emilyhnseuap.blob.core.windows.net/filesystem217a0f53/directory217a0f53/newfile?comp=expiry +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + x-ms-client-request-id: + - 113b38ca-9f22-11ea-9baf-001a7dda7113 + x-ms-date: + - Tue, 26 May 2020 07:25:25 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.blob.core.windows.net/filesystem217a0f53/directory217a0f53/newfile + response: + body: + string: '' + headers: + Accept-Ranges: bytes + Content-Disposition: inline + Content-Language: spanish + Content-Length: '0' + Content-Type: application/octet-stream + Date: Tue, 26 May 2020 07:25:25 GMT + Etag: '"0x8D80145F4ECE3A1"' + Last-Modified: Tue, 26 May 2020 07:25:24 GMT + Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: Hot + x-ms-access-tier-inferred: 'true' + x-ms-blob-type: BlockBlob + x-ms-creation-time: Tue, 26 May 2020 07:25:24 GMT + x-ms-expiry-time: Tue, 26 May 2020 08:25:24 GMT + x-ms-lease-state: available + x-ms-lease-status: unlocked + x-ms-meta-hello: world + x-ms-meta-number: '42' + x-ms-request-id: 5cbafb24-901e-0059-502e-33ca23000000 + x-ms-server-encrypted: 'true' + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://emilyhnseuap.blob.core.windows.net/filesystem217a0f53/directory217a0f53/newfile +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_update_access_control_recursive_async.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_update_access_control_recursive_async.yaml new file mode 100644 index 000000000000..ecae7c797170 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_file_async.test_update_access_control_recursive_async.yaml @@ -0,0 +1,96 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d842478c-74bf-11ea-8b4d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:56:30 GMT + x-ms-properties: + - '' + x-ms-version: + - '2019-12-12' + method: PUT + uri: https://storagename.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?resource=file + response: + body: + string: '' + headers: + Content-Length: '0' + Date: Thu, 02 Apr 2020 08:56:30 GMT + Etag: '"0x8D7D6E3BCA1C5EE"' + Last-Modified: Thu, 02 Apr 2020 08:56:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-id: 2fdbaf43-601f-0043-26cc-08d010000000 + x-ms-version: '2019-12-12' + status: + code: 201 + message: Created + url: https://aclcbn06stf.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?resource=file +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-acl: + - user::rwx,group::r-x,other::rwx + x-ms-client-request-id: + - d873c0a0-74bf-11ea-8b4d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:56:30 GMT + x-ms-version: + - '2019-12-12' + method: PATCH + uri: https://storagename.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?mode=modify&action=setAccessControlRecursive + response: + body: + string: '{"directoriesSuccessful":0,"failedEntries":[],"failureCount":0,"filesSuccessful":1} + + ' + headers: + Date: Thu, 02 Apr 2020 08:56:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + x-ms-namespace-enabled: 'true' + x-ms-request-id: 2fdbaf44-601f-0043-27cc-08d010000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?mode=modify&action=setAccessControlRecursive +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-dfs/12.0.0 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) + x-ms-client-request-id: + - d87fe556-74bf-11ea-8b4d-acde48001122 + x-ms-date: + - Thu, 02 Apr 2020 08:56:30 GMT + x-ms-version: + - '2019-12-12' + method: HEAD + uri: https://storagename.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?action=getAccessControl&upn=false + response: + body: + string: '' + headers: + Date: Thu, 02 Apr 2020 08:56:30 GMT + Etag: '"0x8D7D6E3BCA1C5EE"' + Last-Modified: Thu, 02 Apr 2020 08:56:30 GMT + Server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0 + x-ms-acl: user::rwx,group::r-x,other::rwx + x-ms-group: $superuser + x-ms-owner: $superuser + x-ms-permissions: rwxr-xrwx + x-ms-request-id: 2fdbaf45-601f-0043-28cc-08d010000000 + x-ms-version: '2019-12-12' + status: + code: 200 + message: OK + url: https://aclcbn06stf.dfs.core.windows.net/filesystembe1217f2/filebe1217f2?action=getAccessControl&upn=false +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml new file mode 100644 index 000000000000..3d0a614f7985 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/tests/recordings/test_quick_query.test_quick_query_output_in_arrow_format.yaml @@ -0,0 +1,233 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8a6b42e2-f477-11ea-a588-001a7dda7113 + x-ms-date: + - Fri, 11 Sep 2020 21:41:24 GMT + x-ms-properties: + - '' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.dfs.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789?resource=file + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 11 Sep 2020 21:41:24 GMT + ETag: + - '"0x8D8569B6EDE9D6F"' + Last-Modified: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-request-id: + - ddbf5a49-d01f-0006-7684-881999000000 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: '100,200,300,400 + + 300,400,500,600 + + ' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8ac7d776-f477-11ea-aed4-001a7dda7113 + x-ms-date: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789?position=0&action=append + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 11 Sep 2020 21:41:24 GMT + x-ms-request-id: + - ddbf5a4a-d01f-0006-7784-881999000000 + x-ms-request-server-encrypted: + - 'false' + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + If-Match: + - '"0x8D8569B6EDE9D6F"' + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8ad4d4b0-f477-11ea-b511-001a7dda7113 + x-ms-date: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-version: + - '2020-02-10' + method: PATCH + uri: https://storagename.dfs.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789?position=32&action=flush + response: + body: + string: '' + headers: + Content-Length: + - '0' + Date: + - Fri, 11 Sep 2020 21:41:24 GMT + ETag: + - '"0x8D8569B6EF8B486"' + Last-Modified: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-request-id: + - ddbf5a4b-d01f-0006-7884-881999000000 + x-ms-request-server-encrypted: + - 'false' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: ' + + SQLSELECT _2 from BlobStorage + WHERE _1 > 250arrowdecimalabc42' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '390' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-dfs/12.1.1 Python/3.7.3 (Windows-10-10.0.19041-SP0) + x-ms-client-request-id: + - 8ae1c068-f477-11ea-a8a8-001a7dda7113 + x-ms-date: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-version: + - '2020-02-10' + method: POST + uri: https://storagename.blob.core.windows.net/utqqcontainer9d4d1789/csvfile9d4d1789?comp=query + response: + body: + string: !!binary | + T2JqAQIWYXZyby5zY2hlbWG+HlsKICB7CiAgICAidHlwZSI6ICJyZWNvcmQiLAogICAgIm5hbWUi + OiAiY29tLm1pY3Jvc29mdC5henVyZS5zdG9yYWdlLnF1ZXJ5QmxvYkNvbnRlbnRzLnJlc3VsdERh + dGEiLAogICAgImRvYyI6ICJIb2xkcyByZXN1bHQgZGF0YSBpbiB0aGUgZm9ybWF0IHNwZWNpZmll + ZCBmb3IgdGhpcyBxdWVyeSAoQ1NWLCBKU09OLCBldGMuKS4iLAogICAgImZpZWxkcyI6IFsKICAg + ICAgewogICAgICAgICJuYW1lIjogImRhdGEiLAogICAgICAgICJ0eXBlIjogImJ5dGVzIgogICAg + ICB9CiAgICBdCiAgfSwKICB7CiAgICAidHlwZSI6ICJyZWNvcmQiLAogICAgIm5hbWUiOiAiY29t + Lm1pY3Jvc29mdC5henVyZS5zdG9yYWdlLnF1ZXJ5QmxvYkNvbnRlbnRzLmVycm9yIiwKICAgICJk + b2MiOiAiQW4gZXJyb3IgdGhhdCBvY2N1cnJlZCB3aGlsZSBwcm9jZXNzaW5nIHRoZSBxdWVyeS4i + LAogICAgImZpZWxkcyI6IFsKICAgICAgewogICAgICAgICJuYW1lIjogImZhdGFsIiwKICAgICAg + ICAidHlwZSI6ICJib29sZWFuIiwKICAgICAgICAiZG9jIjogIklmIHRydWUsIHRoaXMgZXJyb3Ig + cHJldmVudHMgZnVydGhlciBxdWVyeSBwcm9jZXNzaW5nLiAgTW9yZSByZXN1bHQgZGF0YSBtYXkg + YmUgcmV0dXJuZWQsIGJ1dCB0aGVyZSBpcyBubyBndWFyYW50ZWUgdGhhdCBhbGwgb2YgdGhlIG9y + aWdpbmFsIGRhdGEgd2lsbCBiZSBwcm9jZXNzZWQuICBJZiBmYWxzZSwgdGhpcyBlcnJvciBkb2Vz + IG5vdCBwcmV2ZW50IGZ1cnRoZXIgcXVlcnkgcHJvY2Vzc2luZy4iCiAgICAgIH0sCiAgICAgIHsK + ICAgICAgICAibmFtZSI6ICJuYW1lIiwKICAgICAgICAidHlwZSI6ICJzdHJpbmciLAogICAgICAg + ICJkb2MiOiAiVGhlIG5hbWUgb2YgdGhlIGVycm9yIgogICAgICB9LAogICAgICB7CiAgICAgICAg + Im5hbWUiOiAiZGVzY3JpcHRpb24iLAogICAgICAgICJ0eXBlIjogInN0cmluZyIsCiAgICAgICAg + ImRvYyI6ICJBIGRlc2NyaXB0aW9uIG9mIHRoZSBlcnJvciIKICAgICAgfSwKICAgICAgewogICAg + ICAgICJuYW1lIjogInBvc2l0aW9uIiwKICAgICAgICAidHlwZSI6ICJsb25nIiwKICAgICAgICAi + ZG9jIjogIlRoZSBibG9iIG9mZnNldCBhdCB3aGljaCB0aGUgZXJyb3Igb2NjdXJyZWQiCiAgICAg + IH0KICAgIF0KICB9LAogIHsKICAgICJ0eXBlIjogInJlY29yZCIsCiAgICAibmFtZSI6ICJjb20u + bWljcm9zb2Z0LmF6dXJlLnN0b3JhZ2UucXVlcnlCbG9iQ29udGVudHMucHJvZ3Jlc3MiLAogICAg + ImRvYyI6ICJJbmZvcm1hdGlvbiBhYm91dCB0aGUgcHJvZ3Jlc3Mgb2YgdGhlIHF1ZXJ5IiwKICAg + ICJmaWVsZHMiOiBbCiAgICAgIHsKICAgICAgICAibmFtZSI6ICJieXRlc1NjYW5uZWQiLAogICAg + ICAgICJ0eXBlIjogImxvbmciLAogICAgICAgICJkb2MiOiAiVGhlIG51bWJlciBvZiBieXRlcyB0 + aGF0IGhhdmUgYmVlbiBzY2FubmVkIgogICAgICB9LAogICAgICB7CiAgICAgICAgIm5hbWUiOiAi + dG90YWxCeXRlcyIsCiAgICAgICAgInR5cGUiOiAibG9uZyIsCiAgICAgICAgImRvYyI6ICJUaGUg + dG90YWwgbnVtYmVyIG9mIGJ5dGVzIHRvIGJlIHNjYW5uZWQgaW4gdGhpcyBxdWVyeSIKICAgICAg + fQogICAgXQogIH0sCiAgewogICAgInR5cGUiOiAicmVjb3JkIiwKICAgICJuYW1lIjogImNvbS5t + aWNyb3NvZnQuYXp1cmUuc3RvcmFnZS5xdWVyeUJsb2JDb250ZW50cy5lbmQiLAogICAgImRvYyI6 + ICJTZW50IGFzIHRoZSBmaW5hbCBtZXNzYWdlIG9mIHRoZSByZXNwb25zZSwgaW5kaWNhdGluZyB0 + aGF0IGFsbCByZXN1bHRzIGhhdmUgYmVlbiBzZW50LiIsCiAgICAiZmllbGRzIjogWwogICAgICB7 + CiAgICAgICAgIm5hbWUiOiAidG90YWxCeXRlcyIsCiAgICAgICAgInR5cGUiOiAibG9uZyIsCiAg + ICAgICAgImRvYyI6ICJUaGUgdG90YWwgbnVtYmVyIG9mIGJ5dGVzIHRvIGJlIHNjYW5uZWQgaW4g + dGhpcyBxdWVyeSIKICAgICAgfQogICAgXQogIH0KXQoAx7a7c8s6SUGx6YZlanjA4QL2AwDwA/// + //94AAAAEAAAAAAACgAMAAYABQAIAAoAAAAAAQMADAAAAAgACAAAAAQACAAAAAQAAAABAAAAFAAA + ABAAFAAIAAYABwAMAAAAEAAQAAAAAAABByQAAAAUAAAABAAAAAAAAAAIAAwABAAIAAgAAAAEAAAA + AgAAAAMAAABhYmMA/////3AAAAAQAAAAAAAKAA4ABgAFAAgACgAAAAADAwAQAAAAAAAKAAwAAAAE + AAgACgAAADAAAAAEAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEA + AAAAAAAAAAAAAAAAAAAAAAAAx7a7c8s6SUGx6YZlanjA4QLGAgDAAv////+IAAAAFAAAAAAAAAAM + ABYABgAFAAgADAAMAAAAAAMDABgAAAAQAAAAAAAAAAAACgAYAAwABAAIAAoAAAA8AAAAEAAAAAEA + AAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAABAAAAAQAA + AAAAAAAAAAAAAAAAAJABAAAAAAAAAAAAAAAAAADHtrtzyzpJQbHphmVqeMDhAgYEQEDHtrtzyzpJ + QbHphmVqeMDhAgQGQMe2u3PLOklBsemGZWp4wOE= + headers: + Accept-Ranges: + - bytes + Content-Type: + - avro/binary + Date: + - Fri, 11 Sep 2020 21:41:25 GMT + ETag: + - '"0x8D8569B6EF8B486"' + Last-Modified: + - Fri, 11 Sep 2020 21:41:25 GMT + Transfer-Encoding: + - chunked + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Fri, 11 Sep 2020 21:41:25 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-request-id: + - 07a14690-801e-0008-3e84-88d877000000 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_directory.py b/sdk/storage/azure-storage-file-datalake/tests/test_directory.py index ff52c837dd5d..7893340e383a 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_directory.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_directory.py @@ -11,10 +11,12 @@ from azure.core import MatchConditions from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, \ - ResourceModifiedError + ResourceModifiedError, ServiceRequestError from azure.storage.filedatalake import ContentSettings, DirectorySasPermissions, DataLakeDirectoryClient, \ generate_file_system_sas, FileSystemSasPermissions, DataLakeFileClient from azure.storage.filedatalake import DataLakeServiceClient, generate_directory_sas +from azure.storage.filedatalake._models import AccessControlChangeResult, AccessControlChangeCounters, \ + AccessControlChanges, DataLakeAclChangeFailedError from testcase import ( StorageTestCase, record, @@ -24,6 +26,11 @@ # ------------------------------------------------------------------------------ TEST_DIRECTORY_PREFIX = 'directory' +REMOVE_ACL = "mask," + "default:user,default:group," + \ + "user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a," + \ + "default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a" + + # ------------------------------------------------------------------------------ @@ -65,10 +72,16 @@ def _create_directory_and_get_directory_client(self, directory_name=None): directory_client.create_directory() return directory_client + def _create_sub_directory_and_files(self, directory_client, num_of_dirs, num_of_files_per_dir): + # the name suffix matter since we need to avoid creating the same directories/files in record mode + for i in range(0, num_of_dirs): + sub_dir = directory_client.create_sub_directory(self.get_resource_name('subdir' + str(i))) + for j in range(0, num_of_files_per_dir): + sub_dir.create_file(self.get_resource_name('subfile' + str(j))) + def _create_file_system(self): return self.dsc.create_file_system(self._get_file_system_reference()) - # --Helpers----------------------------------------------------------------- @record @@ -190,7 +203,7 @@ def test_create_sub_directory_and_delete_sub_directory(self): # to make sure the sub directory was indeed created by get sub_directory properties from sub directory client sub_directory_client = self.dsc.get_directory_client(self.file_system_name, - directory_name+'/'+sub_directory_name) + directory_name + '/' + sub_directory_name) sub_properties = sub_directory_client.get_directory_properties() # Assert @@ -264,6 +277,520 @@ def test_get_access_control_with_match_conditions(self): self.assertIsNotNone(response) self.assertEquals(response['permissions'], 'rwxrwxrwx') + @record + def test_set_access_control_recursive(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = directory_client.set_access_control_recursive(acl=acl) + + # Assert + # +1 as the dir itself was also included + self.assertEqual(summary.counters.directories_successful, num_sub_dirs + 1) + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_throws_exception_containing_continuation_token(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + response_list = list() + + def callback(response): + response_list.append(response) + if len(response_list) == 2: + raise ServiceRequestError("network problem") + acl = 'user::rwx,group::r-x,other::rwx' + + with self.assertRaises(DataLakeAclChangeFailedError) as acl_error: + directory_client.set_access_control_recursive(acl=acl, batch_size=2, max_batches=2, + raw_response_hook=callback, retry_total=0) + self.assertIsNotNone(acl_error.exception.continuation) + self.assertEqual(acl_error.exception.message, "network problem") + self.assertIsInstance(acl_error.exception.error, ServiceRequestError) + + @record + def test_set_access_control_recursive_in_batches(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = directory_client.set_access_control_recursive(acl=acl, batch_size=2) + + # Assert + # +1 as the dir itself was also included + self.assertEqual(summary.counters.directories_successful, num_sub_dirs + 1) + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_in_batches_with_progress_callback(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(summary.counters.directories_successful, last_response.counters.directories_successful) + self.assertEqual(summary.counters.files_successful, last_response.counters.files_successful) + self.assertEqual(summary.counters.failure_count, last_response.counters.failure_count) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_with_failures(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + + @record + def test_set_access_control_recursive_stop_on_failures(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + if resp.batch_failures: + failed_entries.extend(resp.batch_failures) + + summary = directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=6) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + + @record + def test_set_access_control_recursive_continue_on_failures(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + self.dsc.get_directory_client(self.file_system_name, directory_name).get_sub_directory_client("cannottouchthisdir") \ + .create_directory() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + if resp.batch_failures: + failed_entries.extend(resp.batch_failures) + + # set acl for all directories + summary = directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=6, + continue_on_failure=True) + + # Assert + self.assertEqual(summary.counters.failure_count, 2) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 2) + self.assertIsNone(summary.continuation) + + # reset the counter, set acl for part of the directories + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + summary2 = directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=6, max_batches=3, + continue_on_failure=True) + self.assertEqual(summary2.counters.failure_count, 2) + self.assertEqual(summary2.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary2.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary2.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 2) + self.assertIsNotNone(summary2.continuation) + + @record + def test_set_access_control_recursive_in_batches_with_explicit_iteration(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + result = AccessControlChangeResult(None, "") + iteration_count = 0 + max_batches = 2 + batch_size = 2 + + while result.continuation is not None: + result = directory_client.set_access_control_recursive(acl=acl, batch_size=batch_size, max_batches=max_batches, + continuation=result.continuation) + + running_tally.directories_successful += result.counters.directories_successful + running_tally.files_successful += result.counters.files_successful + running_tally.failure_count += result.counters.failure_count + iteration_count += 1 + + # Assert + self.assertEqual(running_tally.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(running_tally.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(running_tally.failure_count, 0) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = directory_client.update_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_in_batches(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = directory_client.update_access_control_recursive(acl=acl, batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_in_batches_with_progress_callback(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = directory_client.update_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(summary.counters.directories_successful, last_response.counters.directories_successful) + self.assertEqual(summary.counters.files_successful, last_response.counters.files_successful) + self.assertEqual(summary.counters.failure_count, last_response.counters.failure_count) + access_control = directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_with_failures(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = directory_client.update_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + + @record + def test_remove_access_control_recursive(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + summary = directory_client.remove_access_control_recursive(acl=REMOVE_ACL) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + + @record + def test_remove_access_control_recursive_in_batches(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + summary = directory_client.remove_access_control_recursive(acl=REMOVE_ACL, batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + + @record + def test_remove_access_control_recursive_in_batches_with_progress_callback(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = directory_client.remove_access_control_recursive(acl=REMOVE_ACL, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(summary.counters.directories_successful, last_response.counters.directories_successful) + self.assertEqual(summary.counters.files_successful, last_response.counters.files_successful) + self.assertEqual(summary.counters.failure_count, last_response.counters.failure_count) + + @record + def test_remove_access_control_recursive_with_failures(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = directory_client.remove_access_control_recursive(acl=REMOVE_ACL, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + @record def test_rename_from(self): content_settings = ContentSettings( @@ -429,7 +956,7 @@ def test_rename_directory_to_non_empty_directory(self): dir1.create_sub_directory("subdir") dir2 = self._create_directory_and_get_directory_client("dir2") - dir2.rename_directory(dir1.file_system_name+'/'+dir1.path_name) + dir2.rename_directory(dir1.file_system_name + '/' + dir1.path_name) with self.assertRaises(HttpResponseError): dir2.get_directory_properties() @@ -514,7 +1041,30 @@ def test_using_directory_sas_to_create(self): response = directory_client.create_directory() self.assertIsNotNone(response) + def test_using_directory_sas_to_create_file(self): + # SAS URL is calculated from storage key, so this test runs live only + if TestMode.need_recording_file(self.test_mode): + return + + client = self._create_directory_and_get_directory_client() + directory_name = client.path_name + # generate a token with directory level read permission + token = generate_directory_sas( + self.dsc.account_name, + self.file_system_name, + directory_name, + self.dsc.credential.account_key, + permission=DirectorySasPermissions(create=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token) + directory_client.create_sub_directory("subdir") + + with self.assertRaises(HttpResponseError): + directory_client.delete_directory() # ------------------------------------------------------------------------------ if __name__ == '__main__': unittest.main() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_directory_async.py b/sdk/storage/azure-storage-file-datalake/tests/test_directory_async.py index bf8aa3bc2443..eb95d47159dd 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_directory_async.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_directory_async.py @@ -15,11 +15,13 @@ from multidict import CIMultiDict, CIMultiDictProxy from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, \ - ResourceModifiedError + ResourceModifiedError, ServiceRequestError from azure.storage.filedatalake import ContentSettings, DirectorySasPermissions, generate_file_system_sas, \ FileSystemSasPermissions from azure.storage.filedatalake import generate_directory_sas +from azure.storage.filedatalake._models import DataLakeAclChangeFailedError from azure.storage.filedatalake.aio import DataLakeServiceClient, DataLakeDirectoryClient +from azure.storage.filedatalake import AccessControlChangeResult, AccessControlChangeCounters from testcase import ( StorageTestCase, @@ -30,6 +32,9 @@ # ------------------------------------------------------------------------------ TEST_DIRECTORY_PREFIX = 'directory' +REMOVE_ACL = "mask," + "default:user,default:group," + \ + "user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a," + \ + "default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a" # ------------------------------------------------------------------------------ @@ -89,6 +94,13 @@ async def _create_directory_and_get_directory_client(self, directory_name=None): await directory_client.create_directory() return directory_client + async def _create_sub_directory_and_files(self, directory_client, num_of_dirs, num_of_files_per_dir): + # the name suffix matter since we need to avoid creating the same directories/files in record mode + for i in range(0, num_of_dirs): + sub_dir = await directory_client.create_sub_directory(self.get_resource_name('subdir' + str(i))) + for j in range(0, num_of_files_per_dir): + await sub_dir.create_file(self.get_resource_name('subfile' + str(j))) + async def _create_file_system(self): return await self.dsc.create_file_system(self._get_file_system_reference()) @@ -345,6 +357,517 @@ def test_get_access_control_with_match_conditions_async(self): loop = asyncio.get_event_loop() loop.run_until_complete(self._test_get_access_control_with_match_conditions()) + @record + def test_set_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_async()) + + async def _test_set_access_control_recursive_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = await directory_client.set_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_throws_exception_containing_continuation_token_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_throws_exception_containing_continuation_token()) + + async def _test_set_access_control_recursive_throws_exception_containing_continuation_token(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + response_list = list() + + def callback(response): + response_list.append(response) + if len(response_list) == 2: + raise ServiceRequestError("network problem") + acl = 'user::rwx,group::r-x,other::rwx' + + with self.assertRaises(DataLakeAclChangeFailedError) as acl_error: + await directory_client.set_access_control_recursive(acl=acl, batch_size=2, max_batches=2, + raw_response_hook=callback, retry_total=0) + self.assertIsNotNone(acl_error.exception.continuation) + self.assertEqual(acl_error.exception.message, "network problem") + self.assertIsInstance(acl_error.exception.error, ServiceRequestError) + + @record + def test_set_access_control_recursive_in_batches_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_in_batches_async()) + + async def _test_set_access_control_recursive_in_batches_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = await directory_client.set_access_control_recursive(acl=acl, batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_in_batches_with_progress_callback_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_in_batches_with_progress_callback_async()) + + async def _test_set_access_control_recursive_in_batches_with_progress_callback_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = await directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertIsNone(summary.continuation) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(summary.counters.directories_successful, last_response.counters.directories_successful) + self.assertEqual(summary.counters.files_successful, last_response.counters.files_successful) + self.assertEqual(summary.counters.failure_count, last_response.counters.failure_count) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_set_access_control_recursive_with_failures_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_with_failures_async()) + + async def _test_set_access_control_recursive_with_failures_async(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + await root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_async_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + await self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = await directory_client.set_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + + @record + def test_set_access_control_recursive_in_batches_with_explicit_iteration_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_in_batches_with_explicit_iteration_async()) + + async def _test_set_access_control_recursive_in_batches_with_explicit_iteration_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + result = AccessControlChangeResult(None, "") + iteration_count = 0 + max_batches = 2 + batch_size = 2 + + while result.continuation is not None: + result = await directory_client.set_access_control_recursive(acl=acl, batch_size=batch_size, + max_batches=max_batches, + continuation=result.continuation) + + running_tally.directories_successful += result.counters.directories_successful + running_tally.files_successful += result.counters.files_successful + running_tally.failure_count += result.counters.failure_count + iteration_count += 1 + + # Assert + self.assertEqual(running_tally.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(running_tally.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(running_tally.failure_count, 0) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_async()) + + async def _test_update_access_control_recursive_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = await directory_client.update_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_in_batches_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_in_batches_async()) + + async def _test_update_access_control_recursive_in_batches_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + summary = await directory_client.update_access_control_recursive(acl=acl, batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_in_batches_with_progress_callback_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_in_batches_with_progress_callback_async()) + + async def _test_update_access_control_recursive_in_batches_with_progress_callback_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = await directory_client.update_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + access_control = await directory_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_with_failures_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_with_failures_async()) + + async def _test_update_access_control_recursive_with_failures_async(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + await root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_async_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + await self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = await directory_client.update_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + + @record + def test_update_access_control_recursive_continue_on_failures_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_continue_on_failures_async()) + + async def _test_update_access_control_recursive_continue_on_failures_async(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + await root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_async_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + await self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + acl = 'user::rwx,group::r-x,other::rwx' + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + if resp.batch_failures: + failed_entries.extend(resp.batch_failures) + + summary = await directory_client.update_access_control_recursive(acl=acl, progress_hook=progress_callback, + batch_size=2, continue_on_failure=True) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + self.assertIsNone(summary.continuation) + + @record + def test_remove_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_remove_access_control_recursive_async()) + + async def _test_remove_access_control_recursive_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + summary = await directory_client.remove_access_control_recursive(acl=REMOVE_ACL) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + + @record + def test_remove_access_control_recursive_in_batches_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_remove_access_control_recursive_in_batches_async()) + + async def _test_remove_access_control_recursive_in_batches_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + summary = await directory_client.remove_access_control_recursive(acl=REMOVE_ACL, batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + + @record + def test_remove_access_control_recursive_in_batches_with_progress_callback_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_remove_access_control_recursive_in_batches_with_progress_callback_async()) + + async def _test_remove_access_control_recursive_in_batches_with_progress_callback_async(self): + directory_name = self._get_directory_reference() + directory_client = self.dsc.get_directory_client(self.file_system_name, directory_name) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + running_tally = AccessControlChangeCounters(0, 0, 0) + last_response = AccessControlChangeResult(None, "") + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + + last_response.counters = resp.aggregate_counters + + summary = await directory_client.remove_access_control_recursive(acl=REMOVE_ACL, + progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.directories_successful, + num_sub_dirs + 1) # +1 as the dir itself was also included + self.assertEqual(summary.counters.files_successful, num_sub_dirs * num_file_per_sub_dir) + self.assertEqual(summary.counters.failure_count, 0) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + + @record + def test_remove_access_control_recursive_with_failures_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_remove_access_control_recursive_with_failures_async()) + + async def _test_remove_access_control_recursive_with_failures_async(self): + if not self.is_playback(): + return + root_directory_client = self.dsc.get_file_system_client(self.file_system_name)._get_root_directory_client() + await root_directory_client.set_access_control(acl="user::--x,group::--x,other::--x") + + # Using an AAD identity, create a directory to put files under that + directory_name = self._get_directory_reference() + token_credential = self.generate_async_oauth_token() + directory_client = DataLakeDirectoryClient(self.dsc.url, self.file_system_name, directory_name, + credential=token_credential) + await directory_client.create_directory() + num_sub_dirs = 5 + num_file_per_sub_dir = 5 + await self._create_sub_directory_and_files(directory_client, num_sub_dirs, num_file_per_sub_dir) + + # Create a file as super user + await self.dsc.get_directory_client(self.file_system_name, directory_name).get_file_client("cannottouchthis") \ + .create_file() + + running_tally = AccessControlChangeCounters(0, 0, 0) + failed_entries = [] + + async def progress_callback(resp): + running_tally.directories_successful += resp.batch_counters.directories_successful + running_tally.files_successful += resp.batch_counters.files_successful + running_tally.failure_count += resp.batch_counters.failure_count + failed_entries.append(resp.batch_failures) + + summary = await directory_client.remove_access_control_recursive(acl=REMOVE_ACL, + progress_hook=progress_callback, + batch_size=2) + + # Assert + self.assertEqual(summary.counters.failure_count, 1) + self.assertEqual(summary.counters.directories_successful, running_tally.directories_successful) + self.assertEqual(summary.counters.files_successful, running_tally.files_successful) + self.assertEqual(summary.counters.failure_count, running_tally.failure_count) + self.assertEqual(len(failed_entries), 1) + async def _test_rename_from(self): content_settings = ContentSettings( content_language='spanish', @@ -394,13 +917,15 @@ async def _test_rename_from_a_directory_in_another_file_system(self): old_file_system_name = self._get_directory_reference("oldfilesystem") old_dir_name = "olddir" old_client = self.dsc.get_file_system_client(old_file_system_name) - time.sleep(30) + if not self.is_playback(): + time.sleep(30) await old_client.create_file_system() await old_client.create_directory(old_dir_name) # create a dir2 under filesystem2 new_name = "newname" - time.sleep(5) + if not self.is_playback(): + time.sleep(5) new_directory_client = await self._create_directory_and_get_directory_client(directory_name=new_name) new_directory_client = await new_directory_client.create_sub_directory("newsub") @@ -452,7 +977,8 @@ async def _test_rename_to_an_existing_directory_in_another_file_system(self): destination_file_system_name = self._get_directory_reference("destfilesystem") destination_dir_name = "destdir" fs_client = self.dsc.get_file_system_client(destination_file_system_name) - time.sleep(30) + if not self.is_playback(): + time.sleep(30) await fs_client.create_file_system() destination_directory_client = await fs_client.create_directory(destination_dir_name) @@ -563,7 +1089,7 @@ async def _test_rename_dir_with_file_system_sas(self): self.dsc.account_name, self.file_system_name, self.dsc.credential.account_key, - FileSystemSasPermissions(write=True, read=True, delete=True), + FileSystemSasPermissions(write=True, read=True, delete=True, move=True), datetime.utcnow() + timedelta(hours=1), ) @@ -580,14 +1106,14 @@ def test_rename_dir_with_file_system_sas_async(self): loop.run_until_complete(self._test_rename_dir_with_file_system_sas()) async def _test_rename_dir_with_file_sas(self): - # TODO: service bug?? - pytest.skip("service bug?") + if TestMode.need_recording_file(self.test_mode): + return token = generate_directory_sas(self.dsc.account_name, self.file_system_name, "olddir", self.settings.STORAGE_DATA_LAKE_ACCOUNT_KEY, permission=DirectorySasPermissions(read=True, create=True, write=True, - delete=True), + delete=True, move=True), expiry=datetime.utcnow() + timedelta(hours=1), ) diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file.py b/sdk/storage/azure-storage-file-datalake/tests/test_file.py index 049d2e04a2d0..dfeb7eecdb75 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file.py @@ -369,6 +369,86 @@ def test_read_file_with_user_delegation_key(self): downloaded_data = new_file_client.download_file().readall() self.assertEqual(data, downloaded_data) + def test_set_acl_with_user_delegation_key(self): + # SAS URL is calculated from storage key, so this test runs live only + if TestMode.need_recording_file(self.test_mode): + return + + # Create file + file_client = self._create_file_and_return_client() + data = self.get_random_bytes(1024) + # Upload data to file + file_client.append_data(data, 0, len(data)) + file_client.flush_data(len(data)) + + # Get user delegation key + token_credential = self.generate_oauth_token() + service_client = DataLakeServiceClient(self._get_oauth_account_url(), credential=token_credential) + user_delegation_key = service_client.get_user_delegation_key(datetime.utcnow(), + datetime.utcnow() + timedelta(hours=1)) + + sas_token = generate_file_sas(file_client.account_name, + file_client.file_system_name, + None, + file_client.path_name, + user_delegation_key, + permission=FileSasPermissions(execute=True, manage_access_control=True, + manage_ownership=True), + expiry=datetime.utcnow() + timedelta(hours=1), + ) + + # doanload the data and make sure it is the same as uploaded data + new_file_client = DataLakeFileClient(self._get_account_url(), + file_client.file_system_name, + file_client.path_name, + credential=sas_token) + acl = 'user::rwx,group::r-x,other::rwx' + owner = "dc140949-53b7-44af-b1e9-cd994951fb86" + new_file_client.set_access_control(acl=acl, owner=owner) + access_control = new_file_client.get_access_control() + self.assertEqual(acl, access_control['acl']) + self.assertEqual(owner, access_control['owner']) + + def test_preauthorize_user_with_user_delegation_key(self): + # SAS URL is calculated from storage key, so this test runs live only + if TestMode.need_recording_file(self.test_mode): + return + + # Create file + file_client = self._create_file_and_return_client() + data = self.get_random_bytes(1024) + # Upload data to file + file_client.append_data(data, 0, len(data)) + file_client.flush_data(len(data)) + file_client.set_access_control(owner="68390a19-a643-458b-b726-408abf67b4fc", permissions='0777') + acl = file_client.get_access_control() + + # Get user delegation key + token_credential = self.generate_oauth_token() + service_client = DataLakeServiceClient(self._get_oauth_account_url(), credential=token_credential) + user_delegation_key = service_client.get_user_delegation_key(datetime.utcnow(), + datetime.utcnow() + timedelta(hours=1)) + + sas_token = generate_file_sas(file_client.account_name, + file_client.file_system_name, + None, + file_client.path_name, + user_delegation_key, + permission=FileSasPermissions(read=True, write=True, manage_access_control=True, + manage_ownership=True), + expiry=datetime.utcnow() + timedelta(hours=1), + preauthorized_agent_object_id="68390a19-a643-458b-b726-408abf67b4fc" + ) + + # doanload the data and make sure it is the same as uploaded data + new_file_client = DataLakeFileClient(self._get_account_url(), + file_client.file_system_name, + file_client.path_name, + credential=sas_token) + + acl = new_file_client.set_access_control(permissions='0777') + self.assertIsNotNone(acl) + @record def test_read_file_into_file(self): file_client = self._create_file_and_return_client() @@ -540,6 +620,49 @@ def test_get_access_control_with_if_modified_since(self): # Assert self.assertIsNotNone(response) + @record + def test_set_access_control_recursive(self): + acl = 'user::rwx,group::r-x,other::rwx' + file_client = self._create_file_and_return_client() + + summary = file_client.set_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + access_control = file_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive(self): + acl = 'user::rwx,group::r-x,other::rwx' + file_client = self._create_file_and_return_client() + + summary = file_client.update_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + access_control = file_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_remove_access_control_recursive(self): + acl = "mask," + "default:user,default:group," + \ + "user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a," + \ + "default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a" + file_client = self._create_file_and_return_client() + summary = file_client.remove_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + @record def test_get_properties(self): # Arrange @@ -560,6 +683,24 @@ def test_get_properties(self): self.assertEqual(properties.metadata['hello'], metadata['hello']) self.assertEqual(properties.content_settings.content_language, content_settings.content_language) + @record + def test_set_expiry(self): + # Arrange + directory_client = self._create_directory_and_return_client() + + metadata = {'hello': 'world', 'number': '42'} + content_settings = ContentSettings( + content_language='spanish', + content_disposition='inline') + expires_on = datetime.utcnow() + timedelta(hours=1) + file_client = directory_client.create_file("newfile", metadata=metadata, content_settings=content_settings) + file_client.set_file_expiry("Absolute", expires_on=expires_on) + properties = file_client.get_file_properties() + + # Assert + self.assertTrue(properties) + self.assertIsNotNone(properties.expiry_time) + @record def test_rename_file_with_non_used_name(self): file_client = self._create_file_and_return_client() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file_async.py b/sdk/storage/azure-storage-file-datalake/tests/test_file_async.py index e42e526347e3..82c6badf8b61 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file_async.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file_async.py @@ -28,6 +28,8 @@ TEST_DIRECTORY_PREFIX = 'directory' TEST_FILE_PREFIX = 'file' FILE_PATH = 'file_output.temp.dat' + + # ------------------------------------------------------------------------------ @@ -418,7 +420,7 @@ async def _test_read_file_with_user_delegation_key(self): token_credential = self.generate_async_oauth_token() service_client = DataLakeServiceClient(self._get_oauth_account_url(), credential=token_credential) user_delegation_key = await service_client.get_user_delegation_key(datetime.utcnow(), - datetime.utcnow() + timedelta(hours=1)) + datetime.utcnow() + timedelta(hours=1)) sas_token = generate_file_sas(file_client.account_name, file_client.file_system_name, @@ -539,7 +541,7 @@ async def _test_file_sas_only_applies_to_file_level(self): ) # read the created file which is under root directory - file_client = DataLakeFileClient(self.dsc.url, self.file_system_name, directory_name+'/'+file_name, + file_client = DataLakeFileClient(self.dsc.url, self.file_system_name, directory_name + '/' + file_name, credential=token) properties = await file_client.get_file_properties() @@ -642,7 +644,7 @@ async def _test_get_access_control_with_if_modified_since(self): prop = await file_client.get_file_properties() # Act - response = await file_client.get_access_control(if_modified_since=prop['last_modified']-timedelta(minutes=15)) + response = await file_client.get_access_control(if_modified_since=prop['last_modified'] - timedelta(minutes=15)) # Assert self.assertIsNotNone(response) @@ -660,7 +662,8 @@ async def _test_get_properties(self): content_settings = ContentSettings( content_language='spanish', content_disposition='inline') - file_client = await directory_client.create_file("newfile", metadata=metadata, content_settings=content_settings) + file_client = await directory_client.create_file("newfile", metadata=metadata, + content_settings=content_settings) await file_client.append_data(b"abc", 0, 3) await file_client.flush_data(3) properties = await file_client.get_file_properties() @@ -671,17 +674,94 @@ async def _test_get_properties(self): self.assertEqual(properties.metadata['hello'], metadata['hello']) self.assertEqual(properties.content_settings.content_language, content_settings.content_language) + @record + def test_set_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_access_control_recursive_async()) + + async def _test_set_access_control_recursive_async(self): + acl = 'user::rwx,group::r-x,other::rwx' + file_client = await self._create_file_and_return_client() + + summary = await file_client.set_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + access_control = await file_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_update_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_update_access_control_recursive_async()) + + async def _test_update_access_control_recursive_async(self): + acl = 'user::rwx,group::r-x,other::rwx' + file_client = await self._create_file_and_return_client() + + summary = await file_client.update_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + access_control = await file_client.get_access_control() + self.assertIsNotNone(access_control) + self.assertEqual(acl, access_control['acl']) + + @record + def test_remove_access_control_recursive_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_remove_access_control_recursive_async()) + + async def _test_remove_access_control_recursive_async(self): + acl = "mask," + "default:user,default:group," + \ + "user:ec3595d6-2c17-4696-8caa-7e139758d24a,group:ec3595d6-2c17-4696-8caa-7e139758d24a," + \ + "default:user:ec3595d6-2c17-4696-8caa-7e139758d24a,default:group:ec3595d6-2c17-4696-8caa-7e139758d24a" + file_client = await self._create_file_and_return_client() + summary = await file_client.remove_access_control_recursive(acl=acl) + + # Assert + self.assertEqual(summary.counters.directories_successful, 0) + self.assertEqual(summary.counters.files_successful, 1) + self.assertEqual(summary.counters.failure_count, 0) + @record def test_get_properties_async(self): loop = asyncio.get_event_loop() loop.run_until_complete(self._test_get_properties()) + async def _test_set_expiry(self): + # Arrange + directory_client = await self._create_directory_and_return_client() + + metadata = {'hello': 'world', 'number': '42'} + content_settings = ContentSettings( + content_language='spanish', + content_disposition='inline') + expires_on = datetime.utcnow() + timedelta(hours=1) + file_client = await directory_client.create_file("newfile", metadata=metadata, content_settings=content_settings) + await file_client.set_file_expiry("Absolute", expires_on=expires_on) + properties = await file_client.get_file_properties() + + # Assert + self.assertTrue(properties) + self.assertIsNotNone(properties.expiry_time) + + @record + def test_set_expiry_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_set_expiry()) + async def _test_rename_file_with_non_used_name(self): file_client = await self._create_file_and_return_client() data_bytes = b"abc" await file_client.append_data(data_bytes, 0, 3) await file_client.flush_data(3) - new_client = await file_client.rename_file(file_client.file_system_name+'/'+'newname') + new_client = await file_client.rename_file(file_client.file_system_name + '/' + 'newname') data = await (await new_client.download_file()).readall() self.assertEqual(data, data_bytes) @@ -704,7 +784,7 @@ async def _test_rename_file_to_existing_file(self): data_bytes = b"abc" await file_client.append_data(data_bytes, 0, 3) await file_client.flush_data(3) - new_client = await file_client.rename_file(file_client.file_system_name+'/'+existing_file_client.path_name) + new_client = await file_client.rename_file(file_client.file_system_name + '/' + existing_file_client.path_name) new_url = file_client.url data = await (await new_client.download_file()).readall() @@ -725,7 +805,7 @@ async def _test_rename_file_with_file_sas(self): None, "oldfile", self.settings.STORAGE_DATA_LAKE_ACCOUNT_KEY, - permission=FileSasPermissions(read=True, create=True, write=True, delete=True), + permission=FileSasPermissions(read=True, create=True, write=True, delete=True, move=True), expiry=datetime.utcnow() + timedelta(hours=1), ) @@ -775,7 +855,7 @@ async def _test_rename_file_will_not_change_existing_directory(self): await f4.append_data(b"file4", 0, 5) await f4.flush_data(5) - new_client = await f3.rename_file(f1.file_system_name+'/'+f1.path_name) + new_client = await f3.rename_file(f1.file_system_name + '/' + f1.path_name) self.assertEqual(await (await new_client.download_file()).readall(), b"file3") @@ -794,6 +874,7 @@ def test_rename_file_will_not_change_existing_directory_async(self): loop = asyncio.get_event_loop() loop.run_until_complete(self._test_rename_file_will_not_change_existing_directory()) + # ------------------------------------------------------------------------------ if __name__ == '__main__': unittest.main() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py b/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py index 0650c5ee014a..b2f8639d6f7c 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py @@ -7,20 +7,25 @@ # -------------------------------------------------------------------------- import unittest import asyncio +import uuid from datetime import datetime, timedelta + +import pytest + from azure.core.exceptions import ResourceNotFoundError from azure.core import MatchConditions from azure.core.pipeline.transport import AioHttpTransport from multidict import CIMultiDict, CIMultiDictProxy -from azure.storage.filedatalake import AccessPolicy -from azure.storage.filedatalake.aio import DataLakeServiceClient +from azure.storage.filedatalake import AccessPolicy, generate_directory_sas, DirectorySasPermissions, \ + generate_file_system_sas +from azure.storage.filedatalake.aio import DataLakeServiceClient, DataLakeDirectoryClient, FileSystemClient from azure.storage.filedatalake import PublicAccess from testcase import ( StorageTestCase, record, -) + TestMode) # ------------------------------------------------------------------------------ from azure.storage.filedatalake import FileSystemSasPermissions @@ -443,6 +448,80 @@ def test_get_root_directory_client_async(self): loop = asyncio.get_event_loop() loop.run_until_complete(self._test_get_root_directory_client()) + async def _test_get_access_control_using_delegation_sas_async(self): + if TestMode.need_recording_file(self.test_mode): + return + + url = self._get_account_url() + token_credential = self.generate_async_oauth_token() + dsc = DataLakeServiceClient(url, token_credential) + file_system_name = self._get_file_system_reference() + directory_client_name = '/' + (await dsc.create_file_system(file_system_name)).get_directory_client(directory_client_name) + + directory_client = self.dsc.get_directory_client(file_system_name, directory_client_name) + random_guid = uuid.uuid4() + await directory_client.set_access_control(owner=random_guid, + permissions='0777') + acl = await directory_client.get_access_control() + + delegation_key = await dsc.get_user_delegation_key(datetime.utcnow(), + datetime.utcnow() + timedelta(hours=1)) + + token = generate_file_system_sas( + dsc.account_name, + file_system_name, + delegation_key, + permission=FileSystemSasPermissions(read=True, execute=True, manage_access_control=True, manage_ownership=True), + expiry=datetime.utcnow() + timedelta(hours=1), + agent_object_id=random_guid + ) + sas_directory_client = DataLakeDirectoryClient(self.dsc.url, file_system_name, directory_client_name, + credential=token) + access_control = await sas_directory_client.get_access_control() + + self.assertIsNotNone(access_control) + + def test_get_access_control_using_delegation_sas_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_get_access_control_using_delegation_sas_async()) + + async def _test_list_paths_using_file_sys_delegation_sas_async(self): + if TestMode.need_recording_file(self.test_mode): + return + url = self._get_account_url() + token_credential = self.generate_async_oauth_token() + dsc = DataLakeServiceClient(url, token_credential) + file_system_name = self._get_file_system_reference() + directory_client_name = '/' + directory_client = (await dsc.create_file_system(file_system_name)).get_directory_client(directory_client_name) + + random_guid = uuid.uuid4() + await directory_client.set_access_control(owner=random_guid, permissions='0777') + + delegation_key = await dsc.get_user_delegation_key(datetime.utcnow(), + datetime.utcnow() + timedelta(hours=1)) + + token = generate_file_system_sas( + dsc.account_name, + file_system_name, + delegation_key, + permission=DirectorySasPermissions(list=True), + expiry=datetime.utcnow() + timedelta(hours=1), + agent_object_id=random_guid + ) + sas_directory_client = FileSystemClient(self.dsc.url, file_system_name, + credential=token) + paths = list() + async for path in sas_directory_client.get_paths(): + paths.append(path) + + self.assertEqual(0, 0) + + def test_list_paths_using_file_sys_delegation_sas_async(self): + loop = asyncio.get_event_loop() + loop.run_until_complete(self._test_list_paths_using_file_sys_delegation_sas_async()) + # ------------------------------------------------------------------------------ if __name__ == '__main__': unittest.main() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py b/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py index 8e2cb74dfe8a..0aae5aca4ad5 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py @@ -5,14 +5,15 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- +import base64 import pytest from azure.storage.filedatalake import ( DelimitedTextDialect, DelimitedJsonDialect, - DataLakeFileQueryError -) + DataLakeFileQueryError, + ArrowDialect, ArrowType) from testcase import ( StorageTestCase, @@ -799,4 +800,49 @@ def on_error(error): self.assertEqual(len(resp), len(data)) self.assertEqual(query_result, b'{"name":"owner"}\n{}\n{"name":"owner"}\n') + @record + def test_quick_query_output_in_arrow_format(self): + # Arrange + data = b'100,200,300,400\n300,400,500,600\n' + + # upload the json file + file_name = self._get_file_reference() + file_client = self.dsc.get_file_client(self.filesystem_name, file_name) + file_client.upload_data(data, overwrite=True) + + errors = [] + def on_error(error): + errors.append(error) + + output_format = [ArrowDialect(ArrowType.DECIMAL, name="abc", precision=4, scale=2)] + + expected_result = b"/////3gAAAAQAAAAAAAKAAwABgAFAAgACgAAAAABAwAMAAAACAAIAAAABAAIAAAABAAAAAEAAAAUAAAAEAAUAAgABgAHAAwAAAAQABAAAAAAAAEHJAAAABQAAAAEAAAAAAAAAAgADAAEAAgACAAAAAQAAAACAAAAAwAAAGFiYwD/////cAAAABAAAAAAAAoADgAGAAUACAAKAAAAAAMDABAAAAAAAAoADAAAAAQACAAKAAAAMAAAAAQAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAD/////iAAAABQAAAAAAAAADAAWAAYABQAIAAwADAAAAAADAwAYAAAAEAAAAAAAAAAAAAoAGAAMAAQACAAKAAAAPAAAABAAAAABAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAACQAQAAAAAAAAAAAAAAAAAA" + + resp = file_client.query_file( + "SELECT _2 from BlobStorage WHERE _1 > 250", + on_error=on_error, + output_format=output_format) + query_result = base64.b64encode(resp.readall()) + + self.assertEqual(len(errors), 0) + self.assertEqual(query_result, expected_result) + + @record + def test_quick_query_input_in_arrow_format(self): + # Arrange + file_name = self._get_file_reference() + file_client = self.dsc.get_file_client(self.filesystem_name, file_name) + + errors = [] + def on_error(error): + errors.append(error) + + input_format = [ArrowDialect(ArrowType.DECIMAL, name="abc", precision=4, scale=2)] + + with self.assertRaises(ValueError): + file_client.query_file( + "SELECT _2 from BlobStorage WHERE _1 > 250", + on_error=on_error, + file_format=input_format) + # ------------------------------------------------------------------------------ diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/__init__.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/__init__.py index 3266ae2ad6c9..7c838c1d1707 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/__init__.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/__init__.py @@ -25,6 +25,9 @@ Metrics, RetentionPolicy, CorsRule, + ShareSmbSettings, + SmbMultichannel, + ShareProtocolSettings, AccessPolicy, FileSasPermissions, ShareSasPermissions, @@ -52,6 +55,9 @@ 'Metrics', 'RetentionPolicy', 'CorsRule', + 'ShareSmbSettings', + 'SmbMultichannel', + 'ShareProtocolSettings', 'AccessPolicy', 'FileSasPermissions', 'ShareSasPermissions', diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_deserialize.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_deserialize.py index 5475e6d14e0d..a4b3500b1955 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_deserialize.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_deserialize.py @@ -3,9 +3,15 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- +# pylint: disable=no-self-use +from typing import ( # pylint: disable=unused-import + Tuple, Dict, List, + TYPE_CHECKING +) from ._models import ShareProperties, DirectoryProperties, FileProperties from ._shared.response_handlers import deserialize_metadata +from ._generated.models import ShareFileRangeList def deserialize_share_properties(response, obj, headers): @@ -62,3 +68,16 @@ def deserialize_permission_key(response, obj, headers): # pylint: disable=unuse if response is None or headers is None: return None return headers.get('x-ms-file-permission-key', None) + + +def get_file_ranges_result(ranges): + # type: (ShareFileRangeList) -> Tuple[List[Dict[str, int]], List[Dict[str, int]]] + file_ranges = [] # type: ignore + clear_ranges = [] # type: List + if ranges.ranges: + file_ranges = [ + {'start': file_range.start, 'end': file_range.end} for file_range in ranges.ranges] # type: ignore + if ranges.clear_ranges: + clear_ranges = [ + {'start': clear_range.start, 'end': clear_range.end} for clear_range in ranges.clear_ranges] + return file_ranges, clear_ranges diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py index 3110a194a0c6..631adac62418 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py @@ -3,12 +3,12 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -# pylint: disable=too-many-lines +# pylint: disable=too-many-lines, too-many-public-methods import functools import time from io import BytesIO from typing import ( # pylint: disable=unused-import - Optional, Union, IO, List, Dict, Any, Iterable, + Optional, Union, IO, List, Dict, Any, Iterable, Tuple, TYPE_CHECKING ) @@ -33,7 +33,7 @@ from ._parser import _get_file_permission, _datetime_to_str from ._lease import ShareLeaseClient from ._serialize import get_source_conditions, get_access_conditions, get_smb_properties, get_api_version -from ._deserialize import deserialize_file_properties, deserialize_file_stream +from ._deserialize import deserialize_file_properties, deserialize_file_stream, get_file_ranges_result from ._models import HandlesPaged, NTFSAttributes # pylint: disable=unused-import from ._download import StorageStreamDownloader @@ -266,7 +266,7 @@ def from_connection_string( @distributed_trace def acquire_lease(self, lease_id=None, **kwargs): - # type: (int, Optional[str], **Any) -> BlobLeaseClient + # type: (Optional[str], **Any) -> ShareLeaseClient """Requests a new lease. If the file does not have an active lease, the File @@ -283,13 +283,14 @@ def acquire_lease(self, lease_id=None, **kwargs): .. admonition:: Example: - .. literalinclude:: ../samples/blob_samples_common.py - :start-after: [START acquire_lease_on_blob] - :end-before: [END acquire_lease_on_blob] + .. literalinclude:: ../samples/file_samples_client.py + :start-after: [START acquire_and_release_lease_on_file] + :end-before: [END acquire_and_release_lease_on_file] :language: python - :dedent: 8 - :caption: Acquiring a lease on a blob. + :dedent: 12 + :caption: Acquiring a lease on a file. """ + kwargs['lease_duration'] = -1 lease = ShareLeaseClient(self, lease_id=lease_id) # type: ignore lease.acquire(**kwargs) return lease @@ -1093,6 +1094,40 @@ def upload_range_from_url(self, source_url, except StorageErrorException as error: process_storage_error(error) + def _get_ranges_options( # type: ignore + self, offset=None, # type: Optional[int] + length=None, # type: Optional[int] + previous_sharesnapshot=None, # type: Optional[Union[str, Dict[str, Any]]] + **kwargs + ): + # type: (...) -> Dict[str, Any] + if self.require_encryption or (self.key_encryption_key is not None): + raise ValueError("Unsupported method for encryption.") + access_conditions = get_access_conditions(kwargs.pop('lease', None)) + + content_range = None + if offset is not None: + if length is not None: + end_range = offset + length - 1 # Reformat to an inclusive range index + content_range = 'bytes={0}-{1}'.format(offset, end_range) + else: + content_range = 'bytes={0}-'.format(offset) + options = { + 'sharesnapshot': self.snapshot, + 'lease_access_conditions': access_conditions, + 'timeout': kwargs.pop('timeout', None), + 'range': content_range} + if previous_sharesnapshot: + try: + options['prevsharesnapshot'] = previous_sharesnapshot.snapshot # type: ignore + except AttributeError: + try: + options['prevsharesnapshot'] = previous_sharesnapshot['snapshot'] # type: ignore + except TypeError: + options['prevsharesnapshot'] = previous_sharesnapshot + options.update(kwargs) + return options + @distributed_trace def get_ranges( # type: ignore self, offset=None, # type: Optional[int] @@ -1100,7 +1135,8 @@ def get_ranges( # type: ignore **kwargs # type: Any ): # type: (...) -> List[Dict[str, int]] - """Returns the list of valid ranges of a file. + """Returns the list of valid page ranges for a file or snapshot + of a file. :param int offset: Specifies the start offset of bytes over which to get ranges. @@ -1115,31 +1151,62 @@ def get_ranges( # type: ignore :paramtype lease: ~azure.storage.fileshare.ShareLeaseClient or str :keyword int timeout: The timeout parameter is expressed in seconds. - :returns: A list of valid ranges. + :returns: + A list of valid ranges. :rtype: List[dict[str, int]] """ - timeout = kwargs.pop('timeout', None) - if self.require_encryption or (self.key_encryption_key is not None): - raise ValueError("Unsupported method for encryption.") - access_conditions = get_access_conditions(kwargs.pop('lease', None)) + options = self._get_ranges_options( + offset=offset, + length=length, + **kwargs) + try: + ranges = self._client.file.get_range_list(**options) + except StorageErrorException as error: + process_storage_error(error) + return [{'start': file_range.start, 'end': file_range.end} for file_range in ranges.ranges] - content_range = None - if offset is not None: - if length is not None: - end_range = offset + length - 1 # Reformat to an inclusive range index - content_range = 'bytes={0}-{1}'.format(offset, end_range) - else: - content_range = 'bytes={0}-'.format(offset) + def get_ranges_diff( # type: ignore + self, + previous_sharesnapshot, # type: Union[str, Dict[str, Any]] + offset=None, # type: Optional[int] + length=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Tuple[List[Dict[str, int]], List[Dict[str, int]]] + """Returns the list of valid page ranges for a file or snapshot + of a file. + + .. versionadded:: 12.6.0 + + :param int offset: + Specifies the start offset of bytes over which to get ranges. + :param int length: + Number of bytes to use over which to get ranges. + :param str previous_sharesnapshot: + The snapshot diff parameter that contains an opaque DateTime value that + specifies a previous file snapshot to be compared + against a more recent snapshot or the current file. + :keyword lease: + Required if the file has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + :paramtype lease: ~azure.storage.fileshare.ShareLeaseClient or str + :keyword int timeout: + The timeout parameter is expressed in seconds. + :returns: + A tuple of two lists of file ranges as dictionaries with 'start' and 'end' keys. + The first element are filled file ranges, the 2nd element is cleared file ranges. + :rtype: tuple(list(dict(str, str), list(dict(str, str)) + """ + options = self._get_ranges_options( + offset=offset, + length=length, + previous_sharesnapshot=previous_sharesnapshot, + **kwargs) try: - ranges = self._client.file.get_range_list( - range=content_range, - sharesnapshot=self.snapshot, - lease_access_conditions=access_conditions, - timeout=timeout, - **kwargs) + ranges = self._client.file.get_range_list(**options) except StorageErrorException as error: process_storage_error(error) - return [{'start': b.start, 'end': b.end} for b in ranges] + return get_file_ranges_result(ranges) @distributed_trace def clear_range( # type: ignore diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/_azure_file_storage.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/_azure_file_storage.py index e3dd92caceb2..3c52986c52e4 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/_azure_file_storage.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/_azure_file_storage.py @@ -49,7 +49,7 @@ def __init__(self, version, url, **kwargs): self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/_azure_file_storage_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/_azure_file_storage_async.py index 39cf463c46a9..c0fcb43d6368 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/_azure_file_storage_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/_azure_file_storage_async.py @@ -50,7 +50,7 @@ def __init__( self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-12-12' + self.api_version = '2020-02-10' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_directory_operations_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_directory_operations_async.py index 30aea571fb36..26a962f8df72 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_directory_operations_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_directory_operations_async.py @@ -595,7 +595,7 @@ async def force_close_handles(self, handle_id, timeout=None, marker=None, shares """Closes all handles open for given directory. :param handle_id: Specifies handle ID opened on the file or directory - to be closed. Asterix (‘*’) is a wildcard that specifies all handles. + to be closed. Asterisk (‘*’) is a wildcard that specifies all handles. :type handle_id: str :param timeout: The timeout parameter is expressed in seconds. For more information, see Setting @@ -1243,8 +1246,8 @@ async def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lea ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response - :return: list or the result of cls(response) - :rtype: list[~azure.storage.fileshare.models.Range] + :return: ShareFileRangeList or the result of cls(response) + :rtype: ~azure.storage.fileshare.models.ShareFileRangeList :raises: :class:`StorageErrorException` """ @@ -1266,6 +1269,8 @@ async def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lea query_parameters = {} if sharesnapshot is not None: query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + if prevsharesnapshot is not None: + query_parameters['prevsharesnapshot'] = self._serialize.query("prevsharesnapshot", prevsharesnapshot, 'str') if timeout is not None: query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) query_parameters['comp'] = self._serialize.query("comp", comp, 'str') @@ -1291,7 +1296,7 @@ async def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lea header_dict = {} deserialized = None if response.status_code == 200: - deserialized = self._deserialize('[Range]', response) + deserialized = self._deserialize('ShareFileRangeList', response) header_dict = { 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), 'ETag': self._deserialize('str', response.headers.get('ETag')), @@ -1594,7 +1599,7 @@ async def force_close_handles(self, handle_id, timeout=None, marker=None, shares """Closes all handles open for given file. :param handle_id: Specifies handle ID opened on the file or directory - to be closed. Asterix (‘*’) is a wildcard that specifies all handles. + to be closed. Asterisk (‘*’) is a wildcard that specifies all handles. :type handle_id: str :param timeout: The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -122,6 +126,10 @@ async def get_properties(self, sharesnapshot=None, timeout=None, *, cls=None, ** :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + # Construct URL url = self.get_properties.metadata['url'] path_format_arguments = { @@ -140,6 +148,8 @@ async def get_properties(self, sharesnapshot=None, timeout=None, *, cls=None, ** # Construct headers header_parameters = {} header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) @@ -163,12 +173,15 @@ async def get_properties(self, sharesnapshot=None, timeout=None, *, cls=None, ** 'x-ms-share-provisioned-ingress-mbps': self._deserialize('int', response.headers.get('x-ms-share-provisioned-ingress-mbps')), 'x-ms-share-provisioned-egress-mbps': self._deserialize('int', response.headers.get('x-ms-share-provisioned-egress-mbps')), 'x-ms-share-next-allowed-quota-downgrade-time': self._deserialize('rfc-1123', response.headers.get('x-ms-share-next-allowed-quota-downgrade-time')), + 'x-ms-lease-duration': self._deserialize(models.LeaseDurationType, response.headers.get('x-ms-lease-duration')), + 'x-ms-lease-state': self._deserialize(models.LeaseStateType, response.headers.get('x-ms-lease-state')), + 'x-ms-lease-status': self._deserialize(models.LeaseStatusType, response.headers.get('x-ms-lease-status')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) get_properties.metadata = {'url': '/{shareName}'} - async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, *, cls=None, **kwargs): + async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, lease_access_conditions=None, *, cls=None, **kwargs): """Operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection. @@ -186,6 +199,10 @@ async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, 'include' :type delete_snapshots: str or ~azure.storage.fileshare.models.DeleteSnapshotsOptionType + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -194,6 +211,10 @@ async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + # Construct URL url = self.delete.metadata['url'] path_format_arguments = { @@ -214,6 +235,8 @@ async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') if delete_snapshots is not None: header_parameters['x-ms-delete-snapshots'] = self._serialize.header("delete_snapshots", delete_snapshots, 'DeleteSnapshotsOptionType') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) @@ -234,6 +257,423 @@ async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, return cls(response, None, response_headers) delete.metadata = {'url': '/{shareName}'} + async def acquire_lease(self, timeout=None, duration=None, proposed_lease_id=None, sharesnapshot=None, request_id=None, *, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param duration: Specifies the duration of the lease, in seconds, or + negative one (-1) for a lease that never expires. A non-infinite lease + can be between 15 and 60 seconds. A lease duration cannot be changed + using renew or change. + :type duration: int + :param proposed_lease_id: Proposed lease ID, in a GUID string format. + The File service returns 400 (Invalid request) if the proposed lease + ID is not in the correct format. See Guid Constructor (String) for a + list of valid GUID string formats. + :type proposed_lease_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "acquire" + + # Construct URL + url = self.acquire_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + if duration is not None: + header_parameters['x-ms-lease-duration'] = self._serialize.header("duration", duration, 'int') + if proposed_lease_id is not None: + header_parameters['x-ms-proposed-lease-id'] = self._serialize.header("proposed_lease_id", proposed_lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + acquire_lease.metadata = {'url': '/{shareName}'} + + async def release_lease(self, lease_id, timeout=None, sharesnapshot=None, request_id=None, *, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "release" + + # Construct URL + url = self.release_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + release_lease.metadata = {'url': '/{shareName}'} + + async def change_lease(self, lease_id, timeout=None, proposed_lease_id=None, sharesnapshot=None, request_id=None, *, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param proposed_lease_id: Proposed lease ID, in a GUID string format. + The File service returns 400 (Invalid request) if the proposed lease + ID is not in the correct format. See Guid Constructor (String) for a + list of valid GUID string formats. + :type proposed_lease_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "change" + + # Construct URL + url = self.change_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + if proposed_lease_id is not None: + header_parameters['x-ms-proposed-lease-id'] = self._serialize.header("proposed_lease_id", proposed_lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + change_lease.metadata = {'url': '/{shareName}'} + + async def renew_lease(self, lease_id, timeout=None, sharesnapshot=None, request_id=None, *, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "renew" + + # Construct URL + url = self.renew_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + renew_lease.metadata = {'url': '/{shareName}'} + + async def break_lease(self, timeout=None, break_period=None, request_id=None, sharesnapshot=None, lease_access_conditions=None, *, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param break_period: For a break operation, proposed duration the + lease should continue before it is broken, in seconds, between 0 and + 60. This break period is only used if it is shorter than the time + remaining on the lease. If longer, the time remaining on the lease is + used. A new lease will not be available before the break period has + expired, but the lease may be held for longer than the break period. + If this header does not appear with a break operation, a + fixed-duration lease breaks after the remaining lease period elapses, + and an infinite lease breaks immediately. + :type break_period: int + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + + comp = "lease" + action = "break" + + # Construct URL + url = self.break_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + if break_period is not None: + header_parameters['x-ms-lease-break-period'] = self._serialize.header("break_period", break_period, 'int') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-time': self._deserialize('int', response.headers.get('x-ms-lease-time')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + break_lease.metadata = {'url': '/{shareName}'} + async def create_snapshot(self, timeout=None, metadata=None, *, cls=None, **kwargs): """Creates a read-only snapshot of a share. @@ -428,7 +868,7 @@ async def get_permission(self, file_permission_key, timeout=None, *, cls=None, * return deserialized get_permission.metadata = {'url': '/{shareName}'} - async def set_quota(self, timeout=None, quota=None, *, cls=None, **kwargs): + async def set_quota(self, timeout=None, quota=None, lease_access_conditions=None, *, cls=None, **kwargs): """Sets quota for the specified share. :param timeout: The timeout parameter is expressed in seconds. For @@ -438,6 +878,10 @@ async def set_quota(self, timeout=None, quota=None, *, cls=None, **kwargs): :type timeout: int :param quota: Specifies the maximum size of the share, in gigabytes. :type quota: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -446,6 +890,10 @@ async def set_quota(self, timeout=None, quota=None, *, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "properties" # Construct URL @@ -467,6 +915,8 @@ async def set_quota(self, timeout=None, quota=None, *, cls=None, **kwargs): header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') if quota is not None: header_parameters['x-ms-share-quota'] = self._serialize.header("quota", quota, 'int', minimum=1) + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) @@ -489,7 +939,7 @@ async def set_quota(self, timeout=None, quota=None, *, cls=None, **kwargs): return cls(response, None, response_headers) set_quota.metadata = {'url': '/{shareName}'} - async def set_metadata(self, timeout=None, metadata=None, *, cls=None, **kwargs): + async def set_metadata(self, timeout=None, metadata=None, lease_access_conditions=None, *, cls=None, **kwargs): """Sets one or more user-defined name-value pairs for the specified share. :param timeout: The timeout parameter is expressed in seconds. For @@ -500,6 +950,10 @@ async def set_metadata(self, timeout=None, metadata=None, *, cls=None, **kwargs) :param metadata: A name-value pair to associate with a file storage object. :type metadata: str + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -508,6 +962,10 @@ async def set_metadata(self, timeout=None, metadata=None, *, cls=None, **kwargs) :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "metadata" # Construct URL @@ -529,6 +987,8 @@ async def set_metadata(self, timeout=None, metadata=None, *, cls=None, **kwargs) if metadata is not None: header_parameters['x-ms-meta'] = self._serialize.header("metadata", metadata, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) @@ -551,7 +1011,7 @@ async def set_metadata(self, timeout=None, metadata=None, *, cls=None, **kwargs) return cls(response, None, response_headers) set_metadata.metadata = {'url': '/{shareName}'} - async def get_access_policy(self, timeout=None, *, cls=None, **kwargs): + async def get_access_policy(self, timeout=None, lease_access_conditions=None, *, cls=None, **kwargs): """Returns information about stored access policies specified on the share. @@ -560,6 +1020,10 @@ async def get_access_policy(self, timeout=None, *, cls=None, **kwargs): href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: list or the result of cls(response) @@ -568,6 +1032,10 @@ async def get_access_policy(self, timeout=None, *, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "acl" # Construct URL @@ -588,6 +1056,8 @@ async def get_access_policy(self, timeout=None, *, cls=None, **kwargs): header_parameters = {} header_parameters['Accept'] = 'application/xml' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) @@ -617,7 +1087,7 @@ async def get_access_policy(self, timeout=None, *, cls=None, **kwargs): return deserialized get_access_policy.metadata = {'url': '/{shareName}'} - async def set_access_policy(self, share_acl=None, timeout=None, *, cls=None, **kwargs): + async def set_access_policy(self, share_acl=None, timeout=None, lease_access_conditions=None, *, cls=None, **kwargs): """Sets a stored access policy for use with shared access signatures. :param share_acl: The ACL for the share. @@ -628,6 +1098,10 @@ async def set_access_policy(self, share_acl=None, timeout=None, *, cls=None, **k href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -636,6 +1110,10 @@ async def set_access_policy(self, share_acl=None, timeout=None, *, cls=None, **k :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "acl" # Construct URL @@ -656,6 +1134,8 @@ async def set_access_policy(self, share_acl=None, timeout=None, *, cls=None, **k header_parameters = {} header_parameters['Content-Type'] = 'application/xml; charset=utf-8' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct body serialization_ctxt = {'xml': {'name': 'SignedIdentifiers', 'itemsName': 'SignedIdentifier', 'wrapped': True}} @@ -685,7 +1165,7 @@ async def set_access_policy(self, share_acl=None, timeout=None, *, cls=None, **k return cls(response, None, response_headers) set_access_policy.metadata = {'url': '/{shareName}'} - async def get_statistics(self, timeout=None, *, cls=None, **kwargs): + async def get_statistics(self, timeout=None, lease_access_conditions=None, *, cls=None, **kwargs): """Retrieves statistics related to the share. :param timeout: The timeout parameter is expressed in seconds. For @@ -693,6 +1173,10 @@ async def get_statistics(self, timeout=None, *, cls=None, **kwargs): href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: ShareStats or the result of cls(response) @@ -701,6 +1185,10 @@ async def get_statistics(self, timeout=None, *, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "stats" # Construct URL @@ -721,6 +1209,8 @@ async def get_statistics(self, timeout=None, *, cls=None, **kwargs): header_parameters = {} header_parameters['Accept'] = 'application/xml' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py index 44ec5d1ab32d..163c6b6c7f8e 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py @@ -11,12 +11,14 @@ try: from ._models_py3 import AccessPolicy + from ._models_py3 import ClearRange from ._models_py3 import CopyFileSmbInfo from ._models_py3 import CorsRule from ._models_py3 import DirectoryItem from ._models_py3 import FileHTTPHeaders from ._models_py3 import FileItem from ._models_py3 import FileProperty + from ._models_py3 import FileRange from ._models_py3 import FilesAndDirectoriesListSegment from ._models_py3 import HandleItem from ._models_py3 import LeaseAccessConditions @@ -24,24 +26,29 @@ from ._models_py3 import ListHandlesResponse from ._models_py3 import ListSharesResponse from ._models_py3 import Metrics - from ._models_py3 import Range from ._models_py3 import RetentionPolicy + from ._models_py3 import ShareFileRangeList from ._models_py3 import ShareItem from ._models_py3 import SharePermission from ._models_py3 import ShareProperties + from ._models_py3 import ShareProtocolSettings + from ._models_py3 import ShareSmbSettings from ._models_py3 import ShareStats from ._models_py3 import SignedIdentifier + from ._models_py3 import SmbMultichannel from ._models_py3 import SourceModifiedAccessConditions from ._models_py3 import StorageError, StorageErrorException from ._models_py3 import StorageServiceProperties except (SyntaxError, ImportError): from ._models import AccessPolicy + from ._models import ClearRange from ._models import CopyFileSmbInfo from ._models import CorsRule from ._models import DirectoryItem from ._models import FileHTTPHeaders from ._models import FileItem from ._models import FileProperty + from ._models import FileRange from ._models import FilesAndDirectoriesListSegment from ._models import HandleItem from ._models import LeaseAccessConditions @@ -49,13 +56,16 @@ from ._models import ListHandlesResponse from ._models import ListSharesResponse from ._models import Metrics - from ._models import Range from ._models import RetentionPolicy + from ._models import ShareFileRangeList from ._models import ShareItem from ._models import SharePermission from ._models import ShareProperties + from ._models import ShareProtocolSettings + from ._models import ShareSmbSettings from ._models import ShareStats from ._models import SignedIdentifier + from ._models import SmbMultichannel from ._models import SourceModifiedAccessConditions from ._models import StorageError, StorageErrorException from ._models import StorageServiceProperties @@ -73,12 +83,14 @@ __all__ = [ 'AccessPolicy', + 'ClearRange', 'CopyFileSmbInfo', 'CorsRule', 'DirectoryItem', 'FileHTTPHeaders', 'FileItem', 'FileProperty', + 'FileRange', 'FilesAndDirectoriesListSegment', 'HandleItem', 'LeaseAccessConditions', @@ -86,23 +98,26 @@ 'ListHandlesResponse', 'ListSharesResponse', 'Metrics', - 'Range', 'RetentionPolicy', + 'ShareFileRangeList', 'ShareItem', 'SharePermission', 'ShareProperties', + 'ShareProtocolSettings', + 'ShareSmbSettings', 'ShareStats', 'SignedIdentifier', + 'SmbMultichannel', 'SourceModifiedAccessConditions', 'StorageError', 'StorageErrorException', 'StorageServiceProperties', 'StorageErrorCode', + 'LeaseDurationType', + 'LeaseStateType', + 'LeaseStatusType', 'PermissionCopyModeType', 'DeleteSnapshotsOptionType', 'ListSharesIncludeType', 'CopyStatusType', - 'LeaseDurationType', - 'LeaseStateType', - 'LeaseStatusType', 'FileRangeWriteType', ] diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py index 66f39fbb3b10..3a1fab622b76 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py @@ -82,6 +82,27 @@ class StorageErrorCode(str, Enum): feature_version_mismatch = "FeatureVersionMismatch" +class LeaseDurationType(str, Enum): + + infinite = "infinite" + fixed = "fixed" + + +class LeaseStateType(str, Enum): + + available = "available" + leased = "leased" + expired = "expired" + breaking = "breaking" + broken = "broken" + + +class LeaseStatusType(str, Enum): + + locked = "locked" + unlocked = "unlocked" + + class PermissionCopyModeType(str, Enum): source = "source" @@ -108,27 +129,6 @@ class CopyStatusType(str, Enum): failed = "failed" -class LeaseDurationType(str, Enum): - - infinite = "infinite" - fixed = "fixed" - - -class LeaseStateType(str, Enum): - - available = "available" - leased = "leased" - expired = "expired" - breaking = "breaking" - broken = "broken" - - -class LeaseStatusType(str, Enum): - - locked = "locked" - unlocked = "unlocked" - - class FileRangeWriteType(str, Enum): update = "update" diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models.py index f5cc1fabb382..9f6b2dbf672a 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models.py @@ -39,6 +39,36 @@ def __init__(self, **kwargs): self.permission = kwargs.get('permission', None) +class ClearRange(Model): + """ClearRange. + + All required parameters must be populated in order to send to Azure. + + :param start: Required. + :type start: long + :param end: Required. + :type end: long + """ + + _validation = { + 'start': {'required': True}, + 'end': {'required': True}, + } + + _attribute_map = { + 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, + 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, + } + _xml_map = { + 'name': 'ClearRange' + } + + def __init__(self, **kwargs): + super(ClearRange, self).__init__(**kwargs) + self.start = kwargs.get('start', None) + self.end = kwargs.get('end', None) + + class CopyFileSmbInfo(Model): """Additional parameters for start_copy operation. @@ -275,6 +305,36 @@ def __init__(self, **kwargs): self.content_length = kwargs.get('content_length', None) +class FileRange(Model): + """An Azure Storage file range. + + All required parameters must be populated in order to send to Azure. + + :param start: Required. Start of the range. + :type start: long + :param end: Required. End of the range. + :type end: long + """ + + _validation = { + 'start': {'required': True}, + 'end': {'required': True}, + } + + _attribute_map = { + 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, + 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, + } + _xml_map = { + 'name': 'Range' + } + + def __init__(self, **kwargs): + super(FileRange, self).__init__(**kwargs) + self.start = kwargs.get('start', None) + self.end = kwargs.get('end', None) + + class FilesAndDirectoriesListSegment(Model): """Abstract for entries that can be listed from Directory. @@ -564,36 +624,6 @@ def __init__(self, **kwargs): self.retention_policy = kwargs.get('retention_policy', None) -class Range(Model): - """An Azure Storage file range. - - All required parameters must be populated in order to send to Azure. - - :param start: Required. Start of the range. - :type start: long - :param end: Required. End of the range. - :type end: long - """ - - _validation = { - 'start': {'required': True}, - 'end': {'required': True}, - } - - _attribute_map = { - 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, - 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, - } - _xml_map = { - 'name': 'Range' - } - - def __init__(self, **kwargs): - super(Range, self).__init__(**kwargs) - self.start = kwargs.get('start', None) - self.end = kwargs.get('end', None) - - class RetentionPolicy(Model): """The retention policy. @@ -627,6 +657,28 @@ def __init__(self, **kwargs): self.days = kwargs.get('days', None) +class ShareFileRangeList(Model): + """The list of file ranges. + + :param ranges: + :type ranges: list[~azure.storage.fileshare.models.FileRange] + :param clear_ranges: + :type clear_ranges: list[~azure.storage.fileshare.models.ClearRange] + """ + + _attribute_map = { + 'ranges': {'key': 'Ranges', 'type': '[FileRange]', 'xml': {'name': 'Ranges', 'itemsName': 'Range'}}, + 'clear_ranges': {'key': 'ClearRanges', 'type': '[ClearRange]', 'xml': {'name': 'ClearRanges', 'itemsName': 'ClearRange'}}, + } + _xml_map = { + } + + def __init__(self, **kwargs): + super(ShareFileRangeList, self).__init__(**kwargs) + self.ranges = kwargs.get('ranges', None) + self.clear_ranges = kwargs.get('clear_ranges', None) + + class ShareItem(Model): """A listed Azure Storage share item. @@ -721,6 +773,14 @@ class ShareProperties(Model): :type deleted_time: datetime :param remaining_retention_days: :type remaining_retention_days: int + :param lease_status: Possible values include: 'locked', 'unlocked' + :type lease_status: str or ~azure.storage.fileshare.models.LeaseStatusType + :param lease_state: Possible values include: 'available', 'leased', + 'expired', 'breaking', 'broken' + :type lease_state: str or ~azure.storage.fileshare.models.LeaseStateType + :param lease_duration: Possible values include: 'infinite', 'fixed' + :type lease_duration: str or + ~azure.storage.fileshare.models.LeaseDurationType """ _validation = { @@ -739,6 +799,9 @@ class ShareProperties(Model): 'next_allowed_quota_downgrade_time': {'key': 'NextAllowedQuotaDowngradeTime', 'type': 'rfc-1123', 'xml': {'name': 'NextAllowedQuotaDowngradeTime'}}, 'deleted_time': {'key': 'DeletedTime', 'type': 'rfc-1123', 'xml': {'name': 'DeletedTime'}}, 'remaining_retention_days': {'key': 'RemainingRetentionDays', 'type': 'int', 'xml': {'name': 'RemainingRetentionDays'}}, + 'lease_status': {'key': 'LeaseStatus', 'type': 'LeaseStatusType', 'xml': {'name': 'LeaseStatus'}}, + 'lease_state': {'key': 'LeaseState', 'type': 'LeaseStateType', 'xml': {'name': 'LeaseState'}}, + 'lease_duration': {'key': 'LeaseDuration', 'type': 'LeaseDurationType', 'xml': {'name': 'LeaseDuration'}}, } _xml_map = { } @@ -754,6 +817,45 @@ def __init__(self, **kwargs): self.next_allowed_quota_downgrade_time = kwargs.get('next_allowed_quota_downgrade_time', None) self.deleted_time = kwargs.get('deleted_time', None) self.remaining_retention_days = kwargs.get('remaining_retention_days', None) + self.lease_status = kwargs.get('lease_status', None) + self.lease_state = kwargs.get('lease_state', None) + self.lease_duration = kwargs.get('lease_duration', None) + + +class ShareProtocolSettings(Model): + """Protocol settings. + + :param smb: Settings for SMB protocol. + :type smb: ~azure.storage.fileshare.models.ShareSmbSettings + """ + + _attribute_map = { + 'smb': {'key': 'Smb', 'type': 'ShareSmbSettings', 'xml': {'name': 'SMB'}}, + } + _xml_map = { + } + + def __init__(self, **kwargs): + super(ShareProtocolSettings, self).__init__(**kwargs) + self.smb = kwargs.get('smb', None) + + +class ShareSmbSettings(Model): + """Settings for SMB protocol. + + :param multichannel: Settings for SMB Multichannel. + :type multichannel: ~azure.storage.fileshare.models.SmbMultichannel + """ + + _attribute_map = { + 'multichannel': {'key': 'Multichannel', 'type': 'SmbMultichannel', 'xml': {'name': 'Multichannel'}}, + } + _xml_map = { + } + + def __init__(self, **kwargs): + super(ShareSmbSettings, self).__init__(**kwargs) + self.multichannel = kwargs.get('multichannel', None) class ShareStats(Model): @@ -810,6 +912,25 @@ def __init__(self, **kwargs): self.access_policy = kwargs.get('access_policy', None) +class SmbMultichannel(Model): + """Settings for SMB multichannel. + + :param enabled: If SMB multichannel is enabled. + :type enabled: bool + """ + + _attribute_map = { + 'enabled': {'key': 'Enabled', 'type': 'bool', 'xml': {'name': 'Enabled'}}, + } + _xml_map = { + 'name': 'Multichannel' + } + + def __init__(self, **kwargs): + super(SmbMultichannel, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + + class SourceModifiedAccessConditions(Model): """Additional parameters for upload_range_from_url operation. @@ -879,12 +1000,15 @@ class StorageServiceProperties(Model): :type minute_metrics: ~azure.storage.fileshare.models.Metrics :param cors: The set of CORS rules. :type cors: list[~azure.storage.fileshare.models.CorsRule] + :param protocol: Protocol settings + :type protocol: ~azure.storage.fileshare.models.ShareProtocolSettings """ _attribute_map = { 'hour_metrics': {'key': 'HourMetrics', 'type': 'Metrics', 'xml': {'name': 'HourMetrics'}}, 'minute_metrics': {'key': 'MinuteMetrics', 'type': 'Metrics', 'xml': {'name': 'MinuteMetrics'}}, 'cors': {'key': 'Cors', 'type': '[CorsRule]', 'xml': {'name': 'Cors', 'itemsName': 'CorsRule', 'wrapped': True}}, + 'protocol': {'key': 'Protocol', 'type': 'ShareProtocolSettings', 'xml': {'name': 'ProtocolSettings'}}, } _xml_map = { } @@ -894,3 +1018,4 @@ def __init__(self, **kwargs): self.hour_metrics = kwargs.get('hour_metrics', None) self.minute_metrics = kwargs.get('minute_metrics', None) self.cors = kwargs.get('cors', None) + self.protocol = kwargs.get('protocol', None) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models_py3.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models_py3.py index 0be5dca813d3..7fe9c4a7cb49 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models_py3.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_models_py3.py @@ -39,6 +39,36 @@ def __init__(self, *, start: str=None, expiry: str=None, permission: str=None, * self.permission = permission +class ClearRange(Model): + """ClearRange. + + All required parameters must be populated in order to send to Azure. + + :param start: Required. + :type start: long + :param end: Required. + :type end: long + """ + + _validation = { + 'start': {'required': True}, + 'end': {'required': True}, + } + + _attribute_map = { + 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, + 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, + } + _xml_map = { + 'name': 'ClearRange' + } + + def __init__(self, *, start: int, end: int, **kwargs) -> None: + super(ClearRange, self).__init__(**kwargs) + self.start = start + self.end = end + + class CopyFileSmbInfo(Model): """Additional parameters for start_copy operation. @@ -275,6 +305,36 @@ def __init__(self, *, content_length: int, **kwargs) -> None: self.content_length = content_length +class FileRange(Model): + """An Azure Storage file range. + + All required parameters must be populated in order to send to Azure. + + :param start: Required. Start of the range. + :type start: long + :param end: Required. End of the range. + :type end: long + """ + + _validation = { + 'start': {'required': True}, + 'end': {'required': True}, + } + + _attribute_map = { + 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, + 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, + } + _xml_map = { + 'name': 'Range' + } + + def __init__(self, *, start: int, end: int, **kwargs) -> None: + super(FileRange, self).__init__(**kwargs) + self.start = start + self.end = end + + class FilesAndDirectoriesListSegment(Model): """Abstract for entries that can be listed from Directory. @@ -564,36 +624,6 @@ def __init__(self, *, version: str, enabled: bool, include_apis: bool=None, rete self.retention_policy = retention_policy -class Range(Model): - """An Azure Storage file range. - - All required parameters must be populated in order to send to Azure. - - :param start: Required. Start of the range. - :type start: long - :param end: Required. End of the range. - :type end: long - """ - - _validation = { - 'start': {'required': True}, - 'end': {'required': True}, - } - - _attribute_map = { - 'start': {'key': 'Start', 'type': 'long', 'xml': {'name': 'Start'}}, - 'end': {'key': 'End', 'type': 'long', 'xml': {'name': 'End'}}, - } - _xml_map = { - 'name': 'Range' - } - - def __init__(self, *, start: int, end: int, **kwargs) -> None: - super(Range, self).__init__(**kwargs) - self.start = start - self.end = end - - class RetentionPolicy(Model): """The retention policy. @@ -627,6 +657,28 @@ def __init__(self, *, enabled: bool, days: int=None, **kwargs) -> None: self.days = days +class ShareFileRangeList(Model): + """The list of file ranges. + + :param ranges: + :type ranges: list[~azure.storage.fileshare.models.FileRange] + :param clear_ranges: + :type clear_ranges: list[~azure.storage.fileshare.models.ClearRange] + """ + + _attribute_map = { + 'ranges': {'key': 'Ranges', 'type': '[FileRange]', 'xml': {'name': 'Ranges', 'itemsName': 'Range'}}, + 'clear_ranges': {'key': 'ClearRanges', 'type': '[ClearRange]', 'xml': {'name': 'ClearRanges', 'itemsName': 'ClearRange'}}, + } + _xml_map = { + } + + def __init__(self, *, ranges=None, clear_ranges=None, **kwargs) -> None: + super(ShareFileRangeList, self).__init__(**kwargs) + self.ranges = ranges + self.clear_ranges = clear_ranges + + class ShareItem(Model): """A listed Azure Storage share item. @@ -721,6 +773,14 @@ class ShareProperties(Model): :type deleted_time: datetime :param remaining_retention_days: :type remaining_retention_days: int + :param lease_status: Possible values include: 'locked', 'unlocked' + :type lease_status: str or ~azure.storage.fileshare.models.LeaseStatusType + :param lease_state: Possible values include: 'available', 'leased', + 'expired', 'breaking', 'broken' + :type lease_state: str or ~azure.storage.fileshare.models.LeaseStateType + :param lease_duration: Possible values include: 'infinite', 'fixed' + :type lease_duration: str or + ~azure.storage.fileshare.models.LeaseDurationType """ _validation = { @@ -739,11 +799,14 @@ class ShareProperties(Model): 'next_allowed_quota_downgrade_time': {'key': 'NextAllowedQuotaDowngradeTime', 'type': 'rfc-1123', 'xml': {'name': 'NextAllowedQuotaDowngradeTime'}}, 'deleted_time': {'key': 'DeletedTime', 'type': 'rfc-1123', 'xml': {'name': 'DeletedTime'}}, 'remaining_retention_days': {'key': 'RemainingRetentionDays', 'type': 'int', 'xml': {'name': 'RemainingRetentionDays'}}, + 'lease_status': {'key': 'LeaseStatus', 'type': 'LeaseStatusType', 'xml': {'name': 'LeaseStatus'}}, + 'lease_state': {'key': 'LeaseState', 'type': 'LeaseStateType', 'xml': {'name': 'LeaseState'}}, + 'lease_duration': {'key': 'LeaseDuration', 'type': 'LeaseDurationType', 'xml': {'name': 'LeaseDuration'}}, } _xml_map = { } - def __init__(self, *, last_modified, etag: str, quota: int, provisioned_iops: int=None, provisioned_ingress_mbps: int=None, provisioned_egress_mbps: int=None, next_allowed_quota_downgrade_time=None, deleted_time=None, remaining_retention_days: int=None, **kwargs) -> None: + def __init__(self, *, last_modified, etag: str, quota: int, provisioned_iops: int=None, provisioned_ingress_mbps: int=None, provisioned_egress_mbps: int=None, next_allowed_quota_downgrade_time=None, deleted_time=None, remaining_retention_days: int=None, lease_status=None, lease_state=None, lease_duration=None, **kwargs) -> None: super(ShareProperties, self).__init__(**kwargs) self.last_modified = last_modified self.etag = etag @@ -754,6 +817,45 @@ def __init__(self, *, last_modified, etag: str, quota: int, provisioned_iops: in self.next_allowed_quota_downgrade_time = next_allowed_quota_downgrade_time self.deleted_time = deleted_time self.remaining_retention_days = remaining_retention_days + self.lease_status = lease_status + self.lease_state = lease_state + self.lease_duration = lease_duration + + +class ShareProtocolSettings(Model): + """Protocol settings. + + :param smb: Settings for SMB protocol. + :type smb: ~azure.storage.fileshare.models.ShareSmbSettings + """ + + _attribute_map = { + 'smb': {'key': 'Smb', 'type': 'ShareSmbSettings', 'xml': {'name': 'SMB'}}, + } + _xml_map = { + } + + def __init__(self, *, smb=None, **kwargs) -> None: + super(ShareProtocolSettings, self).__init__(**kwargs) + self.smb = smb + + +class ShareSmbSettings(Model): + """Settings for SMB protocol. + + :param multichannel: Settings for SMB Multichannel. + :type multichannel: ~azure.storage.fileshare.models.SmbMultichannel + """ + + _attribute_map = { + 'multichannel': {'key': 'Multichannel', 'type': 'SmbMultichannel', 'xml': {'name': 'Multichannel'}}, + } + _xml_map = { + } + + def __init__(self, *, multichannel=None, **kwargs) -> None: + super(ShareSmbSettings, self).__init__(**kwargs) + self.multichannel = multichannel class ShareStats(Model): @@ -810,6 +912,25 @@ def __init__(self, *, id: str, access_policy=None, **kwargs) -> None: self.access_policy = access_policy +class SmbMultichannel(Model): + """Settings for SMB multichannel. + + :param enabled: If SMB multichannel is enabled. + :type enabled: bool + """ + + _attribute_map = { + 'enabled': {'key': 'Enabled', 'type': 'bool', 'xml': {'name': 'Enabled'}}, + } + _xml_map = { + 'name': 'Multichannel' + } + + def __init__(self, *, enabled: bool=None, **kwargs) -> None: + super(SmbMultichannel, self).__init__(**kwargs) + self.enabled = enabled + + class SourceModifiedAccessConditions(Model): """Additional parameters for upload_range_from_url operation. @@ -879,18 +1000,22 @@ class StorageServiceProperties(Model): :type minute_metrics: ~azure.storage.fileshare.models.Metrics :param cors: The set of CORS rules. :type cors: list[~azure.storage.fileshare.models.CorsRule] + :param protocol: Protocol settings + :type protocol: ~azure.storage.fileshare.models.ShareProtocolSettings """ _attribute_map = { 'hour_metrics': {'key': 'HourMetrics', 'type': 'Metrics', 'xml': {'name': 'HourMetrics'}}, 'minute_metrics': {'key': 'MinuteMetrics', 'type': 'Metrics', 'xml': {'name': 'MinuteMetrics'}}, 'cors': {'key': 'Cors', 'type': '[CorsRule]', 'xml': {'name': 'Cors', 'itemsName': 'CorsRule', 'wrapped': True}}, + 'protocol': {'key': 'Protocol', 'type': 'ShareProtocolSettings', 'xml': {'name': 'ProtocolSettings'}}, } _xml_map = { } - def __init__(self, *, hour_metrics=None, minute_metrics=None, cors=None, **kwargs) -> None: + def __init__(self, *, hour_metrics=None, minute_metrics=None, cors=None, protocol=None, **kwargs) -> None: super(StorageServiceProperties, self).__init__(**kwargs) self.hour_metrics = hour_metrics self.minute_metrics = minute_metrics self.cors = cors + self.protocol = protocol diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_directory_operations.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_directory_operations.py index c1afd8e23b39..c38bc8d2fe2e 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_directory_operations.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_directory_operations.py @@ -595,7 +595,7 @@ def force_close_handles(self, handle_id, timeout=None, marker=None, sharesnapsho """Closes all handles open for given directory. :param handle_id: Specifies handle ID opened on the file or directory - to be closed. Asterix (‘*’) is a wildcard that specifies all handles. + to be closed. Asterisk (‘*’) is a wildcard that specifies all handles. :type handle_id: str :param timeout: The timeout parameter is expressed in seconds. For more information, see Setting @@ -1242,8 +1245,8 @@ def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lease_acc ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response - :return: list or the result of cls(response) - :rtype: list[~azure.storage.fileshare.models.Range] + :return: ShareFileRangeList or the result of cls(response) + :rtype: ~azure.storage.fileshare.models.ShareFileRangeList :raises: :class:`StorageErrorException` """ @@ -1265,6 +1268,8 @@ def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lease_acc query_parameters = {} if sharesnapshot is not None: query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + if prevsharesnapshot is not None: + query_parameters['prevsharesnapshot'] = self._serialize.query("prevsharesnapshot", prevsharesnapshot, 'str') if timeout is not None: query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) query_parameters['comp'] = self._serialize.query("comp", comp, 'str') @@ -1290,7 +1295,7 @@ def get_range_list(self, sharesnapshot=None, timeout=None, range=None, lease_acc header_dict = {} deserialized = None if response.status_code == 200: - deserialized = self._deserialize('[Range]', response) + deserialized = self._deserialize('ShareFileRangeList', response) header_dict = { 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), 'ETag': self._deserialize('str', response.headers.get('ETag')), @@ -1593,7 +1598,7 @@ def force_close_handles(self, handle_id, timeout=None, marker=None, sharesnapsho """Closes all handles open for given file. :param handle_id: Specifies handle ID opened on the file or directory - to be closed. Asterix (‘*’) is a wildcard that specifies all handles. + to be closed. Asterisk (‘*’) is a wildcard that specifies all handles. :type handle_id: str :param timeout: The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -122,6 +126,10 @@ def get_properties(self, sharesnapshot=None, timeout=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + # Construct URL url = self.get_properties.metadata['url'] path_format_arguments = { @@ -140,6 +148,8 @@ def get_properties(self, sharesnapshot=None, timeout=None, cls=None, **kwargs): # Construct headers header_parameters = {} header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) @@ -163,12 +173,15 @@ def get_properties(self, sharesnapshot=None, timeout=None, cls=None, **kwargs): 'x-ms-share-provisioned-ingress-mbps': self._deserialize('int', response.headers.get('x-ms-share-provisioned-ingress-mbps')), 'x-ms-share-provisioned-egress-mbps': self._deserialize('int', response.headers.get('x-ms-share-provisioned-egress-mbps')), 'x-ms-share-next-allowed-quota-downgrade-time': self._deserialize('rfc-1123', response.headers.get('x-ms-share-next-allowed-quota-downgrade-time')), + 'x-ms-lease-duration': self._deserialize(models.LeaseDurationType, response.headers.get('x-ms-lease-duration')), + 'x-ms-lease-state': self._deserialize(models.LeaseStateType, response.headers.get('x-ms-lease-state')), + 'x-ms-lease-status': self._deserialize(models.LeaseStatusType, response.headers.get('x-ms-lease-status')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) get_properties.metadata = {'url': '/{shareName}'} - def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, cls=None, **kwargs): + def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, lease_access_conditions=None, cls=None, **kwargs): """Operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection. @@ -186,6 +199,10 @@ def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, cls=No 'include' :type delete_snapshots: str or ~azure.storage.fileshare.models.DeleteSnapshotsOptionType + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -194,6 +211,10 @@ def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, cls=No :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + # Construct URL url = self.delete.metadata['url'] path_format_arguments = { @@ -214,6 +235,8 @@ def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, cls=No header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') if delete_snapshots is not None: header_parameters['x-ms-delete-snapshots'] = self._serialize.header("delete_snapshots", delete_snapshots, 'DeleteSnapshotsOptionType') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) @@ -234,6 +257,423 @@ def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, cls=No return cls(response, None, response_headers) delete.metadata = {'url': '/{shareName}'} + def acquire_lease(self, timeout=None, duration=None, proposed_lease_id=None, sharesnapshot=None, request_id=None, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param duration: Specifies the duration of the lease, in seconds, or + negative one (-1) for a lease that never expires. A non-infinite lease + can be between 15 and 60 seconds. A lease duration cannot be changed + using renew or change. + :type duration: int + :param proposed_lease_id: Proposed lease ID, in a GUID string format. + The File service returns 400 (Invalid request) if the proposed lease + ID is not in the correct format. See Guid Constructor (String) for a + list of valid GUID string formats. + :type proposed_lease_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "acquire" + + # Construct URL + url = self.acquire_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + if duration is not None: + header_parameters['x-ms-lease-duration'] = self._serialize.header("duration", duration, 'int') + if proposed_lease_id is not None: + header_parameters['x-ms-proposed-lease-id'] = self._serialize.header("proposed_lease_id", proposed_lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + acquire_lease.metadata = {'url': '/{shareName}'} + + def release_lease(self, lease_id, timeout=None, sharesnapshot=None, request_id=None, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "release" + + # Construct URL + url = self.release_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + release_lease.metadata = {'url': '/{shareName}'} + + def change_lease(self, lease_id, timeout=None, proposed_lease_id=None, sharesnapshot=None, request_id=None, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param proposed_lease_id: Proposed lease ID, in a GUID string format. + The File service returns 400 (Invalid request) if the proposed lease + ID is not in the correct format. See Guid Constructor (String) for a + list of valid GUID string formats. + :type proposed_lease_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "change" + + # Construct URL + url = self.change_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + if proposed_lease_id is not None: + header_parameters['x-ms-proposed-lease-id'] = self._serialize.header("proposed_lease_id", proposed_lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + change_lease.metadata = {'url': '/{shareName}'} + + def renew_lease(self, lease_id, timeout=None, sharesnapshot=None, request_id=None, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param lease_id: Specifies the current lease ID on the resource. + :type lease_id: str + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + comp = "lease" + action = "renew" + + # Construct URL + url = self.renew_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + renew_lease.metadata = {'url': '/{shareName}'} + + def break_lease(self, timeout=None, break_period=None, request_id=None, sharesnapshot=None, lease_access_conditions=None, cls=None, **kwargs): + """The Lease Share operation establishes and manages a lock on a share, or + the specified snapshot for set and delete share operations. + + :param timeout: The timeout parameter is expressed in seconds. For + more information, see Setting + Timeouts for File Service Operations. + :type timeout: int + :param break_period: For a break operation, proposed duration the + lease should continue before it is broken, in seconds, between 0 and + 60. This break period is only used if it is shorter than the time + remaining on the lease. If longer, the time remaining on the lease is + used. A new lease will not be available before the break period has + expired, but the lease may be held for longer than the break period. + If this header does not appear with a break operation, a + fixed-duration lease breaks after the remaining lease period elapses, + and an infinite lease breaks immediately. + :type break_period: int + :param request_id: Provides a client-generated, opaque value with a 1 + KB character limit that is recorded in the analytics logs when storage + analytics logging is enabled. + :type request_id: str + :param sharesnapshot: The snapshot parameter is an opaque DateTime + value that, when present, specifies the share snapshot to query. + :type sharesnapshot: str + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions + :param callable cls: A custom type or function that will be passed the + direct response + :return: None or the result of cls(response) + :rtype: None + :raises: + :class:`StorageErrorException` + """ + error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + + comp = "lease" + action = "break" + + # Construct URL + url = self.break_lease.metadata['url'] + path_format_arguments = { + 'url': self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if timeout is not None: + query_parameters['timeout'] = self._serialize.query("timeout", timeout, 'int', minimum=0) + if sharesnapshot is not None: + query_parameters['sharesnapshot'] = self._serialize.query("sharesnapshot", sharesnapshot, 'str') + query_parameters['comp'] = self._serialize.query("comp", comp, 'str') + query_parameters['restype'] = self._serialize.query("self.restype", self.restype, 'str') + + # Construct headers + header_parameters = {} + if break_period is not None: + header_parameters['x-ms-lease-break-period'] = self._serialize.header("break_period", break_period, 'int') + header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("request_id", request_id, 'str') + header_parameters['x-ms-lease-action'] = self._serialize.header("action", action, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise models.StorageErrorException(response, self._deserialize) + + if cls: + response_headers = { + 'ETag': self._deserialize('str', response.headers.get('ETag')), + 'Last-Modified': self._deserialize('rfc-1123', response.headers.get('Last-Modified')), + 'x-ms-lease-time': self._deserialize('int', response.headers.get('x-ms-lease-time')), + 'x-ms-lease-id': self._deserialize('str', response.headers.get('x-ms-lease-id')), + 'x-ms-client-request-id': self._deserialize('str', response.headers.get('x-ms-client-request-id')), + 'x-ms-request-id': self._deserialize('str', response.headers.get('x-ms-request-id')), + 'x-ms-version': self._deserialize('str', response.headers.get('x-ms-version')), + 'Date': self._deserialize('rfc-1123', response.headers.get('Date')), + 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), + } + return cls(response, None, response_headers) + break_lease.metadata = {'url': '/{shareName}'} + def create_snapshot(self, timeout=None, metadata=None, cls=None, **kwargs): """Creates a read-only snapshot of a share. @@ -428,7 +868,7 @@ def get_permission(self, file_permission_key, timeout=None, cls=None, **kwargs): return deserialized get_permission.metadata = {'url': '/{shareName}'} - def set_quota(self, timeout=None, quota=None, cls=None, **kwargs): + def set_quota(self, timeout=None, quota=None, lease_access_conditions=None, cls=None, **kwargs): """Sets quota for the specified share. :param timeout: The timeout parameter is expressed in seconds. For @@ -438,6 +878,10 @@ def set_quota(self, timeout=None, quota=None, cls=None, **kwargs): :type timeout: int :param quota: Specifies the maximum size of the share, in gigabytes. :type quota: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -446,6 +890,10 @@ def set_quota(self, timeout=None, quota=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "properties" # Construct URL @@ -467,6 +915,8 @@ def set_quota(self, timeout=None, quota=None, cls=None, **kwargs): header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') if quota is not None: header_parameters['x-ms-share-quota'] = self._serialize.header("quota", quota, 'int', minimum=1) + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) @@ -489,7 +939,7 @@ def set_quota(self, timeout=None, quota=None, cls=None, **kwargs): return cls(response, None, response_headers) set_quota.metadata = {'url': '/{shareName}'} - def set_metadata(self, timeout=None, metadata=None, cls=None, **kwargs): + def set_metadata(self, timeout=None, metadata=None, lease_access_conditions=None, cls=None, **kwargs): """Sets one or more user-defined name-value pairs for the specified share. :param timeout: The timeout parameter is expressed in seconds. For @@ -500,6 +950,10 @@ def set_metadata(self, timeout=None, metadata=None, cls=None, **kwargs): :param metadata: A name-value pair to associate with a file storage object. :type metadata: str + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -508,6 +962,10 @@ def set_metadata(self, timeout=None, metadata=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "metadata" # Construct URL @@ -529,6 +987,8 @@ def set_metadata(self, timeout=None, metadata=None, cls=None, **kwargs): if metadata is not None: header_parameters['x-ms-meta'] = self._serialize.header("metadata", metadata, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.put(url, query_parameters, header_parameters) @@ -551,7 +1011,7 @@ def set_metadata(self, timeout=None, metadata=None, cls=None, **kwargs): return cls(response, None, response_headers) set_metadata.metadata = {'url': '/{shareName}'} - def get_access_policy(self, timeout=None, cls=None, **kwargs): + def get_access_policy(self, timeout=None, lease_access_conditions=None, cls=None, **kwargs): """Returns information about stored access policies specified on the share. @@ -560,6 +1020,10 @@ def get_access_policy(self, timeout=None, cls=None, **kwargs): href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: list or the result of cls(response) @@ -568,6 +1032,10 @@ def get_access_policy(self, timeout=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "acl" # Construct URL @@ -588,6 +1056,8 @@ def get_access_policy(self, timeout=None, cls=None, **kwargs): header_parameters = {} header_parameters['Accept'] = 'application/xml' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) @@ -617,7 +1087,7 @@ def get_access_policy(self, timeout=None, cls=None, **kwargs): return deserialized get_access_policy.metadata = {'url': '/{shareName}'} - def set_access_policy(self, share_acl=None, timeout=None, cls=None, **kwargs): + def set_access_policy(self, share_acl=None, timeout=None, lease_access_conditions=None, cls=None, **kwargs): """Sets a stored access policy for use with shared access signatures. :param share_acl: The ACL for the share. @@ -628,6 +1098,10 @@ def set_access_policy(self, share_acl=None, timeout=None, cls=None, **kwargs): href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -636,6 +1110,10 @@ def set_access_policy(self, share_acl=None, timeout=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "acl" # Construct URL @@ -656,6 +1134,8 @@ def set_access_policy(self, share_acl=None, timeout=None, cls=None, **kwargs): header_parameters = {} header_parameters['Content-Type'] = 'application/xml; charset=utf-8' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct body serialization_ctxt = {'xml': {'name': 'SignedIdentifiers', 'itemsName': 'SignedIdentifier', 'wrapped': True}} @@ -685,7 +1165,7 @@ def set_access_policy(self, share_acl=None, timeout=None, cls=None, **kwargs): return cls(response, None, response_headers) set_access_policy.metadata = {'url': '/{shareName}'} - def get_statistics(self, timeout=None, cls=None, **kwargs): + def get_statistics(self, timeout=None, lease_access_conditions=None, cls=None, **kwargs): """Retrieves statistics related to the share. :param timeout: The timeout parameter is expressed in seconds. For @@ -693,6 +1173,10 @@ def get_statistics(self, timeout=None, cls=None, **kwargs): href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations. :type timeout: int + :param lease_access_conditions: Additional parameters for the + operation + :type lease_access_conditions: + ~azure.storage.fileshare.models.LeaseAccessConditions :param callable cls: A custom type or function that will be passed the direct response :return: ShareStats or the result of cls(response) @@ -701,6 +1185,10 @@ def get_statistics(self, timeout=None, cls=None, **kwargs): :class:`StorageErrorException` """ error_map = kwargs.pop('error_map', None) + lease_id = None + if lease_access_conditions is not None: + lease_id = lease_access_conditions.lease_id + comp = "stats" # Construct URL @@ -721,6 +1209,8 @@ def get_statistics(self, timeout=None, cls=None, **kwargs): header_parameters = {} header_parameters['Accept'] = 'application/xml' header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') + if lease_id is not None: + header_parameters['x-ms-lease-id'] = self._serialize.header("lease_id", lease_id, 'str') # Construct and send request request = self._client.get(url, query_parameters, header_parameters) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/version.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/version.py index be045899fa00..6ef707dd11c9 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/version.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2019-12-12" +VERSION = "2020-02-10" diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_lease.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_lease.py index f67264a95b59..789e147c0468 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_lease.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_lease.py @@ -7,23 +7,25 @@ import uuid from typing import ( # pylint: disable=unused-import - Optional, Any, TypeVar, TYPE_CHECKING + Union, Optional, Any, TypeVar, TYPE_CHECKING ) from azure.core.tracing.decorator import distributed_trace from ._shared.response_handlers import return_response_headers, process_storage_error from ._generated.models import StorageErrorException +from ._generated.operations import FileOperations, ShareOperations if TYPE_CHECKING: from datetime import datetime ShareFileClient = TypeVar("ShareFileClient") + ShareClient = TypeVar("ShareClient") class ShareLeaseClient(object): """Creates a new ShareLeaseClient. - This client provides lease operations on a ShareFileClient. + This client provides lease operations on a ShareClient or ShareFileClient. :ivar str id: The ID of the lease currently being maintained. This will be `None` if no @@ -36,8 +38,9 @@ class ShareLeaseClient(object): This will be `None` if no lease has yet been acquired or modified. :param client: - The client of the file to lease. - :type client: ~azure.storage.fileshare.ShareFileClient + The client of the file or share to lease. + :type client: ~azure.storage.fileshare.ShareFileClient or + ~azure.storage.fileshare.ShareClient :param str lease_id: A string representing the lease ID of an existing lease. This value does not need to be specified in order to acquire a new lease, or break one. @@ -45,14 +48,18 @@ class ShareLeaseClient(object): def __init__( self, client, lease_id=None ): # pylint: disable=missing-client-constructor-parameter-credential,missing-client-constructor-parameter-kwargs - # type: (ShareFileClient, Optional[str]) -> None + # type: (Union[ShareFileClient, ShareClient], Optional[str]) -> None self.id = lease_id or str(uuid.uuid4()) self.last_modified = None self.etag = None if hasattr(client, 'file_name'): self._client = client._client.file # type: ignore # pylint: disable=protected-access + self._snapshot = None + elif hasattr(client, 'share_name'): + self._client = client._client.share + self._snapshot = client.snapshot else: - raise TypeError("Lease must use ShareFileClient.") + raise TypeError("Lease must use ShareFileClient or ShareClient.") def __enter__(self): return self @@ -62,24 +69,33 @@ def __exit__(self, *args): @distributed_trace def acquire(self, **kwargs): - # type: (int, **Any) -> None + # type: (**Any) -> None """Requests a new lease. This operation establishes and manages a lock on a - file for write and delete operations. If the file does not have an active lease, - the File service creates a lease on the file. If the file has an active lease, + file or share for write and delete operations. If the file or share does not have an active lease, + the File or Share service creates a lease on the file or share. If the file has an active lease, you can only request a new lease using the active lease ID. - If the file does not have an active lease, the File service creates a + If the file or share does not have an active lease, the File or Share service creates a lease on the file and returns a new lease ID. + :keyword int lease_duration: + Specifies the duration of the lease, in seconds, or negative one + (-1) for a lease that never expires. File leases never expire. A non-infinite share lease can be + between 15 and 60 seconds. A share lease duration cannot be changed + using renew or change. Default is -1 (infinite share lease). + :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: None """ try: + lease_duration = kwargs.pop('lease_duration', -1) + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = self._client.acquire_lease( timeout=kwargs.pop('timeout', None), - duration=-1, + duration=lease_duration, proposed_lease_id=self.id, cls=return_response_headers, **kwargs) @@ -90,22 +106,51 @@ def acquire(self, **kwargs): self.etag = response.get('etag') # type: str @distributed_trace - def release(self, **kwargs): + def renew(self, **kwargs): # type: (Any) -> None - """Releases the lease. The lease may be released if the lease ID specified on the request matches - that associated with the file. Releasing the lease allows another client to immediately acquire the lease - for the file as soon as the release is complete. + """Renews the share lease. + The share lease can be renewed if the lease ID specified in the + lease client matches that associated with the share. Note that + the lease may be renewed even if it has expired as long as the share + has not been leased again since the expiration of that lease. When you + renew a lease, the lease duration clock resets. - The lease may be released if the client lease id specified matches - that associated with the file. Releasing the lease allows another client - to immediately acquire the lease for the file as soon as the release is complete. + .. versionadded:: 12.6.0 :keyword int timeout: The timeout parameter is expressed in seconds. :return: None """ + if isinstance(self._client, FileOperations): + raise TypeError("Lease renewal operations are only valid for ShareClient.") try: + response = self._client.renew_lease( + lease_id=self.id, + timeout=kwargs.pop('timeout', None), + sharesnapshot=self._snapshot, + cls=return_response_headers, + **kwargs) + except StorageErrorException as error: + process_storage_error(error) + self.etag = response.get('etag') # type: str + self.id = response.get('lease_id') # type: str + self.last_modified = response.get('last_modified') # type: datetime + + @distributed_trace + def release(self, **kwargs): + # type: (Any) -> None + """Releases the lease. The lease may be released if the lease ID specified on the request matches + that associated with the share or file. Releasing the lease allows another client to immediately acquire + the lease for the share or file as soon as the release is complete. + + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: None + """ + try: + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = self._client.release_lease( lease_id=self.id, timeout=kwargs.pop('timeout', None), @@ -123,15 +168,16 @@ def change(self, proposed_lease_id, **kwargs): """ Changes the lease ID of an active lease. A change must include the current lease ID in x-ms-lease-id and a new lease ID in x-ms-proposed-lease-id. - :param str proposed_lease_id: - Proposed lease ID, in a GUID string format. The File service returns 400 + Proposed lease ID, in a GUID string format. The File or Share service will raise an error (Invalid request) if the proposed lease ID is not in the correct format. :keyword int timeout: The timeout parameter is expressed in seconds. :return: None """ try: + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = self._client.change_lease( lease_id=self.id, proposed_lease_id=proposed_lease_id, @@ -146,8 +192,8 @@ def change(self, proposed_lease_id, **kwargs): @distributed_trace def break_lease(self, **kwargs): - # type: (Optional[int], Any) -> int - """Force breaks the lease if the file has an active lease. Any authorized request can break the lease; + # type: (Any) -> int + """Force breaks the lease if the file or share has an active lease. Any authorized request can break the lease; the request is not required to specify a matching lease ID. An infinite lease breaks immediately. Once a lease is broken, it cannot be changed. Any authorized request can break the lease; @@ -155,12 +201,33 @@ def break_lease(self, **kwargs): When a lease is successfully broken, the response indicates the interval in seconds until a new lease can be acquired. + :keyword int lease_break_period: + This is the proposed duration of seconds that the share lease + should continue before it is broken, between 0 and 60 seconds. This + break period is only used if it is shorter than the time remaining + on the share lease. If longer, the time remaining on the share lease is used. + A new share lease will not be available before the break period has + expired, but the share lease may be held for longer than the break + period. If this header does not appear with a break + operation, a fixed-duration share lease breaks after the remaining share lease + period elapses, and an infinite share lease breaks immediately. + + .. versionadded:: 12.6.0 + :keyword int timeout: The timeout parameter is expressed in seconds. :return: Approximate time remaining in the lease period, in seconds. :rtype: int """ try: + lease_break_period = kwargs.pop('lease_break_period', None) + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot + if isinstance(self._client, ShareOperations): + kwargs['break_period'] = lease_break_period + if isinstance(self._client, FileOperations) and lease_break_period: + raise TypeError("Setting a lease break period is only applicable to Share leases.") + response = self._client.break_lease( timeout=kwargs.pop('timeout', None), cls=return_response_headers, diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_models.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_models.py index 17b5425b65cf..5a96c48a6d82 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_models.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_models.py @@ -14,6 +14,9 @@ from ._generated.models import Metrics as GeneratedMetrics from ._generated.models import RetentionPolicy as GeneratedRetentionPolicy from ._generated.models import CorsRule as GeneratedCorsRule +from ._generated.models import ShareProtocolSettings as GeneratedShareProtocolSettings +from ._generated.models import ShareSmbSettings as GeneratedShareSmbSettings +from ._generated.models import SmbMultichannel as GeneratedSmbMultichannel from ._generated.models import AccessPolicy as GenAccessPolicy from ._generated.models import DirectoryItem @@ -134,6 +137,40 @@ def _from_generated(cls, generated): ) +class ShareSmbSettings(GeneratedShareSmbSettings): + """ Settings for the SMB protocol. + + :param SmbMultichannel multichannel: Required. Sets the multichannel settings. + """ + def __init__(self, multichannel): + self.multichannel = multichannel + + +class SmbMultichannel(GeneratedSmbMultichannel): + """ Settings for Multichannel. + + :param bool enabled: Required. If SMB Multichannel is enabled. + """ + def __init__(self, enabled): + self.enabled = enabled + + +class ShareProtocolSettings(GeneratedShareProtocolSettings): + """Protocol Settings class used by the set and get service properties methods in the share service. + + Contains protocol properties of the share service such as the SMB setting of the share service. + + :param SmbSettings smb: Required. Sets SMB settings. + """ + def __init__(self, smb): + self.smb = smb + + @classmethod + def _from_generated(cls, generated): + return cls( + smb=generated.smb) + + class AccessPolicy(GenAccessPolicy): """Access Policy class used by the set and get acl methods in each service. @@ -188,11 +225,11 @@ class LeaseProperties(DictMixin): """File Lease Properties. :ivar str status: - The lease status of the file. Possible values: locked|unlocked + The lease status of the file or share. Possible values: locked|unlocked :ivar str state: - Lease state of the file. Possible values: available|leased|expired|breaking|broken + Lease state of the file or share. Possible values: available|leased|expired|breaking|broken :ivar str duration: - When a file is leased, specifies whether the lease is of infinite or fixed duration. + When a file or share is leased, specifies whether the lease is of infinite or fixed duration. """ def __init__(self, **kwargs): @@ -304,6 +341,7 @@ def __init__(self, **kwargs): self.provisioned_egress_mbps = kwargs.get('x-ms-share-provisioned-egress-mbps') self.provisioned_ingress_mbps = kwargs.get('x-ms-share-provisioned-ingress-mbps') self.provisioned_iops = kwargs.get('x-ms-share-provisioned-iops') + self.lease = LeaseProperties(**kwargs) @classmethod def _from_generated(cls, generated): @@ -322,6 +360,7 @@ def _from_generated(cls, generated): props.provisioned_egress_mbps = generated.properties.provisioned_egress_mbps props.provisioned_ingress_mbps = generated.properties.provisioned_ingress_mbps props.provisioned_iops = generated.properties.provisioned_iops + props.lease = LeaseProperties._from_generated(generated) # pylint: disable=protected-access return props @@ -922,4 +961,5 @@ def service_properties_deserialize(generated): 'hour_metrics': Metrics._from_generated(generated.hour_metrics), # pylint: disable=protected-access 'minute_metrics': Metrics._from_generated(generated.minute_metrics), # pylint: disable=protected-access 'cors': [CorsRule._from_generated(cors) for cors in generated.cors], # pylint: disable=protected-access + 'protocol': ShareProtocolSettings._from_generated(generated.protocol), # pylint: disable=protected-access } diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_serialize.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_serialize.py index 769eb975bed2..fc02b90481be 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_serialize.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_serialize.py @@ -14,7 +14,8 @@ _SUPPORTED_API_VERSIONS = [ '2019-02-02', '2019-07-07', - '2019-12-12' + '2019-12-12', + '2020-02-10', ] diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_client.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_client.py index 765ec5e6124a..111e91c3230a 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_client.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_client.py @@ -30,9 +30,10 @@ DeleteSnapshotsOptionType, SharePermission) from ._deserialize import deserialize_share_properties, deserialize_permission_key, deserialize_permission -from ._serialize import get_api_version +from ._serialize import get_api_version, get_access_conditions from ._directory_client import ShareDirectoryClient from ._file_client import ShareFileClient +from ._lease import ShareLeaseClient if TYPE_CHECKING: from ._models import ShareProperties, AccessPolicy @@ -256,6 +257,44 @@ def get_file_client(self, file_path): _hosts=self._hosts, _configuration=self._config, _pipeline=_pipeline, _location_mode=self._location_mode) + @distributed_trace + def acquire_lease(self, lease_duration=-1, lease_id=None, **kwargs): + # type: (int, Optional[str], **Any) -> ShareLeaseClient + """Requests a new lease. + + If the share does not have an active lease, the Share + Service creates a lease on the share and returns a new lease. + + .. versionadded:: 12.6.0 + + :param int lease_duration: + Specifies the duration of the lease, in seconds, or negative one + (-1) for a lease that never expires. A non-infinite lease can be + between 15 and 60 seconds. A lease duration cannot be changed + using renew or change. Default is -1 (infinite lease). + :param str lease_id: + Proposed lease ID, in a GUID string format. The Share Service + returns 400 (Invalid request) if the proposed lease ID is not + in the correct format. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :returns: A ShareLeaseClient object. + :rtype: ~azure.storage.fileshare.ShareLeaseClient + + .. admonition:: Example: + + .. literalinclude:: ../samples/file_samples_share.py + :start-after: [START acquire_and_release_lease_on_share] + :end-before: [END acquire_and_release_lease_on_share] + :language: python + :dedent: 8 + :caption: Acquiring a lease on a share. + """ + kwargs['lease_duration'] = lease_duration + lease = ShareLeaseClient(self, lease_id=lease_id) # type: ignore + lease.acquire(**kwargs) + return lease + @distributed_trace def create_share(self, **kwargs): # type: (Any) -> Dict[str, Any] @@ -353,9 +392,15 @@ def delete_share( :param bool delete_snapshots: Indicates if snapshots are to be deleted. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :keyword int timeout: The timeout parameter is expressed in seconds. - :rtype: None .. admonition:: Example: @@ -366,6 +411,7 @@ def delete_share( :dedent: 12 :caption: Deletes the share and any snapshots. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) delete_include = None if delete_snapshots: @@ -374,6 +420,7 @@ def delete_share( self._client.share.delete( timeout=timeout, sharesnapshot=self.snapshot, + lease_access_conditions=access_conditions, delete_snapshots=delete_include, **kwargs) except StorageErrorException as error: @@ -388,6 +435,13 @@ def get_share_properties(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: The share properties. :rtype: ~azure.storage.fileshare.ShareProperties @@ -400,12 +454,14 @@ def get_share_properties(self, **kwargs): :dedent: 12 :caption: Gets the share properties. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: props = self._client.share.get_properties( timeout=timeout, sharesnapshot=self.snapshot, cls=deserialize_share_properties, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -423,6 +479,13 @@ def set_share_quota(self, quota, **kwargs): Must be greater than 0, and less than or equal to 5TB. :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) @@ -435,11 +498,13 @@ def set_share_quota(self, quota, **kwargs): :dedent: 12 :caption: Sets the share quota. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: return self._client.share.set_quota( # type: ignore timeout=timeout, quota=quota, + lease_access_conditions=access_conditions, cls=return_response_headers, **kwargs) except StorageErrorException as error: @@ -459,6 +524,13 @@ def set_share_metadata(self, metadata, **kwargs): :type metadata: dict(str, str) :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) @@ -471,6 +543,7 @@ def set_share_metadata(self, metadata, **kwargs): :dedent: 12 :caption: Sets the share metadata. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) headers = kwargs.pop('headers', {}) headers.update(add_metadata_headers(metadata)) @@ -479,6 +552,7 @@ def set_share_metadata(self, metadata, **kwargs): timeout=timeout, cls=return_response_headers, headers=headers, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -491,14 +565,23 @@ def get_share_access_policy(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Access policy information in a dict. :rtype: dict[str, Any] """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: response, identifiers = self._client.share.get_access_policy( timeout=timeout, cls=return_headers_and_deserialized, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -521,9 +604,17 @@ def set_share_access_policy(self, signed_identifiers, **kwargs): :type signed_identifiers: dict(str, :class:`~azure.storage.fileshare.AccessPolicy`) :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) if len(signed_identifiers) > 5: raise ValueError( @@ -541,6 +632,7 @@ def set_share_access_policy(self, signed_identifiers, **kwargs): share_acl=signed_identifiers or None, timeout=timeout, cls=return_response_headers, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -555,13 +647,22 @@ def get_share_stats(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :return: The approximate size of the data (in bytes) stored on the share. :rtype: int """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: stats = self._client.share.get_statistics( timeout=timeout, + lease_access_conditions=access_conditions, **kwargs) return stats.share_usage_bytes # type: ignore except StorageErrorException as error: diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_service_client.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_service_client.py index 549e09f62965..d6b240e9efa7 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_service_client.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_share_service_client.py @@ -35,6 +35,7 @@ ShareProperties, Metrics, CorsRule, + ShareProtocolSettings ) @@ -169,6 +170,7 @@ def set_service_properties( self, hour_metrics=None, # type: Optional[Metrics] minute_metrics=None, # type: Optional[Metrics] cors=None, # type: Optional[List[CorsRule]] + protocol=None, # type: Optional[ShareProtocolSettings], **kwargs ): # type: (...) -> None @@ -189,6 +191,9 @@ def set_service_properties( list. If an empty list is specified, all CORS rules will be deleted, and CORS will be disabled for the service. :type cors: list(:class:`~azure.storage.fileshare.CorsRule`) + :param protocol: + Sets protocol settings + :type protocol: ~azure.storage.fileshare.ShareProtocolSettings :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: None @@ -206,10 +211,11 @@ def set_service_properties( props = StorageServiceProperties( hour_metrics=hour_metrics, minute_metrics=minute_metrics, - cors=cors + cors=cors, + protocol=protocol ) try: - self._client.service.set_properties(props, timeout=timeout, **kwargs) + self._client.service.set_properties(storage_service_properties=props, timeout=timeout, **kwargs) except StorageErrorException as error: process_storage_error(error) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_shared/shared_access_signature.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_shared/shared_access_signature.py index 367c6554ef89..07aad5ffa1c8 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_shared/shared_access_signature.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_shared/shared_access_signature.py @@ -39,6 +39,12 @@ class QueryStringConstants(object): SIGNED_KEY_SERVICE = 'sks' SIGNED_KEY_VERSION = 'skv' + # for ADLS + SIGNED_AUTHORIZED_OID = 'saoid' + SIGNED_UNAUTHORIZED_OID = 'suoid' + SIGNED_CORRELATION_ID = 'scid' + SIGNED_DIRECTORY_DEPTH = 'sdd' + @staticmethod def to_list(): return [ @@ -68,6 +74,11 @@ def to_list(): QueryStringConstants.SIGNED_KEY_EXPIRY, QueryStringConstants.SIGNED_KEY_SERVICE, QueryStringConstants.SIGNED_KEY_VERSION, + # for ADLS + QueryStringConstants.SIGNED_AUTHORIZED_OID, + QueryStringConstants.SIGNED_UNAUTHORIZED_OID, + QueryStringConstants.SIGNED_CORRELATION_ID, + QueryStringConstants.SIGNED_DIRECTORY_DEPTH, ] diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_file_client_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_file_client_async.py index 3d48fdc0d882..d008e1bc6539 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_file_client_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_file_client_async.py @@ -3,11 +3,11 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -# pylint: disable=too-many-lines, invalid-overridden-method +# pylint: disable=too-many-lines, invalid-overridden-method, too-many-public-methods import functools import time from io import BytesIO -from typing import Optional, Union, IO, List, Dict, Any, Iterable, TYPE_CHECKING # pylint: disable=unused-import +from typing import Optional, Union, IO, List, Tuple, Dict, Any, Iterable, TYPE_CHECKING # pylint: disable=unused-import import six from azure.core.async_paging import AsyncItemPaged @@ -25,7 +25,7 @@ from .._shared.base_client_async import AsyncStorageAccountHostsMixin from .._shared.request_handlers import add_metadata_headers, get_length from .._shared.response_handlers import return_response_headers, process_storage_error -from .._deserialize import deserialize_file_properties, deserialize_file_stream +from .._deserialize import deserialize_file_properties, deserialize_file_stream, get_file_ranges_result from .._serialize import get_access_conditions, get_smb_properties, get_api_version from .._file_client import ShareFileClient as ShareFileClientBase from ._models import HandlesPaged @@ -141,7 +141,7 @@ def __init__( # type: ignore @distributed_trace_async async def acquire_lease(self, lease_id=None, **kwargs): - # type: (int, Optional[str], **Any) -> BlobLeaseClient + # type: (Optional[str], **Any) -> ShareLeaseClient """Requests a new lease. If the file does not have an active lease, the File @@ -165,6 +165,7 @@ async def acquire_lease(self, lease_id=None, **kwargs): :dedent: 8 :caption: Acquiring a lease on a blob. """ + kwargs['lease_duration'] = -1 lease = ShareLeaseClient(self, lease_id=lease_id) # type: ignore await lease.acquire(**kwargs) return lease @@ -926,53 +927,84 @@ async def upload_range_from_url(self, source_url, @distributed_trace_async async def get_ranges( # type: ignore - self, - offset=None, # type: Optional[int] - length=None, # type: Optional[int] - **kwargs - ): + self, offset=None, # type: Optional[int] + length=None, # type: Optional[int] + **kwargs # type: Any + ): # type: (...) -> List[Dict[str, int]] - """Returns the list of valid ranges of a file. + """Returns the list of valid page ranges for a file or snapshot + of a file. :param int offset: Specifies the start offset of bytes over which to get ranges. :param int length: - Number of bytes to use over which to get ranges. + Number of bytes to use over which to get ranges. :keyword lease: Required if the file has an active lease. Value can be a ShareLeaseClient object or the lease ID as a string. .. versionadded:: 12.1.0 - :paramtype lease: ~azure.storage.fileshare.aio.ShareLeaseClient or str + :paramtype lease: ~azure.storage.fileshare.ShareLeaseClient or str :keyword int timeout: The timeout parameter is expressed in seconds. - :returns: A list of valid ranges. + :returns: + A list of valid ranges. :rtype: List[dict[str, int]] """ - timeout = kwargs.pop('timeout', None) - if self.require_encryption or (self.key_encryption_key is not None): - raise ValueError("Unsupported method for encryption.") - access_conditions = get_access_conditions(kwargs.pop('lease', None)) + options = self._get_ranges_options( + offset=offset, + length=length, + **kwargs) + try: + ranges = await self._client.file.get_range_list(**options) + except StorageErrorException as error: + process_storage_error(error) + return [{'start': file_range.start, 'end': file_range.end} for file_range in ranges.ranges] + + @distributed_trace_async + async def get_ranges_diff( # type: ignore + self, + previous_sharesnapshot, # type: Union[str, Dict[str, Any]] + offset=None, # type: Optional[int] + length=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Tuple[List[Dict[str, int]], List[Dict[str, int]]] + """Returns the list of valid page ranges for a file or snapshot + of a file. - content_range = None - if offset is not None: - if length is not None: - end_range = offset + length - 1 # Reformat to an inclusive range index - content_range = "bytes={0}-{1}".format(offset, end_range) - else: - content_range = "bytes={0}-".format(offset) + .. versionadded:: 12.6.0 + + :param int offset: + Specifies the start offset of bytes over which to get ranges. + :param int length: + Number of bytes to use over which to get ranges. + :param str previous_sharesnapshot: + The snapshot diff parameter that contains an opaque DateTime value that + specifies a previous file snapshot to be compared + against a more recent snapshot or the current file. + :keyword lease: + Required if the file has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + :paramtype lease: ~azure.storage.fileshare.ShareLeaseClient or str + :keyword int timeout: + The timeout parameter is expressed in seconds. + :returns: + A tuple of two lists of file ranges as dictionaries with 'start' and 'end' keys. + The first element are filled file ranges, the 2nd element is cleared file ranges. + :rtype: tuple(list(dict(str, str), list(dict(str, str)) + """ + options = self._get_ranges_options( + offset=offset, + length=length, + previous_sharesnapshot=previous_sharesnapshot, + **kwargs) try: - ranges = await self._client.file.get_range_list( - range=content_range, - sharesnapshot=self.snapshot, - lease_access_conditions=access_conditions, - timeout=timeout, - **kwargs - ) + ranges = await self._client.file.get_range_list(**options) except StorageErrorException as error: process_storage_error(error) - return [{"start": b.start, "end": b.end} for b in ranges] + return get_file_ranges_result(ranges) @distributed_trace_async async def clear_range( # type: ignore diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_lease_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_lease_async.py index 0a04484638f3..0f6fdb380cba 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_lease_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_lease_async.py @@ -14,17 +14,19 @@ from .._shared.response_handlers import return_response_headers, process_storage_error from .._generated.models import ( StorageErrorException) +from .._generated.aio.operations_async import FileOperations, ShareOperations from .._lease import ShareLeaseClient as LeaseClientBase if TYPE_CHECKING: from datetime import datetime ShareFileClient = TypeVar("ShareFileClient") + ShareClient = TypeVar("ShareClient") class ShareLeaseClient(LeaseClientBase): """Creates a new ShareLeaseClient. - This client provides lease operations on a ShareFileClient. + This client provides lease operations on a ShareClient or ShareFileClient. :ivar str id: The ID of the lease currently being maintained. This will be `None` if no @@ -37,8 +39,9 @@ class ShareLeaseClient(LeaseClientBase): This will be `None` if no lease has yet been acquired or modified. :param client: - The client of the file to lease. - :type client: ~azure.storage.fileshare.aio.ShareFileClient + The client of the file or share to lease. + :type client: ~azure.storage.fileshare.ShareFileClient or + ~azure.storage.fileshare.ShareClient :param str lease_id: A string representing the lease ID of an existing lease. This value does not need to be specified in order to acquire a new lease, or break one. @@ -58,24 +61,33 @@ async def __aexit__(self, *args): @distributed_trace_async async def acquire(self, **kwargs): - # type: (int, Any) -> None + # type: (**Any) -> None """Requests a new lease. This operation establishes and manages a lock on a - file for write and delete operations. If the file does not have an active lease, - the File service creates a lease on the file. If the file has an active lease, + file or share for write and delete operations. If the file or share does not have an active lease, + the File or Share service creates a lease on the file or share. If the file has an active lease, you can only request a new lease using the active lease ID. - If the file does not have an active lease, the File service creates a + If the file or share does not have an active lease, the File or Share service creates a lease on the file and returns a new lease ID. + :keyword int lease_duration: + Specifies the duration of the lease, in seconds, or negative one + (-1) for a lease that never expires. File leases never expire. A non-infinite share lease can be + between 15 and 60 seconds. A share lease duration cannot be changed + using renew or change. Default is -1 (infinite share lease). + :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: None """ try: + lease_duration = kwargs.pop('lease_duration', -1) + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = await self._client.acquire_lease( timeout=kwargs.pop('timeout', None), - duration=-1, + duration=lease_duration, proposed_lease_id=self.id, cls=return_response_headers, **kwargs) @@ -86,22 +98,51 @@ async def acquire(self, **kwargs): self.etag = response.get('etag') # type: str @distributed_trace_async - async def release(self, **kwargs): + async def renew(self, **kwargs): # type: (Any) -> None - """Releases the lease. The lease may be released if the lease ID specified on the request matches - that associated with the file. Releasing the lease allows another client to immediately acquire the lease - for the file as soon as the release is complete. + """Renews the share lease. + The share lease can be renewed if the lease ID specified in the + lease client matches that associated with the share. Note that + the lease may be renewed even if it has expired as long as the share + has not been leased again since the expiration of that lease. When you + renew a lease, the lease duration clock resets. - The lease may be released if the client lease id specified matches - that associated with the file. Releasing the lease allows another client - to immediately acquire the lease for the file as soon as the release is complete. + .. versionadded:: 12.6.0 :keyword int timeout: The timeout parameter is expressed in seconds. :return: None """ + if isinstance(self._client, FileOperations): + raise TypeError("Lease renewal operations are only valid for ShareClient.") try: + response = await self._client.renew_lease( + lease_id=self.id, + timeout=kwargs.pop('timeout', None), + sharesnapshot=self._snapshot, + cls=return_response_headers, + **kwargs) + except StorageErrorException as error: + process_storage_error(error) + self.etag = response.get('etag') # type: str + self.id = response.get('lease_id') # type: str + self.last_modified = response.get('last_modified') # type: datetime + + @distributed_trace_async + async def release(self, **kwargs): + # type: (Any) -> None + """Releases the lease. The lease may be released if the lease ID specified on the request matches + that associated with the share or file. Releasing the lease allows another client to immediately acquire + the lease for the share or file as soon as the release is complete. + + :keyword int timeout: + The timeout parameter is expressed in seconds. + :return: None + """ + try: + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = await self._client.release_lease( lease_id=self.id, timeout=kwargs.pop('timeout', None), @@ -119,15 +160,16 @@ async def change(self, proposed_lease_id, **kwargs): """ Changes the lease ID of an active lease. A change must include the current lease ID in x-ms-lease-id and a new lease ID in x-ms-proposed-lease-id. - :param str proposed_lease_id: - Proposed lease ID, in a GUID string format. The File service returns 400 + Proposed lease ID, in a GUID string format. The File or Share service raises an error (Invalid request) if the proposed lease ID is not in the correct format. :keyword int timeout: The timeout parameter is expressed in seconds. :return: None """ try: + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot response = await self._client.change_lease( lease_id=self.id, proposed_lease_id=proposed_lease_id, @@ -142,8 +184,8 @@ async def change(self, proposed_lease_id, **kwargs): @distributed_trace_async async def break_lease(self, **kwargs): - # type: (Optional[int], Any) -> int - """Force breaks the lease if the file has an active lease. Any authorized request can break the lease; + # type: (Any) -> int + """Force breaks the lease if the file or share has an active lease. Any authorized request can break the lease; the request is not required to specify a matching lease ID. An infinite lease breaks immediately. Once a lease is broken, it cannot be changed. Any authorized request can break the lease; @@ -151,12 +193,33 @@ async def break_lease(self, **kwargs): When a lease is successfully broken, the response indicates the interval in seconds until a new lease can be acquired. + :keyword int lease_break_period: + This is the proposed duration of seconds that the share lease + should continue before it is broken, between 0 and 60 seconds. This + break period is only used if it is shorter than the time remaining + on the share lease. If longer, the time remaining on the share lease is used. + A new share lease will not be available before the break period has + expired, but the share lease may be held for longer than the break + period. If this header does not appear with a break + operation, a fixed-duration share lease breaks after the remaining share lease + period elapses, and an infinite share lease breaks immediately. + + .. versionadded:: 12.6.0 + :keyword int timeout: The timeout parameter is expressed in seconds. :return: Approximate time remaining in the lease period, in seconds. :rtype: int """ try: + lease_break_period = kwargs.pop('lease_break_period', None) + if self._snapshot: + kwargs['sharesnapshot'] = self._snapshot + if isinstance(self._client, ShareOperations): + kwargs['break_period'] = lease_break_period + if isinstance(self._client, FileOperations) and lease_break_period: + raise TypeError("Setting a lease break period is only applicable to Share leases.") + response = await self._client.break_lease( timeout=kwargs.pop('timeout', None), cls=return_response_headers, diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_client_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_client_async.py index b6fb243067e9..e4f9b6550647 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_client_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_client_async.py @@ -25,10 +25,12 @@ SignedIdentifier, DeleteSnapshotsOptionType) from .._deserialize import deserialize_share_properties, deserialize_permission -from .._serialize import get_api_version +from .._serialize import get_api_version, get_access_conditions from .._share_client import ShareClient as ShareClientBase from ._directory_client_async import ShareDirectoryClient from ._file_client_async import ShareFileClient +from ..aio._lease_async import ShareLeaseClient + if TYPE_CHECKING: from .._models import ShareProperties, AccessPolicy @@ -126,6 +128,44 @@ def get_file_client(self, file_path): credential=self.credential, api_version=self.api_version, _hosts=self._hosts, _configuration=self._config, _pipeline=_pipeline, _location_mode=self._location_mode, loop=self._loop) + @distributed_trace_async() + async def acquire_lease(self, lease_duration=-1, lease_id=None, **kwargs): + # type: (int, Optional[str], **Any) -> ShareLeaseClient + """Requests a new lease. + + If the share does not have an active lease, the Share + Service creates a lease on the share and returns a new lease. + + .. versionadded:: 12.6.0 + + :param int lease_duration: + Specifies the duration of the lease, in seconds, or negative one + (-1) for a lease that never expires. A non-infinite lease can be + between 15 and 60 seconds. A lease duration cannot be changed + using renew or change. Default is -1 (infinite lease). + :param str lease_id: + Proposed lease ID, in a GUID string format. The Share Service + returns 400 (Invalid request) if the proposed lease ID is not + in the correct format. + :keyword int timeout: + The timeout parameter is expressed in seconds. + :returns: A ShareLeaseClient object. + :rtype: ~azure.storage.fileshare.ShareLeaseClient + + .. admonition:: Example: + + .. literalinclude:: ../samples/file_samples_share.py + :start-after: [START acquire_lease_on_share] + :end-before: [END acquire_lease_on_share] + :language: python + :dedent: 8 + :caption: Acquiring a lease on a share. + """ + kwargs['lease_duration'] = lease_duration + lease = ShareLeaseClient(self, lease_id=lease_id) # type: ignore + await lease.acquire(**kwargs) + return lease + @distributed_trace_async async def create_share(self, **kwargs): # type: (Any) -> Dict[str, Any] @@ -225,7 +265,12 @@ async def delete_share( Indicates if snapshots are to be deleted. :keyword int timeout: The timeout parameter is expressed in seconds. - :rtype: None + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. .. admonition:: Example: @@ -236,6 +281,7 @@ async def delete_share( :dedent: 16 :caption: Deletes the share and any snapshots. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) delete_include = None if delete_snapshots: @@ -245,6 +291,7 @@ async def delete_share( timeout=timeout, sharesnapshot=self.snapshot, delete_snapshots=delete_include, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -258,6 +305,13 @@ async def get_share_properties(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: The share properties. :rtype: ~azure.storage.fileshare.ShareProperties @@ -270,12 +324,14 @@ async def get_share_properties(self, **kwargs): :dedent: 16 :caption: Gets the share properties. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: props = await self._client.share.get_properties( timeout=timeout, sharesnapshot=self.snapshot, cls=deserialize_share_properties, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -293,6 +349,13 @@ async def set_share_quota(self, quota, **kwargs): Must be greater than 0, and less than or equal to 5TB. :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) @@ -305,12 +368,14 @@ async def set_share_quota(self, quota, **kwargs): :dedent: 16 :caption: Sets the share quota. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: return await self._client.share.set_quota( # type: ignore timeout=timeout, quota=quota, cls=return_response_headers, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -329,6 +394,13 @@ async def set_share_metadata(self, metadata, **kwargs): :type metadata: dict(str, str) :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) @@ -341,6 +413,7 @@ async def set_share_metadata(self, metadata, **kwargs): :dedent: 16 :caption: Sets the share metadata. """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) headers = kwargs.pop('headers', {}) headers.update(add_metadata_headers(metadata)) @@ -349,6 +422,7 @@ async def set_share_metadata(self, metadata, **kwargs): timeout=timeout, cls=return_response_headers, headers=headers, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -361,14 +435,23 @@ async def get_share_access_policy(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Access policy information in a dict. :rtype: dict[str, Any] """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: response, identifiers = await self._client.share.get_access_policy( timeout=timeout, cls=return_headers_and_deserialized, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -391,9 +474,17 @@ async def set_share_access_policy(self, signed_identifiers, **kwargs): :type signed_identifiers: dict(str, :class:`~azure.storage.fileshare.AccessPolicy`) :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :returns: Share-updated property dict (Etag and last modified). :rtype: dict(str, Any) """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) if len(signed_identifiers) > 5: raise ValueError( @@ -412,6 +503,7 @@ async def set_share_access_policy(self, signed_identifiers, **kwargs): share_acl=signed_identifiers or None, timeout=timeout, cls=return_response_headers, + lease_access_conditions=access_conditions, **kwargs) except StorageErrorException as error: process_storage_error(error) @@ -426,13 +518,22 @@ async def get_share_stats(self, **kwargs): :keyword int timeout: The timeout parameter is expressed in seconds. + :keyword lease: + Required if the share has an active lease. Value can be a ShareLeaseClient object + or the lease ID as a string. + + .. versionadded:: 12.6.0 + This keyword argument was introduced in API version '2020-02-02'. + :return: The approximate size of the data (in bytes) stored on the share. :rtype: int """ + access_conditions = get_access_conditions(kwargs.pop('lease', None)) timeout = kwargs.pop('timeout', None) try: stats = await self._client.share.get_statistics( timeout=timeout, + lease_access_conditions=access_conditions, **kwargs) return stats.share_usage_bytes # type: ignore except StorageErrorException as error: diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_service_client_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_service_client_async.py index 2ee8390932f4..af67dcd83213 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_service_client_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/aio/_share_service_client_async.py @@ -34,6 +34,7 @@ ShareProperties, Metrics, CorsRule, + ShareProtocolSettings, ) @@ -124,6 +125,7 @@ async def set_service_properties( self, hour_metrics=None, # type: Optional[Metrics] minute_metrics=None, # type: Optional[Metrics] cors=None, # type: Optional[List[CorsRule]] + protocol=None, # type: Optional[ShareProtocolSettings], **kwargs ): # type: (...) -> None @@ -144,6 +146,9 @@ async def set_service_properties( list. If an empty list is specified, all CORS rules will be deleted, and CORS will be disabled for the service. :type cors: list(:class:`~azure.storage.fileshare.CorsRule`) + :param protocol_settings: + Sets protocol settings + :type protocol: ~azure.storage.fileshare.ShareProtocolSettings :keyword int timeout: The timeout parameter is expressed in seconds. :rtype: None @@ -161,7 +166,8 @@ async def set_service_properties( props = StorageServiceProperties( hour_metrics=hour_metrics, minute_metrics=minute_metrics, - cors=cors + cors=cors, + protocol=protocol ) try: await self._client.service.set_properties(props, timeout=timeout, **kwargs) diff --git a/sdk/storage/azure-storage-file-share/samples/file_samples_client.py b/sdk/storage/azure-storage-file-share/samples/file_samples_client.py index dcab30e39e9d..c8a8355b3f2b 100644 --- a/sdk/storage/azure-storage-file-share/samples/file_samples_client.py +++ b/sdk/storage/azure-storage-file-share/samples/file_samples_client.py @@ -105,10 +105,35 @@ def copy_file_from_url(self): # Delete the share share.delete_share() + def acquire_file_lease(self): + # Instantiate the ShareClient from a connection string + from azure.storage.fileshare import ShareClient + share = ShareClient.from_connection_string(self.connection_string, "filesamples3") + + # Create the share + share.create_share() + + try: + # Get a file client and upload a file + source_file = share.get_file_client("sourcefile") + + # [START acquire_and_release_lease_on_file] + source_file.create_file(1024) + lease = source_file.acquire_lease() + source_file.upload_file(b'hello world', lease=lease) + + lease.release() + # [END acquire_and_release_lease_on_file] + + finally: + # Delete the share + share.delete_share() + if __name__ == '__main__': sample = FileSamples() sample.simple_file_operations() sample.copy_file_from_url() + sample.acquire_file_lease() diff --git a/sdk/storage/azure-storage-file-share/samples/file_samples_share.py b/sdk/storage/azure-storage-file-share/samples/file_samples_share.py index f4c9e1acac14..ec915500b825 100644 --- a/sdk/storage/azure-storage-file-share/samples/file_samples_share.py +++ b/sdk/storage/azure-storage-file-share/samples/file_samples_share.py @@ -111,6 +111,21 @@ def get_directory_or_file_client(self): # Get the file client to interact with a specific file my_file = share.get_file_client("dir1/myfile") + def acquire_share_lease(self): + # Instantiate the ShareClient from a connection string + from azure.storage.fileshare import ShareClient + share = ShareClient.from_connection_string(self.connection_string, "sharesamples") + + # Create the share + share.create_share() + + # [START acquire_and_release_lease_on_share] + share.create_directory("mydir") + lease = share.acquire_lease() + share.get_share_properties(lease=lease) + share.delete_share(lease=lease) + # [END acquire_and_release_lease_on_share] + if __name__ == '__main__': sample = ShareSamples() @@ -118,3 +133,4 @@ def get_directory_or_file_client(self): sample.set_share_quota_and_metadata() sample.list_directories_and_files() sample.get_directory_or_file_client() + sample.acquire_share_lease() diff --git a/sdk/storage/azure-storage-file-share/swagger/README.md b/sdk/storage/azure-storage-file-share/swagger/README.md index 4cde1a2829d5..c3b1b787fabf 100644 --- a/sdk/storage/azure-storage-file-share/swagger/README.md +++ b/sdk/storage/azure-storage-file-share/swagger/README.md @@ -19,7 +19,7 @@ autorest --use=C:/work/autorest.python --version=2.0.4280 ### Settings ``` yaml -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2019-12-12/file.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json output-folder: ../azure/storage/fileshare/_generated namespace: azure.storage.fileshare no-namespace-folders: true diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_break_lease_with_broken_period_fails.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_break_lease_with_broken_period_fails.yaml new file mode 100644 index 000000000000..b08dae885272 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_break_lease_with_broken_period_fails.yaml @@ -0,0 +1,200 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:26:29 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare1a6414c6?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 16:26:29 GMT + etag: + - '"0x8D863CB41A9EF23"' + last-modified: + - Mon, 28 Sep 2020 16:26:30 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-content-length: + - '1024' + x-ms-date: + - Mon, 28 Sep 2020 16:26:30 GMT + x-ms-file-attributes: + - none + x-ms-file-creation-time: + - now + x-ms-file-last-write-time: + - now + x-ms-file-permission: + - Inherit + x-ms-type: + - file + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare1a6414c6/file1a6414c6 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 16:26:29 GMT + etag: + - '"0x8D863CB41C0C68E"' + last-modified: + - Mon, 28 Sep 2020 16:26:30 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-file-attributes: + - Archive + x-ms-file-change-time: + - '2020-09-28T16:26:30.5588878Z' + x-ms-file-creation-time: + - '2020-09-28T16:26:30.5588878Z' + x-ms-file-id: + - '13835128424026341376' + x-ms-file-last-write-time: + - '2020-09-28T16:26:30.5588878Z' + x-ms-file-parent-id: + - '0' + x-ms-file-permission-key: + - 4010187179898695473*11459378189709739967 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1024' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:26:30 GMT + x-ms-range: + - bytes=0-1023 + x-ms-version: + - '2020-02-10' + x-ms-write: + - update + method: PUT + uri: https://storagename.file.core.windows.net/utshare1a6414c6/file1a6414c6?comp=range + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - yaNM/IXZgmmMasifdgcavQ== + date: + - Mon, 28 Sep 2020 16:26:30 GMT + etag: + - '"0x8D863CB41D19278"' + last-modified: + - Mon, 28 Sep 2020 16:26:30 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:26:30 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 7931445f-d28f-4bab-b33b-484159a72648 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare1a6414c6/file1a6414c6?comp=lease + response: + body: + string: '' + headers: + date: + - Mon, 28 Sep 2020 16:26:30 GMT + etag: + - '"0x8D863CB41D19278"' + last-modified: + - Mon, 28 Sep 2020 16:26:30 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-lease-id: + - 7931445f-d28f-4bab-b33b-484159a72648 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2.yaml index caa0e8325289..6a237911c3a1 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:42 GMT + - Fri, 25 Sep 2020 13:02:09 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea5a50b39?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:42 GMT + - Fri, 25 Sep 2020 13:02:09 GMT etag: - - '"0x8D79A1550790E87"' + - '"0x8D8615336826AE6"' last-modified: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea5a50b39/filea5a50b39 response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:09 GMT etag: - - '"0x8D79A1550B50EA9"' + - '"0x8D8615336CD465A"' last-modified: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:47:43.5248297Z' + - '2020-09-25T13:02:10.2527578Z' x-ms-file-creation-time: - - '2020-01-15T23:47:43.5248297Z' + - '2020-09-25T13:02:10.2527578Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:47:43.5248297Z' + - '2020-09-25T13:02:10.2527578Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -117,13 +117,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -137,17 +137,17 @@ interactions: content-md5: - pTsTLZHyQ+et6NksJ1OHxg== date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:09 GMT etag: - - '"0x8D79A1550C824C8"' + - '"0x8D8615336E36A73"' last-modified: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -165,13 +165,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT x-ms-range: - bytes=1024-1535 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -185,17 +185,17 @@ interactions: content-md5: - pTsTLZHyQ+et6NksJ1OHxg== date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT etag: - - '"0x8D79A1550D71B82"' + - '"0x8D8615336FCEA83"' last-modified: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -209,11 +209,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:11 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharea5a50b39/filea5a50b39?comp=rangelist response: @@ -223,19 +223,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT etag: - - '"0x8D79A1550D71B82"' + - '"0x8D8615336FCEA83"' last-modified: - - Wed, 15 Jan 2020 23:47:43 GMT + - Fri, 25 Sep 2020 13:02:10 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '2048' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2_from_snapshot.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2_from_snapshot.yaml index c2e43e5b8c74..1d06fe63501a 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2_from_snapshot.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_2_from_snapshot.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:46 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare6e4e111b?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:45 GMT etag: - - '"0x8D79A15513F8463"' + - '"0x8D861534C7974F5"' last-modified: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:46 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare6e4e111b/file6e4e111b response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:46 GMT etag: - - '"0x8D79A1551776E8F"' + - '"0x8D861534CC718F2"' last-modified: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:47:44.7986831Z' + - '2020-09-25T13:02:47.1221490Z' x-ms-file-creation-time: - - '2020-01-15T23:47:44.7986831Z' + - '2020-09-25T13:02:47.1221490Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:47:44.7986831Z' + - '2020-09-25T13:02:47.1221490Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -117,13 +117,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -137,17 +137,17 @@ interactions: content-md5: - pTsTLZHyQ+et6NksJ1OHxg== date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT etag: - - '"0x8D79A1551881338"' + - '"0x8D861534CE10E55"' last-modified: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -165,13 +165,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT x-ms-range: - bytes=1024-1535 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -185,17 +185,17 @@ interactions: content-md5: - pTsTLZHyQ+et6NksJ1OHxg== date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT etag: - - '"0x8D79A1551964671"' + - '"0x8D861534CF6E444"' last-modified: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -211,11 +211,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:47 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare6e4e111b?restype=share&comp=snapshot response: @@ -225,17 +225,17 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:46 GMT etag: - - '"0x8D79A15513F8463"' + - '"0x8D861534C7974F5"' last-modified: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:46 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-snapshot: - - '2020-01-15T23:47:45.0000000Z' + - '2020-09-25T13:02:47.0000000Z' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -251,11 +251,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:48 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/utshare6e4e111b/file6e4e111b response: @@ -265,11 +265,11 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -283,13 +283,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:48 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET - uri: https://storagename.file.core.windows.net/utshare6e4e111b/file6e4e111b?sharesnapshot=2020-01-15T23:47:45.0000000Z&comp=rangelist + uri: https://storagename.file.core.windows.net/utshare6e4e111b/file6e4e111b?sharesnapshot=2020-09-25T13:02:47.0000000Z&comp=rangelist response: body: string: "\uFEFF051110241535" @@ -297,19 +297,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:47:44 GMT + - Fri, 25 Sep 2020 13:02:47 GMT etag: - - '"0x8D79A1551964671"' + - '"0x8D861534CF6E444"' last-modified: - - Wed, 15 Jan 2020 23:47:45 GMT + - Fri, 25 Sep 2020 13:02:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '2048' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_diff.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_diff.yaml new file mode 100644 index 000000000000..d7a1efd880ec --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_diff.yaml @@ -0,0 +1,362 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:21 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 19:55:37 GMT + etag: + - '"0x8D864B1A3818C66"' + last-modified: + - Tue, 29 Sep 2020 19:55:38 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-content-length: + - '2048' + x-ms-date: + - Tue, 29 Sep 2020 19:55:38 GMT + x-ms-file-attributes: + - none + x-ms-file-creation-time: + - now + x-ms-file-last-write-time: + - now + x-ms-file-permission: + - Inherit + x-ms-type: + - file + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0/fileca850ca0 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 19:55:38 GMT + etag: + - '"0x8D864B1A3D3948B"' + last-modified: + - Tue, 29 Sep 2020 19:55:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-file-attributes: + - Archive + x-ms-file-change-time: + - '2020-09-29T19:55:39.3466507Z' + x-ms-file-creation-time: + - '2020-09-29T19:55:39.3466507Z' + x-ms-file-id: + - '13835128424026341376' + x-ms-file-last-write-time: + - '2020-09-29T19:55:39.3466507Z' + x-ms-file-parent-id: + - '0' + x-ms-file-permission-key: + - 4010187179898695473*11459378189709739967 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:39 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 19:55:38 GMT + etag: + - '"0x8D864B1A3818C66"' + last-modified: + - Tue, 29 Sep 2020 19:55:38 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: + - '2020-09-29T19:55:39.0000000Z' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1536' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:39 GMT + x-ms-range: + - bytes=0-1535 + x-ms-version: + - '2020-02-10' + x-ms-write: + - update + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0/fileca850ca0?comp=range + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - e4FaZ8aPiasHKL7jmukQuQ== + date: + - Tue, 29 Sep 2020 19:55:39 GMT + etag: + - '"0x8D864B1A3FC80BF"' + last-modified: + - Tue, 29 Sep 2020 19:55:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:39 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 19:55:38 GMT + etag: + - '"0x8D864B1A3818C66"' + last-modified: + - Tue, 29 Sep 2020 19:55:38 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: + - '2020-09-29T19:55:40.0000000Z' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:39 GMT + x-ms-range: + - bytes=512-1023 + x-ms-version: + - '2020-02-10' + x-ms-write: + - clear + method: PUT + uri: https://storagename.file.core.windows.net/utshareca850ca0/fileca850ca0?comp=range + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 19:55:39 GMT + etag: + - '"0x8D864B1A42A4FB5"' + last-modified: + - Tue, 29 Sep 2020 19:55:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:40 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/utshareca850ca0/fileca850ca0?prevsharesnapshot=2020-09-29T19%3A55%3A39.0000000Z&comp=rangelist + response: + body: + string: "\uFEFF0511512102310241535" + headers: + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 19:55:39 GMT + etag: + - '"0x8D864B1A42A4FB5"' + last-modified: + - Tue, 29 Sep 2020 19:55:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-content-length: + - '2048' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:55:40 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/utshareca850ca0/fileca850ca0?prevsharesnapshot=2020-09-29T19%3A55%3A40.0000000Z&comp=rangelist + response: + body: + string: "\uFEFF5121023" + headers: + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 19:55:39 GMT + etag: + - '"0x8D864B1A42A4FB5"' + last-modified: + - Tue, 29 Sep 2020 19:55:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-content-length: + - '2048' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none.yaml index fa6fb78ee3a6..a9ac636a4f52 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecace0cb7?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:22 GMT etag: - - '"0x8D79A15526F8B6C"' + - '"0x8D861528BC187F4"' last-modified: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecace0cb7/filecace0cb7 response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT etag: - - '"0x8D79A1552AA7D97"' + - '"0x8D861528C15810F"' last-modified: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:47:46.8110231Z' + - '2020-09-25T12:57:23.8357263Z' x-ms-file-creation-time: - - '2020-01-15T23:47:46.8110231Z' + - '2020-09-25T12:57:23.8357263Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:47:46.8110231Z' + - '2020-09-25T12:57:23.8357263Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -113,11 +113,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:24 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharecace0cb7/filecace0cb7?comp=rangelist response: @@ -127,19 +127,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT etag: - - '"0x8D79A1552AA7D97"' + - '"0x8D861528C15810F"' last-modified: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 12:57:23 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '1024' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_from_snapshot.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_from_snapshot.yaml index 1f702614541c..5629c4275db3 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_from_snapshot.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_from_snapshot.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:25 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea85b1299?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:46 GMT + - Fri, 25 Sep 2020 13:02:27 GMT etag: - - '"0x8D79A15531F8F0A"' + - '"0x8D8615341284CD1"' last-modified: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:27 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:28 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea85b1299/filea85b1299 response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:27 GMT etag: - - '"0x8D79A155360F45E"' + - '"0x8D8615341827EBE"' last-modified: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:47:48.0068190Z' + - '2020-09-25T13:02:28.2176190Z' x-ms-file-creation-time: - - '2020-01-15T23:47:48.0068190Z' + - '2020-09-25T13:02:28.2176190Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:47:48.0068190Z' + - '2020-09-25T13:02:28.2176190Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -115,11 +115,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea85b1299?restype=share&comp=snapshot response: @@ -129,17 +129,17 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:27 GMT etag: - - '"0x8D79A15531F8F0A"' + - '"0x8D8615341284CD1"' last-modified: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:27 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-snapshot: - - '2020-01-15T23:47:48.0000000Z' + - '2020-09-25T13:02:28.0000000Z' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -155,11 +155,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/utsharea85b1299/filea85b1299 response: @@ -169,11 +169,11 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:47:47 GMT + - Fri, 25 Sep 2020 13:02:28 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -187,13 +187,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET - uri: https://storagename.file.core.windows.net/utsharea85b1299/filea85b1299?sharesnapshot=2020-01-15T23:47:48.0000000Z&comp=rangelist + uri: https://storagename.file.core.windows.net/utsharea85b1299/filea85b1299?sharesnapshot=2020-09-25T13:02:28.0000000Z&comp=rangelist response: body: string: "\uFEFF" @@ -201,19 +201,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT etag: - - '"0x8D79A155360F45E"' + - '"0x8D8615341827EBE"' last-modified: - - Wed, 15 Jan 2020 23:47:48 GMT + - Fri, 25 Sep 2020 13:02:28 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '1024' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_with_invalid_lease_fails.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_with_invalid_lease_fails.yaml index 02bcfaa78f6c..92f866165189 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_with_invalid_lease_fails.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_list_ranges_none_with_invalid_lease_fails.yaml @@ -11,13 +11,49 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - eb8d05fa-1d2b-11ea-ae56-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 25 Sep 2020 13:01:36 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare8e3816ef?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 25 Sep 2020 13:01:36 GMT + etag: + - '"0x8D861532300C28B"' + last-modified: + - Fri, 25 Sep 2020 13:01:37 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Thu, 12 Dec 2019 22:08:26 GMT + - Fri, 25 Sep 2020 13:01:37 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -29,43 +65,41 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare8e3816ef/file8e3816ef response: body: string: '' headers: - Content-Length: + content-length: - '0' - Date: - - Thu, 12 Dec 2019 22:08:26 GMT - ETag: - - '"0x8D77F4FCFD19476"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:26 GMT - Server: + date: + - Fri, 25 Sep 2020 13:01:36 GMT + etag: + - '"0x8D8615323538EF3"' + last-modified: + - Fri, 25 Sep 2020 13:01:37 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2019-12-12T22:08:26.1977206Z' + - '2020-09-25T13:01:37.5783667Z' x-ms-file-creation-time: - - '2019-12-12T22:08:26.1977206Z' + - '2020-09-25T13:01:37.5783667Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2019-12-12T22:08:26.1977206Z' + - '2020-09-25T13:01:37.5783667Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 16864655153240182536*4804112389554988934 - x-ms-request-id: - - 0533ccd5-401a-0007-4b38-b1fe58000000 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -81,41 +115,37 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - eba5ee3a-1d2b-11ea-8a13-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:26 GMT + - Fri, 25 Sep 2020 13:01:38 GMT x-ms-lease-action: - acquire x-ms-lease-duration: - '-1' x-ms-proposed-lease-id: - - 3feab887-f628-4225-8f13-65105b1600a4 + - bfcb5576-8f43-4a1b-9906-cd82c8d232bb x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare8e3816ef/file8e3816ef?comp=lease response: body: string: '' headers: - Date: - - Thu, 12 Dec 2019 22:08:26 GMT - ETag: - - '"0x8D77F4FCFD19476"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:26 GMT - Server: + date: + - Fri, 25 Sep 2020 13:01:37 GMT + etag: + - '"0x8D8615323538EF3"' + last-modified: + - Fri, 25 Sep 2020 13:01:37 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - Transfer-Encoding: + transfer-encoding: - chunked x-ms-lease-id: - - 3feab887-f628-4225-8f13-65105b1600a4 - x-ms-request-id: - - 0533ccd6-401a-0007-4c38-b1fe58000000 + - bfcb5576-8f43-4a1b-9906-cd82c8d232bb x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -129,36 +159,34 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - ebb70c36-1d2b-11ea-a8fd-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:26 GMT + - Fri, 25 Sep 2020 13:01:38 GMT x-ms-lease-id: - - 4b477433-a2fc-493b-bff7-2c01f174dc39 + - b84dfbc3-90f9-40d2-96e9-e5ab0989d3dd x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare8e3816ef/file8e3816ef?comp=rangelist response: body: string: "\uFEFFLeaseIdMismatchWithFileOperationThe - lease ID specified did not match the lease ID for the file.\nRequestId:0533ccd7-401a-0007-4d38-b1fe58000000\nTime:2019-12-12T22:08:26.4283851Z" + lease ID specified did not match the lease ID for the file.\nRequestId:bbb96dea-f01a-0089-1e3c-936017000000\nTime:2020-09-25T13:01:38.0259024Z" headers: - Content-Length: + content-length: - '264' - Content-Type: + content-type: - application/xml - Date: - - Thu, 12 Dec 2019 22:08:26 GMT - Server: + date: + - Fri, 25 Sep 2020 13:01:37 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin x-ms-error-code: - LeaseIdMismatchWithFileOperation - x-ms-request-id: - - 0533ccd7-401a-0007-4d38-b1fe58000000 x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 412 message: The lease ID specified did not match the lease ID for the file. @@ -172,37 +200,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - ebc7f012-1d2b-11ea-9e26-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:26 GMT + - Fri, 25 Sep 2020 13:01:38 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare8e3816ef/file8e3816ef?comp=rangelist response: body: string: "\uFEFF" headers: - Content-Type: + content-type: - application/xml - Date: - - Thu, 12 Dec 2019 22:08:26 GMT - ETag: - - '"0x8D77F4FCFD19476"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:26 GMT - Server: + date: + - Fri, 25 Sep 2020 13:01:37 GMT + etag: + - '"0x8D8615323538EF3"' + last-modified: + - Fri, 25 Sep 2020 13:01:37 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - Transfer-Encoding: + transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '1024' - x-ms-request-id: - - 0533ccda-401a-0007-4f38-b1fe58000000 x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_big_range_from_file_url.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_big_range_from_file_url.yaml index d199e8bca8d0..878fc36f7d15 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_big_range_from_file_url.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_big_range_from_file_url.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:04 GMT + - Fri, 25 Sep 2020 12:57:08 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea4411251?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT etag: - - '"0x8D79A155DAE931C"' + - '"0x8D8615282C2409C"' last-modified: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1048576' x-ms-date: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea4411251/testfile1 response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT etag: - - '"0x8D79A155DC341DC"' + - '"0x8D8615282DA0E64"' last-modified: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:05.4282716Z' + - '2020-09-25T12:57:08.3466340Z' x-ms-file-creation-time: - - '2020-01-15T23:48:05.4282716Z' + - '2020-09-25T12:57:08.3466340Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:48:05.4282716Z' + - '2020-09-25T12:57:08.3466340Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -117,13 +117,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:05 GMT + - Fri, 25 Sep 2020 12:57:08 GMT x-ms-range: - bytes=0-1048575 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -137,17 +137,17 @@ interactions: content-md5: - 224fIvQ1+ZOxJMPC/BxiAw== date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT etag: - - '"0x8D79A155E3F16EB"' + - '"0x8D86152837139F5"' last-modified: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -163,11 +163,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1048576' x-ms-date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -179,7 +179,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea4411251/filetoupdate1 response: @@ -189,31 +189,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT etag: - - '"0x8D79A155E531797"' + - '"0x8D86152838C19E3"' last-modified: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-creation-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -229,17 +229,17 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorage43x4qoc3y4bx.file.core.windows.net/utsharea4411251/testfile1?se=2020-01-16T00%3A48%3A06Z&sp=r&sv=2019-02-02&sr=f&sig=GiSQriwilXYhfv4t2wshAhDHVXL3bKCJPcRH51abISw%3D + - https://seanmcccanary3.file.core.windows.net/utsharea4411251/testfile1?se=2020-09-25T13%3A57%3A09Z&sp=r&sv=2020-02-10&sr=f&sig=YSpUZVmtxlti3mD7ZJ%2Bfl/RN4gU%2Be1CoBrRg/Ns9AGI%3D x-ms-date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT x-ms-range: - bytes=0-1048575 x-ms-source-range: - bytes=0-1048575 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -251,11 +251,11 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT etag: - - '"0x8D79A155E78CE92"' + - '"0x8D8615283B7ECDF"' last-modified: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -263,7 +263,7 @@ interactions: x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -277,11 +277,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:10 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharea4411251/filetoupdate1?comp=rangelist response: @@ -291,19 +291,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT etag: - - '"0x8D79A155E78CE92"' + - '"0x8D8615283B7ECDF"' last-modified: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '1048576' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK @@ -317,13 +319,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:10 GMT x-ms-range: - bytes=0-1048575 x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharea4411251/filetoupdate1 response: @@ -339,27 +341,29 @@ interactions: content-type: - application/octet-stream date: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:10 GMT etag: - - '"0x8D79A155E78CE92"' + - '"0x8D8615283B7ECDF"' last-modified: - - Wed, 15 Jan 2020 23:48:06 GMT + - Fri, 25 Sep 2020 12:57:09 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-creation-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2020-01-15T23:48:06.3709079Z' + - '2020-09-25T12:57:09.5134691Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-lease-state: - available x-ms-lease-status: @@ -369,7 +373,7 @@ interactions: x-ms-type: - File x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 206 message: Partial Content diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url.yaml index 4c4e216ad1de..014235837cd4 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url.yaml @@ -11,11 +11,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:17 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5ed210c0?restype=share response: @@ -25,15 +25,15 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:33 GMT etag: - - '"0x8D79A1560784F96"' + - '"0x8D861526E674AAC"' last-modified: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:34 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -49,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -65,7 +65,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5ed210c0/testfile response: @@ -75,31 +75,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:33 GMT etag: - - '"0x8D79A156090996B"' + - '"0x8D861526E8670E7"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:10.1294443Z' + - '2020-09-25T12:56:34.2442215Z' x-ms-file-creation-time: - - '2020-01-15T23:48:10.1294443Z' + - '2020-09-25T12:56:34.2442215Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2020-01-15T23:48:10.1294443Z' + - '2020-09-25T12:56:34.2442215Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -117,13 +117,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT x-ms-range: - bytes=0-1023 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -137,17 +137,17 @@ interactions: content-md5: - yaNM/IXZgmmMasifdgcavQ== date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:33 GMT etag: - - '"0x8D79A15609FB740"' + - '"0x8D861526E9C6DF0"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -165,13 +165,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -185,17 +185,17 @@ interactions: content-md5: - pTsTLZHyQ+et6NksJ1OHxg== date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:33 GMT etag: - - '"0x8D79A1560AE38A3"' + - '"0x8D861526EB5C6F6"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -211,11 +211,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -227,7 +227,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5ed210c0/filetoupdate response: @@ -237,31 +237,31 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:34 GMT etag: - - '"0x8D79A1560C28770"' + - '"0x8D861526ECA8B46"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-creation-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -277,17 +277,17 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorage43x4qoc3y4bx.file.core.windows.net/utshare5ed210c0/testfile?se=2020-01-16T00%3A48%3A10Z&sp=r&sv=2019-02-02&sr=f&sig=Gvga5RAvBsAqnhW5dkHu1haAq3jth69wSI3dB2jH3o8%3D + - https://seanmcccanary3.file.core.windows.net/utshare5ed210c0/testfile?se=2020-09-25T13%3A56%3A35Z&sp=r&sv=2020-02-10&sr=f&sig=r9jyJWU%2BT70Hzqeql/2yV9Oe7tLWENUqUh23INZ3K0s%3D x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-02-02' + - '2020-02-10' x-ms-write: - update method: PUT @@ -299,11 +299,11 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 23:48:09 GMT + - Fri, 25 Sep 2020 12:56:34 GMT etag: - - '"0x8D79A1560E35B88"' + - '"0x8D861526F15368A"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -311,7 +311,7 @@ interactions: x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 201 message: Created @@ -325,11 +325,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare5ed210c0/filetoupdate?comp=rangelist response: @@ -339,19 +339,21 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT etag: - - '"0x8D79A1560E35B88"' + - '"0x8D861526F15368A"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '2048' x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK @@ -365,13 +367,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare5ed210c0/filetoupdate response: @@ -387,27 +389,29 @@ interactions: content-type: - application/octet-stream date: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:34 GMT etag: - - '"0x8D79A1560E35B88"' + - '"0x8D861526F15368A"' last-modified: - - Wed, 15 Jan 2020 23:48:10 GMT + - Fri, 25 Sep 2020 12:56:35 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-creation-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2020-01-15T23:48:10.4566640Z' + - '2020-09-25T12:56:34.6905414Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 5724850820508509333*16704459309046467611 + - 4010187179898695473*11459378189709739967 x-ms-lease-state: - available x-ms-lease-status: @@ -417,7 +421,7 @@ interactions: x-ms-type: - File x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 206 message: Partial Content diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url_with_lease.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url_with_lease.yaml index 6aa7faf48e3e..1354955b285c 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url_with_lease.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file.test_update_range_from_file_url_with_lease.yaml @@ -11,13 +11,49 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e8407728-1d2b-11ea-ae84-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 25 Sep 2020 12:56:51 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare325d1544?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 25 Sep 2020 12:56:51 GMT + etag: + - '"0x8D861527918EE3C"' + last-modified: + - Fri, 25 Sep 2020 12:56:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Thu, 12 Dec 2019 22:08:20 GMT + - Fri, 25 Sep 2020 12:56:52 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -29,66 +65,46 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare325d1544/testfile response: body: string: '' headers: - Content-Length: + content-length: - '0' - Date: - - Thu, 12 Dec 2019 22:08:19 GMT - ETag: - - '"0x8D77F4FCC854D2B"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:20 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:51 GMT + etag: + - '"0x8D8615279369F49"' + last-modified: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2019-12-12T22:08:20.6646571Z' + - '2020-09-25T12:56:52.1760585Z' x-ms-file-creation-time: - - '2019-12-12T22:08:20.6646571Z' + - '2020-09-25T12:56:52.1760585Z' x-ms-file-id: - '13835128424026341376' x-ms-file-last-write-time: - - '2019-12-12T22:08:20.6646571Z' + - '2020-09-25T12:56:52.1760585Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 16864655153240182536*4804112389554988934 - x-ms-request-id: - - 0533ccc0-401a-0007-3d38-b1fe58000000 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created - request: - body: !!binary | - xJsJ29/9j9rC2X4E/VPNCWPP3VRCd4AWem0++GdPTzN+c5xmRHHq8caP+HJuWzHpDPFjJm0RHThN - jDDKM+FD1W1B8hlJ+TOs2YI9V03ZgQuPKNj99V0AcKqiCMUemPFAY2COx3GdEylRiJyGxJtITYTJ - CnTjbeHoPmnA8EaX2aqC3EJH2i+wDFRUmEpy2gmG6chyA2i+ufAHZczy8Ga0jIIFUqwpUzU3U+yY - /jAiF77xfrlDTONQs0rk9FP2yocz2GwTK0N3QXdBicS2qknmPdZjw5S7fkgDFlXxPUp+xV71Q3wR - AfQW3smX2O1UDaiGsnzZC6yJAQkGc5cikjFcEUClUFnFKvgeqgBDQrHHPC3PKfTYkjNZGtxCFmtV - xZIVv8TKX+fUEV4TYIHi4E0lugqgcaulhKRGkuPfgsHC4cfq4zic2gnyhsgkR+wI0C6viYIiMBxG - tll/JPWt3DXFHqk6YK+sH30ExR6eDzTu9pv4ElZcnxLSLcKn3m8oBaANPztr6XGt3DTGF3h6V1G/ - GsjBo2UPLO8ypzMT0ZtAqw1dNNk/Y8k+vC1bVg+qDvgUuS82sy96meVNgJxHqmPvADxRRWR94n2J - XS2QFs9Ld/yjvLNohtUxsiTDg8xBe/r5xbQ6JhKqtKZ2UixqQ5oLLPanSOsIQsjBGt5CNbPVogo8 - ucbFNgbAOcjtJE4q8UTZzJPqlF0aMfa911OEmfH9thFY8l3Kj168xzuCoBRoMa+UHHugDrZoCrlv - 346y2wt4HitZE2XZIPLovRcW9cRxe6ryQmjMZ38uT83W2yfHSTwM2gEft6lRwz1O2JYv8L/yIF8h - z5v79eehcEEOXNYa396BxI6u6j46K8Mdg5RU/XYXITVxs9SHrVBOkRxIyQN+npbbSOx4K0IZY6WW - dhMhuKS0cl42pA0odUll/iXd1HhWasBG0ToVnBIknmw3pk+QU0g9UkBNSgXkh5lvLzdqIvNYbJt9 - Qb+ECNCfdYHlXkdBRoci9UYEXkxGPrYwyhIwoeDcSuOJXSV9CTKFXiaT7tclyxVVHQu8xEnERY99 - CaG5hCD7mIJALGfo1GzJKNPPri5KfMK3jjJcDL7eJuEHz3UlikY8i2HkMsFCjzb48eMnPp2xA9aV - iBjxp0ITZHUNtEouK9lmF8CrbezLLeltTeXvLo0wXdVAwpRF+3ErW3i6XMd1OKWKWSdbuKKz0mCq - Nl0uQM9PxNFG0cACh/DdPo5FS+F2+9S5kLTbyrqdUaTvvrZwj8+I98Hz2TQuNL0mPUFZ1RCZ1IDi - bswnk6JqXwWAlwYy47dIEnuNLbRL6JcG4t7joWbwp6AkCSQ9TfFF5DexIdC0YzLe+UbnxmStSQ== + body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa headers: Accept: - '*/*' @@ -101,15 +117,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e859b25c-1d2b-11ea-a2ae-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:20 GMT + - Fri, 25 Sep 2020 12:56:52 GMT x-ms-range: - bytes=0-1023 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -118,24 +132,22 @@ interactions: body: string: '' headers: - Content-Length: + content-length: - '0' - Content-MD5: - - qFUbDZDd7MgvgWh2kqgszQ== - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - ETag: - - '"0x8D77F4FCC994B5A"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:20 GMT - Server: + content-md5: + - yaNM/IXZgmmMasifdgcavQ== + date: + - Fri, 25 Sep 2020 12:56:51 GMT + etag: + - '"0x8D861527953544D"' + last-modified: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: - - 0533ccc1-401a-0007-3e38-b1fe58000000 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -153,15 +165,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e86d7698-1d2b-11ea-bfe6-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:20 GMT + - Fri, 25 Sep 2020 12:56:52 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -170,24 +180,22 @@ interactions: body: string: '' headers: - Content-Length: + content-length: - '0' - Content-MD5: + content-md5: - pTsTLZHyQ+et6NksJ1OHxg== - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - ETag: - - '"0x8D77F4FCCB13E75"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:20 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:51 GMT + etag: + - '"0x8D8615279683FB1"' + last-modified: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-request-id: - - 0533ccc2-401a-0007-3f38-b1fe58000000 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -203,13 +211,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e88535cc-1d2b-11ea-83c6-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:52 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -221,43 +227,41 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare325d1544/filetoupdate response: body: string: '' headers: - Content-Length: + content-length: - '0' - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - ETag: - - '"0x8D77F4FCCC8488D"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:21 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:52 GMT + etag: + - '"0x8D8615279823515"' + last-modified: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-creation-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 16864655153240182536*4804112389554988934 - x-ms-request-id: - - 0533ccc3-401a-0007-4038-b1fe58000000 + - 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -273,41 +277,37 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e89c8f58-1d2b-11ea-89f5-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:53 GMT x-ms-lease-action: - acquire x-ms-lease-duration: - '-1' x-ms-proposed-lease-id: - - b8c70bd1-eb13-4bb9-a2c6-f1d8b1a28fae + - 374e9ac6-a22b-4df7-9517-821b0bd07b67 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare325d1544/filetoupdate?comp=lease response: body: string: '' headers: - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - ETag: - - '"0x8D77F4FCCC8488D"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:21 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:52 GMT + etag: + - '"0x8D8615279823515"' + last-modified: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - Transfer-Encoding: + transfer-encoding: - chunked x-ms-lease-id: - - b8c70bd1-eb13-4bb9-a2c6-f1d8b1a28fae - x-ms-request-id: - - 0533ccc4-401a-0007-4138-b1fe58000000 + - 374e9ac6-a22b-4df7-9517-821b0bd07b67 x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -323,19 +323,17 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e8b08fde-1d2b-11ea-bac4-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://emilystageaccount.file.core.windows.net/utshare325d1544/testfile?se=2019-12-12T23%3A08%3A21Z&sp=r&sv=2019-07-07&sr=f&sig=SCBC%2B4rEowI4vnnM0G%2BEiMhx16XR9gYlniCTPSKvLio%3D + - https://seanmcccanary3.file.core.windows.net/utshare325d1544/testfile?se=2020-09-25T13%3A56%3A53Z&sp=r&sv=2020-02-10&sr=f&sig=yrS8H9GWVIjkG1m%2BGrh3bCJzPNNH8QXw8KeSJhzrhbE%3D x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:53 GMT x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -343,22 +341,20 @@ interactions: response: body: string: "\uFEFFLeaseIdMissingThere - is currently a lease on the file and no lease ID was specified in the request.\nRequestId:0533ccc6-401a-0007-4238-b1fe58000000\nTime:2019-12-12T22:08:21.5249974Z" + is currently a lease on the file and no lease ID was specified in the request.\nRequestId:76af2e41-d01a-008e-213b-930c74000000\nTime:2020-09-25T12:56:53.3274205Z" headers: - Content-Length: + content-length: - '267' - Content-Type: + content-type: - application/xml - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:52 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: - LeaseIdMissing - x-ms-request-id: - - 0533ccc6-401a-0007-4238-b1fe58000000 x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 412 message: There is currently a lease on the file and no lease ID was specified @@ -375,21 +371,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e8dcc0c0-1d2b-11ea-b4de-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://emilystageaccount.file.core.windows.net/utshare325d1544/testfile?se=2019-12-12T23%3A08%3A21Z&sp=r&sv=2019-07-07&sr=f&sig=SCBC%2B4rEowI4vnnM0G%2BEiMhx16XR9gYlniCTPSKvLio%3D + - https://seanmcccanary3.file.core.windows.net/utshare325d1544/testfile?se=2020-09-25T13%3A56%3A53Z&sp=r&sv=2020-02-10&sr=f&sig=yrS8H9GWVIjkG1m%2BGrh3bCJzPNNH8QXw8KeSJhzrhbE%3D x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:53 GMT x-ms-lease-id: - - b8c70bd1-eb13-4bb9-a2c6-f1d8b1a28fae + - 374e9ac6-a22b-4df7-9517-821b0bd07b67 x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -398,24 +392,22 @@ interactions: body: string: '' headers: - Content-Length: + content-length: - '0' - Date: - - Thu, 12 Dec 2019 22:08:20 GMT - ETag: - - '"0x8D77F4FCD21DC33"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:21 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:52 GMT + etag: + - '"0x8D861527A0B7B76"' + last-modified: + - Fri, 25 Sep 2020 12:56:53 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: - EZA9hgZaRrQ= - x-ms-request-id: - - 0533ccc8-401a-0007-4438-b1fe58000000 x-ms-request-server-encrypted: - 'true' x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 201 message: Created @@ -429,37 +421,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e8f65df0-1d2b-11ea-8178-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:54 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare325d1544/filetoupdate?comp=rangelist response: body: string: "\uFEFF0511" headers: - Content-Type: + content-type: - application/xml - Date: - - Thu, 12 Dec 2019 22:08:21 GMT - ETag: - - '"0x8D77F4FCD21DC33"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:21 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:53 GMT + etag: + - '"0x8D861527A0B7B76"' + last-modified: + - Fri, 25 Sep 2020 12:56:53 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - Transfer-Encoding: + transfer-encoding: - chunked + vary: + - Origin x-ms-content-length: - '2048' - x-ms-request-id: - - 0533cccb-401a-0007-4638-b1fe58000000 x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 200 message: OK @@ -473,65 +463,63 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-client-request-id: - - e90b5946-1d2b-11ea-9e9e-001a7dda7113 + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 12 Dec 2019 22:08:21 GMT + - Fri, 25 Sep 2020 12:56:54 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare325d1544/filetoupdate response: body: string: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: - Accept-Ranges: + accept-ranges: - bytes - Content-Length: + content-length: - '512' - Content-Range: + content-range: - bytes 0-511/2048 - Content-Type: + content-type: - application/octet-stream - Date: - - Thu, 12 Dec 2019 22:08:21 GMT - ETag: - - '"0x8D77F4FCD21DC33"' - Last-Modified: - - Thu, 12 Dec 2019 22:08:21 GMT - Server: + date: + - Fri, 25 Sep 2020 12:56:53 GMT + etag: + - '"0x8D861527A0B7B76"' + last-modified: + - Fri, 25 Sep 2020 12:56:53 GMT + server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin x-ms-file-attributes: - Archive x-ms-file-change-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-creation-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-id: - '11529285414812647424' x-ms-file-last-write-time: - - '2019-12-12T22:08:21.1036301Z' + - '2020-09-25T12:56:52.6714133Z' x-ms-file-parent-id: - '0' x-ms-file-permission-key: - - 16864655153240182536*4804112389554988934 + - 4010187179898695473*11459378189709739967 x-ms-lease-duration: - infinite x-ms-lease-state: - leased x-ms-lease-status: - locked - x-ms-request-id: - - 0533cccc-401a-0007-4738-b1fe58000000 x-ms-server-encrypted: - 'true' x-ms-type: - File x-ms-version: - - '2019-07-07' + - '2020-02-10' status: code: 206 message: Partial Content diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_break_lease_with_broken_period_fails.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_break_lease_with_broken_period_fails.yaml new file mode 100644 index 000000000000..9e7d88e03033 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_break_lease_with_broken_period_fails.yaml @@ -0,0 +1,139 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:28:02 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utsharea1fb1743?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 16:28:03 GMT + etag: '"0x8D863CB79315436"' + last-modified: Mon, 28 Sep 2020 16:28:03 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utsharea1fb1743?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-content-length: + - '1024' + x-ms-date: + - Mon, 28 Sep 2020 16:28:03 GMT + x-ms-file-attributes: + - none + x-ms-file-creation-time: + - now + x-ms-file-last-write-time: + - now + x-ms-file-permission: + - Inherit + x-ms-type: + - file + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utsharea1fb1743/filea1fb1743 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 16:28:03 GMT + etag: '"0x8D863CB795A82AE"' + last-modified: Mon, 28 Sep 2020 16:28:03 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-file-attributes: Archive + x-ms-file-change-time: '2020-09-28T16:28:03.8410926Z' + x-ms-file-creation-time: '2020-09-28T16:28:03.8410926Z' + x-ms-file-id: '13835128424026341376' + x-ms-file-last-write-time: '2020-09-28T16:28:03.8410926Z' + x-ms-file-parent-id: '0' + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 + x-ms-request-server-encrypted: 'true' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utsharea1fb1743/filea1fb1743 +- request: + body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + headers: + Content-Length: + - '1024' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:28:03 GMT + x-ms-range: + - bytes=0-1023 + x-ms-version: + - '2020-02-10' + x-ms-write: + - update + method: PUT + uri: https://storagename.file.core.windows.net/utsharea1fb1743/filea1fb1743?comp=range + response: + body: + string: '' + headers: + content-length: '0' + content-md5: yaNM/IXZgmmMasifdgcavQ== + date: Mon, 28 Sep 2020 16:28:03 GMT + etag: '"0x8D863CB7964BDB6"' + last-modified: Mon, 28 Sep 2020 16:28:03 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: 'true' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utsharea1fb1743/filea1fb1743?comp=range +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:28:03 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 6a5eaf76-51b9-4e3a-b41e-56fa15b46042 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utsharea1fb1743/filea1fb1743?comp=lease + response: + body: + string: '' + headers: + date: Mon, 28 Sep 2020 16:28:03 GMT + etag: '"0x8D863CB7964BDB6"' + last-modified: Mon, 28 Sep 2020 16:28:03 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-lease-id: 6a5eaf76-51b9-4e3a-b41e-56fa15b46042 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utsharea1fb1743/filea1fb1743?comp=lease +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_async.yaml index 6eded7979708..ddac22b03151 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:25 GMT + - Fri, 25 Sep 2020 13:08:47 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare4ee91033?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:24 GMT - etag: '"0x8D7AFF10832B748"' - last-modified: Wed, 12 Feb 2020 19:23:25 GMT + date: Fri, 25 Sep 2020 13:08:46 GMT + etag: '"0x8D861542341E830"' + last-modified: Fri, 25 Sep 2020 13:08:46 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare4ee91033 - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare4ee91033?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 12 Feb 2020 19:23:25 GMT + - Fri, 25 Sep 2020 13:08:47 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare4ee91033/file4ee91033 response: @@ -59,30 +52,23 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF1085C53C7"' - last-modified: Wed, 12 Feb 2020 19:23:25 GMT + date: Fri, 25 Sep 2020 13:08:46 GMT + etag: '"0x8D86154236B1658"' + last-modified: Fri, 25 Sep 2020 13:08:47 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:25.8462151Z' - x-ms-file-creation-time: '2020-02-12T19:23:25.8462151Z' + x-ms-file-change-time: '2020-09-25T13:08:47.2292952Z' + x-ms-file-creation-time: '2020-09-25T13:08:47.2292952Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:25.8462151Z' + x-ms-file-last-write-time: '2020-09-25T13:08:47.2292952Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare4ee91033/file4ee91033 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare4ee91033/file4ee91033 - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -91,13 +77,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:25 GMT + - Fri, 25 Sep 2020 13:08:47 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -108,23 +94,16 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF10862484D"' - last-modified: Wed, 12 Feb 2020 19:23:25 GMT + date: Fri, 25 Sep 2020 13:08:46 GMT + etag: '"0x8D86154237418B5"' + last-modified: Fri, 25 Sep 2020 13:08:47 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare4ee91033/file4ee91033 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare4ee91033/file4ee91033?comp=range - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -133,13 +112,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:25 GMT + - Fri, 25 Sep 2020 13:08:47 GMT x-ms-range: - bytes=1024-1535 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -150,34 +129,27 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108683CD8"' - last-modified: Wed, 12 Feb 2020 19:23:25 GMT + date: Fri, 25 Sep 2020 13:08:46 GMT + etag: '"0x8D86154237D693D"' + last-modified: Fri, 25 Sep 2020 13:08:47 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare4ee91033/file4ee91033 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare4ee91033/file4ee91033?comp=range - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:25 GMT + - Fri, 25 Sep 2020 13:08:47 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare4ee91033/file4ee91033?comp=rangelist response: @@ -185,22 +157,16 @@ interactions: string: "\uFEFF051110241535" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108683CD8"' - last-modified: Wed, 12 Feb 2020 19:23:25 GMT + date: Fri, 25 Sep 2020 13:08:46 GMT + etag: '"0x8D86154237D693D"' + last-modified: Fri, 25 Sep 2020 13:08:47 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '2048' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare4ee91033/file4ee91033 - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare4ee91033/file4ee91033?comp=rangelist version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_from_snapshot_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_from_snapshot_async.yaml index 041f57fc7a8d..a3ca8ab94060 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_from_snapshot_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_2_from_snapshot_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:26 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5db41615?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108933A3C"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:26 GMT + etag: '"0x8D861543A93CC28"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615 - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:26 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5db41615/file5db41615 response: @@ -59,30 +52,23 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108A5C66D"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:25 GMT + etag: '"0x8D861543ACBC003"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:26.3275629Z' - x-ms-file-creation-time: '2020-02-12T19:23:26.3275629Z' + x-ms-file-change-time: '2020-09-25T13:09:26.4503811Z' + x-ms-file-creation-time: '2020-09-25T13:09:26.4503811Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:26.3275629Z' + x-ms-file-last-write-time: '2020-09-25T13:09:26.4503811Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615/file5db41615 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615/file5db41615 - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -91,13 +77,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:26 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -108,23 +94,16 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108AB6CB7"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:25 GMT + etag: '"0x8D861543AD49B3F"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615/file5db41615 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615/file5db41615?comp=range - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -133,13 +112,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:26 GMT x-ms-range: - bytes=1024-1535 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -150,32 +129,25 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108B0C4E1"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:25 GMT + etag: '"0x8D861543ADD284D"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615/file5db41615 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615/file5db41615?comp=range - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:27 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare5db41615?restype=share&comp=snapshot response: @@ -183,32 +155,25 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:26 GMT - etag: '"0x8D7AFF108933A3C"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:26 GMT + etag: '"0x8D861543A93CC28"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-snapshot: '2020-02-12T19:23:26.0000000Z' - x-ms-version: '2019-07-07' + x-ms-snapshot: '2020-09-25T13:09:26.0000000Z' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615 - - restype=share&comp=snapshot - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615?restype=share&comp=snapshot - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:27 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/utshare5db41615/file5db41615 response: @@ -216,54 +181,41 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615/file5db41615 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615/file5db41615 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:09:27 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET - uri: https://storagename.file.core.windows.net/utshare5db41615/file5db41615?sharesnapshot=2020-02-12T19:23:26.0000000Z&comp=rangelist + uri: https://storagename.file.core.windows.net/utshare5db41615/file5db41615?sharesnapshot=2020-09-25T13:09:26.0000000Z&comp=rangelist response: body: string: "\uFEFF051110241535" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:25 GMT - etag: '"0x8D7AFF108B0C4E1"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:09:27 GMT + etag: '"0x8D861543ADD284D"' + last-modified: Fri, 25 Sep 2020 13:09:26 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '2048' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare5db41615/file5db41615 - - sharesnapshot=2020-02-12T19:23:26.0000000Z&comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare5db41615/file5db41615?sharesnapshot=2020-09-25T13:09:26.0000000Z&comp=rangelist version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_diff.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_diff.yaml new file mode 100644 index 000000000000..ce55772079bb --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_diff.yaml @@ -0,0 +1,252 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:04 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 19:56:04 GMT + etag: '"0x8D864B1B31532A5"' + last-modified: Tue, 29 Sep 2020 19:56:04 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-content-length: + - '2048' + x-ms-date: + - Tue, 29 Sep 2020 19:56:05 GMT + x-ms-file-attributes: + - none + x-ms-file-creation-time: + - now + x-ms-file-last-write-time: + - now + x-ms-file-permission: + - Inherit + x-ms-type: + - file + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d/file20670f1d + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 19:56:04 GMT + etag: '"0x8D864B1B33B181C"' + last-modified: Tue, 29 Sep 2020 19:56:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-file-attributes: Archive + x-ms-file-change-time: '2020-09-29T19:56:05.1908636Z' + x-ms-file-creation-time: '2020-09-29T19:56:05.1908636Z' + x-ms-file-id: '13835128424026341376' + x-ms-file-last-write-time: '2020-09-29T19:56:05.1908636Z' + x-ms-file-parent-id: '0' + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 + x-ms-request-server-encrypted: 'true' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d/file20670f1d +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:05 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 19:56:05 GMT + etag: '"0x8D864B1B31532A5"' + last-modified: Tue, 29 Sep 2020 19:56:04 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: '2020-09-29T19:56:05.0000000Z' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d?restype=share&comp=snapshot +- request: + body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + headers: + Content-Length: + - '1536' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:05 GMT + x-ms-range: + - bytes=0-1535 + x-ms-version: + - '2020-02-10' + x-ms-write: + - update + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d/file20670f1d?comp=range + response: + body: + string: '' + headers: + content-length: '0' + content-md5: e4FaZ8aPiasHKL7jmukQuQ== + date: Tue, 29 Sep 2020 19:56:04 GMT + etag: '"0x8D864B1B396DD3A"' + last-modified: Tue, 29 Sep 2020 19:56:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: 'true' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d/file20670f1d?comp=range +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:05 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 19:56:05 GMT + etag: '"0x8D864B1B31532A5"' + last-modified: Tue, 29 Sep 2020 19:56:04 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: '2020-09-29T19:56:06.0000000Z' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d?restype=share&comp=snapshot +- request: + body: null + headers: + Content-Length: + - '0' + Content-Type: + - application/octet-stream + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:05 GMT + x-ms-range: + - bytes=512-1023 + x-ms-version: + - '2020-02-10' + x-ms-write: + - clear + method: PUT + uri: https://storagename.file.core.windows.net/utshare20670f1d/file20670f1d?comp=range + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 19:56:04 GMT + etag: '"0x8D864B1B3AB7A62"' + last-modified: Tue, 29 Sep 2020 19:56:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d/file20670f1d?comp=range +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:06 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/utshare20670f1d/file20670f1d?prevsharesnapshot=2020-09-29T19:56:05.0000000Z&comp=rangelist + response: + body: + string: "\uFEFF0511512102310241535" + headers: + content-type: application/xml + date: Tue, 29 Sep 2020 19:56:05 GMT + etag: '"0x8D864B1B3AB7A62"' + last-modified: Tue, 29 Sep 2020 19:56:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-content-length: '2048' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d/file20670f1d?prevsharesnapshot=2020-09-29T19:56:05.0000000Z&comp=rangelist +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 19:56:06 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/utshare20670f1d/file20670f1d?prevsharesnapshot=2020-09-29T19:56:06.0000000Z&comp=rangelist + response: + body: + string: "\uFEFF5121023" + headers: + content-type: application/xml + date: Tue, 29 Sep 2020 19:56:05 GMT + etag: '"0x8D864B1B3AB7A62"' + last-modified: Tue, 29 Sep 2020 19:56:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-content-length: '2048' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/utshare20670f1d/file20670f1d?prevsharesnapshot=2020-09-29T19:56:06.0000000Z&comp=rangelist +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_async.yaml index c28c509b90dd..dd7833c04174 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:26 GMT + - Fri, 25 Sep 2020 13:06:24 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare847d11b1?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:26 GMT - etag: '"0x8D7AFF1090B3862"' - last-modified: Wed, 12 Feb 2020 19:23:26 GMT + date: Fri, 25 Sep 2020 13:06:24 GMT + etag: '"0x8D86153CED0B766"' + last-modified: Fri, 25 Sep 2020 13:06:25 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare847d11b1 - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare847d11b1?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:06:25 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare847d11b1/file847d11b1 response: @@ -59,41 +52,34 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:26 GMT - etag: '"0x8D7AFF1092175BA"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:06:25 GMT + etag: '"0x8D86153CF14426D"' + last-modified: Fri, 25 Sep 2020 13:06:25 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:27.1381434Z' - x-ms-file-creation-time: '2020-02-12T19:23:27.1381434Z' + x-ms-file-change-time: '2020-09-25T13:06:25.7316461Z' + x-ms-file-creation-time: '2020-09-25T13:06:25.7316461Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:27.1381434Z' + x-ms-file-last-write-time: '2020-09-25T13:06:25.7316461Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare847d11b1/file847d11b1 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare847d11b1/file847d11b1 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:06:26 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare847d11b1/file847d11b1?comp=rangelist response: @@ -101,22 +87,16 @@ interactions: string: "\uFEFF" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:26 GMT - etag: '"0x8D7AFF1092175BA"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:06:25 GMT + etag: '"0x8D86153CF14426D"' + last-modified: Fri, 25 Sep 2020 13:06:25 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '1024' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare847d11b1/file847d11b1 - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare847d11b1/file847d11b1?comp=rangelist version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_from_snapshot_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_from_snapshot_async.yaml index 2bbb91411a50..8f73996e326a 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_from_snapshot_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_from_snapshot_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:09:03 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea82c1793?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109485C78"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:09:02 GMT + etag: '"0x8D861542D3AAFF3"' + last-modified: Fri, 25 Sep 2020 13:09:03 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharea82c1793 - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharea82c1793?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:09:04 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea82c1793/filea82c1793 response: @@ -59,39 +52,32 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF1095D2A23"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:09:03 GMT + etag: '"0x8D861542D5C17B3"' + last-modified: Fri, 25 Sep 2020 13:09:03 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:27.5294243Z' - x-ms-file-creation-time: '2020-02-12T19:23:27.5294243Z' + x-ms-file-change-time: '2020-09-25T13:09:03.9082419Z' + x-ms-file-creation-time: '2020-09-25T13:09:03.9082419Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:27.5294243Z' + x-ms-file-last-write-time: '2020-09-25T13:09:03.9082419Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharea82c1793/filea82c1793 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharea82c1793/filea82c1793 - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:09:04 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharea82c1793?restype=share&comp=snapshot response: @@ -99,32 +85,25 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109485C78"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:09:03 GMT + etag: '"0x8D861542D3AAFF3"' + last-modified: Fri, 25 Sep 2020 13:09:03 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-snapshot: '2020-02-12T19:23:27.0000000Z' - x-ms-version: '2019-07-07' + x-ms-snapshot: '2020-09-25T13:09:04.0000000Z' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharea82c1793 - - restype=share&comp=snapshot - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharea82c1793?restype=share&comp=snapshot - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:09:04 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/utsharea82c1793/filea82c1793 response: @@ -132,54 +111,41 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:09:03 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharea82c1793/filea82c1793 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharea82c1793/filea82c1793 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:27 GMT + - Fri, 25 Sep 2020 13:09:04 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET - uri: https://storagename.file.core.windows.net/utsharea82c1793/filea82c1793?sharesnapshot=2020-02-12T19:23:27.0000000Z&comp=rangelist + uri: https://storagename.file.core.windows.net/utsharea82c1793/filea82c1793?sharesnapshot=2020-09-25T13:09:04.0000000Z&comp=rangelist response: body: string: "\uFEFF" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF1095D2A23"' - last-modified: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:09:04 GMT + etag: '"0x8D861542D5C17B3"' + last-modified: Fri, 25 Sep 2020 13:09:03 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '1024' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharea82c1793/filea82c1793 - - sharesnapshot=2020-02-12T19:23:27.0000000Z&comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharea82c1793/filea82c1793?sharesnapshot=2020-09-25T13:09:04.0000000Z&comp=rangelist version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_with_invalid_lease_fails_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_with_invalid_lease_fails_async.yaml index 943fb9816633..8a8879d615bd 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_with_invalid_lease_fails_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_list_ranges_none_with_invalid_lease_fails_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:28 GMT + - Fri, 25 Sep 2020 13:06:37 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharec36c1be9?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109C0158F"' - last-modified: Wed, 12 Feb 2020 19:23:28 GMT + date: Fri, 25 Sep 2020 13:06:36 GMT + etag: '"0x8D86153D6355CF3"' + last-modified: Fri, 25 Sep 2020 13:06:37 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharec36c1be9 - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharec36c1be9?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 12 Feb 2020 19:23:28 GMT + - Fri, 25 Sep 2020 13:06:38 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharec36c1be9/filec36c1be9 response: @@ -59,117 +52,97 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109D4E130"' - last-modified: Wed, 12 Feb 2020 19:23:28 GMT + date: Fri, 25 Sep 2020 13:06:37 GMT + etag: '"0x8D86153D656E3E7"' + last-modified: Fri, 25 Sep 2020 13:06:37 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:28.3139888Z' - x-ms-file-creation-time: '2020-02-12T19:23:28.3139888Z' + x-ms-file-change-time: '2020-09-25T13:06:37.9123687Z' + x-ms-file-creation-time: '2020-09-25T13:06:37.9123687Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:28.3139888Z' + x-ms-file-last-write-time: '2020-09-25T13:06:37.9123687Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharec36c1be9/filec36c1be9 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharec36c1be9/filec36c1be9 - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:28 GMT + - Fri, 25 Sep 2020 13:06:38 GMT x-ms-lease-action: - acquire x-ms-lease-duration: - '-1' x-ms-proposed-lease-id: - - b641de5c-d862-49c2-99a3-f9d755b08d42 + - 73e54dc4-9faf-457a-9c3c-503eb7c94f08 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=lease response: body: string: '' headers: - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109D4E130"' - last-modified: Wed, 12 Feb 2020 19:23:28 GMT + date: Fri, 25 Sep 2020 13:06:37 GMT + etag: '"0x8D86153D656E3E7"' + last-modified: Fri, 25 Sep 2020 13:06:37 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-lease-id: b641de5c-d862-49c2-99a3-f9d755b08d42 - x-ms-version: '2019-07-07' + x-ms-lease-id: 73e54dc4-9faf-457a-9c3c-503eb7c94f08 + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharec36c1be9/filec36c1be9 - - comp=lease - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=lease - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:28 GMT + - Fri, 25 Sep 2020 13:06:38 GMT x-ms-lease-id: - - 8bd86ef2-29db-4837-a36b-f86be312c784 + - da534f3e-c714-4cd5-a7c5-2870939e75c9 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=rangelist response: body: string: "\uFEFFLeaseIdMismatchWithFileOperationThe - lease ID specified did not match the lease ID for the file.\nRequestId:86e73f96-d01a-0039-21d9-e1c693000000\nTime:2020-02-12T19:23:28.4290708Z" + lease ID specified did not match the lease ID for the file.\nRequestId:60504716-501a-0064-5d3c-932b5a000000\nTime:2020-09-25T13:06:38.1581036Z" headers: content-length: '264' content-type: application/xml - date: Wed, 12 Feb 2020 19:23:27 GMT + date: Fri, 25 Sep 2020 13:06:38 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin x-ms-error-code: LeaseIdMismatchWithFileOperation - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 412 message: The lease ID specified did not match the lease ID for the file. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharec36c1be9/filec36c1be9 - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=rangelist - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:28 GMT + - Fri, 25 Sep 2020 13:06:38 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=rangelist response: @@ -177,22 +150,16 @@ interactions: string: "\uFEFF" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:27 GMT - etag: '"0x8D7AFF109D4E130"' - last-modified: Wed, 12 Feb 2020 19:23:28 GMT + date: Fri, 25 Sep 2020 13:06:38 GMT + etag: '"0x8D86153D656E3E7"' + last-modified: Fri, 25 Sep 2020 13:06:37 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '1024' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharec36c1be9/filec36c1be9 - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharec36c1be9/filec36c1be9?comp=rangelist version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_big_range_from_file_url.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_big_range_from_file_url.yaml index 12ee9c6884c6..0e2e026712e7 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_big_range_from_file_url.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_big_range_from_file_url.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:37 GMT + - Fri, 25 Sep 2020 13:06:11 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare1cf914ce?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:38 GMT - etag: '"0x8D7AFF10FD01E25"' - last-modified: Wed, 12 Feb 2020 19:23:38 GMT + date: Fri, 25 Sep 2020 13:06:10 GMT + etag: '"0x8D86153C67F13EA"' + last-modified: Fri, 25 Sep 2020 13:06:11 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1048576' x-ms-date: - - Wed, 12 Feb 2020 19:23:38 GMT + - Fri, 25 Sep 2020 13:06:11 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare1cf914ce/testfile1 response: @@ -59,30 +52,23 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:38 GMT - etag: '"0x8D7AFF10FE7CCCA"' - last-modified: Wed, 12 Feb 2020 19:23:38 GMT + date: Fri, 25 Sep 2020 13:06:11 GMT + etag: '"0x8D86153C6A2111F"' + last-modified: Fri, 25 Sep 2020 13:06:11 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:38.5043146Z' - x-ms-file-creation-time: '2020-02-12T19:23:38.5043146Z' + x-ms-file-change-time: '2020-09-25T13:06:11.5615007Z' + x-ms-file-creation-time: '2020-09-25T13:06:11.5615007Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:38.5043146Z' + x-ms-file-last-write-time: '2020-09-25T13:06:11.5615007Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/testfile1 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/testfile1 - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -91,13 +77,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:38 GMT + - Fri, 25 Sep 2020 13:06:12 GMT x-ms-range: - bytes=0-1048575 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -108,65 +94,51 @@ interactions: headers: content-length: '0' content-md5: 224fIvQ1+ZOxJMPC/BxiAw== - date: Wed, 12 Feb 2020 19:23:39 GMT - etag: '"0x8D7AFF1107076DF"' - last-modified: Wed, 12 Feb 2020 19:23:39 GMT + date: Fri, 25 Sep 2020 13:06:12 GMT + etag: '"0x8D86153C7814F5B"' + last-modified: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/testfile1 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/testfile1?comp=range - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:39 GMT + - Fri, 25 Sep 2020 13:06:13 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare1cf914ce?restype=share response: body: string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:11759fe0-c01a-002d-34d9-e105f7000000\nTime:2020-02-12T19:23:39.5081675Z" + specified share already exists.\nRequestId:37ca1f32-f01a-0099-453c-93a57f000000\nTime:2020-09-25T13:06:13.3288125Z" headers: content-length: '222' content-type: application/xml - date: Wed, 12 Feb 2020 19:23:38 GMT + date: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 409 message: The specified share already exists. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1048576' x-ms-date: - - Wed, 12 Feb 2020 19:23:39 GMT + - Fri, 25 Sep 2020 13:06:13 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -178,7 +150,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare1cf914ce/filetoupdate1 response: @@ -186,47 +158,40 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:39 GMT - etag: '"0x8D7AFF110856245"' - last-modified: Wed, 12 Feb 2020 19:23:39 GMT + date: Fri, 25 Sep 2020 13:06:13 GMT + etag: '"0x8D86153C7BC404B"' + last-modified: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:39.5370565Z' - x-ms-file-creation-time: '2020-02-12T19:23:39.5370565Z' + x-ms-file-change-time: '2020-09-25T13:06:13.4108235Z' + x-ms-file-creation-time: '2020-09-25T13:06:13.4108235Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:39.5370565Z' + x-ms-file-last-write-time: '2020-09-25T13:06:13.4108235Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/filetoupdate1 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/filetoupdate1 - request: body: null headers: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorageepk37kc36v76.file.core.windows.net/utshare1cf914ce/testfile1?se=2020-02-12T20%3A23%3A39Z&sp=r&sv=2019-07-07&sr=f&sig=1NY/1gfM7jHCk6FyGwyBdYKmPYb2OXsh7/UIgZI9wv4%3D + - https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/testfile1?se=2020-09-25T14%3A06%3A13Z&sp=r&sv=2020-02-10&sr=f&sig=E9och3q7cZ1ZdnSFiKduKymybSs2dIrqgvl8HYpMNpk%3D x-ms-date: - - Wed, 12 Feb 2020 19:23:39 GMT + - Fri, 25 Sep 2020 13:06:13 GMT x-ms-range: - bytes=0-1048575 x-ms-source-range: - bytes=0-1048575 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -236,35 +201,28 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:39 GMT - etag: '"0x8D7AFF110A65DDB"' - last-modified: Wed, 12 Feb 2020 19:23:39 GMT + date: Fri, 25 Sep 2020 13:06:13 GMT + etag: '"0x8D86153C7F8DF34"' + last-modified: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: CBDafWFmG7I= x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/filetoupdate1 - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/filetoupdate1?comp=range - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:39 GMT + - Fri, 25 Sep 2020 13:06:14 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare1cf914ce/filetoupdate1?comp=rangelist response: @@ -272,37 +230,31 @@ interactions: string: "\uFEFF01048575" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:39 GMT - etag: '"0x8D7AFF110A65DDB"' - last-modified: Wed, 12 Feb 2020 19:23:39 GMT + date: Fri, 25 Sep 2020 13:06:13 GMT + etag: '"0x8D86153C7F8DF34"' + last-modified: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '1048576' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/filetoupdate1 - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/filetoupdate1?comp=rangelist - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:39 GMT + - Fri, 25 Sep 2020 13:06:14 GMT x-ms-range: - bytes=0-1048575 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare1cf914ce/filetoupdate1 response: @@ -313,31 +265,25 @@ interactions: content-length: '1048576' content-range: bytes 0-1048575/1048576 content-type: application/octet-stream - date: Wed, 12 Feb 2020 19:23:39 GMT - etag: '"0x8D7AFF110A65DDB"' - last-modified: Wed, 12 Feb 2020 19:23:39 GMT + date: Fri, 25 Sep 2020 13:06:13 GMT + etag: '"0x8D86153C7F8DF34"' + last-modified: Fri, 25 Sep 2020 13:06:13 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:39.5370565Z' - x-ms-file-creation-time: '2020-02-12T19:23:39.5370565Z' + x-ms-file-change-time: '2020-09-25T13:06:13.4108235Z' + x-ms-file-creation-time: '2020-09-25T13:06:13.4108235Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:39.5370565Z' + x-ms-file-last-write-time: '2020-09-25T13:06:13.4108235Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-server-encrypted: 'true' x-ms-type: File - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare1cf914ce/filetoupdate1 - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare1cf914ce/filetoupdate1 version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url.yaml index 463cc25a5391..e1b8196e0d85 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:35 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecd87133d?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:40 GMT - etag: '"0x8D7AFF111864E26"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:34 GMT + etag: '"0x8D86153B0EBD9F9"' + last-modified: Fri, 25 Sep 2020 13:05:35 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:35 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecd87133d/testfile response: @@ -59,30 +52,23 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF1119C5CC6"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:35 GMT + etag: '"0x8D86153B10FECE9"' + last-modified: Fri, 25 Sep 2020 13:05:35 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:41.3653702Z' - x-ms-file-creation-time: '2020-02-12T19:23:41.3653702Z' + x-ms-file-change-time: '2020-09-25T13:05:35.3715945Z' + x-ms-file-creation-time: '2020-09-25T13:05:35.3715945Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:41.3653702Z' + x-ms-file-last-write-time: '2020-09-25T13:05:35.3715945Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/testfile - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/testfile - request: body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa headers: @@ -91,13 +77,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:35 GMT x-ms-range: - bytes=0-1023 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -108,23 +94,16 @@ interactions: headers: content-length: '0' content-md5: yaNM/IXZgmmMasifdgcavQ== - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111A25155"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:35 GMT + etag: '"0x8D86153B118EF3E"' + last-modified: Fri, 25 Sep 2020 13:05:35 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/testfile - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/testfile?comp=range - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -133,13 +112,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:35 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -150,65 +129,51 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111A73437"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:35 GMT + etag: '"0x8D86153B121CA7A"' + last-modified: Fri, 25 Sep 2020 13:05:35 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/testfile - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/testfile?comp=range - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:35 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecd87133d?restype=share response: body: string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:7eebbf42-301a-001a-0bd9-e1a958000000\nTime:2020-02-12T19:23:41.5730392Z" + specified share already exists.\nRequestId:574e8bce-e01a-003c-0a3c-93f305000000\nTime:2020-09-25T13:05:35.8452389Z" headers: content-length: '222' content-type: application/xml - date: Wed, 12 Feb 2020 19:23:40 GMT + date: Fri, 25 Sep 2020 13:05:34 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 409 message: The specified share already exists. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:36 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -220,7 +185,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utsharecd87133d/filetoupdate response: @@ -228,47 +193,40 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111C1ED13"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:35 GMT + etag: '"0x8D86153B1615006"' + last-modified: Fri, 25 Sep 2020 13:05:35 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:41.6115475Z' - x-ms-file-creation-time: '2020-02-12T19:23:41.6115475Z' + x-ms-file-change-time: '2020-09-25T13:05:35.9049734Z' + x-ms-file-creation-time: '2020-09-25T13:05:35.9049734Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:41.6115475Z' + x-ms-file-last-write-time: '2020-09-25T13:05:35.9049734Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/filetoupdate - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/filetoupdate - request: body: null headers: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorageepk37kc36v76.file.core.windows.net/utsharecd87133d/testfile?se=2020-02-12T20%3A23%3A41Z&sp=r&sv=2019-07-07&sr=f&sig=JL95NLwG43lmVTSJF6GC9IWGVwcpnhElJJ0VF7fbroI%3D + - https://seanmcccanary3.file.core.windows.net/utsharecd87133d/testfile?se=2020-09-25T14%3A05%3A36Z&sp=r&sv=2020-02-10&sr=f&sig=0Ufhq5IZ7UciM6mMpfU6N5Mka%2B7d5bAu/dl0lKC5sek%3D x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:36 GMT x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -278,35 +236,28 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111DC09A9"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:36 GMT + etag: '"0x8D86153B19C19E1"' + last-modified: Fri, 25 Sep 2020 13:05:36 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: EZA9hgZaRrQ= x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/filetoupdate - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/filetoupdate?comp=range - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:36 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharecd87133d/filetoupdate?comp=rangelist response: @@ -314,37 +265,31 @@ interactions: string: "\uFEFF0511" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111DC09A9"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:36 GMT + etag: '"0x8D86153B19C19E1"' + last-modified: Fri, 25 Sep 2020 13:05:36 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '2048' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/filetoupdate - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/filetoupdate?comp=rangelist - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:41 GMT + - Fri, 25 Sep 2020 13:05:37 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utsharecd87133d/filetoupdate response: @@ -355,31 +300,25 @@ interactions: content-length: '512' content-range: bytes 0-511/2048 content-type: application/octet-stream - date: Wed, 12 Feb 2020 19:23:41 GMT - etag: '"0x8D7AFF111DC09A9"' - last-modified: Wed, 12 Feb 2020 19:23:41 GMT + date: Fri, 25 Sep 2020 13:05:36 GMT + etag: '"0x8D86153B19C19E1"' + last-modified: Fri, 25 Sep 2020 13:05:36 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:41.6115475Z' - x-ms-file-creation-time: '2020-02-12T19:23:41.6115475Z' + x-ms-file-change-time: '2020-09-25T13:05:35.9049734Z' + x-ms-file-creation-time: '2020-09-25T13:05:35.9049734Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:41.6115475Z' + x-ms-file-last-write-time: '2020-09-25T13:05:35.9049734Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-server-encrypted: 'true' x-ms-type: File - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utsharecd87133d/filetoupdate - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utsharecd87133d/filetoupdate version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url_with_lease_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url_with_lease_async.yaml index 17d1f763b25f..101133b2807a 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url_with_lease_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_async.test_update_range_from_file_url_with_lease_async.yaml @@ -3,11 +3,11 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:42 GMT + - Fri, 25 Sep 2020 13:05:57 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare539b1a3e?restype=share response: @@ -15,31 +15,24 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:42 GMT - etag: '"0x8D7AFF1127D0C5B"' - last-modified: Wed, 12 Feb 2020 19:23:42 GMT + date: Fri, 25 Sep 2020 13:05:56 GMT + etag: '"0x8D86153BE078BEA"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '1024' x-ms-date: - - Wed, 12 Feb 2020 19:23:42 GMT + - Fri, 25 Sep 2020 13:05:57 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -51,7 +44,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare539b1a3e/testfile response: @@ -59,30 +52,23 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:42 GMT - etag: '"0x8D7AFF1129122FD"' - last-modified: Wed, 12 Feb 2020 19:23:42 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT + etag: '"0x8D86153BE2B995B"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:42.9695229Z' - x-ms-file-creation-time: '2020-02-12T19:23:42.9695229Z' + x-ms-file-change-time: '2020-09-25T13:05:57.3633371Z' + x-ms-file-creation-time: '2020-09-25T13:05:57.3633371Z' x-ms-file-id: '13835128424026341376' - x-ms-file-last-write-time: '2020-02-12T19:23:42.9695229Z' + x-ms-file-last-write-time: '2020-09-25T13:05:57.3633371Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/testfile - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/testfile - request: body: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa headers: @@ -91,13 +77,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:57 GMT x-ms-range: - bytes=0-1023 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -108,23 +94,16 @@ interactions: headers: content-length: '0' content-md5: yaNM/IXZgmmMasifdgcavQ== - date: Wed, 12 Feb 2020 19:23:42 GMT - etag: '"0x8D7AFF11296F06E"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT + etag: '"0x8D86153BE390952"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/testfile - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/testfile?comp=range - request: body: abcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnopabcdefghijklmnop headers: @@ -133,13 +112,13 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:57 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -150,65 +129,51 @@ interactions: headers: content-length: '0' content-md5: pTsTLZHyQ+et6NksJ1OHxg== - date: Wed, 12 Feb 2020 19:23:42 GMT - etag: '"0x8D7AFF1129C6FB1"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT + etag: '"0x8D86153BE4232C1"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/testfile - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/testfile?comp=range - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:57 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare539b1a3e?restype=share response: body: string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:21a2a4fc-901a-0071-6dd9-e1f40e000000\nTime:2020-02-12T19:23:43.1713723Z" + specified share already exists.\nRequestId:673d6dbf-201a-009a-333c-93441b000000\nTime:2020-09-25T13:05:57.7398365Z" headers: content-length: '222' content-type: application/xml - date: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 409 message: The specified share already exists. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e - - restype=share - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-content-length: - '2048' x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:58 GMT x-ms-file-attributes: - none x-ms-file-creation-time: @@ -220,7 +185,7 @@ interactions: x-ms-type: - file x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare539b1a3e/filetoupdate response: @@ -228,86 +193,72 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:43 GMT - etag: '"0x8D7AFF112B5EFCF"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT + etag: '"0x8D86153BE6F3E76"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:43.2106959Z' - x-ms-file-creation-time: '2020-02-12T19:23:43.2106959Z' + x-ms-file-change-time: '2020-09-25T13:05:57.8066550Z' + x-ms-file-creation-time: '2020-09-25T13:05:57.8066550Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:43.2106959Z' + x-ms-file-last-write-time: '2020-09-25T13:05:57.8066550Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:58 GMT x-ms-lease-action: - acquire x-ms-lease-duration: - '-1' x-ms-proposed-lease-id: - - 14131130-ff42-488a-9d7e-c4047509024f + - 0dc27554-e858-4000-bceb-3c750b5fced6 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=lease response: body: string: '' headers: - date: Wed, 12 Feb 2020 19:23:43 GMT - etag: '"0x8D7AFF112B5EFCF"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:57 GMT + etag: '"0x8D86153BE6F3E76"' + last-modified: Fri, 25 Sep 2020 13:05:57 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-lease-id: 14131130-ff42-488a-9d7e-c4047509024f - x-ms-version: '2019-07-07' + x-ms-lease-id: 0dc27554-e858-4000-bceb-3c750b5fced6 + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - comp=lease - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=lease - request: body: null headers: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorageepk37kc36v76.file.core.windows.net/utshare539b1a3e/testfile?se=2020-02-12T20%3A23%3A43Z&sp=r&sv=2019-07-07&sr=f&sig=3rNFmwM8iHbUV4r87xOBLWNxilZMYeoPnt6aJoq3HhE%3D + - https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/testfile?se=2020-09-25T14%3A05%3A58Z&sp=r&sv=2020-02-10&sr=f&sig=%2BjjpGaL21kSoikIBFKvvistV3gb9jGcgFNpsqtTeIIQ%3D x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:58 GMT x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -315,45 +266,38 @@ interactions: response: body: string: "\uFEFFLeaseIdMissingThere - is currently a lease on the file and no lease ID was specified in the request.\nRequestId:897a8a28-a01a-001f-22d9-e15d27000000\nTime:2020-02-12T19:23:43.4096641Z" + is currently a lease on the file and no lease ID was specified in the request.\nRequestId:29e9800a-101a-0038-023c-937e02000000\nTime:2020-09-25T13:05:58.4289809Z" headers: content-length: '267' content-type: application/xml - date: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:58 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: LeaseIdMissing - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 412 message: There is currently a lease on the file and no lease ID was specified in the request. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=range - request: body: null headers: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-copy-source: - - https://pyacrstorageepk37kc36v76.file.core.windows.net/utshare539b1a3e/testfile?se=2020-02-12T20%3A23%3A43Z&sp=r&sv=2019-07-07&sr=f&sig=3rNFmwM8iHbUV4r87xOBLWNxilZMYeoPnt6aJoq3HhE%3D + - https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/testfile?se=2020-09-25T14%3A05%3A58Z&sp=r&sv=2020-02-10&sr=f&sig=%2BjjpGaL21kSoikIBFKvvistV3gb9jGcgFNpsqtTeIIQ%3D x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:58 GMT x-ms-lease-id: - - 14131130-ff42-488a-9d7e-c4047509024f + - 0dc27554-e858-4000-bceb-3c750b5fced6 x-ms-range: - bytes=0-511 x-ms-source-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' x-ms-write: - update method: PUT @@ -363,35 +307,28 @@ interactions: string: '' headers: content-length: '0' - date: Wed, 12 Feb 2020 19:23:43 GMT - etag: '"0x8D7AFF112DA475E"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:58 GMT + etag: '"0x8D86153BEDE1A2D"' + last-modified: Fri, 25 Sep 2020 13:05:58 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: EZA9hgZaRrQ= x-ms-request-server-encrypted: 'true' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - comp=range - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=range - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:58 GMT x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=rangelist response: @@ -399,37 +336,31 @@ interactions: string: "\uFEFF0511" headers: content-type: application/xml - date: Wed, 12 Feb 2020 19:23:43 GMT - etag: '"0x8D7AFF112DA475E"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:58 GMT + etag: '"0x8D86153BEDE1A2D"' + last-modified: Fri, 25 Sep 2020 13:05:58 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked + vary: Origin x-ms-content-length: '2048' - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - comp=rangelist - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate?comp=rangelist - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 12 Feb 2020 19:23:43 GMT + - Fri, 25 Sep 2020 13:05:59 GMT x-ms-range: - bytes=0-511 x-ms-version: - - '2019-07-07' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/utshare539b1a3e/filetoupdate response: @@ -440,32 +371,26 @@ interactions: content-length: '512' content-range: bytes 0-511/2048 content-type: application/octet-stream - date: Wed, 12 Feb 2020 19:23:43 GMT - etag: '"0x8D7AFF112DA475E"' - last-modified: Wed, 12 Feb 2020 19:23:43 GMT + date: Fri, 25 Sep 2020 13:05:58 GMT + etag: '"0x8D86153BEDE1A2D"' + last-modified: Fri, 25 Sep 2020 13:05:58 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin x-ms-file-attributes: Archive - x-ms-file-change-time: '2020-02-12T19:23:43.2106959Z' - x-ms-file-creation-time: '2020-02-12T19:23:43.2106959Z' + x-ms-file-change-time: '2020-09-25T13:05:57.8066550Z' + x-ms-file-creation-time: '2020-09-25T13:05:57.8066550Z' x-ms-file-id: '11529285414812647424' - x-ms-file-last-write-time: '2020-02-12T19:23:43.2106959Z' + x-ms-file-last-write-time: '2020-09-25T13:05:57.8066550Z' x-ms-file-parent-id: '0' - x-ms-file-permission-key: 4485082972441276519*10853357836431137001 + x-ms-file-permission-key: 4010187179898695473*11459378189709739967 x-ms-lease-duration: infinite x-ms-lease-state: leased x-ms-lease-status: locked x-ms-server-encrypted: 'true' x-ms-type: File - x-ms-version: '2019-07-07' + x-ms-version: '2020-02-10' status: code: 206 message: Partial Content - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorageepk37kc36v76.file.core.windows.net - - /utshare539b1a3e/filetoupdate - - '' - - '' + url: https://seanmcccanary3.file.core.windows.net/utshare539b1a3e/filetoupdate version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_append.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_append.yaml index 680a67b9fb38..e6ba0a348740 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_append.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_append.yaml @@ -9,29 +9,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) - customer_user_agent + - customer_user_agent azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:21 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:21 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_custom.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_custom.yaml index 88668b5d8077..96a432f8ee0b 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_custom.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_custom.yaml @@ -9,28 +9,30 @@ interactions: Connection: - keep-alive User-Agent: - - TestApp/v1.0 azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - TestApp/v1.0 azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:23 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:22 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK @@ -44,28 +46,31 @@ interactions: Connection: - keep-alive User-Agent: - - TestApp/v2.0 azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - TestApp/v2.0 TestApp/v1.0 azsdk-python-storage-file-share/12.2.0 Python/3.8.5 + (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:23 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:22 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_default.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_default.yaml index 8cc459694ab0..ddf36533263c 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_default.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client.test_user_agent_default.yaml @@ -9,28 +9,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:23 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:11 GMT + - Fri, 18 Sep 2020 01:52:22 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_append_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_append_async.yaml index 587b007fab9e..90ab35cec905 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_append_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_append_async.yaml @@ -5,33 +5,26 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) - customer_user_agent + - customer_user_agent azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:13 GMT + - Fri, 18 Sep 2020 01:52:39 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:12 GMT + date: Fri, 18 Sep 2020 01:52:38 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-02-02' + vary: Origin + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seanmcccanary3.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_custom_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_custom_async.yaml index df949c5be398..0e248ab1a26b 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_custom_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_custom_async.yaml @@ -5,66 +5,55 @@ interactions: Accept: - application/xml User-Agent: - - TestApp/v1.0 azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - TestApp/v1.0 azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:13 GMT + - Fri, 18 Sep 2020 01:52:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:12 GMT + date: Fri, 18 Sep 2020 01:52:38 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-02-02' + vary: Origin + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seanmcccanary3.file.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml User-Agent: - - TestApp/v2.0 azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - TestApp/v2.0 TestApp/v1.0 azsdk-python-storage-file-share/12.2.0 Python/3.8.5 + (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:13 GMT + - Fri, 18 Sep 2020 01:52:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:12 GMT + date: Fri, 18 Sep 2020 01:52:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-02-02' + vary: Origin + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seanmcccanary3.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_default_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_default_async.yaml index 14350dd64ec5..035d8432b964 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_default_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_client_async.test_user_agent_default_async.yaml @@ -5,32 +5,26 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:13 GMT + - Fri, 18 Sep 2020 01:52:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: - string: "\uFEFF1.0truetruetrue71.0falsefalse" + string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500false" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:14 GMT + date: Fri, 18 Sep 2020 01:52:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-02-02' + vary: Origin + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seanmcccanary3.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_file_service_properties.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_file_service_properties.yaml index 9661f7b7229d..e942c7f5ca0b 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_file_service_properties.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_file_service_properties.yaml @@ -3,7 +3,7 @@ interactions: body: ' 1.0falsefalse1.0falsefalse' + />false' headers: Accept: - '*/*' @@ -12,29 +12,105 @@ interactions: Connection: - keep-alive Content-Length: - - '368' + - '469' Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:14 GMT + - Fri, 18 Sep 2020 01:45:18 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: - - '0' date: - - Wed, 15 Jan 2020 23:51:14 GMT + - Fri, 18 Sep 2020 01:45:17 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 18 Sep 2020 01:45:19 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsefalse1.0falsefalsefalse" + headers: + content-type: + - application/xml + date: + - Fri, 18 Sep 2020 01:45:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: ' + + 1.0falsefalse1.0falsefalsetrue' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '468' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 18 Sep 2020 01:45:19 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: + - Fri, 18 Sep 2020 01:45:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -48,28 +124,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:15 GMT + - Fri, 18 Sep 2020 01:45:19 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalse1.0falsefalse" + />true" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:14 GMT + - Fri, 18 Sep 2020 01:45:18 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked + vary: + - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_cors.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_cors.yaml index 7aa701e4ef79..91758e790171 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_cors.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_cors.yaml @@ -16,25 +16,25 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:15 GMT + - Thu, 17 Sep 2020 17:19:38 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: - - '0' date: - - Wed, 15 Jan 2020 23:51:15 GMT + - Thu, 17 Sep 2020 17:19:40 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -48,22 +48,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:16 GMT + - Thu, 17 Sep 2020 17:19:41 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalse1.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:15 GMT + - Thu, 17 Sep 2020 17:19:40 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -71,7 +71,7 @@ interactions: vary: - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_hour_metrics.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_hour_metrics.yaml index 959cebe114be..08b9ee6d9948 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_hour_metrics.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_hour_metrics.yaml @@ -15,25 +15,25 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:16 GMT + - Thu, 17 Sep 2020 17:19:41 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: - - '0' date: - - Wed, 15 Jan 2020 23:51:17 GMT + - Thu, 17 Sep 2020 17:19:42 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -47,22 +47,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:17 GMT + - Thu, 17 Sep 2020 17:19:44 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:17 GMT + - Thu, 17 Sep 2020 17:19:42 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -70,7 +70,7 @@ interactions: vary: - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_minute_metrics.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_minute_metrics.yaml index c8886063fc24..dbf96f07169a 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_minute_metrics.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_set_minute_metrics.yaml @@ -15,25 +15,25 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:17 GMT + - Thu, 17 Sep 2020 17:19:44 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: - - '0' date: - - Wed, 15 Jan 2020 23:51:17 GMT + - Thu, 17 Sep 2020 17:19:44 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 202 message: Accepted @@ -47,22 +47,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:18 GMT + - Thu, 17 Sep 2020 17:19:45 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:18 GMT + - Thu, 17 Sep 2020 17:19:44 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -70,7 +70,7 @@ interactions: vary: - Origin x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_too_many_cors_rules.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_too_many_cors_rules.yaml index f923e3d8b690..cd70dd61c7c6 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_too_many_cors_rules.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties.test_too_many_cors_rules.yaml @@ -21,17 +21,17 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:18 GMT + - Thu, 17 Sep 2020 17:19:45 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFFInvalidXmlDocumentXML - specified is not syntactically valid.\nRequestId:bf9fc971-701a-0071-0bfe-cb90ac000000\nTime:2020-01-15T23:51:19.3215206Z0000" headers: content-length: @@ -39,13 +39,13 @@ interactions: content-type: - application/xml date: - - Wed, 15 Jan 2020 23:51:18 GMT + - Thu, 17 Sep 2020 17:19:44 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: - InvalidXmlDocument x-ms-version: - - '2019-02-02' + - '2020-02-10' status: code: 400 message: XML specified is not syntactically valid. diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_file_service_properties_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_file_service_properties_async.yaml index 56791da59694..0fcb6611e76a 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_file_service_properties_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_file_service_properties_async.yaml @@ -3,71 +3,116 @@ interactions: body: ' 1.0falsefalse1.0falsefalse' + />false' headers: Content-Length: - - '368' + - '469' Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:19 GMT + - Fri, 18 Sep 2020 01:53:37 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: '0' - date: Wed, 15 Jan 2020 23:51:19 GMT + date: Fri, 18 Sep 2020 01:53:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-02-02' + transfer-encoding: chunked + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 18 Sep 2020 01:53:40 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsefalse1.0falsefalsefalse" + headers: + content-type: application/xml + date: Fri, 18 Sep 2020 01:53:39 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties +- request: + body: ' + + 1.0falsefalse1.0falsefalsetrue' + headers: + Content-Length: + - '468' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Fri, 18 Sep 2020 01:53:40 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: Fri, 18 Sep 2020 01:53:39 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:20 GMT + - Fri, 18 Sep 2020 01:53:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalse1.0falsefalse" + />true" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:20 GMT + date: Fri, 18 Sep 2020 01:53:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-02-02' + vary: Origin + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_cors_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_cors_async.yaml index f00a6cea78b6..0181be1e5aa2 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_cors_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_cors_async.yaml @@ -10,65 +10,51 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:20 GMT + - Fri, 18 Sep 2020 01:53:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: '0' - date: Wed, 15 Jan 2020 23:51:20 GMT + date: Fri, 18 Sep 2020 01:53:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-02-02' + transfer-encoding: chunked + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:21 GMT + - Fri, 18 Sep 2020 01:53:40 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0falsefalse1.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:20 GMT + date: Fri, 18 Sep 2020 01:53:39 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_hour_metrics_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_hour_metrics_async.yaml index 54cfd749208e..b82ba345dc86 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_hour_metrics_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_hour_metrics_async.yaml @@ -9,65 +9,51 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:21 GMT + - Fri, 18 Sep 2020 01:53:41 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: '0' - date: Wed, 15 Jan 2020 23:51:21 GMT + date: Fri, 18 Sep 2020 01:53:40 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-02-02' + transfer-encoding: chunked + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:22 GMT + - Fri, 18 Sep 2020 01:53:41 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetrue51.0falsefalseGETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:21 GMT + date: Fri, 18 Sep 2020 01:53:40 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_minute_metrics_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_minute_metrics_async.yaml index 98b6fab23dbc..0eca84a4c4f9 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_minute_metrics_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_set_minute_metrics_async.yaml @@ -9,65 +9,51 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:22 GMT + - Fri, 18 Sep 2020 01:53:42 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: '' headers: - content-length: '0' - date: Wed, 15 Jan 2020 23:51:22 GMT + date: Fri, 18 Sep 2020 01:53:41 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-02-02' + transfer-encoding: chunked + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:22 GMT + - Fri, 18 Sep 2020 01:53:43 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFF1.0truetruetrue51.0truetruetrue5GETwww.xyz.com0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500" + />0GET,PUTwww.xyz.com,www.ab.com,www.bc.comx-ms-meta-xyz,x-ms-meta-foo,x-ms-meta-data*,x-ms-meta-target*x-ms-meta-abc,x-ms-meta-bcd,x-ms-meta-data*,x-ms-meta-source*500true" headers: content-type: application/xml - date: Wed, 15 Jan 2020 23:51:22 GMT + date: Fri, 18 Sep 2020 01:53:41 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked vary: Origin - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_too_many_cors_rules_async.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_too_many_cors_rules_async.yaml index a8cbe6c69a78..10dfe103177f 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_too_many_cors_rules_async.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_file_service_properties_async.test_too_many_cors_rules_async.yaml @@ -15,34 +15,27 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-file-share/12.0.1 Python/3.7.3 (Windows-10-10.0.17763-SP0) + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 15 Jan 2020 23:51:23 GMT + - Fri, 18 Sep 2020 01:53:43 GMT x-ms-version: - - '2019-02-02' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/?restype=service&comp=properties response: body: string: "\uFEFFInvalidXmlDocumentXML - specified is not syntactically valid.\nRequestId:92094185-001a-0057-77fe-cb0b18000000\nTime:2020-01-15T23:51:23.3058154Z0000" headers: content-length: '294' content-type: application/xml - date: Wed, 15 Jan 2020 23:51:22 GMT + date: Fri, 18 Sep 2020 01:53:42 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: InvalidXmlDocument - x-ms-version: '2019-02-02' + x-ms-version: '2020-02-10' status: code: 400 message: XML specified is not syntactically valid. - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - pyacrstorage43x4qoc3y4bx.file.core.windows.net - - / - - restype=service&comp=properties - - '' + url: https://seancanarypremiumfile.file.core.windows.net/?restype=service&comp=properties version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_acquire_lease_on_sharesnapshot.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_acquire_lease_on_sharesnapshot.yaml new file mode 100644 index 000000000000..8221aa50c7e1 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_acquire_lease_on_sharesnapshot.yaml @@ -0,0 +1,3484 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:26 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:26 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:27 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:26 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: + - '2020-09-28T14:07:27.0000000Z' + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:27 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - dbd11c56-6134-4f30-b330-b88e631ea233 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:26 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - dbd11c56-6134-4f30-b330-b88e631ea233 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:27 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 007d9fe8-3406-4481-95dd-dc4337e440d6 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?sharesnapshot=2020-09-28T14:07:27.0000000Z&comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:27 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 007d9fe8-3406-4481-95dd-dc4337e440d6 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:31 GMT + x-ms-lease-id: + - 007d9fe8-3406-4481-95dd-dc4337e440d6 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?restype=share + response: + body: + string: "\uFEFFLeaseIdMismatchWithContainerOperationThe + lease ID specified did not match the lease ID for the file share.\nRequestId:32d76f5c-a01a-002d-33a0-9569b1000000\nTime:2020-09-28T14:07:31.6658474Z" + headers: + content-length: + - '275' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:30 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin + x-ms-error-code: + - LeaseIdMismatchWithContainerOperation + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: The lease ID specified did not match the lease ID for the file share. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:46 GMT + x-ms-lease-id: + - dbd11c56-6134-4f30-b330-b88e631ea233 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?sharesnapshot=2020-09-28T14:07:27.0000000Z&restype=share + response: + body: + string: "\uFEFFLeaseIdMismatchWithContainerOperationThe + lease ID specified did not match the lease ID for the file share.\nRequestId:1c9b3cbf-901a-007b-5ea0-95985e000000\nTime:2020-09-28T14:07:46.8501182Z" + headers: + content-length: + - '275' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:46 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin + x-ms-error-code: + - LeaseIdMismatchWithContainerOperation + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: The lease ID specified did not match the lease ID for the file share. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:49 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - 007d9fe8-3406-4481-95dd-dc4337e440d6 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?sharesnapshot=2020-09-28T14:07:27.0000000Z&comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:49 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: + - '0' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:49 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - dbd11c56-6134-4f30-b330-b88e631ea233 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:48 GMT + etag: + - '"0x8D863B7D4A57EE8"' + last-modified: + - Mon, 28 Sep 2020 14:07:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: + - '0' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:49 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=snapshots&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f12020-09-28T14:03:31.0000000ZMon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalsetestshare1ba3e12f12020-09-28T14:07:27.0000000ZMon, + 28 Sep 2020 14:07:27 GMT\"0x8D863B7D4A57EE8\"unlockedavailable5120$account-encryption-keyfalsetestshare1ba3e12f1Mon, + 28 Sep 2020 14:07:27 GMT\"0x8D863B7D4A57EE8\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:07:27 GMT$account-encryption-keyfalseutshare1cf914ceFri, + 25 Sep 2020 13:06:11 GMT\"0x8D86153C67F13EA\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:06:11 GMT$account-encryption-keyfalseutshare20670f1d2020-09-25T13:06:56.0000000ZFri, + 25 Sep 2020 13:06:55 GMT\"0x8D86153E1115B2D\"unlockedavailable5120$account-encryption-keyfalseutshare20670f1d2020-09-25T13:06:57.0000000ZFri, + 25 Sep 2020 13:06:55 GMT\"0x8D86153E1115B2D\"unlockedavailable5120$account-encryption-keyfalseutshare20670f1dFri, + 25 Sep 2020 13:06:55 GMT\"0x8D86153E1115B2D\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:06:55 GMT$account-encryption-keyfalseutshare325d1544Fri, + 25 Sep 2020 12:56:51 GMT\"0x8D861527918EE3C\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 12:56:51 GMT$account-encryption-keyfalseutshare4ee91033Fri, + 25 Sep 2020 13:08:46 GMT\"0x8D861542341E830\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:08:46 GMT$account-encryption-keyfalseutshare539b1a3eFri, + 25 Sep 2020 13:05:57 GMT\"0x8D86153BE078BEA\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:05:57 GMT$account-encryption-keyfalseutshare5db416152020-09-25T13:09:26.0000000ZFri, + 25 Sep 2020 13:09:26 GMT\"0x8D861543A93CC28\"unlockedavailable5120$account-encryption-keyfalseutshare5db41615Fri, + 25 Sep 2020 13:09:26 GMT\"0x8D861543A93CC28\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:09:26 GMT$account-encryption-keyfalseutshare5ed210c0Fri, + 25 Sep 2020 12:56:34 GMT\"0x8D861526E674AAC\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 12:56:33 GMT$account-encryption-keyfalseutshare6e4e111b2020-09-25T13:02:47.0000000ZFri, + 25 Sep 2020 13:02:46 GMT\"0x8D861534C7974F5\"unlockedavailable5120$account-encryption-keyfalseutshare6e4e111bFri, + 25 Sep 2020 13:02:46 GMT\"0x8D861534C7974F5\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:02:46 GMT$account-encryption-keyfalseutshare847d11b1Fri, + 25 Sep 2020 13:06:25 GMT\"0x8D86153CED0B766\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:06:25 GMT$account-encryption-keyfalseutshare8e3816efFri, + 25 Sep 2020 13:01:37 GMT\"0x8D861532300C28B\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:01:36 GMT$account-encryption-keyfalseutsharea5a50b39Fri, + 25 Sep 2020 13:02:09 GMT\"0x8D8615336826AE6\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:02:09 GMT$account-encryption-keyfalseutsharea82c17932020-09-25T13:09:04.0000000ZFri, + 25 Sep 2020 13:09:03 GMT\"0x8D861542D3AAFF3\"unlockedavailable5120$account-encryption-keyfalseutsharea82c1793Fri, + 25 Sep 2020 13:09:03 GMT\"0x8D861542D3AAFF3\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:09:03 GMT$account-encryption-keyfalseutsharea85b12992020-09-25T13:02:28.0000000ZFri, + 25 Sep 2020 13:02:27 GMT\"0x8D8615341284CD1\"unlockedavailable5120$account-encryption-keyfalseutsharea85b1299Fri, + 25 Sep 2020 13:02:27 GMT\"0x8D8615341284CD1\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:02:25 GMT$account-encryption-keyfalseutshareca850ca02020-09-25T13:01:56.0000000ZFri, + 25 Sep 2020 13:01:55 GMT\"0x8D861532DF221C2\"unlockedavailable5120$account-encryption-keyfalseutshareca850ca02020-09-25T13:01:57.0000000ZFri, + 25 Sep 2020 13:01:55 GMT\"0x8D861532DF221C2\"unlockedavailable5120$account-encryption-keyfalseutshareca850ca0Fri, + 25 Sep 2020 13:01:55 GMT\"0x8D861532DF221C2\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:01:55 GMT$account-encryption-keyfalseutsharecd87133dFri, + 25 Sep 2020 13:05:35 GMT\"0x8D86153B0EBD9F9\"unlockedavailable5120TransactionOptimizedFri, + 25 Sep 2020 13:05:35 GMT$account-encryption-keyfalse" + headers: + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:49 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share1816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76feb-a01a-002d-27a0-9569b1000000\nTime:2020-09-28T14:07:50.2940482Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:49 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share182b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76fed-a01a-002d-29a0-9569b1000000\nTime:2020-09-28T14:07:50.4301448Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:49 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share336d1532?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76fef-a01a-002d-2ba0-9569b1000000\nTime:2020-09-28T14:07:50.5462281Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:49 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ff0-a01a-002d-2ca0-9569b1000000\nTime:2020-09-28T14:07:50.6773207Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:49 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ff1-a01a-002d-2da0-9569b1000000\nTime:2020-09-28T14:07:50.8314297Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharea7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ff3-a01a-002d-2ea0-9569b1000000\nTime:2020-09-28T14:07:50.9565189Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:50 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:32d76ff4-a01a-002d-2fa0-9569b1000000\nTime:2020-09-28T14:07:51.0896138Z" + headers: + content-length: + - '391' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - DeleteShareWhenSnapshotLeased + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:32d76ff9-a01a-002d-32a0-9569b1000000\nTime:2020-09-28T14:07:51.2177038Z" + headers: + content-length: + - '391' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - DeleteShareWhenSnapshotLeased + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharec80148e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ffa-a01a-002d-33a0-9569b1000000\nTime:2020-09-28T14:07:51.3487969Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ffc-a01a-002d-35a0-9569b1000000\nTime:2020-09-28T14:07:51.4788890Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d76ffe-a01a-002d-37a0-9569b1000000\nTime:2020-09-28T14:07:51.6079799Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77000-a01a-002d-39a0-9569b1000000\nTime:2020-09-28T14:07:51.7400724Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:50 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharerestorecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77001-a01a-002d-3aa0-9569b1000000\nTime:2020-09-28T14:07:51.8661612Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:51 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77002-a01a-002d-3ba0-9569b1000000\nTime:2020-09-28T14:07:51.9962531Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples6?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77003-a01a-002d-3ca0-9569b1000000\nTime:2020-09-28T14:07:52.1233426Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77006-a01a-002d-3ea0-9569b1000000\nTime:2020-09-28T14:07:52.2494313Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77007-a01a-002d-3fa0-9569b1000000\nTime:2020-09-28T14:07:52.3775216Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77009-a01a-002d-41a0-9569b1000000\nTime:2020-09-28T14:07:52.5126175Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7700b-a01a-002d-43a0-9569b1000000\nTime:2020-09-28T14:07:52.6467126Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7700c-a01a-002d-44a0-9569b1000000\nTime:2020-09-28T14:07:52.7808083Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7700d-a01a-002d-45a0-9569b1000000\nTime:2020-09-28T14:07:52.9088992Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:52 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7700f-a01a-002d-47a0-9569b1000000\nTime:2020-09-28T14:07:53.0479971Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77010-a01a-002d-48a0-9569b1000000\nTime:2020-09-28T14:07:53.1780898Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77011-a01a-002d-49a0-9569b1000000\nTime:2020-09-28T14:07:53.3041789Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77012-a01a-002d-4aa0-9569b1000000\nTime:2020-09-28T14:07:53.4462806Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77013-a01a-002d-4ba0-9569b1000000\nTime:2020-09-28T14:07:53.5723697Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77015-a01a-002d-4ca0-9569b1000000\nTime:2020-09-28T14:07:53.7024620Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:52 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77018-a01a-002d-4fa0-9569b1000000\nTime:2020-09-28T14:07:53.8335547Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701a-a01a-002d-51a0-9569b1000000\nTime:2020-09-28T14:07:53.9596442Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:53 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701b-a01a-002d-52a0-9569b1000000\nTime:2020-09-28T14:07:54.0847334Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test403e0ff4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701c-a01a-002d-53a0-9569b1000000\nTime:2020-09-28T14:07:54.2098222Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test49161594?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701d-a01a-002d-54a0-9569b1000000\nTime:2020-09-28T14:07:54.3379127Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701e-a01a-002d-55a0-9569b1000000\nTime:2020-09-28T14:07:54.4620012Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7701f-a01a-002d-56a0-9569b1000000\nTime:2020-09-28T14:07:54.5920935Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test6185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77020-a01a-002d-57a0-9569b1000000\nTime:2020-09-28T14:07:54.7221859Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77021-a01a-002d-58a0-9569b1000000\nTime:2020-09-28T14:07:54.8722920Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:54 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77022-a01a-002d-59a0-9569b1000000\nTime:2020-09-28T14:07:55.0013841Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77023-a01a-002d-5aa0-9569b1000000\nTime:2020-09-28T14:07:55.1364795Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test8fc916f4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77026-a01a-002d-5ca0-9569b1000000\nTime:2020-09-28T14:07:55.2655716Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testa7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77027-a01a-002d-5da0-9569b1000000\nTime:2020-09-28T14:07:55.3936625Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77028-a01a-002d-5ea0-9569b1000000\nTime:2020-09-28T14:07:55.5257558Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcf0d1359?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7702a-a01a-002d-60a0-9569b1000000\nTime:2020-09-28T14:07:55.6588503Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7702b-a01a-002d-61a0-9569b1000000\nTime:2020-09-28T14:07:55.7909445Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:54 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d7702f-a01a-002d-64a0-9569b1000000\nTime:2020-09-28T14:07:55.9160329Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77030-a01a-002d-65a0-9569b1000000\nTime:2020-09-28T14:07:56.0391207Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf3ff13d3?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77031-a01a-002d-66a0-9569b1000000\nTime:2020-09-28T14:07:56.1642090Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77033-a01a-002d-67a0-9569b1000000\nTime:2020-09-28T14:07:56.2943018Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:32d77035-a01a-002d-69a0-9569b1000000\nTime:2020-09-28T14:07:56.4283966Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testshare1ba3e12f1?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare1cf914ce?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare20670f1d?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare325d1544?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare4ee91033?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare539b1a3e?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare5db41615?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare5db41615?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare5ed210c0?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare6e4e111b?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare6e4e111b?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare847d11b1?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare8e3816ef?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea5a50b39?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea82c1793?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea82c1793?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea85b1299?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea85b1299?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshareca850ca0?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:07:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharecd87133d?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 14:07:58 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_delete_share_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_delete_share_with_lease_id.yaml new file mode 100644 index 000000000000..49e579e4b464 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_delete_share_with_lease_id.yaml @@ -0,0 +1,202 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:55:10 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test708a1115?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 13:55:13 GMT + etag: + - '"0x8D863B61E49D9B2"' + last-modified: + - Mon, 28 Sep 2020 13:55:11 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:55:13 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - e342583e-1904-4911-842b-7fd778ecb708 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test708a1115?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 13:55:13 GMT + etag: + - '"0x8D863B61E49D9B2"' + last-modified: + - Mon, 28 Sep 2020 13:55:11 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - e342583e-1904-4911-842b-7fd778ecb708 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:55:13 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test708a1115?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ed2373b9-201a-0033-259e-958569000000\nTime:2020-09-28T13:55:13.8795191Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 13:55:13 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:55:13 GMT + x-ms-lease-id: + - e342583e-1904-4911-842b-7fd778ecb708 + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test708a1115?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 13:55:13 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:55:14 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test708a1115?restype=share + response: + body: + string: "\uFEFFShareNotFoundThe + specified share does not exist.\nRequestId:ed2373bb-201a-0033-279e-958569000000\nTime:2020-09-28T13:55:14.1106826Z" + headers: + content-length: + - '217' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 13:55:13 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: + - Origin + x-ms-error-code: + - ShareNotFound + x-ms-version: + - '2020-02-10' + status: + code: 404 + message: The specified share does not exist. +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_acl_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_acl_with_lease_id.yaml new file mode 100644 index 000000000000..554af9376d0a --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_acl_with_lease_id.yaml @@ -0,0 +1,129 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:02 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test816f1171?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:44:03 GMT + etag: + - '"0x8D855F429A8569E"' + last-modified: + - Fri, 11 Sep 2020 01:44:03 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:02 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 97fe829c-cb6c-4ff0-8bdf-ae37639e8865 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test816f1171?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:44:03 GMT + etag: + - '"0x8D855F429A8569E"' + last-modified: + - Fri, 11 Sep 2020 01:44:03 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 97fe829c-cb6c-4ff0-8bdf-ae37639e8865 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:03 GMT + x-ms-lease-id: + - 97fe829c-cb6c-4ff0-8bdf-ae37639e8865 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test816f1171?restype=share&comp=acl + response: + body: + string: "\uFEFF" + headers: + access-control-allow-origin: + - '*' + content-type: + - application/xml + date: + - Fri, 11 Sep 2020 01:44:04 GMT + etag: + - '"0x8D855F429A8569E"' + last-modified: + - Fri, 11 Sep 2020 01:44:03 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_metadata_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_metadata_with_lease_id.yaml new file mode 100644 index 000000000000..c03df3e951f2 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_metadata_with_lease_id.yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:50 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:50 GMT + etag: + - '"0x8D855F4229FBAAC"' + last-modified: + - Fri, 11 Sep 2020 01:43:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:50 GMT + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:50 GMT + etag: + - '"0x8D855F422BEA24C"' + last-modified: + - Fri, 11 Sep 2020 01:43:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:51 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 716ea9cb-18d5-4a68-978b-fc1917f03cc8 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testdfa11382?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:50 GMT + etag: + - '"0x8D855F422BEA24C"' + last-modified: + - Fri, 11 Sep 2020 01:43:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 716ea9cb-18d5-4a68-978b-fc1917f03cc8 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:51 GMT + x-ms-lease-id: + - 716ea9cb-18d5-4a68-978b-fc1917f03cc8 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: + - '*' + access-control-expose-headers: + - x-ms-meta-hello,x-ms-meta-number + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:50 GMT + etag: + - '"0x8D855F422BEA24C"' + last-modified: + - Fri, 11 Sep 2020 01:43:51 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - TransactionOptimized + x-ms-access-tier-change-time: + - Fri, 11 Sep 2020 01:43:51 GMT + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-duration: + - infinite + x-ms-lease-state: + - leased + x-ms-lease-status: + - locked + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-share-quota: + - '5120' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_properties_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_properties_with_lease_id.yaml new file mode 100644 index 000000000000..37ece2e5582a --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_get_share_properties_with_lease_id.yaml @@ -0,0 +1,232 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:56 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testc80148e?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:56 GMT + etag: + - '"0x8D855F42623E1A7"' + last-modified: + - Fri, 11 Sep 2020 01:43:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:56 GMT + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testc80148e?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:57 GMT + etag: + - '"0x8D855F42645FCE9"' + last-modified: + - Fri, 11 Sep 2020 01:43:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:57 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 78769c36-b338-4b22-b617-f028fd8f9afd + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testc80148e?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:57 GMT + etag: + - '"0x8D855F42645FCE9"' + last-modified: + - Fri, 11 Sep 2020 01:43:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 78769c36-b338-4b22-b617-f028fd8f9afd + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:57 GMT + x-ms-lease-id: + - 78769c36-b338-4b22-b617-f028fd8f9afd + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testc80148e?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: + - '*' + access-control-expose-headers: + - x-ms-meta-hello,x-ms-meta-number + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:57 GMT + etag: + - '"0x8D855F42645FCE9"' + last-modified: + - Fri, 11 Sep 2020 01:43:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - TransactionOptimized + x-ms-access-tier-change-time: + - Fri, 11 Sep 2020 01:43:57 GMT + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-duration: + - infinite + x-ms-lease-state: + - leased + x-ms-lease-status: + - locked + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-share-quota: + - '5120' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:57 GMT + x-ms-lease-action: + - break + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testc80148e?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:57 GMT + etag: + - '"0x8D855F42645FCE9"' + last-modified: + - Fri, 11 Sep 2020 01:43:57 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: + - '0' + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_acquire_and_release.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_acquire_and_release.yaml new file mode 100644 index 000000000000..ae2ecc90a225 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_acquire_and_release.yaml @@ -0,0 +1,130 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:35:52 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcb2f1317?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:35:53 GMT + etag: + - '"0x8D855F305C89D8C"' + last-modified: + - Fri, 11 Sep 2020 01:35:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:35:53 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 6816fa25-bfb6-4069-afde-775923c277e7 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcb2f1317?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:35:53 GMT + etag: + - '"0x8D855F305C89D8C"' + last-modified: + - Fri, 11 Sep 2020 01:35:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 6816fa25-bfb6-4069-afde-775923c277e7 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:35:53 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - 6816fa25-bfb6-4069-afde-775923c277e7 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcb2f1317?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:35:53 GMT + etag: + - '"0x8D855F305C89D8C"' + last-modified: + - Fri, 11 Sep 2020 01:35:53 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 6816fa25-bfb6-4069-afde-775923c277e7 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_break_period.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_break_period.yaml new file mode 100644 index 000000000000..7b5eeb907357 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_break_period.yaml @@ -0,0 +1,171 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:21 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test4ddb1042?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 16:23:21 GMT + etag: + - '"0x8D863CAD142DAFE"' + last-modified: + - Mon, 28 Sep 2020 16:23:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:21 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 4c807822-a2d5-4919-bb5b-fcb1a6a02972 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test4ddb1042?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 16:23:21 GMT + etag: + - '"0x8D863CAD142DAFE"' + last-modified: + - Mon, 28 Sep 2020 16:23:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 4c807822-a2d5-4919-bb5b-fcb1a6a02972 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:22 GMT + x-ms-lease-action: + - break + x-ms-lease-break-period: + - '5' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test4ddb1042?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 16:23:21 GMT + etag: + - '"0x8D863CAD142DAFE"' + last-modified: + - Mon, 28 Sep 2020 16:23:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: + - '5' + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:28 GMT + x-ms-lease-id: + - 4c807822-a2d5-4919-bb5b-fcb1a6a02972 + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test4ddb1042?restype=share + response: + body: + string: "\uFEFFLeaseLostA + lease ID was specified, but the lease for the file share has expired.\nRequestId:d45bd86b-801a-0067-3cb3-95ca3e000000\nTime:2020-09-28T16:23:28.3284490Z" + headers: + content-length: + - '249' + content-type: + - application/xml + date: + - Mon, 28 Sep 2020 16:23:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseLost + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: A lease ID was specified, but the lease for the file share has expired. +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_change_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_change_lease_id.yaml new file mode 100644 index 000000000000..d6561612b75b --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_change_lease_id.yaml @@ -0,0 +1,176 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:38 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test801b1156?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:38 GMT + etag: + - '"0x8D855F41B7485A5"' + last-modified: + - Fri, 11 Sep 2020 01:43:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:38 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - e74a3972-4935-415c-808b-7e08ce3117d2 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test801b1156?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:39 GMT + etag: + - '"0x8D855F41B7485A5"' + last-modified: + - Fri, 11 Sep 2020 01:43:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - e74a3972-4935-415c-808b-7e08ce3117d2 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:39 GMT + x-ms-lease-action: + - change + x-ms-lease-id: + - e74a3972-4935-415c-808b-7e08ce3117d2 + x-ms-proposed-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test801b1156?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:39 GMT + etag: + - '"0x8D855F41B7485A5"' + last-modified: + - Fri, 11 Sep 2020 01:43:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:39 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test801b1156?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:39 GMT + etag: + - '"0x8D855F41B7485A5"' + last-modified: + - Fri, 11 Sep 2020 01:43:39 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_renew.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_renew.yaml new file mode 100644 index 000000000000..5c5c94b12088 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_renew.yaml @@ -0,0 +1,205 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:36:00 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste5000d7c?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:36:01 GMT + etag: + - '"0x8D855F30A798EAA"' + last-modified: + - Fri, 11 Sep 2020 01:36:01 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:36:00 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 7cd92f71-8e6c-4efa-8b16-47fa75cd82cc + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste5000d7c?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:36:01 GMT + etag: + - '"0x8D855F30A798EAA"' + last-modified: + - Fri, 11 Sep 2020 01:36:01 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 7cd92f71-8e6c-4efa-8b16-47fa75cd82cc + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:36:11 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - 7cd92f71-8e6c-4efa-8b16-47fa75cd82cc + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste5000d7c?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:36:11 GMT + etag: + - '"0x8D855F30A798EAA"' + last-modified: + - Fri, 11 Sep 2020 01:36:01 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 7cd92f71-8e6c-4efa-8b16-47fa75cd82cc + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:36:16 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste5000d7c?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:b32790a3-701a-003e-47db-874dbd000000\nTime:2020-09-11T01:36:16.8688480Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Fri, 11 Sep 2020 01:36:16 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:36:26 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste5000d7c?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:36:26 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_twice.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_twice.yaml new file mode 100644 index 000000000000..a7c722d5d65f --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_twice.yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:42:18 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste52d0d77?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:42:19 GMT + etag: + - '"0x8D855F3EC19CB5C"' + last-modified: + - Fri, 11 Sep 2020 01:42:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:42:19 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 9d30f9b9-bb64-4b99-ba8b-87ffbefb4c67 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste52d0d77?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:42:19 GMT + etag: + - '"0x8D855F3EC19CB5C"' + last-modified: + - Fri, 11 Sep 2020 01:42:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 9d30f9b9-bb64-4b99-ba8b-87ffbefb4c67 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:42:19 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 9d30f9b9-bb64-4b99-ba8b-87ffbefb4c67 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste52d0d77?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:42:19 GMT + etag: + - '"0x8D855F3EC19CB5C"' + last-modified: + - Fri, 11 Sep 2020 01:42:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 9d30f9b9-bb64-4b99-ba8b-87ffbefb4c67 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_duration.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_duration.yaml new file mode 100644 index 000000000000..2bd882a3a2ff --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_duration.yaml @@ -0,0 +1,177 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:46:54 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test602310dc?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:46:54 GMT + etag: + - '"0x8D855F490678FD9"' + last-modified: + - Fri, 11 Sep 2020 01:46:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:46:55 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 9a8324a0-203e-4427-b7e1-1f5cb4aea33f + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test602310dc?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:46:55 GMT + etag: + - '"0x8D855F490678FD9"' + last-modified: + - Fri, 11 Sep 2020 01:46:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 9a8324a0-203e-4427-b7e1-1f5cb4aea33f + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:46:55 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 5d2218fd-c234-4e2c-8f86-6f447d5a0460 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test602310dc?comp=lease&restype=share + response: + body: + string: "\uFEFFLeaseAlreadyPresentThere + is already a lease present.\nRequestId:5e49a6ed-701a-0001-6fdd-87851e000000\nTime:2020-09-11T01:46:56.8661505Z" + headers: + content-length: + - '221' + content-type: + - application/xml + date: + - Fri, 11 Sep 2020 01:46:56 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseAlreadyPresent + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: There is already a lease present. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:47:11 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 74fe09cc-586b-4909-99f3-d7322d684308 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test602310dc?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:47:11 GMT + etag: + - '"0x8D855F490678FD9"' + last-modified: + - Fri, 11 Sep 2020 01:46:55 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 74fe09cc-586b-4909-99f3-d7322d684308 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_proposed_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_proposed_lease_id.yaml new file mode 100644 index 000000000000..a6dde8a68315 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_lease_share_with_proposed_lease_id.yaml @@ -0,0 +1,86 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:42:26 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testa7a1477?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:42:27 GMT + etag: + - '"0x8D855F3F0B3CE4D"' + last-modified: + - Fri, 11 Sep 2020 01:42:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:42:27 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 55e97f64-73e8-4390-838d-d9e84a374321 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testa7a1477?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:42:27 GMT + etag: + - '"0x8D855F3F0B3CE4D"' + last-modified: + - Fri, 11 Sep 2020 01:42:27 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 55e97f64-73e8-4390-838d-d9e84a374321 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_list_shares_leased_share.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_list_shares_leased_share.yaml new file mode 100644 index 000000000000..6f3883f81c51 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_list_shares_leased_share.yaml @@ -0,0 +1,2997 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:16 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test150ad1060?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:17 GMT + etag: + - '"0x8D864C78594DD2C"' + last-modified: + - Tue, 29 Sep 2020 22:32:17 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:17 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 7815c117-c899-40b8-962d-9e2aabff976f + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test150ad1060?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:17 GMT + etag: + - '"0x8D864C78594DD2C"' + last-modified: + - Tue, 29 Sep 2020 22:32:17 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - 7815c117-c899-40b8-962d-9e2aabff976f + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:17 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare50ad1060Tue, + 29 Sep 2020 22:27:37 GMT\"0x8D864C6DE6E6B78\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:27:37 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest150ad1060Tue, + 29 Sep 2020 22:32:17 GMT\"0x8D864C78594DD2C\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:32:17 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest22f780f7aMon, + 28 Sep 2020 14:25:49 GMT\"0x8D863BA65CD0F11\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:25:49 GMT$account-encryption-keyfalsetest32f780f7aMon, + 28 Sep 2020 14:38:26 GMT\"0x8D863BC28C3893C\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:38:26 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest42f780f7aMon, + 28 Sep 2020 14:42:20 GMT\"0x8D863BCB4228D96\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:42:19 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest4ddb1042Mon, + 28 Sep 2020 16:23:21 GMT\"0x8D863CAD142DAFE\"unlockedbroken5120TransactionOptimizedMon, + 28 Sep 2020 16:23:21 GMT$account-encryption-keyfalsetest50ad1060Tue, + 29 Sep 2020 22:31:15 GMT\"0x8D864C760543D56\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:31:14 GMT$account-encryption-keyfalsetest52f780f7aMon, + 28 Sep 2020 14:48:47 GMT\"0x8D863BD9AE2D24D\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:48:47 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest62f780f7aMon, + 28 Sep 2020 14:50:39 GMT\"0x8D863BDDDBA247B\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:50:39 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest82f780f7aMon, + 28 Sep 2020 14:59:07 GMT\"0x8D863BF0CAE6088\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:59:07 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestba4812bfMon, + 28 Sep 2020 16:23:05 GMT\"0x8D863CAC758462F\"unlockedbroken5120TransactionOptimizedMon, + 28 Sep 2020 16:23:05 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalseutshare1a6414c6Mon, + 28 Sep 2020 16:26:30 GMT\"0x8D863CB41A9EF23\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 16:26:30 GMT$account-encryption-keyfalseutsharea1fb1743Mon, + 28 Sep 2020 16:28:03 GMT\"0x8D863CB79315436\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 16:28:03 GMT$account-encryption-keyfalse" + headers: + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:17 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - 7815c117-c899-40b8-962d-9e2aabff976f + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test150ad1060?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:17 GMT + etag: + - '"0x8D864C78594DD2C"' + last-modified: + - Tue, 29 Sep 2020 22:32:17 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: + - '0' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=snapshots&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare50ad1060Tue, + 29 Sep 2020 22:27:37 GMT\"0x8D864C6DE6E6B78\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:27:37 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f12020-09-28T14:03:31.0000000ZMon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest150ad1060Tue, + 29 Sep 2020 22:32:17 GMT\"0x8D864C78594DD2C\"unlockedavailable5120TransactionOptimizedTue, + 29 Sep 2020 22:32:17 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest22f780f7aMon, + 28 Sep 2020 14:25:49 GMT\"0x8D863BA65CD0F11\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:25:49 GMT$account-encryption-keyfalsetest32f780f7aMon, + 28 Sep 2020 14:38:26 GMT\"0x8D863BC28C3893C\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:38:26 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest42f780f7aMon, + 28 Sep 2020 14:42:20 GMT\"0x8D863BCB4228D96\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:42:19 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest4ddb1042Mon, + 28 Sep 2020 16:23:21 GMT\"0x8D863CAD142DAFE\"unlockedbroken5120TransactionOptimizedMon, + 28 Sep 2020 16:23:21 GMT$account-encryption-keyfalsetest50ad1060Tue, + 29 Sep 2020 22:31:15 GMT\"0x8D864C760543D56\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:31:14 GMT$account-encryption-keyfalsetest52f780f7aMon, + 28 Sep 2020 14:48:47 GMT\"0x8D863BD9AE2D24D\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:48:47 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest62f780f7aMon, + 28 Sep 2020 14:50:39 GMT\"0x8D863BDDDBA247B\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:50:39 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest82f780f7aMon, + 28 Sep 2020 14:59:07 GMT\"0x8D863BF0CAE6088\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:59:07 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestba4812bfMon, + 28 Sep 2020 16:23:05 GMT\"0x8D863CAC758462F\"unlockedbroken5120TransactionOptimizedMon, + 28 Sep 2020 16:23:05 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalseutshare1a6414c6Mon, + 28 Sep 2020 16:26:30 GMT\"0x8D863CB41A9EF23\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 16:26:30 GMT$account-encryption-keyfalseutsharea1fb1743Mon, + 28 Sep 2020 16:28:03 GMT\"0x8D863CB79315436\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 16:28:03 GMT$account-encryption-keyfalse" + headers: + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:17 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + vary: + - Origin + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share1816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7311c-a01a-005f-6eb0-966efe000000\nTime:2020-09-29T22:32:18.5797761Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share182b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7311d-a01a-005f-6fb0-966efe000000\nTime:2020-09-29T22:32:18.7078660Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share336d1532?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7311f-a01a-005f-70b0-966efe000000\nTime:2020-09-29T22:32:18.8419606Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:18 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share50ad1060?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73120-a01a-005f-71b0-966efe000000\nTime:2020-09-29T22:32:18.9670489Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73121-a01a-005f-72b0-966efe000000\nTime:2020-09-29T22:32:19.1091492Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73122-a01a-005f-73b0-966efe000000\nTime:2020-09-29T22:32:19.2522505Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:18 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharea7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73123-a01a-005f-74b0-966efe000000\nTime:2020-09-29T22:32:19.3883461Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:bac73124-a01a-005f-75b0-966efe000000\nTime:2020-09-29T22:32:19.5214400Z" + headers: + content-length: + - '391' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - DeleteShareWhenSnapshotLeased + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:bac73125-a01a-005f-76b0-966efe000000\nTime:2020-09-29T22:32:19.6455276Z" + headers: + content-length: + - '391' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - DeleteShareWhenSnapshotLeased + x-ms-version: + - '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharec80148e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73126-a01a-005f-77b0-966efe000000\nTime:2020-09-29T22:32:19.7656123Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:19 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73128-a01a-005f-78b0-966efe000000\nTime:2020-09-29T22:32:19.8866982Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7312a-a01a-005f-7ab0-966efe000000\nTime:2020-09-29T22:32:20.0107857Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7312b-a01a-005f-7bb0-966efe000000\nTime:2020-09-29T22:32:20.1338730Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharerestorecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7312c-a01a-005f-7cb0-966efe000000\nTime:2020-09-29T22:32:20.2659654Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:19 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7312d-a01a-005f-7db0-966efe000000\nTime:2020-09-29T22:32:20.3910536Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples6?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73130-a01a-005f-7fb0-966efe000000\nTime:2020-09-29T22:32:20.5171434Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73134-a01a-005f-01b0-966efe000000\nTime:2020-09-29T22:32:20.6462341Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73137-a01a-005f-04b0-966efe000000\nTime:2020-09-29T22:32:20.7703212Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:20 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73138-a01a-005f-05b0-966efe000000\nTime:2020-09-29T22:32:20.9044158Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73139-a01a-005f-06b0-966efe000000\nTime:2020-09-29T22:32:21.0305048Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7313a-a01a-005f-07b0-966efe000000\nTime:2020-09-29T22:32:21.1645994Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7313c-a01a-005f-09b0-966efe000000\nTime:2020-09-29T22:32:21.2916891Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:20 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73146-a01a-005f-0ab0-966efe000000\nTime:2020-09-29T22:32:21.4177780Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73147-a01a-005f-0bb0-966efe000000\nTime:2020-09-29T22:32:21.5438670Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73148-a01a-005f-0cb0-966efe000000\nTime:2020-09-29T22:32:21.6679545Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73149-a01a-005f-0db0-966efe000000\nTime:2020-09-29T22:32:21.7910414Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:21 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7314b-a01a-005f-0fb0-966efe000000\nTime:2020-09-29T22:32:21.9181310Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7314d-a01a-005f-11b0-966efe000000\nTime:2020-09-29T22:32:22.0302106Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7314e-a01a-005f-12b0-966efe000000\nTime:2020-09-29T22:32:22.1542977Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7314f-a01a-005f-13b0-966efe000000\nTime:2020-09-29T22:32:22.2723810Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:21 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test150ad1060?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73151-a01a-005f-15b0-966efe000000\nTime:2020-09-29T22:32:22.5135511Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test22f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test32f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:22 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test403e0ff4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73158-a01a-005f-1ab0-966efe000000\nTime:2020-09-29T22:32:22.8988230Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test42f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test49161594?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7315a-a01a-005f-1cb0-966efe000000\nTime:2020-09-29T22:32:23.1530027Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test4ddb1042?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:22 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test50ad1060?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7315e-a01a-005f-1fb0-966efe000000\nTime:2020-09-29T22:32:23.4181894Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test52f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73161-a01a-005f-21b0-966efe000000\nTime:2020-09-29T22:32:23.6823758Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73162-a01a-005f-22b0-966efe000000\nTime:2020-09-29T22:32:23.8124680Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:23 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test6185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73164-a01a-005f-23b0-966efe000000\nTime:2020-09-29T22:32:23.9555690Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test62f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73168-a01a-005f-27b0-966efe000000\nTime:2020-09-29T22:32:24.2547797Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:23 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73169-a01a-005f-28b0-966efe000000\nTime:2020-09-29T22:32:24.4088884Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7316c-a01a-005f-29b0-966efe000000\nTime:2020-09-29T22:32:24.5389811Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test82f780f7a?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test8fc916f4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73171-a01a-005f-2eb0-966efe000000\nTime:2020-09-29T22:32:24.8071698Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:24 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testa7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73177-a01a-005f-33b0-966efe000000\nTime:2020-09-29T22:32:24.9352598Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testba4812bf?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73179-a01a-005f-35b0-966efe000000\nTime:2020-09-29T22:32:25.1904398Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcf0d1359?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7317a-a01a-005f-36b0-966efe000000\nTime:2020-09-29T22:32:25.3175299Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:24 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7317c-a01a-005f-38b0-966efe000000\nTime:2020-09-29T22:32:25.4466206Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7317d-a01a-005f-39b0-966efe000000\nTime:2020-09-29T22:32:25.5597004Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac7317f-a01a-005f-3ab0-966efe000000\nTime:2020-09-29T22:32:25.6837879Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf3ff13d3?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73181-a01a-005f-3cb0-966efe000000\nTime:2020-09-29T22:32:25.8078755Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:25 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73182-a01a-005f-3db0-966efe000000\nTime:2020-09-29T22:32:25.9379673Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:26 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:bac73183-a01a-005f-3eb0-966efe000000\nTime:2020-09-29T22:32:26.0690598Z" + headers: + content-length: + - '273' + content-type: + - application/xml + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - LeaseIdMissing + x-ms-version: + - '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:26 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utshare1a6414c6?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:32:26 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/utsharea1fb1743?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Tue, 29 Sep 2020 22:32:25 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_acl_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_acl_with_lease_id.yaml new file mode 100644 index 000000000000..650c8403ad80 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_acl_with_lease_id.yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:08 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:44:09 GMT + etag: + - '"0x8D855F42D63A1C8"' + last-modified: + - Fri, 11 Sep 2020 01:44:09 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:08 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - f3232009-9b44-4b54-9f8b-4d679af40c47 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test82b3117d?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:44:09 GMT + etag: + - '"0x8D855F42D63A1C8"' + last-modified: + - Fri, 11 Sep 2020 01:44:09 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - f3232009-9b44-4b54-9f8b-4d679af40c47 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: ' + + testid2020-09-11T01:44:09Z2020-09-11T02:44:09Zr' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '257' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:09 GMT + x-ms-lease-id: + - f3232009-9b44-4b54-9f8b-4d679af40c47 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share&comp=acl + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:44:09 GMT + etag: + - '"0x8D855F42D9DFD7A"' + last-modified: + - Fri, 11 Sep 2020 01:44:09 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:44:09 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share&comp=acl + response: + body: + string: "\uFEFFtestid2020-09-11T01:44:09.0000000Z2020-09-11T02:44:09.0000000Zr" + headers: + access-control-allow-origin: + - '*' + content-type: + - application/xml + date: + - Fri, 11 Sep 2020 01:44:09 GMT + etag: + - '"0x8D855F42D9DFD7A"' + last-modified: + - Fri, 11 Sep 2020 01:44:09 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_metadata_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_metadata_with_lease_id.yaml new file mode 100644 index 000000000000..eb3c42225ff2 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_set_share_metadata_with_lease_id.yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:44 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:44 GMT + etag: + - '"0x8D855F41F17142E"' + last-modified: + - Fri, 11 Sep 2020 01:43:45 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:45 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - f99f04a9-9a07-461d-ac7d-3b858c9c82c0 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste121138e?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:45 GMT + etag: + - '"0x8D855F41F17142E"' + last-modified: + - Fri, 11 Sep 2020 01:43:45 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: + - f99f04a9-9a07-461d-ac7d-3b858c9c82c0 + x-ms-version: + - '2020-02-10' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:45 GMT + x-ms-lease-id: + - f99f04a9-9a07-461d-ac7d-3b858c9c82c0 + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste121138e?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:45 GMT + etag: + - '"0x8D855F41F52C3FB"' + last-modified: + - Fri, 11 Sep 2020 01:43:45 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 01:43:45 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: + - '*' + access-control-expose-headers: + - x-ms-meta-hello,x-ms-meta-number + content-length: + - '0' + date: + - Fri, 11 Sep 2020 01:43:45 GMT + etag: + - '"0x8D855F41F52C3FB"' + last-modified: + - Fri, 11 Sep 2020 01:43:45 GMT + server: + - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: + - TransactionOptimized + x-ms-access-tier-change-time: + - Fri, 11 Sep 2020 01:43:45 GMT + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-duration: + - infinite + x-ms-lease-state: + - leased + x-ms-lease-status: + - locked + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-share-quota: + - '5120' + x-ms-version: + - '2020-02-10' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_acquire_lease_on_sharesnapshot.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_acquire_lease_on_sharesnapshot.yaml new file mode 100644 index 000000000000..a0a7a0918d06 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_acquire_lease_on_sharesnapshot.yaml @@ -0,0 +1,1856 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:29 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:28 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:29 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?restype=share&comp=snapshot + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:28 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-snapshot: '2020-09-28T14:09:29.0000000Z' + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?restype=share&comp=snapshot +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:29 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 60a40c0f-a703-48a6-a1e9-127ca070af39 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:29 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 60a40c0f-a703-48a6-a1e9-127ca070af39 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:30 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - bbd73b46-5572-446a-af4c-b2cdea9ac5a3 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:30 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: bbd73b46-5572-446a-af4c-b2cdea9ac5a3 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:30 GMT + x-ms-lease-id: + - bbd73b46-5572-446a-af4c-b2cdea9ac5a3 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/share35a8156e?restype=share + response: + body: + string: "\uFEFFLeaseIdMismatchWithContainerOperationThe + lease ID specified did not match the lease ID for the file share.\nRequestId:ea48274d-901a-0009-62a0-959f11000000\nTime:2020-09-28T14:09:30.6607872Z" + headers: + content-length: '275' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin + x-ms-error-code: LeaseIdMismatchWithContainerOperation + x-ms-version: '2020-02-10' + status: + code: 412 + message: The lease ID specified did not match the lease ID for the file share. + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:30 GMT + x-ms-lease-id: + - 60a40c0f-a703-48a6-a1e9-127ca070af39 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&restype=share + response: + body: + string: "\uFEFFLeaseIdMismatchWithContainerOperationThe + lease ID specified did not match the lease ID for the file share.\nRequestId:0c1243e1-101a-0017-35a0-9573c9000000\nTime:2020-09-28T14:09:30.7471617Z" + headers: + content-length: '275' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:30 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin + x-ms-error-code: LeaseIdMismatchWithContainerOperation + x-ms-version: '2020-02-10' + status: + code: 412 + message: The lease ID specified did not match the lease ID for the file share. + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:30 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - bbd73b46-5572-446a-af4c-b2cdea9ac5a3 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:31 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: '0' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?sharesnapshot=2020-09-28T14:09:29.0000000Z&comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - 60a40c0f-a703-48a6-a1e9-127ca070af39 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/share35a8156e?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:31 GMT + etag: '"0x8D863B81DD47C14"' + last-modified: Mon, 28 Sep 2020 14:09:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: '0' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?comp=lease&restype=share +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=snapshots&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare35a8156e2020-09-28T14:09:29.0000000ZMon, + 28 Sep 2020 14:09:29 GMT\"0x8D863B81DD47C14\"unlockedavailable5120$account-encryption-keyfalseshare35a8156eMon, + 28 Sep 2020 14:09:29 GMT\"0x8D863B81DD47C14\"unlockedavailable5120TransactionOptimizedMon, + 28 Sep 2020 14:09:29 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f12020-09-28T14:03:31.0000000ZMon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalse" + headers: + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/?include=snapshots&comp=list +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share1816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482756-901a-0009-69a0-959f11000000\nTime:2020-09-28T14:09:31.5834413Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share1816f1171?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share182b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482757-901a-0009-6aa0-959f11000000\nTime:2020-09-28T14:09:31.6574939Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share182b3117d?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share336d1532?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482758-901a-0009-6ba0-959f11000000\nTime:2020-09-28T14:09:31.7365499Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share336d1532?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share35a8156e?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share35a8156e?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/share35a8156e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48275d-901a-0009-70a0-959f11000000\nTime:2020-09-28T14:09:31.9507019Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:31 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share602310dc?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:31 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48275e-901a-0009-71a0-959f11000000\nTime:2020-09-28T14:09:32.0267558Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share801b1156?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharea7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48275f-901a-0009-72a0-959f11000000\nTime:2020-09-28T14:09:32.1028102Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharea7a1477?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:ea482760-901a-0009-73a0-959f11000000\nTime:2020-09-28T14:09:32.1938748Z" + headers: + content-length: '391' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: DeleteShareWhenSnapshotLeased + x-ms-version: '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. + url: https://seanmcccanary3.file.core.windows.net/shareba3e12f1?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:ea482761-901a-0009-74a0-959f11000000\nTime:2020-09-28T14:09:32.2699288Z" + headers: + content-length: '391' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: DeleteShareWhenSnapshotLeased + x-ms-version: '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. + url: https://seanmcccanary3.file.core.windows.net/shareba3e12f1?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharec80148e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482763-901a-0009-76a0-959f11000000\nTime:2020-09-28T14:09:32.3439809Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharec80148e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482764-901a-0009-77a0-959f11000000\nTime:2020-09-28T14:09:32.4200352Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharecb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482765-901a-0009-78a0-959f11000000\nTime:2020-09-28T14:09:32.4950881Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharee121138e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482766-901a-0009-79a0-959f11000000\nTime:2020-09-28T14:09:32.5671392Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharee52d0d77?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharerestorecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482767-901a-0009-7aa0-959f11000000\nTime:2020-09-28T14:09:32.6441938Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharerestorecb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482768-901a-0009-7ba0-959f11000000\nTime:2020-09-28T14:09:32.7232499Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples5?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples6?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48276a-901a-0009-7da0-959f11000000\nTime:2020-09-28T14:09:32.7912982Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples6?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48276d-901a-0009-80a0-959f11000000\nTime:2020-09-28T14:09:32.8623486Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48276f-901a-0009-01a0-959f11000000\nTime:2020-09-28T14:09:32.9354008Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:32 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:32 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482770-901a-0009-02a0-959f11000000\nTime:2020-09-28T14:09:33.0134558Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482772-901a-0009-03a0-959f11000000\nTime:2020-09-28T14:09:33.0885090Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482774-901a-0009-05a0-959f11000000\nTime:2020-09-28T14:09:33.1645630Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482777-901a-0009-07a0-959f11000000\nTime:2020-09-28T14:09:33.2426184Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482778-901a-0009-08a0-959f11000000\nTime:2020-09-28T14:09:33.3166709Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48277a-901a-0009-0aa0-959f11000000\nTime:2020-09-28T14:09:33.3927248Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482783-901a-0009-11a0-959f11000000\nTime:2020-09-28T14:09:33.4667774Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482789-901a-0009-17a0-959f11000000\nTime:2020-09-28T14:09:33.5428318Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48278b-901a-0009-19a0-959f11000000\nTime:2020-09-28T14:09:33.6168839Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea482793-901a-0009-20a0-959f11000000\nTime:2020-09-28T14:09:33.6909364Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea48279e-901a-0009-2ba0-959f11000000\nTime:2020-09-28T14:09:33.7960109Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827a0-901a-0009-2da0-959f11000000\nTime:2020-09-28T14:09:33.8820720Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827a2-901a-0009-2ea0-959f11000000\nTime:2020-09-28T14:09:33.9541227Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:33 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test16185160b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:33 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test403e0ff4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827a7-901a-0009-31a0-959f11000000\nTime:2020-09-28T14:09:34.0311786Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test403e0ff4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test49161594?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827a8-901a-0009-32a0-959f11000000\nTime:2020-09-28T14:09:34.1092336Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test49161594?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827a9-901a-0009-33a0-959f11000000\nTime:2020-09-28T14:09:34.1832857Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test600515ff?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827aa-901a-0009-34a0-959f11000000\nTime:2020-09-28T14:09:34.2563375Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test602310dc?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test6185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827ad-901a-0009-36a0-959f11000000\nTime:2020-09-28T14:09:34.3213836Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test6185160b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827ae-901a-0009-37a0-959f11000000\nTime:2020-09-28T14:09:34.3984387Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test801b1156?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827af-901a-0009-38a0-959f11000000\nTime:2020-09-28T14:09:34.4804969Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test816f1171?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b0-901a-0009-39a0-959f11000000\nTime:2020-09-28T14:09:34.5765651Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test82b3117d?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test8fc916f4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b2-901a-0009-3ba0-959f11000000\nTime:2020-09-28T14:09:34.6566215Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test8fc916f4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testa7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b3-901a-0009-3ca0-959f11000000\nTime:2020-09-28T14:09:34.7376790Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testa7a1477?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b4-901a-0009-3da0-959f11000000\nTime:2020-09-28T14:09:34.8137329Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testcb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcf0d1359?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b5-901a-0009-3ea0-959f11000000\nTime:2020-09-28T14:09:34.8927890Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b6-901a-0009-3fa0-959f11000000\nTime:2020-09-28T14:09:34.9698437Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:34 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testdfa11382?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:34 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b7-901a-0009-40a0-959f11000000\nTime:2020-09-28T14:09:35.0499004Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/teste121138e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:35 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827b9-901a-0009-42a0-959f11000000\nTime:2020-09-28T14:09:35.1279562Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/teste52d0d77?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:35 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf3ff13d3?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827ba-901a-0009-43a0-959f11000000\nTime:2020-09-28T14:09:35.2050105Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:35 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827bb-901a-0009-44a0-959f11000000\nTime:2020-09-28T14:09:35.2810649Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf55313ee?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 14:09:35 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:ea4827bc-901a-0009-45a0-959f11000000\nTime:2020-09-28T14:09:35.3671255Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 14:09:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_delete_share_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_delete_share_with_lease_id.yaml new file mode 100644 index 000000000000..19bc05aa79b4 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_delete_share_with_lease_id.yaml @@ -0,0 +1,139 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:57:01 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste1f11392?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 13:57:01 GMT + etag: '"0x8D863B6604BE9A3"' + last-modified: Mon, 28 Sep 2020 13:57:02 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/teste1f11392?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:57:02 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - cf138b27-c420-48ac-a049-a7f89c277b51 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/teste1f11392?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 13:57:01 GMT + etag: '"0x8D863B6604BE9A3"' + last-modified: Mon, 28 Sep 2020 13:57:02 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: cf138b27-c420-48ac-a049-a7f89c277b51 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/teste1f11392?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:57:02 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste1f11392?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:8dfacc3b-b01a-0088-549f-953fcb000000\nTime:2020-09-28T13:57:02.6482582Z" + headers: + content-length: '273' + content-type: application/xml + date: Mon, 28 Sep 2020 13:57:01 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/teste1f11392?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:57:02 GMT + x-ms-lease-id: + - cf138b27-c420-48ac-a049-a7f89c277b51 + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste1f11392?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 13:57:01 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/teste1f11392?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 13:57:02 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/teste1f11392?restype=share + response: + body: + string: "\uFEFFShareNotFoundThe + specified share does not exist.\nRequestId:8dfacc3d-b01a-0088-569f-953fcb000000\nTime:2020-09-28T13:57:02.7833541Z" + headers: + content-length: '217' + content-type: application/xml + date: Mon, 28 Sep 2020 13:57:02 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + vary: Origin + x-ms-error-code: ShareNotFound + x-ms-version: '2020-02-10' + status: + code: 404 + message: The specified share does not exist. + url: https://seanmcccanary3.file.core.windows.net/teste1f11392?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_acl_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_acl_with_lease_id.yaml new file mode 100644 index 000000000000..3b27c123572a --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_acl_with_lease_id.yaml @@ -0,0 +1,91 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:57 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:57 GMT + etag: '"0x8D8565A21BA7745"' + last-modified: Fri, 11 Sep 2020 13:53:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf55313ee?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:58 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - a90ad49b-1ac0-41c5-8c91-cd13dadb7516 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf55313ee?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:58 GMT + etag: '"0x8D8565A21BA7745"' + last-modified: Fri, 11 Sep 2020 13:53:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: a90ad49b-1ac0-41c5-8c91-cd13dadb7516 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf55313ee?comp=lease&restype=share +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:58 GMT + x-ms-lease-id: + - a90ad49b-1ac0-41c5-8c91-cd13dadb7516 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share&comp=acl + response: + body: + string: "\uFEFF" + headers: + access-control-allow-origin: '*' + content-type: application/xml + date: Fri, 11 Sep 2020 13:53:58 GMT + etag: '"0x8D8565A21BA7745"' + last-modified: Fri, 11 Sep 2020 13:53:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/testf55313ee?restype=share&comp=acl +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_metadata_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_metadata_with_lease_id.yaml new file mode 100644 index 000000000000..5f219d691e2d --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_metadata_with_lease_id.yaml @@ -0,0 +1,127 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:52:28 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:52:28 GMT + etag: '"0x8D85659ECB20A25"' + last-modified: Fri, 11 Sep 2020 13:52:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test600515ff?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:52:29 GMT + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test600515ff?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:52:28 GMT + etag: '"0x8D85659ECC7BFF5"' + last-modified: Fri, 11 Sep 2020 13:52:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test600515ff?restype=share&comp=metadata +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:52:29 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - bad7deb8-a596-4a1a-8147-ac5b67032970 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test600515ff?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:52:29 GMT + etag: '"0x8D85659ECC7BFF5"' + last-modified: Fri, 11 Sep 2020 13:52:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: bad7deb8-a596-4a1a-8147-ac5b67032970 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test600515ff?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:52:29 GMT + x-ms-lease-id: + - bad7deb8-a596-4a1a-8147-ac5b67032970 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: '*' + access-control-expose-headers: x-ms-meta-hello,x-ms-meta-number + content-length: '0' + date: Fri, 11 Sep 2020 13:52:29 GMT + etag: '"0x8D85659ECC7BFF5"' + last-modified: Fri, 11 Sep 2020 13:52:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: TransactionOptimized + x-ms-access-tier-change-time: Fri, 11 Sep 2020 13:52:29 GMT + x-ms-has-immutability-policy: 'false' + x-ms-has-legal-hold: 'false' + x-ms-lease-duration: infinite + x-ms-lease-state: leased + x-ms-lease-status: locked + x-ms-meta-hello: world + x-ms-meta-number: '43' + x-ms-share-quota: '5120' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test600515ff?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_properties_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_properties_with_lease_id.yaml new file mode 100644 index 000000000000..ac06eab4f011 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_get_share_properties_with_lease_id.yaml @@ -0,0 +1,155 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:18 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test91cf170b?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:18 GMT + etag: '"0x8D8565A0A2A9F1F"' + last-modified: Fri, 11 Sep 2020 13:53:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test91cf170b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:18 GMT + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test91cf170b?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:18 GMT + etag: '"0x8D8565A0A5569C6"' + last-modified: Fri, 11 Sep 2020 13:53:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test91cf170b?restype=share&comp=metadata +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:19 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - a7fd9d7a-dcc5-4c76-a2c2-7a2317f9bf04 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test91cf170b?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:19 GMT + etag: '"0x8D8565A0A5569C6"' + last-modified: Fri, 11 Sep 2020 13:53:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: a7fd9d7a-dcc5-4c76-a2c2-7a2317f9bf04 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test91cf170b?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:19 GMT + x-ms-lease-id: + - a7fd9d7a-dcc5-4c76-a2c2-7a2317f9bf04 + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test91cf170b?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: '*' + access-control-expose-headers: x-ms-meta-hello,x-ms-meta-number + content-length: '0' + date: Fri, 11 Sep 2020 13:53:19 GMT + etag: '"0x8D8565A0A5569C6"' + last-modified: Fri, 11 Sep 2020 13:53:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: TransactionOptimized + x-ms-access-tier-change-time: Fri, 11 Sep 2020 13:53:19 GMT + x-ms-has-immutability-policy: 'false' + x-ms-has-legal-hold: 'false' + x-ms-lease-duration: infinite + x-ms-lease-state: leased + x-ms-lease-status: locked + x-ms-meta-hello: world + x-ms-meta-number: '43' + x-ms-share-quota: '5120' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test91cf170b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:53:19 GMT + x-ms-lease-action: + - break + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test91cf170b?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:53:19 GMT + etag: '"0x8D8565A0A5569C6"' + last-modified: Fri, 11 Sep 2020 13:53:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: '0' + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/test91cf170b?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_acquire_and_release.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_acquire_and_release.yaml new file mode 100644 index 000000000000..1def71dc8568 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_acquire_and_release.yaml @@ -0,0 +1,89 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:44:28 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test49161594?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:44:29 GMT + etag: '"0x8D85658CEB83E6D"' + last-modified: Fri, 11 Sep 2020 13:44:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test49161594?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:44:29 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - f74c3b1b-ee85-4eac-8116-8585080eb439 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test49161594?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:44:29 GMT + etag: '"0x8D85658CEB83E6D"' + last-modified: Fri, 11 Sep 2020 13:44:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: f74c3b1b-ee85-4eac-8116-8585080eb439 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test49161594?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:44:29 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - f74c3b1b-ee85-4eac-8116-8585080eb439 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test49161594?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:44:29 GMT + etag: '"0x8D85658CEB83E6D"' + last-modified: Fri, 11 Sep 2020 13:44:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: f74c3b1b-ee85-4eac-8116-8585080eb439 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test49161594?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_break_period.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_break_period.yaml new file mode 100644 index 000000000000..88a4e4b5745d --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_break_period.yaml @@ -0,0 +1,117 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:22:47 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testba4812bf?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 16:23:04 GMT + etag: '"0x8D863CAC758462F"' + last-modified: Mon, 28 Sep 2020 16:23:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testba4812bf?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:05 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - db6e2d34-67d9-4050-873c-1c0680c0430c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testba4812bf?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 16:23:04 GMT + etag: '"0x8D863CAC758462F"' + last-modified: Mon, 28 Sep 2020 16:23:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: db6e2d34-67d9-4050-873c-1c0680c0430c + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testba4812bf?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:05 GMT + x-ms-lease-action: + - break + x-ms-lease-break-period: + - '5' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testba4812bf?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 16:23:04 GMT + etag: '"0x8D863CAC758462F"' + last-modified: Mon, 28 Sep 2020 16:23:05 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: '5' + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/testba4812bf?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Mon, 28 Sep 2020 16:23:11 GMT + x-ms-lease-id: + - db6e2d34-67d9-4050-873c-1c0680c0430c + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testba4812bf?restype=share + response: + body: + string: "\uFEFFLeaseLostA + lease ID was specified, but the lease for the file share has expired.\nRequestId:4a57bdab-301a-0062-3db3-9518e5000000\nTime:2020-09-28T16:23:11.5195262Z" + headers: + content-length: '249' + content-type: application/xml + date: Mon, 28 Sep 2020 16:23:10 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseLost + x-ms-version: '2020-02-10' + status: + code: 412 + message: A lease ID was specified, but the lease for the file share has expired. + url: https://seanmcccanary3.file.core.windows.net/testba4812bf?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_change_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_change_lease_id.yaml new file mode 100644 index 000000000000..cf170769d4bb --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_change_lease_id.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:49:17 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf3ff13d3?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:49:18 GMT + etag: '"0x8D856597B1CC145"' + last-modified: Fri, 11 Sep 2020 13:49:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:49:18 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - bdcde8cb-7fd4-402b-837d-2d48feb4b0da + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf3ff13d3?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:49:18 GMT + etag: '"0x8D856597B1CC145"' + last-modified: Fri, 11 Sep 2020 13:49:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: bdcde8cb-7fd4-402b-837d-2d48feb4b0da + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:49:18 GMT + x-ms-lease-action: + - change + x-ms-lease-id: + - bdcde8cb-7fd4-402b-837d-2d48feb4b0da + x-ms-proposed-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf3ff13d3?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:49:18 GMT + etag: '"0x8D856597B1CC145"' + last-modified: Fri, 11 Sep 2020 13:49:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:49:18 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf3ff13d3?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:49:18 GMT + etag: '"0x8D856597B1CC145"' + last-modified: Fri, 11 Sep 2020 13:49:19 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 29e0b239-ecda-4f69-bfa3-95f6af91464c + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_renew.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_renew.yaml new file mode 100644 index 000000000000..7892e947556c --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_renew.yaml @@ -0,0 +1,140 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:45:12 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test40110ff9?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:45:13 GMT + etag: '"0x8D85658E9158413"' + last-modified: Fri, 11 Sep 2020 13:45:14 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test40110ff9?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:45:14 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 64962ad4-f139-4341-a9f5-f5a03a0593ed + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test40110ff9?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:45:14 GMT + etag: '"0x8D85658E9158413"' + last-modified: Fri, 11 Sep 2020 13:45:14 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 64962ad4-f139-4341-a9f5-f5a03a0593ed + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test40110ff9?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:45:24 GMT + x-ms-lease-action: + - renew + x-ms-lease-id: + - 64962ad4-f139-4341-a9f5-f5a03a0593ed + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test40110ff9?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:45:24 GMT + etag: '"0x8D85658E9158413"' + last-modified: Fri, 11 Sep 2020 13:45:14 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 64962ad4-f139-4341-a9f5-f5a03a0593ed + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test40110ff9?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:45:29 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test40110ff9?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:8963fb17-601a-006f-1841-88d031000000\nTime:2020-09-11T13:45:30.0872356Z" + headers: + content-length: '273' + content-type: application/xml + date: Fri, 11 Sep 2020 13:45:29 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test40110ff9?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:45:39 GMT + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test40110ff9?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:45:39 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/test40110ff9?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_twice.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_twice.yaml new file mode 100644 index 000000000000..27e5530a21bf --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_twice.yaml @@ -0,0 +1,91 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:47:59 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test403e0ff4?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:48:01 GMT + etag: '"0x8D856594D05BB2E"' + last-modified: Fri, 11 Sep 2020 13:48:01 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test403e0ff4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:48:01 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 1057ec6d-d171-4e3f-8ae1-86963b4f353c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test403e0ff4?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:48:02 GMT + etag: '"0x8D856594D05BB2E"' + last-modified: Fri, 11 Sep 2020 13:48:01 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 1057ec6d-d171-4e3f-8ae1-86963b4f353c + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test403e0ff4?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:48:02 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 1057ec6d-d171-4e3f-8ae1-86963b4f353c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test403e0ff4?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:48:02 GMT + etag: '"0x8D856594D05BB2E"' + last-modified: Fri, 11 Sep 2020 13:48:01 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 1057ec6d-d171-4e3f-8ae1-86963b4f353c + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test403e0ff4?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_duration.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_duration.yaml new file mode 100644 index 000000000000..ad74144cbccb --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_duration.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:46:51 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcf0d1359?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:46:52 GMT + etag: '"0x8D856592431D1AA"' + last-modified: Fri, 11 Sep 2020 13:46:53 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:46:52 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '15' + x-ms-proposed-lease-id: + - 7425fc1a-b197-42a4-9063-809c00caaf55 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcf0d1359?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:46:52 GMT + etag: '"0x8D856592431D1AA"' + last-modified: Fri, 11 Sep 2020 13:46:53 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 7425fc1a-b197-42a4-9063-809c00caaf55 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:46:52 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 5f638806-4b5f-4010-9bec-fb82e55b225c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcf0d1359?comp=lease&restype=share + response: + body: + string: "\uFEFFLeaseAlreadyPresentThere + is already a lease present.\nRequestId:1673faec-101a-0038-0f42-887e02000000\nTime:2020-09-11T13:46:53.5670394Z" + headers: + content-length: '221' + content-type: application/xml + date: Fri, 11 Sep 2020 13:46:52 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseAlreadyPresent + x-ms-version: '2020-02-10' + status: + code: 409 + message: There is already a lease present. + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:47:08 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 3af188b6-f122-4db7-8ee1-06a32a13c3ba + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testcf0d1359?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:47:08 GMT + etag: '"0x8D856592431D1AA"' + last-modified: Fri, 11 Sep 2020 13:46:53 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 3af188b6-f122-4db7-8ee1-06a32a13c3ba + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_proposed_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_proposed_lease_id.yaml new file mode 100644 index 000000000000..496df00bc624 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_lease_share_with_proposed_lease_id.yaml @@ -0,0 +1,59 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:48:34 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test8fc916f4?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:48:35 GMT + etag: '"0x8D8565961566D0E"' + last-modified: Fri, 11 Sep 2020 13:48:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test8fc916f4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:48:35 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 55e97f64-73e8-4390-838d-d9e84a374321 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test8fc916f4?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:48:35 GMT + etag: '"0x8D8565961566D0E"' + last-modified: Fri, 11 Sep 2020 13:48:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 55e97f64-73e8-4390-838d-d9e84a374321 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test8fc916f4?comp=lease&restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_list_shares_leased_share.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_list_shares_leased_share.yaml new file mode 100644 index 000000000000..e312d7ccd37f --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_list_shares_leased_share.yaml @@ -0,0 +1,1945 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:54 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/sharebd1a12dd?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 22:40:54 GMT + etag: '"0x8D864C8B9D886E7"' + last-modified: Tue, 29 Sep 2020 22:40:54 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/sharebd1a12dd?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:54 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - 777c966a-031c-4494-83aa-d0ddb074f2dc + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/sharebd1a12dd?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 22:40:54 GMT + etag: '"0x8D864C8B9D886E7"' + last-modified: Tue, 29 Sep 2020 22:40:54 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: 777c966a-031c-4494-83aa-d0ddb074f2dc + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/sharebd1a12dd?comp=lease&restype=share +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:54 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare50ad1060Tue, + 29 Sep 2020 22:27:37 GMT\"0x8D864C6DE6E6B78\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:27:37 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharebd1a12ddTue, + 29 Sep 2020 22:40:54 GMT\"0x8D864C8B9D886E7\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:40:54 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest1bd1a12ddTue, + 29 Sep 2020 22:34:36 GMT\"0x8D864C7D8628CD4\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:34:36 GMT$account-encryption-keyfalsetest2bd1a12ddTue, + 29 Sep 2020 22:38:12 GMT\"0x8D864C858E9FC21\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:38:12 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest50ad1060Tue, + 29 Sep 2020 22:31:15 GMT\"0x8D864C760543D56\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:31:14 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalse" + headers: + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:54 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/?include=&comp=list +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-lease-action: + - release + x-ms-lease-id: + - 777c966a-031c-4494-83aa-d0ddb074f2dc + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/sharebd1a12dd?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 22:40:54 GMT + etag: '"0x8D864C8B9D886E7"' + last-modified: Tue, 29 Sep 2020 22:40:54 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-time: '0' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/sharebd1a12dd?comp=lease&restype=share +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/?include=snapshots&comp=list + response: + body: + string: "\uFEFFshare1816f1171Fri, + 11 Sep 2020 00:43:37 GMT\"0x8D855EBB87CFF33\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:43:37 GMT$account-encryption-keyfalseshare182b3117dFri, + 11 Sep 2020 00:44:44 GMT\"0x8D855EBE0710239\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:44:44 GMT$account-encryption-keyfalseshare336d1532Fri, + 11 Sep 2020 00:02:03 GMT\"0x8D855E5EA1BA89C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:02:03 GMT$account-encryption-keyfalseshare50ad1060Tue, + 29 Sep 2020 22:27:37 GMT\"0x8D864C6DE6E6B78\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:27:37 GMT$account-encryption-keyfalseshare602310dcThu, + 10 Sep 2020 23:45:57 GMT\"0x8D855E3AA5BA817\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:45:57 GMT$account-encryption-keyfalseshare801b1156Thu, + 10 Sep 2020 23:48:33 GMT\"0x8D855E4070545FC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:33 GMT$account-encryption-keyfalsesharea7a1477Thu, + 10 Sep 2020 23:48:04 GMT\"0x8D855E3F609C583\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:48:04 GMT$account-encryption-keyfalseshareba3e12f12020-09-28T14:03:31.0000000ZMon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120$account-encryption-keyfalseshareba3e12f1Mon, + 28 Sep 2020 14:03:31 GMT\"0x8D863B748689793\"lockedleasedinfinite5120TransactionOptimizedMon, + 28 Sep 2020 14:03:31 GMT$account-encryption-keyfalsesharebd1a12ddTue, + 29 Sep 2020 22:40:54 GMT\"0x8D864C8B9D886E7\"unlockedavailable5120TransactionOptimizedTue, + 29 Sep 2020 22:40:54 GMT$account-encryption-keyfalsesharec80148eFri, + 11 Sep 2020 00:25:51 GMT\"0x8D855E93D722BB0\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:03:40 GMT$account-encryption-keyfalsesharecb2f1317Fri, + 11 Sep 2020 00:59:09 GMT\"0x8D855EDE422992F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:59:09 GMT$account-encryption-keyfalsesharee121138eFri, + 11 Sep 2020 00:00:54 GMT\"0x8D855E5C0C0BD1C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 00:00:53 GMT$account-encryption-keyfalsesharee52d0d77Thu, + 10 Sep 2020 23:47:27 GMT\"0x8D855E3DFBB5CB3\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 23:47:20 GMT$account-encryption-keyfalsesharerestorecb2f1317Thu, + 10 Sep 2020 22:44:32 GMT\"0x8D855DB159313DC\"lockedleasedinfinite5120TransactionOptimizedThu, + 10 Sep 2020 22:44:32 GMT$account-encryption-keyfalsesharesamples5Tue, + 15 Sep 2020 19:39:56 GMT\"0x8D859AF1FEB001F\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:39:55 GMT$account-encryption-keyfalsesharesamples6Tue, + 15 Sep 2020 19:43:57 GMT\"0x8D859AFAFBA3E88\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:43:57 GMT$account-encryption-keyfalsesharesamples7Tue, + 15 Sep 2020 19:44:49 GMT\"0x8D859AFCEB7CC2D\"lockedleasedinfinite5120TransactionOptimizedTue, + 15 Sep 2020 19:44:49 GMT$account-encryption-keyfalsetest-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7Wed, + 05 Aug 2020 19:06:51 GMT\"0x8D83972B5D1302D\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:51 GMT$account-encryption-keyfalsetest-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31Wed, + 05 Aug 2020 19:06:49 GMT\"0x8D83972B5025718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:49 GMT$account-encryption-keyfalsetest-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3aWed, + 05 Aug 2020 17:24:15 GMT\"0x8D8396460C3E165\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:15 GMT$account-encryption-keyfalsetest-share-26ae488a-f23e-4b65-aa5b-f273d6179074Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B592F011\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-49d22d21-4363-478e-8f26-1357ef6bd183Wed, + 05 Aug 2020 17:24:21 GMT\"0x8D8396464063943\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:21 GMT$account-encryption-keyfalsetest-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680Wed, + 05 Aug 2020 17:24:17 GMT\"0x8D8396461D987E1\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604Wed, + 05 Aug 2020 17:24:19 GMT\"0x8D83964633A2718\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:19 GMT$account-encryption-keyfalsetest-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52Wed, + 05 Aug 2020 19:06:50 GMT\"0x8D83972B538E3FD\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 19:06:50 GMT$account-encryption-keyfalsetest-share-8903864e-96ec-44f5-8912-837a9f23cbb5Wed, + 05 Aug 2020 00:04:00 GMT\"0x8D838D30E563856\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 00:04:00 GMT$account-encryption-keyfalsetest-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67aWed, + 05 Aug 2020 17:24:18 GMT\"0x8D8396462815131\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-d5852df4-944a-48b9-8552-eea5bfd94b6bWed, + 05 Aug 2020 17:24:20 GMT\"0x8D8396463BD465A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:20 GMT$account-encryption-keyfalsetest-share-fa7d1a1f-d065-4d58-bb12-a59f22106473Wed, + 05 Aug 2020 17:24:18 GMT\"0x8D839646251B45A\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:18 GMT$account-encryption-keyfalsetest-share-fcc35a78-e231-4233-a311-d48ee9bb2df7Wed, + 05 Aug 2020 17:24:16 GMT\"0x8D83964610EBC77\"lockedleasedinfinite5120TransactionOptimizedWed, + 05 Aug 2020 17:24:16 GMT$account-encryption-keyfalsetest16185160bFri, + 11 Sep 2020 13:51:30 GMT\"0x8D85659C98711F1\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:51:30 GMT$account-encryption-keyfalsetest1bd1a12ddTue, + 29 Sep 2020 22:34:36 GMT\"0x8D864C7D8628CD4\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:34:36 GMT$account-encryption-keyfalsetest2bd1a12ddTue, + 29 Sep 2020 22:38:12 GMT\"0x8D864C858E9FC21\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:38:12 GMT$account-encryption-keyfalsetest403e0ff4Fri, + 11 Sep 2020 13:48:01 GMT\"0x8D856594D05BB2E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:01 GMT$account-encryption-keyfalsetest49161594Fri, + 11 Sep 2020 13:44:29 GMT\"0x8D85658CEB83E6D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:44:29 GMT$account-encryption-keyfalsetest50ad1060Tue, + 29 Sep 2020 22:31:15 GMT\"0x8D864C760543D56\"lockedleasedinfinite5120TransactionOptimizedTue, + 29 Sep 2020 22:31:14 GMT$account-encryption-keyfalsetest600515ffFri, + 11 Sep 2020 13:52:29 GMT\"0x8D85659ECC7BFF5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:52:29 GMT$account-encryption-keyfalsetest602310dcFri, + 11 Sep 2020 01:46:55 GMT\"0x8D855F490678FD9\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:46:55 GMT$account-encryption-keyfalsetest6185160bFri, + 11 Sep 2020 13:50:04 GMT\"0x8D85659960A4A9F\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:50:03 GMT$account-encryption-keyfalsetest801b1156Fri, + 11 Sep 2020 01:43:39 GMT\"0x8D855F41B7485A5\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:39 GMT$account-encryption-keyfalsetest816f1171Fri, + 11 Sep 2020 01:44:03 GMT\"0x8D855F429A8569E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:03 GMT$account-encryption-keyfalsetest82b3117dFri, + 11 Sep 2020 01:44:09 GMT\"0x8D855F42D9DFD7A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:44:09 GMT$account-encryption-keyfalsetest8fc916f4Fri, + 11 Sep 2020 13:48:35 GMT\"0x8D8565961566D0E\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:48:35 GMT$account-encryption-keyfalsetesta7a1477Fri, + 11 Sep 2020 01:42:27 GMT\"0x8D855F3F0B3CE4D\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:27 GMT$account-encryption-keyfalsetestcb2f1317Fri, + 11 Sep 2020 01:35:53 GMT\"0x8D855F305C89D8C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:35:53 GMT$account-encryption-keyfalsetestcf0d1359Fri, + 11 Sep 2020 13:46:53 GMT\"0x8D856592431D1AA\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:46:53 GMT$account-encryption-keyfalsetestdfa11382Fri, + 11 Sep 2020 01:43:51 GMT\"0x8D855F422BEA24C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:51 GMT$account-encryption-keyfalseteste121138eFri, + 11 Sep 2020 01:43:45 GMT\"0x8D855F41F52C3FB\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:43:45 GMT$account-encryption-keyfalseteste52d0d77Fri, + 11 Sep 2020 01:42:19 GMT\"0x8D855F3EC19CB5C\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 01:42:19 GMT$account-encryption-keyfalsetestf3ff13d3Fri, + 11 Sep 2020 13:49:19 GMT\"0x8D856597B1CC145\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:49:19 GMT$account-encryption-keyfalsetestf55313eeFri, + 11 Sep 2020 13:53:58 GMT\"0x8D8565A21BA7745\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:53:58 GMT$account-encryption-keyfalsetestf69713faFri, + 11 Sep 2020 13:54:36 GMT\"0x8D8565A3813B91A\"lockedleasedinfinite5120TransactionOptimizedFri, + 11 Sep 2020 13:54:35 GMT$account-encryption-keyfalse" + headers: + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:54 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + vary: Origin + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/?include=snapshots&comp=list +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share1816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290f8-101a-0038-27b1-967e02000000\nTime:2020-09-29T22:40:55.6303715Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share1816f1171?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share182b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290f9-101a-0038-28b1-967e02000000\nTime:2020-09-29T22:40:55.6994205Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share182b3117d?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share336d1532?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290fa-101a-0038-29b1-967e02000000\nTime:2020-09-29T22:40:55.7694695Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share336d1532?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share50ad1060?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290fb-101a-0038-2ab1-967e02000000\nTime:2020-09-29T22:40:55.8345153Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share50ad1060?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:55 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290fc-101a-0038-2bb1-967e02000000\nTime:2020-09-29T22:40:55.9115696Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share602310dc?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/share801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290fd-101a-0038-2cb1-967e02000000\nTime:2020-09-29T22:40:55.9786169Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/share801b1156?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharea7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b6290fe-101a-0038-2db1-967e02000000\nTime:2020-09-29T22:40:56.0476655Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharea7a1477?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:6b629100-101a-0038-2eb1-967e02000000\nTime:2020-09-29T22:40:56.1147128Z" + headers: + content-length: '391' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: DeleteShareWhenSnapshotLeased + x-ms-version: '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. + url: https://seanmcccanary3.file.core.windows.net/shareba3e12f1?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/shareba3e12f1?restype=share + response: + body: + string: "\uFEFFDeleteShareWhenSnapshotLeasedUnable + to delete share because one or more share snapshots have active leases. Release + the share snapshot leases or delete the share with the include-leased parameter + for x-ms-delete-snapshots.\nRequestId:6b629102-101a-0038-30b1-967e02000000\nTime:2020-09-29T22:40:56.1817600Z" + headers: + content-length: '391' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: DeleteShareWhenSnapshotLeased + x-ms-version: '2020-02-10' + status: + code: 409 + message: Unable to delete share because one or more share snapshots have active + leases. Release the share snapshot leases or delete the share with the include-leased + parameter for x-ms-delete-snapshots. + url: https://seanmcccanary3.file.core.windows.net/shareba3e12f1?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharebd1a12dd?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 202 + message: Accepted + url: https://seanmcccanary3.file.core.windows.net/sharebd1a12dd?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharec80148e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629105-101a-0038-33b1-967e02000000\nTime:2020-09-29T22:40:56.3168552Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:55 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharec80148e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629106-101a-0038-34b1-967e02000000\nTime:2020-09-29T22:40:56.3859043Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharecb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629108-101a-0038-36b1-967e02000000\nTime:2020-09-29T22:40:56.4529516Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharee121138e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharee52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629109-101a-0038-37b1-967e02000000\nTime:2020-09-29T22:40:56.5240012Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharee52d0d77?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharerestorecb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62910b-101a-0038-38b1-967e02000000\nTime:2020-09-29T22:40:56.5910489Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharerestorecb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62910c-101a-0038-39b1-967e02000000\nTime:2020-09-29T22:40:56.6590968Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples5?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples6?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62910d-101a-0038-3ab1-967e02000000\nTime:2020-09-29T22:40:56.7281451Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples6?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/sharesamples7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62910e-101a-0038-3bb1-967e02000000\nTime:2020-09-29T22:40:56.7991956Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/sharesamples7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:56 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62910f-101a-0038-3cb1-967e02000000\nTime:2020-09-29T22:40:56.8722466Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-1200db32-dbe6-47c3-8fdc-badfe55a17f7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629110-101a-0038-3db1-967e02000000\nTime:2020-09-29T22:40:56.9422960Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-1c02c6e2-910b-4118-9cc7-3e906d0f6a31?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629111-101a-0038-3eb1-967e02000000\nTime:2020-09-29T22:40:57.0123462Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-22baebbe-ef2b-4735-8a37-d5cfb01e5b3a?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629112-101a-0038-3fb1-967e02000000\nTime:2020-09-29T22:40:57.0813936Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-26ae488a-f23e-4b65-aa5b-f273d6179074?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629113-101a-0038-40b1-967e02000000\nTime:2020-09-29T22:40:57.1514425Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-49d22d21-4363-478e-8f26-1357ef6bd183?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629116-101a-0038-42b1-967e02000000\nTime:2020-09-29T22:40:57.2204907Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-56abb3eb-0fe3-47ec-802c-288e9eb1c680?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62911b-101a-0038-47b1-967e02000000\nTime:2020-09-29T22:40:57.2915408Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-6ddb1225-7c7a-40c8-9c79-0ade2aedc604?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62911c-101a-0038-48b1-967e02000000\nTime:2020-09-29T22:40:57.3625900Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:56 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-82dc1679-40d4-49f1-adfa-bb6a853a0b52?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62911e-101a-0038-4ab1-967e02000000\nTime:2020-09-29T22:40:57.4316386Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-8903864e-96ec-44f5-8912-837a9f23cbb5?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62911f-101a-0038-4bb1-967e02000000\nTime:2020-09-29T22:40:57.5026878Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-bc25d6be-e54a-4d6f-9c39-9003c3c9e67a?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629120-101a-0038-4cb1-967e02000000\nTime:2020-09-29T22:40:57.5727367Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-d5852df4-944a-48b9-8552-eea5bfd94b6b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629121-101a-0038-4db1-967e02000000\nTime:2020-09-29T22:40:57.6377821Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-fa7d1a1f-d065-4d58-bb12-a59f22106473?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629122-101a-0038-4eb1-967e02000000\nTime:2020-09-29T22:40:57.7098324Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test-share-fcc35a78-e231-4233-a311-d48ee9bb2df7?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629123-101a-0038-4fb1-967e02000000\nTime:2020-09-29T22:40:57.7798814Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test16185160b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test1bd1a12dd?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629124-101a-0038-50b1-967e02000000\nTime:2020-09-29T22:40:57.8499303Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test1bd1a12dd?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:57 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test2bd1a12dd?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629125-101a-0038-51b1-967e02000000\nTime:2020-09-29T22:40:57.9209803Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test2bd1a12dd?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test403e0ff4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629126-101a-0038-52b1-967e02000000\nTime:2020-09-29T22:40:57.9920295Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test403e0ff4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test49161594?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629127-101a-0038-53b1-967e02000000\nTime:2020-09-29T22:40:58.1001055Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test49161594?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test50ad1060?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629129-101a-0038-55b1-967e02000000\nTime:2020-09-29T22:40:58.1711555Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test50ad1060?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test600515ff?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62912b-101a-0038-56b1-967e02000000\nTime:2020-09-29T22:40:58.2462089Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test600515ff?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test602310dc?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62912c-101a-0038-57b1-967e02000000\nTime:2020-09-29T22:40:58.3182592Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:57 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test602310dc?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test6185160b?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62912d-101a-0038-58b1-967e02000000\nTime:2020-09-29T22:40:58.3933121Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test6185160b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test801b1156?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62912e-101a-0038-59b1-967e02000000\nTime:2020-09-29T22:40:58.4663636Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test801b1156?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test816f1171?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629130-101a-0038-5bb1-967e02000000\nTime:2020-09-29T22:40:58.5434179Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test816f1171?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test82b3117d?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629131-101a-0038-5cb1-967e02000000\nTime:2020-09-29T22:40:58.6174701Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test82b3117d?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/test8fc916f4?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629132-101a-0038-5db1-967e02000000\nTime:2020-09-29T22:40:58.6895208Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/test8fc916f4?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testa7a1477?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629135-101a-0038-5eb1-967e02000000\nTime:2020-09-29T22:40:58.7645737Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testa7a1477?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcb2f1317?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629137-101a-0038-60b1-967e02000000\nTime:2020-09-29T22:40:58.8406277Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testcb2f1317?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:58 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testcf0d1359?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629138-101a-0038-61b1-967e02000000\nTime:2020-09-29T22:40:58.9156802Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testcf0d1359?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testdfa11382?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629139-101a-0038-62b1-967e02000000\nTime:2020-09-29T22:40:58.9917338Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testdfa11382?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste121138e?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b62913b-101a-0038-63b1-967e02000000\nTime:2020-09-29T22:40:59.0737916Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/teste121138e?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/teste52d0d77?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629142-101a-0038-69b1-967e02000000\nTime:2020-09-29T22:40:59.1398390Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/teste52d0d77?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf3ff13d3?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629149-101a-0038-70b1-967e02000000\nTime:2020-09-29T22:40:59.2148911Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf3ff13d3?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf55313ee?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629151-101a-0038-78b1-967e02000000\nTime:2020-09-29T22:40:59.2899444Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf55313ee?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 29 Sep 2020 22:40:59 GMT + x-ms-delete-snapshots: + - include + x-ms-version: + - '2020-02-10' + method: DELETE + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share + response: + body: + string: "\uFEFFLeaseIdMissingThere + is currently a lease on the file share and no lease ID was specified in the + request.\nRequestId:6b629158-101a-0038-7fb1-967e02000000\nTime:2020-09-29T22:40:59.3720018Z" + headers: + content-length: '273' + content-type: application/xml + date: Tue, 29 Sep 2020 22:40:58 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: LeaseIdMissing + x-ms-version: '2020-02-10' + status: + code: 412 + message: There is currently a lease on the file share and no lease ID was specified + in the request. + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_acl_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_acl_with_lease_id.yaml new file mode 100644 index 000000000000..66c3947fb0b1 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_acl_with_lease_id.yaml @@ -0,0 +1,121 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:54:34 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:54:34 GMT + etag: '"0x8D8565A37CEB610"' + last-modified: Fri, 11 Sep 2020 13:54:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:54:35 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - d08a53dd-18f6-405f-bbc7-b2de9373eb87 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf69713fa?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:54:35 GMT + etag: '"0x8D8565A37CEB610"' + last-modified: Fri, 11 Sep 2020 13:54:35 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: d08a53dd-18f6-405f-bbc7-b2de9373eb87 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?comp=lease&restype=share +- request: + body: ' + + testid2020-09-11T13:54:35Z2020-09-11T14:54:35Zr' + headers: + Content-Length: + - '257' + Content-Type: + - application/xml; charset=utf-8 + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:54:35 GMT + x-ms-lease-id: + - d08a53dd-18f6-405f-bbc7-b2de9373eb87 + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share&comp=acl + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:54:35 GMT + etag: '"0x8D8565A3813B91A"' + last-modified: Fri, 11 Sep 2020 13:54:36 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?restype=share&comp=acl +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:54:35 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/testf69713fa?restype=share&comp=acl + response: + body: + string: "\uFEFFtestid2020-09-11T13:54:35.0000000Z2020-09-11T14:54:35.0000000Zr" + headers: + access-control-allow-origin: '*' + content-type: application/xml + date: Fri, 11 Sep 2020 13:54:35 GMT + etag: '"0x8D8565A3813B91A"' + last-modified: Fri, 11 Sep 2020 13:54:36 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/testf69713fa?restype=share&comp=acl +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_metadata_with_lease_id.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_metadata_with_lease_id.yaml new file mode 100644 index 000000000000..bbf7bbba67d2 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_set_share_metadata_with_lease_id.yaml @@ -0,0 +1,127 @@ +interactions: +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:51:29 GMT + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:51:29 GMT + etag: '"0x8D85659C9470CF6"' + last-modified: Fri, 11 Sep 2020 13:51:30 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test16185160b?restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:51:29 GMT + x-ms-lease-action: + - acquire + x-ms-lease-duration: + - '-1' + x-ms-proposed-lease-id: + - a9ff1661-fd93-42ed-95b5-bbc9deb0f45c + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test16185160b?comp=lease&restype=share + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:51:29 GMT + etag: '"0x8D85659C9470CF6"' + last-modified: Fri, 11 Sep 2020 13:51:30 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-lease-id: a9ff1661-fd93-42ed-95b5-bbc9deb0f45c + x-ms-version: '2020-02-10' + status: + code: 201 + message: Created + url: https://seanmcccanary3.file.core.windows.net/test16185160b?comp=lease&restype=share +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:51:30 GMT + x-ms-lease-id: + - a9ff1661-fd93-42ed-95b5-bbc9deb0f45c + x-ms-meta-hello: + - world + x-ms-meta-number: + - '43' + x-ms-version: + - '2020-02-10' + method: PUT + uri: https://storagename.file.core.windows.net/test16185160b?restype=share&comp=metadata + response: + body: + string: '' + headers: + content-length: '0' + date: Fri, 11 Sep 2020 13:51:29 GMT + etag: '"0x8D85659C98711F1"' + last-modified: Fri, 11 Sep 2020 13:51:30 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test16185160b?restype=share&comp=metadata +- request: + body: null + headers: + User-Agent: + - azsdk-python-storage-file-share/12.2.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + x-ms-date: + - Fri, 11 Sep 2020 13:51:30 GMT + x-ms-version: + - '2020-02-10' + method: GET + uri: https://storagename.file.core.windows.net/test16185160b?restype=share + response: + body: + string: '' + headers: + access-control-allow-origin: '*' + access-control-expose-headers: x-ms-meta-hello,x-ms-meta-number + content-length: '0' + date: Fri, 11 Sep 2020 13:51:29 GMT + etag: '"0x8D85659C98711F1"' + last-modified: Fri, 11 Sep 2020 13:51:30 GMT + server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 + x-ms-access-tier: TransactionOptimized + x-ms-access-tier-change-time: Fri, 11 Sep 2020 13:51:30 GMT + x-ms-has-immutability-policy: 'false' + x-ms-has-legal-hold: 'false' + x-ms-lease-duration: infinite + x-ms-lease-state: leased + x-ms-lease-status: locked + x-ms-meta-hello: world + x-ms-meta-number: '43' + x-ms-share-quota: '5120' + x-ms-version: '2020-02-10' + status: + code: 200 + message: OK + url: https://seanmcccanary3.file.core.windows.net/test16185160b?restype=share +version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/test_file.py b/sdk/storage/azure-storage-file-share/tests/test_file.py index 4a2930186145..408c689908d4 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_file.py +++ b/sdk/storage/azure-storage-file-share/tests/test_file.py @@ -66,7 +66,7 @@ def _setup(self, storage_account, storage_account_key, rmt_account=None, rmt_key remote_url = self.account_url(rmt_account, "file") remote_credential = rmt_key - + if rmt_account: self.fsc2 = ShareServiceClient(remote_url, credential=remote_credential) self.remote_share_name = None @@ -591,6 +591,17 @@ def test_set_file_metadata_with_upper_case(self, resource_group, location, stora self.assertEqual(md['UP'], 'UPval') self.assertFalse('up' in md) + @GlobalStorageAccountPreparer() + def test_break_lease_with_broken_period_fails(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + file_client = self._create_file() + lease = file_client.acquire_lease() + + # Assert + self.assertIsNotNone(lease) + with self.assertRaises(TypeError): + lease.break_lease(lease_break_period=5) + @GlobalStorageAccountPreparer() def test_set_file_metadata_with_broken_lease(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) @@ -907,6 +918,50 @@ def test_list_ranges_none_with_invalid_lease_fails(self, resource_group, locatio self.assertIsNotNone(ranges) self.assertEqual(len(ranges), 0) + @pytest.mark.playback_test_only + @GlobalStorageAccountPreparer() + def test_list_ranges_diff(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + file_name = self._get_file_reference() + file_client = ShareFileClient( + self.account_url(storage_account, "file"), + share_name=self.share_name, + file_path=file_name, + credential=storage_account_key) + + file_client.create_file(2048) + share_client = self.fsc.get_share_client(self.share_name) + snapshot1 = share_client.create_snapshot() + + data = self.get_random_bytes(1536) + file_client.upload_range(data, offset=0, length=1536) + snapshot2 = share_client.create_snapshot() + file_client.clear_range(offset=512, length=512) + + ranges1, cleared1 = file_client.get_ranges_diff(previous_sharesnapshot=snapshot1) + ranges2, cleared2 = file_client.get_ranges_diff(previous_sharesnapshot=snapshot2['snapshot']) + + # Assert + self.assertIsNotNone(ranges1) + self.assertIsInstance(ranges1, list) + self.assertEqual(len(ranges1), 2) + self.assertIsInstance(cleared1, list) + self.assertEqual(len(cleared1), 1) + self.assertEqual(ranges1[0]['start'], 0) + self.assertEqual(ranges1[0]['end'], 511) + self.assertEqual(cleared1[0]['start'], 512) + self.assertEqual(cleared1[0]['end'], 1023) + self.assertEqual(ranges1[1]['start'], 1024) + self.assertEqual(ranges1[1]['end'], 1535) + + self.assertIsNotNone(ranges2) + self.assertIsInstance(ranges2, list) + self.assertEqual(len(ranges2), 0) + self.assertIsInstance(cleared2, list) + self.assertEqual(len(cleared2), 1) + self.assertEqual(cleared2[0]['start'], 512) + self.assertEqual(cleared2[0]['end'], 1023) + @GlobalStorageAccountPreparer() def test_list_ranges_2(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) diff --git a/sdk/storage/azure-storage-file-share/tests/test_file_async.py b/sdk/storage/azure-storage-file-share/tests/test_file_async.py index 651fb56d62a9..46822ff652c1 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_file_async.py +++ b/sdk/storage/azure-storage-file-share/tests/test_file_async.py @@ -643,6 +643,19 @@ async def test_set_file_metadata_with_upper_case_async(self, resource_group, loc self.assertEqual(md['UP'], 'UPval') self.assertFalse('up' in md) + @pytest.mark.live_test_only + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_break_lease_with_broken_period_fails(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + file_client = await self._create_file(storage_account, storage_account_key) + lease = await file_client.acquire_lease() + + # Assert + self.assertIsNotNone(lease) + with self.assertRaises(TypeError): + await lease.break_lease(lease_break_period=5) + @pytest.mark.live_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test @@ -975,6 +988,52 @@ async def test_list_ranges_none_with_invalid_lease_fails_async(self, resource_gr self.assertIsNotNone(ranges) self.assertEqual(len(ranges), 0) + @pytest.mark.playback_test_only + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_list_ranges_diff(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + file_name = self._get_file_reference() + await self._setup_share(storage_account, storage_account_key) + file_client = ShareFileClient( + self.account_url(storage_account, "file"), + share_name=self.share_name, + file_path=file_name, + credential=storage_account_key) + + await file_client.create_file(2048) + share_client = self.fsc.get_share_client(self.share_name) + snapshot1 = await share_client.create_snapshot() + + data = self.get_random_bytes(1536) + await file_client.upload_range(data, offset=0, length=1536) + snapshot2 = await share_client.create_snapshot() + await file_client.clear_range(offset=512, length=512) + + ranges1, cleared1 = await file_client.get_ranges_diff(previous_sharesnapshot=snapshot1) + ranges2, cleared2 = await file_client.get_ranges_diff(previous_sharesnapshot=snapshot2['snapshot']) + + # Assert + self.assertIsNotNone(ranges1) + self.assertIsInstance(ranges1, list) + self.assertEqual(len(ranges1), 2) + self.assertIsInstance(cleared1, list) + self.assertEqual(len(cleared1), 1) + self.assertEqual(ranges1[0]['start'], 0) + self.assertEqual(ranges1[0]['end'], 511) + self.assertEqual(cleared1[0]['start'], 512) + self.assertEqual(cleared1[0]['end'], 1023) + self.assertEqual(ranges1[1]['start'], 1024) + self.assertEqual(ranges1[1]['end'], 1535) + + self.assertIsNotNone(ranges2) + self.assertIsInstance(ranges2, list) + self.assertEqual(len(ranges2), 0) + self.assertIsInstance(cleared2, list) + self.assertEqual(len(cleared2), 1) + self.assertEqual(cleared2[0]['start'], 512) + self.assertEqual(cleared2[0]['end'], 1023) + @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test async def test_list_ranges_2_async(self, resource_group, location, storage_account, storage_account_key): diff --git a/sdk/storage/azure-storage-file-share/tests/test_file_service_properties.py b/sdk/storage/azure-storage-file-share/tests/test_file_service_properties.py index af540fe39b59..7aae66446f61 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_file_service_properties.py +++ b/sdk/storage/azure-storage-file-share/tests/test_file_service_properties.py @@ -7,6 +7,8 @@ # -------------------------------------------------------------------------- import unittest +import pytest + from azure.core.exceptions import HttpResponseError from azure.storage.fileshare import ( @@ -14,6 +16,9 @@ Metrics, CorsRule, RetentionPolicy, + ShareSmbSettings, + SmbMultichannel, + ShareProtocolSettings, ) from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer @@ -71,20 +76,29 @@ def _assert_retention_equal(self, ret1, ret2): self.assertEqual(ret1.days, ret2.days) # --Test cases per service --------------------------------------- + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() def test_file_service_properties(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) + protocol_properties1 = ShareProtocolSettings(ShareSmbSettings(SmbMultichannel(enabled=False))) + protocol_properties2 = ShareProtocolSettings(ShareSmbSettings(SmbMultichannel(enabled=True))) # Act resp = self.fsc.set_service_properties( - hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list()) - + hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list(), protocol=protocol_properties1) # Assert self.assertIsNone(resp) props = self.fsc.get_service_properties() self._assert_metrics_equal(props['hour_metrics'], Metrics()) self._assert_metrics_equal(props['minute_metrics'], Metrics()) self._assert_cors_equal(props['cors'], list()) + self.assertEqual(props['protocol'].smb.multichannel.enabled, False) + + # Act + self.fsc.set_service_properties( + hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list(), protocol=protocol_properties2) + props = self.fsc.get_service_properties() + self.assertEqual(props['protocol'].smb.multichannel.enabled, True) # --Test cases per feature --------------------------------------- @GlobalStorageAccountPreparer() diff --git a/sdk/storage/azure-storage-file-share/tests/test_file_service_properties_async.py b/sdk/storage/azure-storage-file-share/tests/test_file_service_properties_async.py index a38231090d77..be6a7a4db7a4 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_file_service_properties_async.py +++ b/sdk/storage/azure-storage-file-share/tests/test_file_service_properties_async.py @@ -8,6 +8,8 @@ import unittest import asyncio +import pytest + from azure.core.exceptions import HttpResponseError from azure.core.pipeline.transport import AioHttpTransport from multidict import CIMultiDict, CIMultiDictProxy @@ -15,6 +17,9 @@ Metrics, CorsRule, RetentionPolicy, + ShareProtocolSettings, + SmbMultichannel, + ShareSmbSettings, ) from azure.storage.fileshare.aio import ShareServiceClient from devtools_testutils import ResourceGroupPreparer, StorageAccountPreparer @@ -81,14 +86,17 @@ def _assert_retention_equal(self, ret1, ret2): self.assertEqual(ret1.days, ret2.days) # --Test cases per service --------------------------------------- + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test async def test_file_service_properties_async(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) + protocol_properties1 = ShareProtocolSettings(ShareSmbSettings(SmbMultichannel(enabled=False))) + protocol_properties2 = ShareProtocolSettings(ShareSmbSettings(SmbMultichannel(enabled=True))) # Act resp = await self.fsc.set_service_properties( - hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list()) + hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list(), protocol=protocol_properties1) # Assert self.assertIsNone(resp) @@ -96,6 +104,13 @@ async def test_file_service_properties_async(self, resource_group, location, sto self._assert_metrics_equal(props['hour_metrics'], Metrics()) self._assert_metrics_equal(props['minute_metrics'], Metrics()) self._assert_cors_equal(props['cors'], list()) + self.assertEqual(props['protocol'].smb.multichannel.enabled, False) + + # Act + await self.fsc.set_service_properties( + hour_metrics=Metrics(), minute_metrics=Metrics(), cors=list(), protocol=protocol_properties2) + props = await self.fsc.get_service_properties() + self.assertEqual(props['protocol'].smb.multichannel.enabled, True) # --Test cases per feature --------------------------------------- @GlobalStorageAccountPreparer() diff --git a/sdk/storage/azure-storage-file-share/tests/test_share.py b/sdk/storage/azure-storage-file-share/tests/test_share.py index c304e7e10a4d..b3daed35e1f7 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_share.py +++ b/sdk/storage/azure-storage-file-share/tests/test_share.py @@ -184,6 +184,239 @@ def test_undelete_share(self, resource_group, location, storage_account, storage props = restored_share_client.get_share_properties() self.assertIsNotNone(props) + @GlobalStorageAccountPreparer() + def test_lease_share_acquire_and_release(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + # Act + lease = share_client.acquire_lease() + lease.release() + # Assert + + @GlobalStorageAccountPreparer() + def test_acquire_lease_on_sharesnapshot(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share = self._get_share_reference("testshare1") + + # Act + share.create_share() + snapshot = share.create_snapshot() + + snapshot_client = ShareClient( + self.account_url(storage_account, "file"), + share_name=share.share_name, + snapshot=snapshot, + credential=storage_account_key + ) + + share_lease = share.acquire_lease() + share_snapshot_lease = snapshot_client.acquire_lease() + + # Assert + with self.assertRaises(HttpResponseError): + share.get_share_properties(lease=share_snapshot_lease) + + with self.assertRaises(HttpResponseError): + snapshot_client.get_share_properties(lease=share_lease) + + self.assertIsNotNone(snapshot['snapshot']) + self.assertIsNotNone(snapshot['etag']) + self.assertIsNotNone(snapshot['last_modified']) + self.assertIsNotNone(share_lease) + self.assertIsNotNone(share_snapshot_lease) + self.assertNotEqual(share_lease, share_snapshot_lease) + + share_snapshot_lease.release() + share_lease.release() + self._delete_shares(share.share_name) + + @GlobalStorageAccountPreparer() + def test_lease_share_renew(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + lease = share_client.acquire_lease(lease_duration=15) + self.sleep(10) + lease_id_start = lease.id + + # Act + lease.renew() + + # Assert + self.assertEqual(lease.id, lease_id_start) + self.sleep(5) + with self.assertRaises(HttpResponseError): + share_client.delete_share() + self.sleep(10) + share_client.delete_share() + + @GlobalStorageAccountPreparer() + def test_lease_share_with_duration(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + + # Act + lease = share_client.acquire_lease(lease_duration=15) + + # Assert + with self.assertRaises(HttpResponseError): + share_client.acquire_lease() + self.sleep(15) + share_client.acquire_lease() + + @GlobalStorageAccountPreparer() + def test_lease_share_twice(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + + # Act + lease = share_client.acquire_lease(lease_duration=15) + + # Assert + lease2 = share_client.acquire_lease(lease_id=lease.id) + self.assertEqual(lease.id, lease2.id) + + @GlobalStorageAccountPreparer() + def test_lease_share_with_proposed_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + + # Act + proposed_lease_id = '55e97f64-73e8-4390-838d-d9e84a374321' + lease = share_client.acquire_lease(lease_id=proposed_lease_id) + + # Assert + self.assertEqual(proposed_lease_id, lease.id) + + @GlobalStorageAccountPreparer() + def test_lease_share_change_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + + # Act + lease_id = '29e0b239-ecda-4f69-bfa3-95f6af91464c' + lease = share_client.acquire_lease() + lease_id1 = lease.id + lease.change(proposed_lease_id=lease_id) + lease.renew() + lease_id2 = lease.id + + # Assert + self.assertIsNotNone(lease_id1) + self.assertIsNotNone(lease_id2) + self.assertNotEqual(lease_id1, lease_id) + self.assertEqual(lease_id2, lease_id) + + @GlobalStorageAccountPreparer() + def test_set_share_metadata_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + metadata = {'hello': 'world', 'number': '43'} + lease_id = share_client.acquire_lease() + + # Act + share_client.set_share_metadata(metadata, lease=lease_id) + + # Assert + md = share_client.get_share_properties().metadata + self.assertDictEqual(md, metadata) + + @GlobalStorageAccountPreparer() + def test_get_share_metadata_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + metadata = {'hello': 'world', 'number': '43'} + share_client.set_share_metadata(metadata) + lease_id = share_client.acquire_lease() + + # Act + md = share_client.get_share_properties(lease=lease_id).metadata + + # Assert + self.assertDictEqual(md, metadata) + + @GlobalStorageAccountPreparer() + def test_get_share_properties_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + metadata = {'hello': 'world', 'number': '43'} + share_client.set_share_metadata(metadata) + lease_id = share_client.acquire_lease() + + # Act + props = share_client.get_share_properties(lease=lease_id) + lease_id.break_lease() + + # Assert + self.assertIsNotNone(props) + self.assertDictEqual(props.metadata, metadata) + self.assertEqual(props.lease.duration, 'infinite') + self.assertEqual(props.lease.state, 'leased') + self.assertEqual(props.lease.status, 'locked') + + @GlobalStorageAccountPreparer() + def test_get_share_acl_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + lease_id = share_client.acquire_lease() + + # Act + acl = share_client.get_share_access_policy(lease=lease_id) + + # Assert + self.assertIsNotNone(acl) + self.assertIsNone(acl.get('public_access')) + + @GlobalStorageAccountPreparer() + def test_set_share_acl_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + lease_id = share_client.acquire_lease() + + # Act + access_policy = AccessPolicy(permission=ShareSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow()) + signed_identifiers = {'testid': access_policy} + + share_client.set_share_access_policy(signed_identifiers, lease=lease_id) + + # Assert + acl = share_client.get_share_access_policy() + self.assertIsNotNone(acl) + self.assertIsNone(acl.get('public_access')) + + @GlobalStorageAccountPreparer() + def test_lease_share_break_period(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + + # Act + lease = share_client.acquire_lease(lease_duration=15) + + # Assert + lease.break_lease(lease_break_period=5) + self.sleep(6) + with self.assertRaises(HttpResponseError): + share_client.delete_share(lease=lease) + + @GlobalStorageAccountPreparer() + def test_delete_share_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = self._create_share('test') + lease = share_client.acquire_lease(lease_duration=15) + + # Assert + with self.assertRaises(HttpResponseError): + share_client.delete_share() + + # Act + deleted = share_client.delete_share(lease=lease) + + # Assert + self.assertIsNone(deleted) + with self.assertRaises(ResourceNotFoundError): + share_client.get_share_properties() + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() def test_restore_to_existing_share(self, resource_group, location, storage_account, storage_account_key): @@ -386,6 +619,26 @@ def test_list_shares_no_options_for_premium_account(self, resource_group, locati self.assertIsNotNone(shares[0].next_allowed_quota_downgrade_time) self._delete_shares() + @GlobalStorageAccountPreparer() + def test_list_shares_leased_share(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share = self._create_share("test1") + + # Act + lease = share.acquire_lease() + resp = list(self.fsc.list_shares()) + + # Assert + self.assertIsNotNone(resp) + self.assertGreaterEqual(len(resp), 1) + self.assertIsNotNone(resp[0]) + self.assertEqual(resp[0].lease.duration, 'infinite') + self.assertEqual(resp[0].lease.status, 'locked') + self.assertEqual(resp[0].lease.state, 'leased') + lease.release() + self._delete_shares() + + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() def test_list_shares_with_snapshot(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) @@ -406,7 +659,7 @@ def test_list_shares_with_snapshot(self, resource_group, location, storage_accou share.delete_share(delete_snapshots=True) self._delete_shares() - + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() def test_list_shares_with_prefix(self, resource_group, location, storage_account, storage_account_key): self._setup(storage_account, storage_account_key) diff --git a/sdk/storage/azure-storage-file-share/tests/test_share_async.py b/sdk/storage/azure-storage-file-share/tests/test_share_async.py index 671575a03ca9..64e3b3818131 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_share_async.py +++ b/sdk/storage/azure-storage-file-share/tests/test_share_async.py @@ -201,6 +201,255 @@ async def test_undelete_share(self, resource_group, location, storage_account, s self.assertIsNotNone(props) break + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_acquire_and_release(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + # Act + lease = await share_client.acquire_lease() + await lease.release() + # Assert + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_acquire_lease_on_sharesnapshot(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share = self._get_share_reference() + + # Act + await share.create_share() + snapshot = await share.create_snapshot() + + snapshot_client = ShareClient( + self.account_url(storage_account, "file"), + share_name=share.share_name, + snapshot=snapshot, + credential=storage_account_key + ) + + share_lease = await share.acquire_lease() + share_snapshot_lease = await snapshot_client.acquire_lease() + + # Assert + with self.assertRaises(HttpResponseError): + await share.get_share_properties(lease=share_snapshot_lease) + + with self.assertRaises(HttpResponseError): + await snapshot_client.get_share_properties(lease=share_lease) + + self.assertIsNotNone(snapshot['snapshot']) + self.assertIsNotNone(snapshot['etag']) + self.assertIsNotNone(snapshot['last_modified']) + self.assertIsNotNone(share_lease) + self.assertIsNotNone(share_snapshot_lease) + self.assertNotEqual(share_lease, share_snapshot_lease) + + await share_snapshot_lease.release() + await share_lease.release() + await self._delete_shares(share.share_name) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_renew(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + lease = await share_client.acquire_lease(lease_duration=15) + self.sleep(10) + lease_id_start = lease.id + + # Act + await lease.renew() + + # Assert + self.assertEqual(lease.id, lease_id_start) + self.sleep(5) + with self.assertRaises(HttpResponseError): + await share_client.delete_share() + self.sleep(10) + await share_client.delete_share() + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_with_duration(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + + # Act + lease = await share_client.acquire_lease(lease_duration=15) + + # Assert + with self.assertRaises(HttpResponseError): + await share_client.acquire_lease() + self.sleep(15) + await share_client.acquire_lease() + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_twice(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + + # Act + lease = await share_client.acquire_lease(lease_duration=15) + + # Assert + lease2 = await share_client.acquire_lease(lease_id=lease.id) + self.assertEqual(lease.id, lease2.id) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_with_proposed_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + + # Act + proposed_lease_id = '55e97f64-73e8-4390-838d-d9e84a374321' + lease = await share_client.acquire_lease(lease_id=proposed_lease_id) + + # Assert + self.assertEqual(proposed_lease_id, lease.id) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_change_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + + # Act + lease_id = '29e0b239-ecda-4f69-bfa3-95f6af91464c' + lease = await share_client.acquire_lease() + lease_id1 = lease.id + await lease.change(proposed_lease_id=lease_id) + await lease.renew() + lease_id2 = lease.id + + # Assert + self.assertIsNotNone(lease_id1) + self.assertIsNotNone(lease_id2) + self.assertNotEqual(lease_id1, lease_id) + self.assertEqual(lease_id2, lease_id) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_set_share_metadata_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test1') + metadata = {'hello': 'world', 'number': '43'} + lease_id = await share_client.acquire_lease() + + # Act + await share_client.set_share_metadata(metadata, lease=lease_id) + + # Assert + props = await share_client.get_share_properties() + md = props.metadata + self.assertDictEqual(md, metadata) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_get_share_metadata_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + metadata = {'hello': 'world', 'number': '43'} + await share_client.set_share_metadata(metadata) + lease_id = await share_client.acquire_lease() + + # Act + props = await share_client.get_share_properties(lease=lease_id) + md = props.metadata + + # Assert + self.assertDictEqual(md, metadata) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_get_share_properties_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + metadata = {'hello': 'world', 'number': '43'} + await share_client.set_share_metadata(metadata) + lease_id = await share_client.acquire_lease() + + # Act + props = await share_client.get_share_properties(lease=lease_id) + await lease_id.break_lease() + + # Assert + self.assertIsNotNone(props) + self.assertDictEqual(props.metadata, metadata) + self.assertEqual(props.lease.duration, 'infinite') + self.assertEqual(props.lease.state, 'leased') + self.assertEqual(props.lease.status, 'locked') + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_get_share_acl_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + lease_id = await share_client.acquire_lease() + + # Act + acl = await share_client.get_share_access_policy(lease=lease_id) + + # Assert + self.assertIsNotNone(acl) + self.assertIsNone(acl.get('public_access')) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_set_share_acl_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + lease_id = await share_client.acquire_lease() + + # Act + access_policy = AccessPolicy(permission=ShareSasPermissions(read=True), + expiry=datetime.utcnow() + timedelta(hours=1), + start=datetime.utcnow()) + signed_identifiers = {'testid': access_policy} + + await share_client.set_share_access_policy(signed_identifiers, lease=lease_id) + + # Assert + acl = await share_client.get_share_access_policy() + self.assertIsNotNone(acl) + self.assertIsNone(acl.get('public_access')) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_lease_share_break_period(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + + # Act + lease = await share_client.acquire_lease(lease_duration=15) + + # Assert + await lease.break_lease(lease_break_period=5) + self.sleep(6) + with self.assertRaises(HttpResponseError): + await share_client.delete_share(lease=lease) + + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_delete_share_with_lease_id(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share_client = await self._create_share('test') + lease = await share_client.acquire_lease(lease_duration=15) + + # Assert + with self.assertRaises(HttpResponseError): + await share_client.delete_share() + + # Act + deleted = await share_client.delete_share(lease=lease) + + # Assert + self.assertIsNone(deleted) + with self.assertRaises(ResourceNotFoundError): + await share_client.get_share_properties() + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test @@ -425,6 +674,29 @@ async def test_list_shares_no_options_for_premium_account_async(self, resource_g self.assertIsNotNone(shares[0].next_allowed_quota_downgrade_time) await self._delete_shares(share.share_name) + @GlobalStorageAccountPreparer() + @AsyncStorageTestCase.await_prepared_test + async def test_list_shares_leased_share(self, resource_group, location, storage_account, storage_account_key): + self._setup(storage_account, storage_account_key) + share = await self._create_share() + + # Act + lease = await share.acquire_lease() + resp = [] + async for s in self.fsc.list_shares(): + resp.append(s) + + # Assert + self.assertIsNotNone(resp) + self.assertGreaterEqual(len(resp), 1) + self.assertIsNotNone(resp[0]) + self.assertEqual(resp[0].lease.duration, 'infinite') + self.assertEqual(resp[0].lease.status, 'locked') + self.assertEqual(resp[0].lease.state, 'leased') + await lease.release() + await self._delete_shares() + + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test async def test_list_shares_with_snapshot_async(self, resource_group, location, storage_account, storage_account_key): @@ -448,6 +720,7 @@ async def test_list_shares_with_snapshot_async(self, resource_group, location, s self.assertNamedItemInContainer(all_shares, snapshot2['snapshot']) await self._delete_shares(share.share_name) + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test async def test_list_shares_with_prefix_async(self, resource_group, location, storage_account, storage_account_key): diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/_shared/shared_access_signature.py b/sdk/storage/azure-storage-queue/azure/storage/queue/_shared/shared_access_signature.py index 367c6554ef89..07aad5ffa1c8 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/_shared/shared_access_signature.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/_shared/shared_access_signature.py @@ -39,6 +39,12 @@ class QueryStringConstants(object): SIGNED_KEY_SERVICE = 'sks' SIGNED_KEY_VERSION = 'skv' + # for ADLS + SIGNED_AUTHORIZED_OID = 'saoid' + SIGNED_UNAUTHORIZED_OID = 'suoid' + SIGNED_CORRELATION_ID = 'scid' + SIGNED_DIRECTORY_DEPTH = 'sdd' + @staticmethod def to_list(): return [ @@ -68,6 +74,11 @@ def to_list(): QueryStringConstants.SIGNED_KEY_EXPIRY, QueryStringConstants.SIGNED_KEY_SERVICE, QueryStringConstants.SIGNED_KEY_VERSION, + # for ADLS + QueryStringConstants.SIGNED_AUTHORIZED_OID, + QueryStringConstants.SIGNED_UNAUTHORIZED_OID, + QueryStringConstants.SIGNED_CORRELATION_ID, + QueryStringConstants.SIGNED_DIRECTORY_DEPTH, ] From 72ac607556cb2855dfa0e1078a2afd0e0e54637f Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Fri, 2 Oct 2020 13:43:57 -0700 Subject: [PATCH 56/71] fixes python 2.7 issue with unicode and strings again! (#14216) * fixes python 2.7 issue with unicode and strings again! * adding the issue number to the skip statement --- ...ity_cosmos.test_binary_property_value.yaml | 64 ++--- ...able_entity_cosmos.test_delete_entity.yaml | 83 +++---- ...osmos.test_delete_entity_not_existing.yaml | 46 ++-- ...st_delete_entity_with_if_doesnt_match.yaml | 73 +++--- ...os.test_delete_entity_with_if_matches.yaml | 85 +++---- ....test_empty_and_spaces_property_value.yaml | 82 +++---- ...t_table_entity_cosmos.test_get_entity.yaml | 73 +++--- ..._cosmos.test_get_entity_full_metadata.yaml | 73 +++--- ...ntity_cosmos.test_get_entity_if_match.yaml | 85 +++---- ...ty_cosmos.test_get_entity_no_metadata.yaml | 73 +++--- ...y_cosmos.test_get_entity_not_existing.yaml | 46 ++-- ...tity_cosmos.test_get_entity_with_hook.yaml | 73 +++--- ....test_get_entity_with_special_doubles.yaml | 66 +++--- ...ty_cosmos.test_insert_entity_conflict.yaml | 88 +++---- ..._cosmos.test_insert_entity_dictionary.yaml | 61 ++--- ...os.test_insert_entity_empty_string_pk.yaml | 54 ++--- ...os.test_insert_entity_empty_string_rk.yaml | 54 ++--- ..._cosmos.test_insert_entity_missing_pk.yaml | 34 +-- ..._cosmos.test_insert_entity_missing_rk.yaml | 34 +-- ...test_insert_entity_with_full_metadata.yaml | 73 +++--- ...y_cosmos.test_insert_entity_with_hook.yaml | 73 +++--- ..._entity_with_large_int32_value_throws.yaml | 34 +-- ..._entity_with_large_int64_value_throws.yaml | 34 +-- ...s.test_insert_entity_with_no_metadata.yaml | 73 +++--- ...ntity_cosmos.test_none_property_value.yaml | 62 ++--- ...ble_entity_cosmos.test_query_entities.yaml | 112 ++++----- ...mos.test_query_entities_full_metadata.yaml | 112 ++++----- ...osmos.test_query_entities_no_metadata.yaml | 112 ++++----- ...osmos.test_query_entities_with_filter.yaml | 71 +++--- ...y_cosmos.test_query_entities_with_top.yaml | 141 +++++------ ...test_query_entities_with_top_and_next.yaml | 221 +++++++++--------- ..._entity_cosmos.test_query_user_filter.yaml | 61 ++--- ...ntity_cosmos.test_query_zero_entities.yaml | 58 ++--- ...ity_cosmos.test_unicode_property_name.yaml | 80 +++---- ...ty_cosmos.test_unicode_property_value.yaml | 80 +++---- ...able_entity_cosmos.test_update_entity.yaml | 99 ++++---- ...osmos.test_update_entity_not_existing.yaml | 56 ++--- ...st_update_entity_with_if_doesnt_match.yaml | 85 +++---- ...os.test_update_entity_with_if_matches.yaml | 97 ++++---- .../tests/test_table_cosmos.py | 2 +- .../tests/test_table_entity_cosmos.py | 84 ++++--- .../tests/test_table_entity_cosmos_async.py | 20 +- 42 files changed, 1564 insertions(+), 1523 deletions(-) diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml index 0e2ab11487cf..f9c3eff40069 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable27241549"}' + body: !!python/unicode '{"TableName": "uttable27241549"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:33 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable27241549","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable27241549","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A35.9108103Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.3412103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk27241549", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk27241549", "RowKey@odata.type": "Edm.String", "binary": "AQIDBAUGBwgJCg==", - "binary@odata.type": "Edm.Binary"}' + body: !!python/unicode '{"binary": "AQIDBAUGBwgJCg==", "RowKey@odata.type": "Edm.String", + "PartitionKey@odata.type": "Edm.String", "RowKey": "rk27241549", "PartitionKey": + "pk27241549", "binary@odata.type": "Edm.Binary"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A35.8906887Z''\"","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","RowKey":"rk27241549","PartitionKey":"pk27241549","Timestamp":"2020-10-02T19:58:35.8906887Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.8906887Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') server: @@ -101,25 +101,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A35.8906887Z''\"","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","RowKey":"rk27241549","PartitionKey":"pk27241549","Timestamp":"2020-10-02T19:58:35.8906887Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.8906887Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -139,23 +139,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:36 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -173,23 +173,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:36 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:36 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:36 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml index a33139bf6392..8df6a8ed8db5 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable87c311d3"}' + body: !!python/unicode '{"TableName": "uttable87c311d3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:51 GMT + - Fri, 02 Oct 2020 19:58:51 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:51 GMT + - Fri, 02 Oct 2020 19:58:51 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable87c311d3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable87c311d3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A52.2652167Z'" + - W/"datetime'2020-10-02T19%3A58%3A52.6115847Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk87c311d3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk87c311d3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk87c311d3", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk87c311d3", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3/$metadata#uttable87c311d3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A52.7401479Z''\"","PartitionKey":"pk87c311d3","RowKey":"rk87c311d3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:07:52.7401479Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3/$metadata#uttable87c311d3/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A53.1139591Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk87c311d3","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk87c311d3","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:58:53.1139591Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A52.7401479Z'" + - W/"datetime'2020-10-02T19%3A58%3A53.1139591Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') server: @@ -107,25 +108,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -143,24 +144,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:87f4553d-0382-11eb-81ff-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:b241cd40-04e9-11eb-8c52-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,23 +181,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -214,23 +215,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:53 GMT + - Fri, 02 Oct 2020 19:58:53 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:53 GMT + - Fri, 02 Oct 2020 19:58:53 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml index 3e1f4761fc77..8fb071507ca4 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable959b174d"}' + body: !!python/unicode '{"TableName": "uttable959b174d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:08 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:08 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable959b174d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable959b174d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:08 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A08.7276551Z'" + - W/"datetime'2020-10-02T19%3A59%3A09.3215239Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') server: @@ -57,26 +57,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:09 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:09 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable959b174d(PartitionKey='pk959b174d',RowKey='rk959b174d') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:91acaf0c-0382-11eb-9cd5-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:bc1e5e4f-04e9-11eb-8267-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -96,23 +96,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:10 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:10 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml index 13a8f9e59d5d..1cd294735909 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5d171a74"}' + body: !!python/unicode '{"TableName": "uttable5d171a74"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:25 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:25 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5d171a74","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5d171a74","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A24.9741319Z'" + - W/"datetime'2020-10-02T19%3A59%3A26.2311431Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5d171a74", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5d171a74", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5d171a74", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5d171a74", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74/$metadata#uttable5d171a74/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A25.4110727Z''\"","PartitionKey":"pk5d171a74","RowKey":"rk5d171a74","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:25.4110727Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74/$metadata#uttable5d171a74/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A59%3A26.7149831Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5d171a74","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5d171a74","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:59:26.7149831Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A25.4110727Z'" + - W/"datetime'2020-10-02T19%3A59%3A26.7149831Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') server: @@ -107,26 +108,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') response: body: - string: "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - update condition specified in the request was not satisfied.\\nRequestID:9b654d38-0382-11eb-a8f8-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + update condition specified in the request was not satisfied.\\nRequestID:c6414730-04e9-11eb-aa08-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -146,23 +147,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -180,23 +181,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml index c5705d298b8a..68275fb12b01 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttabledcb01860"}' + body: !!python/unicode '{"TableName": "uttabledcb01860"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:40 GMT + - Fri, 02 Oct 2020 19:59:41 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:40 GMT + - Fri, 02 Oct 2020 19:59:41 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttabledcb01860","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttabledcb01860","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A41.2658695Z'" + - W/"datetime'2020-10-02T19%3A59%3A42.8308999Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkdcb01860", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkdcb01860", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkdcb01860", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkdcb01860", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860/$metadata#uttabledcb01860/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A41.7172487Z''\"","PartitionKey":"pkdcb01860","RowKey":"rkdcb01860","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:41.7172487Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860/$metadata#uttabledcb01860/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A59%3A43.3405447Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkdcb01860","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkdcb01860","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:59:43.3405447Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + - W/"datetime'2020-10-02T19%3A59%3A43.3405447Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') server: @@ -107,25 +108,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT If-Match: - - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + - W/"datetime'2020-10-02T19%3A59%3A43.3405447Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -143,24 +144,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:a5264589-0382-11eb-8976-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:d0330df0-04e9-11eb-8b6f-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,23 +181,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -214,23 +215,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:42 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:42 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml index b3290ac33645..8fc110c90c12 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable10b51963"}' + body: !!python/unicode '{"TableName": "uttable10b51963"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:58 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable10b51963","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable10b51963","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A57.8318343Z'" + - W/"datetime'2020-10-02T19%3A59%3A59.7856775Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') server: @@ -44,17 +44,17 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk10b51963", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk10b51963", "RowKey@odata.type": "Edm.String", "EmptyByte": "", - "EmptyByte@odata.type": "Edm.String", "EmptyUnicode": "", "EmptyUnicode@odata.type": - "Edm.String", "SpacesOnlyByte": " ", "SpacesOnlyByte@odata.type": "Edm.String", - "SpacesOnlyUnicode": " ", "SpacesOnlyUnicode@odata.type": "Edm.String", "SpacesBeforeByte": - " Text", "SpacesBeforeByte@odata.type": "Edm.String", "SpacesBeforeUnicode": - " Text", "SpacesBeforeUnicode@odata.type": "Edm.String", "SpacesAfterByte": - "Text ", "SpacesAfterByte@odata.type": "Edm.String", "SpacesAfterUnicode": - "Text ", "SpacesAfterUnicode@odata.type": "Edm.String", "SpacesBeforeAndAfterByte": - " Text ", "SpacesBeforeAndAfterByte@odata.type": "Edm.String", "SpacesBeforeAndAfterUnicode": - " Text ", "SpacesBeforeAndAfterUnicode@odata.type": "Edm.String"}' + body: !!python/unicode '{"EmptyByte@odata.type": "Edm.Binary", "SpacesBeforeAndAfterByte": + "ICAgVGV4dCAgIA==", "SpacesAfterByte": "VGV4dCAgIA==", "SpacesOnlyUnicode@odata.type": + "Edm.String", "SpacesAfterUnicode": "Text ", "SpacesBeforeAndAfterUnicode@odata.type": + "Edm.String", "SpacesBeforeAndAfterByte@odata.type": "Edm.Binary", "PartitionKey@odata.type": + "Edm.String", "SpacesBeforeUnicode": " Text", "SpacesBeforeAndAfterUnicode": + " Text ", "SpacesBeforeByte@odata.type": "Edm.Binary", "SpacesOnlyUnicode": + " ", "SpacesOnlyByte": "ICAg", "SpacesBeforeUnicode@odata.type": "Edm.String", + "SpacesOnlyByte@odata.type": "Edm.Binary", "SpacesBeforeByte": "ICAgVGV4dA==", + "RowKey": "rk10b51963", "SpacesAfterByte@odata.type": "Edm.Binary", "SpacesAfterUnicode@odata.type": + "Edm.String", "EmptyUnicode@odata.type": "Edm.String", "RowKey@odata.type": + "Edm.String", "EmptyUnicode": "", "EmptyByte": "", "PartitionKey": "pk10b51963"}' headers: Accept: - application/json;odata=minimalmetadata @@ -63,31 +63,31 @@ interactions: Connection: - keep-alive Content-Length: - - '896' + - '913' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A00.2096135Z''\"","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeUnicode":" Text","SpacesBeforeAndAfterUnicode":" Text ","SpacesOnlyUnicode":" ","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","RowKey":"rk10b51963","EmptyUnicode":"","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","PartitionKey":"pk10b51963","Timestamp":"2020-10-02T20:00:00.2096135Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + - W/"datetime'2020-10-02T20%3A00%3A00.2096135Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') server: @@ -109,25 +109,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A00.2096135Z''\"","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeUnicode":" Text","SpacesBeforeAndAfterUnicode":" Text ","SpacesOnlyUnicode":" ","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","RowKey":"rk10b51963","EmptyUnicode":"","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","PartitionKey":"pk10b51963","Timestamp":"2020-10-02T20:00:00.2096135Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + - W/"datetime'2020-10-02T20%3A00%3A00.2096135Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -147,23 +147,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -181,23 +181,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml index c1de1fe325d3..f71bf8ed0eaa 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable542810a0"}' + body: !!python/unicode '{"TableName": "uttable542810a0"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:13 GMT + - Fri, 02 Oct 2020 20:00:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:13 GMT + - Fri, 02 Oct 2020 20:00:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable542810a0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable542810a0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.1219335Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.5063687Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk542810a0", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk542810a0", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk542810a0", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk542810a0", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A16.9579527Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk542810a0","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk542810a0","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:16.9579527Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.9579527Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A16.9579527Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk542810a0","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk542810a0","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:16.9579527Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.9579527Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml index 0787a7440c7f..40613a5444b1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable67ca1652"}' + body: !!python/unicode '{"TableName": "uttable67ca1652"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:29 GMT + - Fri, 02 Oct 2020 20:00:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:29 GMT + - Fri, 02 Oct 2020 20:00:32 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable67ca1652","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable67ca1652","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.4553479Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.3380615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk67ca1652", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk67ca1652", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk67ca1652", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk67ca1652", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A33.8073607Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk67ca1652","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk67ca1652","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:33.8073607Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.8073607Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') server: @@ -103,27 +104,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=fullmetadata x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') response: body: - string: '{"odata.type":"tablestestcosmosname.uttable67ca1652","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.editLink":"uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable67ca1652","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.editLink":"uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A33.8073607Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk67ca1652","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk67ca1652","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:00:33.8073607Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.8073607Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:31 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:31 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml index 05fee2d2b647..d6f3fcccd641 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefb9a143a"}' + body: !!python/unicode '{"TableName": "uttablefb9a143a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:46 GMT + - Fri, 02 Oct 2020 20:00:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:46 GMT + - Fri, 02 Oct 2020 20:00:49 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefb9a143a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefb9a143a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A46.9925383Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.1183495Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkfb9a143a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkfb9a143a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkfb9a143a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkfb9a143a", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A50.5716743Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkfb9a143a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkfb9a143a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:50.5716743Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A50.5716743Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkfb9a143a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkfb9a143a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:50.5716743Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -145,25 +146,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT If-Match: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -181,23 +182,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -215,23 +216,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:51 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:51 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml index 4da8a59dfc0d..673b3f5c1353 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3b56157c"}' + body: !!python/unicode '{"TableName": "uttable3b56157c"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:02 GMT + - Fri, 02 Oct 2020 20:01:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:02 GMT + - Fri, 02 Oct 2020 20:01:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3b56157c","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3b56157c","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:06 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A03.4825223Z'" + - W/"datetime'2020-10-02T20%3A01%3A06.9422599Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3b56157c", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3b56157c", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3b56157c", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3b56157c", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c/$metadata#uttable3b56157c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A04.0208391Z''\"","PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c/$metadata#uttable3b56157c/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A07.4372615Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk3b56157c","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3b56157c","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:07.4372615Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:06 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + - W/"datetime'2020-10-02T20%3A01%3A07.4372615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') server: @@ -103,27 +104,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=nometadata x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') response: body: - string: '{"PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pk3b56157c","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3b56157c","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:07.4372615Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + - W/"datetime'2020-10-02T20%3A01%3A07.4372615Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:04 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:04 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml index 6d71a1f98354..a43307e48c95 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5269161a"}' + body: !!python/unicode '{"TableName": "uttable5269161a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:22 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5269161a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5269161a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:23 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A19.8458375Z'" + - W/"datetime'2020-10-02T20%3A01%3A23.7465095Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') server: @@ -55,24 +55,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5269161a(PartitionKey='pk5269161a',RowKey='rk5269161a') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:dfd3580e-0382-11eb-a08e-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:0c33c5b0-04ea-11eb-a95a-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -92,23 +92,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -126,23 +126,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml index da3c7121e215..4b3b8ddbc9ee 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable115114cb"}' + body: !!python/unicode '{"TableName": "uttable115114cb"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:35 GMT + - Fri, 02 Oct 2020 20:01:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:35 GMT + - Fri, 02 Oct 2020 20:01:39 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable115114cb","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable115114cb","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.1204743Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.1905159Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk115114cb", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk115114cb", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk115114cb", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk115114cb", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A40.7057927Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk115114cb","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk115114cb","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:40.7057927Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.7057927Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A40.7057927Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk115114cb","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk115114cb","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:40.7057927Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.7057927Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml index 73f8507b57a8..7a960481bcdf 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable10a31948"}' + body: !!python/unicode '{"TableName": "uttable10a31948"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:51 GMT + - Fri, 02 Oct 2020 20:01:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:51 GMT + - Fri, 02 Oct 2020 20:01:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable10a31948","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable10a31948","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A52.7706119Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.2271111Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') server: @@ -44,10 +44,10 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk10a31948", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk10a31948", "RowKey@odata.type": "Edm.String", "inf": "Infinity", - "inf@odata.type": "Edm.Double", "negativeinf": "-Infinity", "negativeinf@odata.type": - "Edm.Double", "nan": "NaN", "nan@odata.type": "Edm.Double"}' + body: !!python/unicode '{"nan@odata.type": "Edm.Double", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "nan": "NaN", "inf@odata.type": + "Edm.Double", "PartitionKey": "pk10a31948", "RowKey": "rk10a31948", "negativeinf": + "-Infinity", "inf": "Infinity", "negativeinf@odata.type": "Edm.Double"}' headers: Accept: - application/json;odata=minimalmetadata @@ -62,25 +62,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A57.7244679Z''\"","nan@odata.type":"Edm.Double","nan":"NaN","PartitionKey":"pk10a31948","RowKey":"rk10a31948","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","inf@odata.type":"Edm.Double","inf":"Infinity","Timestamp":"2020-10-02T20:01:57.7244679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.7244679Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') server: @@ -102,25 +102,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A57.7244679Z''\"","nan@odata.type":"Edm.Double","nan":"NaN","PartitionKey":"pk10a31948","RowKey":"rk10a31948","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","inf@odata.type":"Edm.Double","inf":"Infinity","Timestamp":"2020-10-02T20:01:57.7244679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.7244679Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -140,23 +140,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -174,23 +174,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml index 1c0a0ecfea54..0e44ccb4c296 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3cfe15a6"}' + body: !!python/unicode '{"TableName": "uttable3cfe15a6"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:08 GMT + - Fri, 02 Oct 2020 20:02:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:08 GMT + - Fri, 02 Oct 2020 20:02:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3cfe15a6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3cfe15a6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A09.4528007Z'" + - W/"datetime'2020-10-02T20%3A02%3A15.2818695Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3cfe15a6", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3cfe15a6", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6/$metadata#uttable3cfe15a6/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A10.1790215Z''\"","PartitionKey":"pk3cfe15a6","RowKey":"rk3cfe15a6","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:10.1790215Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6/$metadata#uttable3cfe15a6/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A02%3A16.0352263Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk3cfe15a6","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3cfe15a6","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:02:16.0352263Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A10.1790215Z'" + - W/"datetime'2020-10-02T20%3A02%3A16.0352263Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6(PartitionKey='pk3cfe15a6',RowKey='rk3cfe15a6') server: @@ -94,13 +95,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3cfe15a6", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3cfe15a6", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -115,24 +117,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 response: body: - string: "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified entity already exists.\\nRequestID:fd9b9bb3-0382-11eb-9dfe-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified entity already exists.\\nRequestID:2b2d9cc0-04ea-11eb-af59-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -152,23 +154,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -186,23 +188,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:16 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml index c48748f79e28..9c908c1e15cb 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6984168a"}' + body: !!python/unicode '{"TableName": "uttable6984168a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:31 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6984168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6984168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:32 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A26.3077383Z'" + - W/"datetime'2020-10-02T20%3A02%3A32.3978247Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk6984168a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk6984168a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk6984168a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk6984168a", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a/$metadata#uttable6984168a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A26.7978247Z''\"","PartitionKey":"pk6984168a","RowKey":"rk6984168a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:26.7978247Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a/$metadata#uttable6984168a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A02%3A32.9270279Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk6984168a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk6984168a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:02:32.9270279Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:32 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A26.7978247Z'" + - W/"datetime'2020-10-02T20%3A02%3A32.9270279Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a(PartitionKey='pk6984168a',RowKey='rk6984168a') server: @@ -105,23 +106,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:27 GMT + - Fri, 02 Oct 2020 20:02:33 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -139,23 +140,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:27 GMT + - Fri, 02 Oct 2020 20:02:33 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml index 2fbdd6438250..ae3619ce2af6 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablee1c518b3"}' + body: !!python/unicode '{"TableName": "uttablee1c518b3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:42 GMT + - Fri, 02 Oct 2020 20:02:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:42 GMT + - Fri, 02 Oct 2020 20:02:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablee1c518b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablee1c518b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A42.8426759Z'" + - W/"datetime'2020-10-02T20%3A02%3A49.0381319Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"RowKey": "rk", "RowKey@odata.type": "Edm.String", "PartitionKey": "", - "PartitionKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.Binary", "PartitionKey": + "", "RowKey@odata.type": "Edm.Binary", "RowKey": "cms="}' headers: Accept: - application/json;odata=minimalmetadata @@ -54,31 +54,31 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '114' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c518b3 response: body: - string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey - cannot be empty\\r\\nActivityId: 114ba081-0383-11eb-97b2-58961df361d1, documentdb-dotnet-sdk/2.11.0 - Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:114ba081-0383-11eb-97b2-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 3f1485a1-04ea-11eb-b9a4-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3f1485a1-04ea-11eb-b9a4-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -98,23 +98,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -132,23 +132,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml index 8ca245ecb355..db1a84af7528 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablee1c918b5"}' + body: !!python/unicode '{"TableName": "uttablee1c918b5"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablee1c918b5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablee1c918b5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:05 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A59.0420487Z'" + - W/"datetime'2020-10-02T20%3A03%3A05.7893383Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk", "PartitionKey@odata.type": "Edm.String", "RowKey": - "", "RowKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.Binary", "PartitionKey": + "cGs=", "RowKey@odata.type": "Edm.Binary", "RowKey": ""}' headers: Accept: - application/json;odata=minimalmetadata @@ -54,31 +54,31 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '114' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:05 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c918b5 response: body: - string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey - cannot be empty\\r\\nActivityId: 1af35196-0383-11eb-b7b0-58961df361d1, documentdb-dotnet-sdk/2.11.0 - Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:1af35196-0383-11eb-b7b0-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 49049eae-04ea-11eb-ac4f-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:49049eae-04ea-11eb-ac4f-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -98,23 +98,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -132,23 +132,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml index a555741d5390..5342581b1162 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6a1e1688"}' + body: !!python/unicode '{"TableName": "uttable6a1e1688"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:14 GMT + - Fri, 02 Oct 2020 20:03:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:14 GMT + - Fri, 02 Oct 2020 20:03:21 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6a1e1688","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6a1e1688","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A15.2749063Z'" + - W/"datetime'2020-10-02T20%3A03%3A22.6103815Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml index 5ee12980d4e8..f03d9a44006f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6a22168a"}' + body: !!python/unicode '{"TableName": "uttable6a22168a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:30 GMT + - Fri, 02 Oct 2020 20:03:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:30 GMT + - Fri, 02 Oct 2020 20:03:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6a22168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6a22168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A31.3918471Z'" + - W/"datetime'2020-10-02T20%3A03%3A39.7326855Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml index ce19b17be2d5..fc869158d5c1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable2cff19c2"}' + body: !!python/unicode '{"TableName": "uttable2cff19c2"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:55 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:55 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable2cff19c2","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable2cff19c2","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A47.5814919Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.1804167Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk2cff19c2", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2cff19c2", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2cff19c2", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2cff19c2", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=fullmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2 response: body: - string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A03%3A57.7900039Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2cff19c2","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2cff19c2","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:03:57.7900039Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.7900039Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') response: body: - string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A03%3A57.7900039Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2cff19c2","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2cff19c2","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:03:57.7900039Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.7900039Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:58 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml index 760781708dbc..781f13040808 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable539e1620"}' + body: !!python/unicode '{"TableName": "uttable539e1620"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:03 GMT + - Fri, 02 Oct 2020 20:04:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:03 GMT + - Fri, 02 Oct 2020 20:04:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable539e1620","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable539e1620","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A03.8791687Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.4016391Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk539e1620", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk539e1620", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk539e1620", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk539e1620", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A04%3A14.9373959Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk539e1620","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk539e1620","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:04:14.9373959Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.9373959Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A04%3A14.9373959Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk539e1620","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk539e1620","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:04:14.9373959Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.9373959Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:15 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml index ba64b00d01d6..25b703dccfc0 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5db41e0b"}' + body: !!python/unicode '{"TableName": "uttable5db41e0b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:19 GMT + - Fri, 02 Oct 2020 20:04:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:19 GMT + - Fri, 02 Oct 2020 20:04:30 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5db41e0b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5db41e0b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:30 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A20.0658439Z'" + - W/"datetime'2020-10-02T20%3A04%3A31.1876615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml index 9073a287b90d..7540303c62d9 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5dfd1e10"}' + body: !!python/unicode '{"TableName": "uttable5dfd1e10"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:35 GMT + - Fri, 02 Oct 2020 20:04:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:35 GMT + - Fri, 02 Oct 2020 20:04:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5dfd1e10","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5dfd1e10","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:47 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A36.4036615Z'" + - W/"datetime'2020-10-02T20%3A04%3A47.8895111Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:37 GMT + - Fri, 02 Oct 2020 20:04:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml index 6ea642e45c9d..6aeccdc22016 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablef99c18ec"}' + body: !!python/unicode '{"TableName": "uttablef99c18ec"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:03 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablef99c18ec","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablef99c18ec","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:51 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A52.5539847Z'" + - W/"datetime'2020-10-02T20%3A05%3A04.5035015Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkf99c18ec", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkf99c18ec", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkf99c18ec", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkf99c18ec", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=nometadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec response: body: - string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pkf99c18ec","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkf99c18ec","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:05.0368007Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + - W/"datetime'2020-10-02T20%3A05%3A05.0368007Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') response: body: - string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pkf99c18ec","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkf99c18ec","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:05.0368007Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + - W/"datetime'2020-10-02T20%3A05%3A05.0368007Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:05 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml index d4c417797e75..375ae9188862 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefd871474"}' + body: !!python/unicode '{"TableName": "uttablefd871474"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:20 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:20 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefd871474","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefd871474","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.1410439Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.2126215Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkfd871474", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkfd871474", "RowKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.String", "PartitionKey": + "pkfd871474", "RowKey@odata.type": "Edm.String", "RowKey": "rkfd871474"}' headers: Accept: - application/json;odata=minimalmetadata @@ -60,25 +60,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A21.6302087Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-02T20:05:21.6302087Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.6302087Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') server: @@ -100,25 +100,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A21.6302087Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-02T20:05:21.6302087Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.6302087Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -138,23 +138,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:10 GMT + - Fri, 02 Oct 2020 20:05:21 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -172,23 +172,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:10 GMT + - Fri, 02 Oct 2020 20:05:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml index b02a91e5db86..0acf5e01d4d4 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable9c05125e"}' + body: !!python/unicode '{"TableName": "uttable9c05125e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:24 GMT + - Fri, 02 Oct 2020 20:05:36 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:24 GMT + - Fri, 02 Oct 2020 20:05:36 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:37 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A25.4972935Z'" + - W/"datetime'2020-10-02T20%3A05%3A37.9473415Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable9c05125e"}' + body: !!python/unicode '{"TableName": "querytable9c05125e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A25.9755015Z'" + - W/"datetime'2020-10-02T20%3A05%3A38.4757255Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable9c05125e') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk9c05125e1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk9c05125e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk9c05125e1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.0228487Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.0228487Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A26.4612871Z'" + - W/"datetime'2020-10-02T20%3A05%3A39.0228487Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk9c05125e12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk9c05125e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk9c05125e12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.1373319Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.1373319Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A26.5155591Z'" + - W/"datetime'2020-10-02T20%3A05%3A39.1373319Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e12') server: @@ -199,23 +201,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e() response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable9c05125e"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.0228487Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.0228487Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.1373319Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.1373319Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable9c05125e"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytable9c05125e"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml index 40a0a8d8e1f2..74323a7d6b70 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablec80b1810"}' + body: !!python/unicode '{"TableName": "uttablec80b1810"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:41 GMT + - Fri, 02 Oct 2020 20:05:54 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:41 GMT + - Fri, 02 Oct 2020 20:05:54 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A42.6951687Z'" + - W/"datetime'2020-10-02T20%3A05%3A55.7819399Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytablec80b1810"}' + body: !!python/unicode '{"TableName": "querytablec80b1810"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:55 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:55 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.2257031Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.3908103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablec80b1810') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkc80b18101", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkc80b1810", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkc80b18101", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7045255Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.8798727Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b18101","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:56.8798727Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.7045255Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.8798727Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b18101') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkc80b181012", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkc80b1810", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkc80b181012", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7671943Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.9972231Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b181012","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:56.9972231Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.7671943Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.9972231Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b181012') server: @@ -197,25 +199,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=fullmetadata x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810() response: body: - string: '{"value":[{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7045255Z"},{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7671943Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablec80b1810"}' + string: !!python/unicode '{"value":[{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.8798727Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b18101","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:05:56.8798727Z"},{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.9972231Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b181012","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:05:56.9972231Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablec80b1810"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml index 2257527518a3..e7ef435f3929 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable981b173a"}' + body: !!python/unicode '{"TableName": "uttable981b173a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:12 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A59.6714503Z'" + - W/"datetime'2020-10-02T20%3A06%3A13.4197255Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable981b173a"}' + body: !!python/unicode '{"TableName": "querytable981b173a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.1689095Z'" + - W/"datetime'2020-10-02T20%3A06%3A13.9368455Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable981b173a') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk981b173a1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk981b173a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk981b173a1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7310855Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A14.4482311Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.4482311Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.7310855Z'" + - W/"datetime'2020-10-02T20%3A06%3A14.4482311Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk981b173a12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk981b173a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk981b173a12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7846407Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A14.5615879Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.5615879Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.7846407Z'" + - W/"datetime'2020-10-02T20%3A06%3A14.5615879Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a12') server: @@ -197,25 +199,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=nometadata x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a() response: body: - string: '{"value":[{"PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"},{"PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}]}' + string: !!python/unicode '{"value":[{"binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a1","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.4482311Z"},{"binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a12","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.5615879Z"}]}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:01 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:01 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml index 16079027ba84..c01d5ae2309f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable98cd175e"}' + body: !!python/unicode '{"TableName": "uttable98cd175e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:30 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable98cd175e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable98cd175e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A16.5877255Z'" + - W/"datetime'2020-10-02T20%3A06%3A30.8463623Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk98cd175e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk98cd175e", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk98cd175e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk98cd175e", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e/$metadata#uttable98cd175e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e/$metadata#uttable98cd175e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A31.4207239Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk98cd175e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk98cd175e","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:31.4207239Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A17.0206727Z'" + - W/"datetime'2020-10-02T20%3A06%3A31.4207239Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e(PartitionKey='pk98cd175e',RowKey='rk98cd175e') server: @@ -105,23 +106,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e() response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable98cd175e"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A31.4207239Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk98cd175e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk98cd175e","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:31.4207239Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable98cd175e"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -141,23 +142,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -175,23 +176,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml index 87ce9c2fd999..347769ec69e1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5436162b"}' + body: !!python/unicode '{"TableName": "uttable5436162b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:47 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A32.7987719Z'" + - W/"datetime'2020-10-02T20%3A06%3A47.8040071Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable5436162b"}' + body: !!python/unicode '{"TableName": "querytable5436162b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.2164615Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.3664903Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable5436162b') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.8762375Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.8762375Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.7223175Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.8762375Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.9868295Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.9868295Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.7715719Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.9868295Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b12') server: @@ -188,13 +190,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b123", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -209,25 +212,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.8290183Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.8290183Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A49.0895367Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:49.0895367Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.8290183Z'" + - W/"datetime'2020-10-02T20%3A06%3A49.0895367Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b123') server: @@ -249,29 +252,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b()?$top=2 response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable5436162b"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.8762375Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.8762375Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.9868295Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.9868295Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable5436162b"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAI7bs-ICAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJLwCW0CAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -289,23 +292,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -323,23 +326,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:34 GMT + - Fri, 02 Oct 2020 20:06:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:34 GMT + - Fri, 02 Oct 2020 20:06:49 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml index cf7a6da5be71..1d361b317e0f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable2da719db"}' + body: !!python/unicode '{"TableName": "uttable2da719db"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A49.6372231Z'" + - W/"datetime'2020-10-02T20%3A07%3A05.3573127Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable2da719db"}' + body: !!python/unicode '{"TableName": "querytable2da719db"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.1324295Z'" + - W/"datetime'2020-10-02T20%3A07%3A05.9209223Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2da719db') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.3817223Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.3817223Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.5827847Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.3817223Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.4906759Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.4906759Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.6338823Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.4906759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12') server: @@ -188,13 +190,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db123", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -209,25 +212,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.5861127Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.5861127Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.6861063Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.5861127Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db123') server: @@ -238,13 +241,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db1234", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db1234", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -259,25 +263,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.6704903Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1234","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.6704903Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.7490823Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.6704903Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1234') server: @@ -288,13 +292,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db12345", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db12345", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -309,25 +314,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.7527175Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12345","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.7527175Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.8151303Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.7527175Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12345') server: @@ -349,29 +354,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2 response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.3817223Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.3817223Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.4906759Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.4906759Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAIjOg4YCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJJv6IgCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -389,29 +394,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YCAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?NextRowKey=NA&$top=2&NextPartitionKey=%7B%22token%22%3A%22%2BiBeAJJv6IgCAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.5861127Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.5861127Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.6704903Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1234","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.6704903Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAIjOg4YEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJJv6IgEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -429,23 +434,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YEAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?NextRowKey=NA&$top=2&NextPartitionKey=%7B%22token%22%3A%22%2BiBeAJJv6IgEAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.7527175Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12345","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.7527175Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -465,23 +470,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -499,23 +504,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml index 2c621198cb7a..d0d6617c2386 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttabled5ad139d"}' + body: !!python/unicode '{"TableName": "uttabled5ad139d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:06 GMT + - Fri, 02 Oct 2020 20:07:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:06 GMT + - Fri, 02 Oct 2020 20:07:22 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttabled5ad139d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttabled5ad139d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A06.8054023Z'" + - W/"datetime'2020-10-02T20%3A07%3A23.2599047Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkd5ad139d", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkd5ad139d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkd5ad139d", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkd5ad139d", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d/$metadata#uttabled5ad139d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A16%3A07.3010183Z''\"","PartitionKey":"pkd5ad139d","RowKey":"rkd5ad139d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:16:07.3010183Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d/$metadata#uttabled5ad139d/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A23.7148679Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkd5ad139d","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkd5ad139d","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:23.7148679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A07.3010183Z'" + - W/"datetime'2020-10-02T20%3A07%3A23.7148679Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d(PartitionKey='pkd5ad139d',RowKey='rkd5ad139d') server: @@ -105,23 +106,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -139,23 +140,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml index 77486e96bbc9..dd84ed2c4cca 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefe63147d"}' + body: !!python/unicode '{"TableName": "uttablefe63147d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:22 GMT + - Fri, 02 Oct 2020 20:07:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:22 GMT + - Fri, 02 Oct 2020 20:07:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A23.0771719Z'" + - W/"datetime'2020-10-02T20%3A07%3A39.8602759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytablefe63147d"}' + body: !!python/unicode '{"TableName": "querytablefe63147d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A23.6513287Z'" + - W/"datetime'2020-10-02T20%3A07%3A40.4315655Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablefe63147d') server: @@ -99,23 +99,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablefe63147d() response: body: - string: '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablefe63147d"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablefe63147d"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -135,23 +135,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -169,23 +169,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml index a9b44c64472f..c86c939f5e96 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable26b6152f"}' + body: !!python/unicode '{"TableName": "uttable26b6152f"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:39 GMT + - Fri, 02 Oct 2020 20:07:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:39 GMT + - Fri, 02 Oct 2020 20:07:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable26b6152f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable26b6152f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A40.4289543Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.0634759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk26b6152f", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": - "\ua015", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + body: !!python/unicode '{"\u554a\u9f44\u4e02\u72db\u72dc": "\ua015", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "PartitionKey": "pk26b6152f", + "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String", "RowKey": "rk26b6152f"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5030791Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"Timestamp\":\"2020-10-02T20:07:57.5030791Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A40.9632775Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.5030791Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='rk26b6152f') server: @@ -90,9 +90,9 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", - "RowKey": "test2", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": - "hello", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + body: !!python/unicode '{"\u554a\u9f44\u4e02\u72db\u72dc": "hello", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "PartitionKey": "pk26b6152f", + "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String", "RowKey": "test2"}' headers: Accept: - application/json;odata=minimalmetadata @@ -107,25 +107,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5734279Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:07:57.5734279Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A41.0202119Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.5734279Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='test2') server: @@ -147,23 +147,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f() response: body: - string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable26b6152f\"}" + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5030791Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"Timestamp\":\"2020-10-02T20:07:57.5030791Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5734279Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:07:57.5734279Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable26b6152f\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -183,23 +183,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -217,23 +217,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:41 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:41 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml index 0a4fe06ef34b..58583798e247 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3c8f15ab"}' + body: !!python/unicode '{"TableName": "uttable3c8f15ab"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:12 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3c8f15ab","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3c8f15ab","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A56.8899591Z'" + - W/"datetime'2020-10-02T20%3A08%3A13.5412743Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3c8f15ab", "RowKey@odata.type": "Edm.String", "Description": "\ua015", - "Description@odata.type": "Edm.String"}' + body: !!python/unicode '{"Description": "\ua015", "PartitionKey@odata.type": "Edm.String", + "PartitionKey": "pk3c8f15ab", "RowKey": "rk3c8f15ab", "Description@odata.type": + "Edm.String", "RowKey@odata.type": "Edm.String"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.0327943Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Timestamp\":\"2020-10-02T20:08:14.0327943Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A57.3673479Z'" + - W/"datetime'2020-10-02T20%3A08%3A14.0327943Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='rk3c8f15ab') server: @@ -90,9 +90,9 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", - "RowKey": "test2", "RowKey@odata.type": "Edm.String", "Description": "\ua015", - "Description@odata.type": "Edm.String"}' + body: !!python/unicode '{"Description": "\ua015", "PartitionKey@odata.type": "Edm.String", + "PartitionKey": "pk3c8f15ab", "RowKey": "test2", "Description@odata.type": "Edm.String", + "RowKey@odata.type": "Edm.String"}' headers: Accept: - application/json;odata=minimalmetadata @@ -107,25 +107,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.1216775Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:08:14.1216775Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A57.4277639Z'" + - W/"datetime'2020-10-02T20%3A08%3A14.1216775Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='test2') server: @@ -147,23 +147,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab() response: body: - string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable3c8f15ab\"}" + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.0327943Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Timestamp\":\"2020-10-02T20:08:14.0327943Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.1216775Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:08:14.1216775Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable3c8f15ab\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -183,23 +183,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -217,23 +217,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml index e87b63303740..6ad7838c36e7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable88a411e3"}' + body: !!python/unicode '{"TableName": "uttable88a411e3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:23 GMT + - Fri, 02 Oct 2020 17:46:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:23 GMT + - Fri, 02 Oct 2020 17:46:58 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable88a411e3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable88a411e3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:58 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A24.5894151Z'" + - W/"datetime'2020-10-02T17%3A46%3A59.5513351Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk88a411e3", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.Binary", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "bWFsZQ==", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk88a411e3", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,31 +60,31 @@ interactions: Connection: - keep-alive Content-Length: - - '577' + - '581' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.3736967Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:25.3736967Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-02T17%3A47%3A00.0196103Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk88a411e3","ratio":3.1,"age":39,"married":true,"sex@odata.type":"Edm.Binary","sex":"bWFsZQ==","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk88a411e3","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T17:47:00.0196103Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.3736967Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0196103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.Binary", "age@odata.type": "Edm.Binary", + "PartitionKey": "pk88a411e3", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "YWJj", "sex": "ZmVtYWxl", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk88a411e3", "sign": "YXF1YXJpdXM=", + "sign@odata.type": "Edm.Binary"}' headers: Accept: - application/json @@ -107,33 +108,33 @@ interactions: Connection: - keep-alive Content-Length: - - '353' + - '360' Content-Type: - application/json DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0909831Z'" server: - Microsoft-HTTPAPI/2.0 status: @@ -151,25 +152,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.4297095Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:18:25.4297095Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-02T17%3A47%3A00.0909831Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age@odata.type":"Edm.Binary","age":"YWJj","sex@odata.type":"Edm.Binary","sex":"ZmVtYWxl","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","sign@odata.type":"Edm.Binary","sign":"YXF1YXJpdXM=","Timestamp":"2020-10-02T17:47:00.0909831Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0909831Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -189,23 +190,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -223,23 +224,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytable981b173a"},{"TableName":"querytablefe63147d"},{"TableName":"querytable5436162b"},{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable2da719db"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml index 0942ebaa4634..945cba7416ce 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable974c175d"}' + body: !!python/unicode '{"TableName": "uttable974c175d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:29 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:29 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable974c175d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable974c175d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:30 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A41.3170695Z'" + - W/"datetime'2020-10-02T20%3A08%3A30.1496327Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') server: @@ -44,11 +44,11 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk974c175d", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk974c175d", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pk974c175d", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk974c175d", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -63,26 +63,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable974c175d(PartitionKey='pk974c175d',RowKey='rk974c175d') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:0ab16548-0384-11eb-a2cb-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:0a6292b0-04eb-11eb-934b-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -102,23 +102,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -136,23 +136,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml index bb1ac2eefb32..a9bcf2e1444a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5f481a84"}' + body: !!python/unicode '{"TableName": "uttable5f481a84"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:56 GMT + - Fri, 02 Oct 2020 20:08:45 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:56 GMT + - Fri, 02 Oct 2020 20:08:45 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5f481a84","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5f481a84","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A57.5020039Z'" + - W/"datetime'2020-10-02T20%3A08%3A46.5445895Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5f481a84", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5f481a84", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84/$metadata#uttable5f481a84/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A58.0573191Z''\"","PartitionKey":"pk5f481a84","RowKey":"rk5f481a84","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:58.0573191Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84/$metadata#uttable5f481a84/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A08%3A46.9865479Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5f481a84","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5f481a84","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:08:46.9865479Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A58.0573191Z'" + - W/"datetime'2020-10-02T20%3A08%3A46.9865479Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pk5f481a84", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk5f481a84", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -113,27 +114,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: PATCH uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') response: body: - string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One - of the input values is invalid.\\r\\nActivityId: 147be270-0384-11eb-a940-58961df361d1, - documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:147be270-0384-11eb-a940-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 1433d91e-04eb-11eb-919e-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:1433d91e-04eb-11eb-919e-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -153,23 +154,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -187,23 +188,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:58 GMT + - Fri, 02 Oct 2020 20:08:47 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:58 GMT + - Fri, 02 Oct 2020 20:08:47 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml index 1fc66146a9c8..e6fde2d209f3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablede911870"}' + body: !!python/unicode '{"TableName": "uttablede911870"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablede911870","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablede911870","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A13.9689479Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.2507399Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkde911870", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkde911870", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.3695367Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:19:14.3695367Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A09%3A03.7533191Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkde911870","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkde911870","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:09:03.7533191Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.7533191Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pkde911870", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rkde911870", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -113,27 +114,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT If-Match: - - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.7533191Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.8597127Z'" server: - Microsoft-HTTPAPI/2.0 status: @@ -151,25 +152,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.4223751Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:19:14.4223751Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A09%3A03.8597127Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":"abc","sex":"female","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","sign":"aquarius","Timestamp":"2020-10-02T20:09:03.8597127Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.8597127Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -189,23 +190,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -223,23 +224,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:04 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py index c6438676f112..a525a97f1fa6 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py @@ -466,7 +466,7 @@ def test_set_table_acl_too_many_ids(self, resource_group, location, cosmos_accou if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @pytest.mark.live_test_only @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py index 8e9cc1c67e38..84e96c034f81 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py @@ -75,42 +75,51 @@ def _create_query_table(self, entity_count): is set to a unique counter value starting at 1 (as a string). """ table_name = self.get_resource_name('querytable') - try: - table = self.ts.create_table(table_name) - except ResourceExistsError: - self.ts.delete_table(table_name) - self.ts.create_table(table_name) + table = self.ts.create_table(table_name) self.query_tables.append(table_name) client = self.ts.get_table_client(table_name) entity = self._create_random_entity_dict() for i in range(1, entity_count + 1): entity['RowKey'] = entity['RowKey'] + str(i) client.create_entity(entity) + # with self.ts.batch(table_name) as batch: + # for i in range(1, entity_count + 1): + # entity['RowKey'] = entity['RowKey'] + str(i) + # batch.create_entity(entity) return client def _create_random_base_entity_dict(self): """ Creates a dict-based entity with only pk and rk. """ - partition = self.get_resource_name('pk') - row = self.get_resource_name('rk') + # partition = self.get_resource_name('pk') + # row = self.get_resource_name('rk') + partition, row = self._create_pk_rk(None, None) return { 'PartitionKey': partition, 'RowKey': row, } + def _create_pk_rk(self, pk, rk): + try: + pk = pk if pk is not None else self.get_resource_name('pk').decode('utf-8') + rk = rk if rk is not None else self.get_resource_name('rk').decode('utf-8') + except AttributeError: + pk = pk if pk is not None else self.get_resource_name('pk') + rk = rk if rk is not None else self.get_resource_name('rk') + return pk, rk + def _create_random_entity_dict(self, pk=None, rk=None): """ Creates a dictionary-based entity with fixed values, using all of the supported data types. """ - partition = pk if pk is not None else self.get_resource_name('pk') - row = rk if rk is not None else self.get_resource_name('rk') + partition, row = self._create_pk_rk(pk, rk) properties = { 'PartitionKey': partition, 'RowKey': row, 'age': 39, - 'sex': 'male', + 'sex': u'male', 'married': True, 'deceased': False, 'optional': None, @@ -140,9 +149,9 @@ def _create_updated_entity_dict(self, partition, row): return { 'PartitionKey': partition, 'RowKey': row, - 'age': 'abc', - 'sex': 'female', - 'sign': 'aquarius', + 'age': u'abc', + 'sex': u'female', + 'sign': u'aquarius', 'birthday': datetime(1991, 10, 4, tzinfo=tzutc()) } @@ -198,7 +207,6 @@ def _assert_default_entity_json_full_metadata(self, entity, headers=None): # self.assertTrue('etag' in entity.odata) # self.assertTrue('editLink' in entity.odata) - def _assert_default_entity_json_no_metadata(self, entity, headers=None): ''' Asserts that the entity passed in matches the default entity. @@ -272,7 +280,7 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_etag(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -742,6 +750,7 @@ def test_get_entity_with_special_doubles(self, resource_group, location, cosmos_ self._tear_down() self.sleep(SLEEP_DELAY) + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_update_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -829,7 +838,7 @@ def test_update_entity_with_if_doesnt_match(self, resource_group, location, cosm self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -851,7 +860,7 @@ def test_insert_or_merge_entity_with_existing_entity(self, resource_group, locat self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -874,7 +883,7 @@ def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, l self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -896,7 +905,7 @@ def test_insert_or_replace_entity_with_existing_entity(self, resource_group, loc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -919,7 +928,7 @@ def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -940,7 +949,7 @@ def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_acc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -959,7 +968,7 @@ def test_merge_entity_not_existing(self, resource_group, location, cosmos_accoun self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -984,7 +993,7 @@ def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_acc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -1085,15 +1094,14 @@ def test_delete_entity_with_if_doesnt_match(self, resource_group, location, cosm @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_unicode_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): - ''' regression test for github issue #57''' # Arrange self._set_up(cosmos_account, cosmos_account_key) try: entity = self._create_random_base_entity_dict() entity1 = entity.copy() - entity1.update({'Description': u'ꀕ'}) + entity1.update({u'Description': u'ꀕ'}) entity2 = entity.copy() - entity2.update({'RowKey': u'test2', 'Description': u'ꀕ'}) + entity2.update({u'RowKey': u'test2', 'Description': u'ꀕ'}) # Act self.table.create_entity(entity=entity1) @@ -1185,15 +1193,15 @@ def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_ try: entity = self._create_random_base_entity_dict() entity.update({ - 'EmptyByte': '', + 'EmptyByte': b'', 'EmptyUnicode': u'', - 'SpacesOnlyByte': ' ', + 'SpacesOnlyByte': b' ', 'SpacesOnlyUnicode': u' ', - 'SpacesBeforeByte': ' Text', + 'SpacesBeforeByte': b' Text', 'SpacesBeforeUnicode': u' Text', - 'SpacesAfterByte': 'Text ', + 'SpacesAfterByte': b'Text ', 'SpacesAfterUnicode': u'Text ', - 'SpacesBeforeAndAfterByte': ' Text ', + 'SpacesBeforeAndAfterByte': b' Text ', 'SpacesBeforeAndAfterUnicode': u' Text ', }) @@ -1203,15 +1211,15 @@ def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_ # Assert self.assertIsNotNone(resp) - self.assertEqual(resp.EmptyByte.value, '') + self.assertEqual(resp.EmptyByte.value, b'') self.assertEqual(resp.EmptyUnicode.value, u'') - self.assertEqual(resp.SpacesOnlyByte.value, ' ') + self.assertEqual(resp.SpacesOnlyByte.value, b' ') self.assertEqual(resp.SpacesOnlyUnicode.value, u' ') - self.assertEqual(resp.SpacesBeforeByte.value, ' Text') + self.assertEqual(resp.SpacesBeforeByte.value, b' Text') self.assertEqual(resp.SpacesBeforeUnicode.value, u' Text') - self.assertEqual(resp.SpacesAfterByte.value, 'Text ') + self.assertEqual(resp.SpacesAfterByte.value, b'Text ') self.assertEqual(resp.SpacesAfterUnicode.value, u'Text ') - self.assertEqual(resp.SpacesBeforeAndAfterByte.value, ' Text ') + self.assertEqual(resp.SpacesBeforeAndAfterByte.value, b' Text ') self.assertEqual(resp.SpacesBeforeAndAfterUnicode.value, u' Text ') finally: self._tear_down() @@ -1245,7 +1253,7 @@ def test_binary_property_value(self, resource_group, location, cosmos_account, c try: binary_data = b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n' entity = self._create_random_base_entity_dict() - entity.update({'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) + entity.update({u'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) # Act self.table.create_entity(entity=entity) @@ -1428,7 +1436,7 @@ def test_query_entities_with_select(self, resource_group, location, cosmos_accou for entity in entities: self.assertIsInstance(entities, TableEntity) self.assertEqual(entity.age, 39) - self.assertEqual(entity.sex, 'male') + self.assertEqual(entity.sex, u'male') self.assertFalse(hasattr(entity, "birthday")) self.assertFalse(hasattr(entity, "married")) self.assertFalse(hasattr(entity, "deceased")) diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py index 9009d4a440f9..4237642279d8 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py @@ -264,7 +264,7 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_entity_dictionary(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -817,7 +817,7 @@ async def test_update_entity_with_if_doesnt_match(self, resource_group, location if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -841,7 +841,7 @@ async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -865,7 +865,7 @@ async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_gr if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -889,7 +889,7 @@ async def test_insert_or_replace_entity_with_existing_entity(self, resource_grou if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -913,7 +913,7 @@ async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_ if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -936,7 +936,7 @@ async def test_merge_entity(self, resource_group, location, cosmos_account, cosm if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -956,7 +956,7 @@ async def test_merge_entity_not_existing(self, resource_group, location, cosmos_ if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -981,7 +981,7 @@ async def test_merge_entity_with_if_matches(self, resource_group, location, cosm if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, @@ -1276,7 +1276,7 @@ async def test_binary_property_value(self, resource_group, location, cosmos_acco if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_timezone(self, resource_group, location, cosmos_account, cosmos_account_key): From 641d569a5c88764b708d1a86382c1b810cc6e967 Mon Sep 17 00:00:00 2001 From: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> Date: Fri, 2 Oct 2020 13:58:29 -0700 Subject: [PATCH 57/71] [Storage][STG74]ChangeLog (#14192) * added changelogs * Update CHANGELOG.md * Update sdk/storage/azure-storage-file-datalake/CHANGELOG.md Co-authored-by: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> --- sdk/storage/azure-storage-blob/CHANGELOG.md | 6 +++++- sdk/storage/azure-storage-blob/setup.py | 2 +- sdk/storage/azure-storage-file-datalake/CHANGELOG.md | 7 +++++-- .../azure/storage/filedatalake/_version.py | 2 +- sdk/storage/azure-storage-file-datalake/setup.py | 2 +- sdk/storage/azure-storage-file-share/CHANGELOG.md | 6 +++++- .../azure/storage/fileshare/_version.py | 2 +- sdk/storage/azure-storage-file-share/setup.py | 2 +- 8 files changed, 20 insertions(+), 9 deletions(-) diff --git a/sdk/storage/azure-storage-blob/CHANGELOG.md b/sdk/storage/azure-storage-blob/CHANGELOG.md index 1d0bd652d4f3..5adeca2c871c 100644 --- a/sdk/storage/azure-storage-blob/CHANGELOG.md +++ b/sdk/storage/azure-storage-blob/CHANGELOG.md @@ -1,6 +1,10 @@ # Release History -## 12.6.0b1 (Unreleased) +## 12.6.0b1 (2020-10-02) +**New features*** +- Added support for Arrow format (`ArrowType`) output serialization using `quick_query()`. +- Added support for undeleting a container. +- Added support for `LastAccessTime` property on a blob, which could be the last time a blob was written or read. ## 12.5.0 (2020-09-10) diff --git a/sdk/storage/azure-storage-blob/setup.py b/sdk/storage/azure-storage-blob/setup.py index 3dc365826ce4..ded5aa613c25 100644 --- a/sdk/storage/azure-storage-blob/setup.py +++ b/sdk/storage/azure-storage-blob/setup.py @@ -71,7 +71,7 @@ author_email='ascl@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-blob', classifiers=[ - "Development Status :: 5 - Production/Stable", + "Development Status :: 4 - Beta", 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md index 37ec3658cace..c00e212860f4 100644 --- a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md @@ -1,6 +1,9 @@ # Release History -## 12.1.3 (Unreleased) - +## 12.2.0b1 (2020-10-02) +**New Features** +- Added support for recursive set/update/remove Access Control on a path and sub-paths. +- Added support for setting an expiry on files where the file gets deleted once it expires. +- Added support to generate directory SAS and added support to specify additional user ids and correlation ids for user delegation SAS. ## 12.1.2 (2020-09-10) **Fixes** diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py index 1788d7bc87a6..dd22d879d99d 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.1.3" +VERSION = "12.2.0b1" diff --git a/sdk/storage/azure-storage-file-datalake/setup.py b/sdk/storage/azure-storage-file-datalake/setup.py index 4ee0b328448c..47493eec3898 100644 --- a/sdk/storage/azure-storage-file-datalake/setup.py +++ b/sdk/storage/azure-storage-file-datalake/setup.py @@ -72,7 +72,7 @@ author_email='ascl@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python', classifiers=[ - "Development Status :: 5 - Production/Stable", + "Development Status :: 4 - Beta", 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/sdk/storage/azure-storage-file-share/CHANGELOG.md b/sdk/storage/azure-storage-file-share/CHANGELOG.md index 784aa8b70dac..9fe26a934111 100644 --- a/sdk/storage/azure-storage-file-share/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-share/CHANGELOG.md @@ -1,6 +1,10 @@ # Release History -## 12.2.1 (Unreleased) +## 12.3.0b1 (2020-10-02) +**New features** +- Added support for enabling SMB Multichannel for the share service. +- Added support for leasing a share. +- Added support for getting the range diff between current file and a snapshot as well as getting the diff between two file snapshots. ## 12.2.0 (2020-08-13) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py index c7e18b39cee7..3174c505095c 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.2.1" +VERSION = "12.3.0b1" diff --git a/sdk/storage/azure-storage-file-share/setup.py b/sdk/storage/azure-storage-file-share/setup.py index e4cc87aae80a..74655734004e 100644 --- a/sdk/storage/azure-storage-file-share/setup.py +++ b/sdk/storage/azure-storage-file-share/setup.py @@ -58,7 +58,7 @@ author_email='ascl@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-file-share', classifiers=[ - "Development Status :: 5 - Production/Stable", + "Development Status :: 4 - Beta", 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', From 0895b0c8d142de3bc4d18f204566719edf5031ef Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Fri, 2 Oct 2020 17:40:42 -0400 Subject: [PATCH 58/71] [text analytics] regen TA with GA autorest (#14215) --- .../azure-ai-textanalytics/CHANGELOG.md | 2 ++ .../_generated/_operations_mixin.py | 34 ++++++++----------- .../_generated/_text_analytics_client.py | 10 ++---- .../_generated/aio/_operations_mixin.py | 34 ++++++++----------- .../_generated/aio/_text_analytics_client.py | 10 ++---- .../_generated/v3_0/_metadata.json | 19 ++++++----- .../_generated/v3_0/_text_analytics_client.py | 1 + .../v3_0/aio/_text_analytics_client.py | 1 + .../_text_analytics_client_operations.py | 22 ++++++++---- .../_text_analytics_client_operations.py | 22 ++++++++---- .../_generated/v3_1_preview_2/_metadata.json | 19 ++++++----- .../v3_1_preview_2/_text_analytics_client.py | 1 + .../aio/_text_analytics_client.py | 1 + .../_text_analytics_client_operations.py | 26 ++++++++++---- .../v3_1_preview_2/models/_models.py | 5 +-- .../v3_1_preview_2/models/_models_py3.py | 5 +-- .../_text_analytics_client_operations.py | 26 ++++++++++---- .../textanalytics/_text_analytics_client.py | 10 +++--- .../aio/_text_analytics_client_async.py | 10 +++--- .../tests/test_analyze_sentiment.py | 2 +- .../tests/test_analyze_sentiment_async.py | 2 +- .../tests/test_recognize_pii_entities.py | 2 +- .../test_recognize_pii_entities_async.py | 2 +- 23 files changed, 148 insertions(+), 118 deletions(-) diff --git a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md index b8185904438e..3ce1de250829 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md +++ b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md @@ -5,6 +5,8 @@ **Breaking changes** - Removed property `length` from `CategorizedEntity`, `SentenceSentiment`, `LinkedEntityMatch`, `AspectSentiment`, `OpinionSentiment`, and `PiiEntity`. To get the length of the text in these models, just call `len()` on the `text` property. +- When a parameter or endpoint is not compatible with the API version you specify, we will now return a `ValueError` instead of a `NotImplementedError`. +- Client side validation of input is now disabled by default. This means there will be no `ValidationError`s thrown by the client SDK in the case of malformed input, the service will throw an error instead in an `HttpResponseError` ## 5.1.0b1 (2020-09-17) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py index 7eced5ce74c8..1f230fc06a5d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py @@ -12,7 +12,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,16 +52,15 @@ def entities_linking( api_version = self._get_api_version('entities_linking') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_linking'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) @@ -95,16 +94,15 @@ def entities_recognition_general( api_version = self._get_api_version('entities_recognition_general') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_recognition_general'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) @@ -145,16 +143,15 @@ def entities_recognition_pii( :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_pii') - if api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.2': + if api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_recognition_pii'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.entities_recognition_pii(documents, model_version, show_stats, domain, string_index_type, **kwargs) @@ -187,16 +184,15 @@ def key_phrases( api_version = self._get_api_version('key_phrases') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'key_phrases'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) @@ -230,16 +226,15 @@ def languages( api_version = self._get_api_version('languages') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'languages'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.languages(documents, model_version, show_stats, **kwargs) @@ -273,15 +268,14 @@ def sentiment( api_version = self._get_api_version('sentiment') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from .v3_1_preview_2.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'sentiment'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py index 21f45b0de3d3..e4c9a798546e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py @@ -63,12 +63,10 @@ def __init__( ): if api_version == 'v3.0': base_url = '{Endpoint}/text/analytics/v3.0' - elif api_version == 'v3.1-preview.1': - base_url = '{Endpoint}/text/analytics/v3.1-preview.1' elif api_version == 'v3.1-preview.2': base_url = '{Endpoint}/text/analytics/v3.1-preview.2' else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) super(TextAnalyticsClient, self).__init__( @@ -85,19 +83,15 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * v3.0: :mod:`v3_0.models` - * v3.1-preview.1: :mod:`v3_1_preview_1.models` * v3.1-preview.2: :mod:`v3_1_preview_2.models` """ if api_version == 'v3.0': from .v3_0 import models return models - elif api_version == 'v3.1-preview.1': - from .v3_1_preview_1 import models - return models elif api_version == 'v3.1-preview.2': from .v3_1_preview_2 import models return models - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) def close(self): self._client.close() diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py index 21d8aa60ea33..8262099df631 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py @@ -12,7 +12,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -48,16 +48,15 @@ async def entities_linking( api_version = self._get_api_version('entities_linking') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_linking'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) @@ -91,16 +90,15 @@ async def entities_recognition_general( api_version = self._get_api_version('entities_recognition_general') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_recognition_general'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) @@ -141,16 +139,15 @@ async def entities_recognition_pii( :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_pii') - if api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.2': + if api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'entities_recognition_pii'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.entities_recognition_pii(documents, model_version, show_stats, domain, string_index_type, **kwargs) @@ -183,16 +180,15 @@ async def key_phrases( api_version = self._get_api_version('key_phrases') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'key_phrases'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) @@ -226,16 +222,15 @@ async def languages( api_version = self._get_api_version('languages') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'languages'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.languages(documents, model_version, show_stats, **kwargs) @@ -269,15 +264,14 @@ async def sentiment( api_version = self._get_api_version('sentiment') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} does not have operation 'sentiment'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py index 7e0ad529d83d..8f864b88e72b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py @@ -63,12 +63,10 @@ def __init__( ) -> None: if api_version == 'v3.0': base_url = '{Endpoint}/text/analytics/v3.0' - elif api_version == 'v3.1-preview.1': - base_url = '{Endpoint}/text/analytics/v3.1-preview.1' elif api_version == 'v3.1-preview.2': base_url = '{Endpoint}/text/analytics/v3.1-preview.2' else: - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) super(TextAnalyticsClient, self).__init__( @@ -85,19 +83,15 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * v3.0: :mod:`v3_0.models` - * v3.1-preview.1: :mod:`v3_1_preview_1.models` * v3.1-preview.2: :mod:`v3_1_preview_2.models` """ if api_version == 'v3.0': from ..v3_0 import models return models - elif api_version == 'v3.1-preview.1': - from ..v3_1_preview_1 import models - return models elif api_version == 'v3.1-preview.2': from ..v3_1_preview_2 import models return models - raise NotImplementedError("APIVersion {} is not available".format(api_version)) + raise ValueError("API version {} is not available".format(api_version)) async def close(self): await self._client.close() diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json index 0cecd36ac90b..aa353a1f074d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json @@ -8,32 +8,33 @@ "base_url": null, "custom_base_url": "\u0027{Endpoint}/text/analytics/v3.0\u0027", "azure_arm": false, - "has_lro_operations": false + "has_lro_operations": false, + "client_side_validation": false }, "global_parameters": { - "sync_method": { + "sync": { "credential": { - "method_signature": "credential, # type: \"TokenCredential\"", + "signature": "credential, # type: \"TokenCredential\"", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials.TokenCredential", "required": true }, "endpoint": { - "method_signature": "endpoint, # type: str", + "signature": "endpoint, # type: str", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", "docstring_type": "str", "required": true } }, - "async_method": { + "async": { "credential": { - "method_signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential, # type: \"AsyncTokenCredential\"", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "endpoint": { - "method_signature": "endpoint, # type: str", + "signature": "endpoint, # type: str", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", "docstring_type": "str", "required": true @@ -114,6 +115,6 @@ "call": "documents, model_version, show_stats" } }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\"]}}}" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\"]}}}" } \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_text_analytics_client.py index c7754a163d67..3a7c99f7257a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_text_analytics_client.py @@ -44,6 +44,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/_text_analytics_client.py index 23c10e40524f..9e658f7b4af9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/_text_analytics_client.py @@ -41,6 +41,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py index f7bdb178b87b..53333fa3e5f2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -47,7 +47,9 @@ async def entities_recognition_general( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -120,7 +122,9 @@ async def entities_linking( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntityLinkingResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -193,7 +197,9 @@ async def key_phrases( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.KeyPhraseResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -267,7 +273,9 @@ async def languages( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LanguageResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.LanguageBatchInput(documents=documents) @@ -341,7 +349,9 @@ async def sentiment( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SentimentResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/operations/_text_analytics_client_operations.py index 0fc2c25d14ef..9e2a8ff5f01e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/operations/_text_analytics_client_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -52,7 +52,9 @@ def entities_recognition_general( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -126,7 +128,9 @@ def entities_linking( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntityLinkingResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -200,7 +204,9 @@ def key_phrases( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.KeyPhraseResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -275,7 +281,9 @@ def languages( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LanguageResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.LanguageBatchInput(documents=documents) @@ -350,7 +358,9 @@ def sentiment( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SentimentResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_metadata.json b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_metadata.json index 1fe442b56d2f..6169e7300adc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_metadata.json +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_metadata.json @@ -8,32 +8,33 @@ "base_url": null, "custom_base_url": "\u0027{Endpoint}/text/analytics/v3.1-preview.2\u0027", "azure_arm": false, - "has_lro_operations": false + "has_lro_operations": false, + "client_side_validation": false }, "global_parameters": { - "sync_method": { + "sync": { "credential": { - "method_signature": "credential, # type: \"TokenCredential\"", + "signature": "credential, # type: \"TokenCredential\"", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials.TokenCredential", "required": true }, "endpoint": { - "method_signature": "endpoint, # type: str", + "signature": "endpoint, # type: str", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", "docstring_type": "str", "required": true } }, - "async_method": { + "async": { "credential": { - "method_signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential, # type: \"AsyncTokenCredential\"", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "endpoint": { - "method_signature": "endpoint, # type: str", + "signature": "endpoint, # type: str", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", "docstring_type": "str", "required": true @@ -126,6 +127,6 @@ "call": "documents, model_version, show_stats, opinion_mining, string_index_type" } }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}" } \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_text_analytics_client.py index 816d79abf80c..1e3c9bad5e20 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/_text_analytics_client.py @@ -44,6 +44,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/_text_analytics_client.py index cd8b14f4ad6f..823e21b32690 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/_text_analytics_client.py @@ -41,6 +41,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/operations/_text_analytics_client_operations.py index e9c991e24f82..41a0fe680745 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/aio/operations/_text_analytics_client_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -52,7 +52,9 @@ async def entities_recognition_general( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -137,7 +139,9 @@ async def entities_recognition_pii( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PiiEntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -219,7 +223,9 @@ async def entities_linking( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntityLinkingResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -294,7 +300,9 @@ async def key_phrases( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.KeyPhraseResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -368,7 +376,9 @@ async def languages( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LanguageResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.LanguageBatchInput(documents=documents) @@ -450,7 +460,9 @@ async def sentiment( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SentimentResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models.py index 285699e441d1..e1a68a8f3518 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models.py @@ -891,7 +891,7 @@ class PiiDocumentEntities(msrest.serialization.Model): :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. :type statistics: ~azure.ai.textanalytics.v3_1_preview_2.models.DocumentStatistics - :param redacted_text: Returns redacted text. + :param redacted_text: Required. Returns redacted text. :type redacted_text: str """ @@ -899,6 +899,7 @@ class PiiDocumentEntities(msrest.serialization.Model): 'id': {'required': True}, 'entities': {'required': True}, 'warnings': {'required': True}, + 'redacted_text': {'required': True}, } _attribute_map = { @@ -918,7 +919,7 @@ def __init__( self.entities = kwargs['entities'] self.warnings = kwargs['warnings'] self.statistics = kwargs.get('statistics', None) - self.redacted_text = kwargs.get('redacted_text', None) + self.redacted_text = kwargs['redacted_text'] class PiiEntitiesResult(msrest.serialization.Model): diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models_py3.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models_py3.py index 11130a54922a..0e46fdbdb097 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models_py3.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/models/_models_py3.py @@ -998,7 +998,7 @@ class PiiDocumentEntities(msrest.serialization.Model): :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. :type statistics: ~azure.ai.textanalytics.v3_1_preview_2.models.DocumentStatistics - :param redacted_text: Returns redacted text. + :param redacted_text: Required. Returns redacted text. :type redacted_text: str """ @@ -1006,6 +1006,7 @@ class PiiDocumentEntities(msrest.serialization.Model): 'id': {'required': True}, 'entities': {'required': True}, 'warnings': {'required': True}, + 'redacted_text': {'required': True}, } _attribute_map = { @@ -1022,8 +1023,8 @@ def __init__( id: str, entities: List["Entity"], warnings: List["TextAnalyticsWarning"], + redacted_text: str, statistics: Optional["DocumentStatistics"] = None, - redacted_text: Optional[str] = None, **kwargs ): super(PiiDocumentEntities, self).__init__(**kwargs) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/operations/_text_analytics_client_operations.py index 2a63ac9ecb1a..1097a08f74a7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_2/operations/_text_analytics_client_operations.py @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING import warnings -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpRequest, HttpResponse @@ -57,7 +57,9 @@ def entities_recognition_general( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -143,7 +145,9 @@ def entities_recognition_pii( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PiiEntitiesResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -226,7 +230,9 @@ def entities_linking( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.EntityLinkingResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -302,7 +308,9 @@ def key_phrases( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.KeyPhraseResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) @@ -377,7 +385,9 @@ def languages( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LanguageResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.LanguageBatchInput(documents=documents) @@ -460,7 +470,9 @@ def sentiment( :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SentimentResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } error_map.update(kwargs.pop('error_map', {})) _input = models.MultiLanguageBatchInput(documents=documents) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py index a9551bdaac9e..c28ba4195874 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py @@ -269,7 +269,7 @@ def recognize_pii_entities( # type: ignore were passed in. :rtype: list[~azure.ai.textanalytics.RecognizePiiEntitiesResult, ~azure.ai.textanalytics.DocumentError] - :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError or NotImplementedError: + :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError: .. admonition:: Example: @@ -297,9 +297,9 @@ def recognize_pii_entities( # type: ignore cls=kwargs.pop("cls", pii_entities_result), **kwargs ) - except NotImplementedError as error: - if "APIVersion v3.0 is not available" in str(error): - raise NotImplementedError( + except ValueError as error: + if "API version v3.0 does not have operation 'entities_recognition_pii'" in str(error): + raise ValueError( "'recognize_pii_entities' endpoint is only available for API version v3.1-preview and up" ) raise error @@ -518,7 +518,7 @@ def analyze_sentiment( # type: ignore ) except TypeError as error: if "opinion_mining" in str(error): - raise NotImplementedError( + raise ValueError( "'show_opinion_mining' is only available for API version v3.1-preview and up" ) raise error diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py index 7c918f60d6d1..29e66880f9d1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py @@ -271,7 +271,7 @@ async def recognize_pii_entities( # type: ignore were passed in. :rtype: list[~azure.ai.textanalytics.RecognizePiiEntitiesResult, ~azure.ai.textanalytics.DocumentError] - :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError or NotImplementedError: + :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError: .. admonition:: Example: @@ -300,9 +300,9 @@ async def recognize_pii_entities( # type: ignore cls=kwargs.pop("cls", pii_entities_result), **kwargs ) - except NotImplementedError as error: - if "APIVersion v3.0 is not available" in str(error): - raise NotImplementedError( + except ValueError as error: + if "API version v3.0 does not have operation 'entities_recognition_pii'" in str(error): + raise ValueError( "'recognize_pii_entities' endpoint is only available for API version v3.1-preview and up" ) raise error @@ -519,7 +519,7 @@ async def analyze_sentiment( # type: ignore ) except TypeError as error: if "opinion_mining" in str(error): - raise NotImplementedError( + raise ValueError( "'show_opinion_mining' is only available for API version v3.1-preview and up" ) raise error diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py index b7999dfb8ce1..f7766b0215b0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py @@ -690,7 +690,7 @@ def test_opinion_mining_no_mined_opinions(self, client): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) def test_opinion_mining_v3(self, client): - with pytest.raises(NotImplementedError) as excinfo: + with pytest.raises(ValueError) as excinfo: client.analyze_sentiment(["will fail"], show_opinion_mining=True) assert "'show_opinion_mining' is only available for API version v3.1-preview and up" in str(excinfo.value) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py index fef0c7111d1a..c709b9967152 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py @@ -705,7 +705,7 @@ async def test_opinion_mining_no_mined_opinions(self, client): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) async def test_opinion_mining_v3(self, client): - with pytest.raises(NotImplementedError) as excinfo: + with pytest.raises(ValueError) as excinfo: await client.analyze_sentiment(["will fail"], show_opinion_mining=True) assert "'show_opinion_mining' is only available for API version v3.1-preview and up" in str(excinfo.value) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py index fc62d6510e03..df84800efccd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py @@ -565,7 +565,7 @@ def callback(response): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) def test_recognize_pii_entities_v3(self, client): - with pytest.raises(NotImplementedError) as excinfo: + with pytest.raises(ValueError) as excinfo: client.recognize_pii_entities(["this should fail"]) assert "'recognize_pii_entities' endpoint is only available for API version v3.1-preview and up" in str(excinfo.value) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py index 4949bc54b1e5..7d062f5fff28 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py @@ -566,7 +566,7 @@ def callback(response): @GlobalTextAnalyticsAccountPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) async def test_recognize_pii_entities_v3(self, client): - with pytest.raises(NotImplementedError) as excinfo: + with pytest.raises(ValueError) as excinfo: await client.recognize_pii_entities(["this should fail"]) assert "'recognize_pii_entities' endpoint is only available for API version v3.1-preview and up" in str(excinfo.value) From 5c56b810bd7a60844c6e339800415970144e08eb Mon Sep 17 00:00:00 2001 From: KieranBrantnerMagee Date: Fri, 2 Oct 2020 15:06:58 -0700 Subject: [PATCH 59/71] [ServiceBus] CI Test hotfixes (#14195) * See if we can identify why the preparer is going sideways with the cosmos changes in CI. * try using testclassinstance islive as a more proper approach. if this doesn't work, may try a devtoolsutils import in a try catch as a final hail mairy for is_live() to match the decorator itself. * Remove debug prints from preparer hotfix --- .../src/azure_devtools/scenario_tests/preparers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py index 7ba736fec903..7496b5de5de6 100644 --- a/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py +++ b/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py @@ -45,7 +45,7 @@ def _prepare_create_resource(self, test_class_instance, **kwargs): # generated, so in_recording will be True even if live_test is false, so a random name would be given. # In cached mode we need to avoid this because then for tests with recordings, they would not have a moniker. if (self.live_test or test_class_instance.in_recording) \ - and not (not self.live_test and test_class_instance.in_recording and self._use_cache): + and not (not test_class_instance.is_live and test_class_instance.in_recording and self._use_cache): resource_name = self.random_name if not self.live_test and isinstance(self, RecordingProcessor): test_class_instance.recording_processors.append(self) From e0b6f60b98e7a173723433a9b77c67a401ee968f Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 2 Oct 2020 16:03:03 -0700 Subject: [PATCH 60/71] Update Key Vault changelogs for October release (#14226) --- .../azure-keyvault-administration/CHANGELOG.md | 12 +++++++++++- sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | 7 +++++-- .../azure/keyvault/keys/_version.py | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md index 48de42b9b583..a619b723ec20 100644 --- a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md @@ -1,7 +1,17 @@ # Release History -## 4.0.0b2 (Unreleased) +## 4.0.0b2 (2020-10-06) +### Added +- `KeyVaultBackupClient.get_backup_status` and `.get_restore_status` enable + checking the status of a pending operation by its job ID + ([#13718](https://github.com/Azure/azure-sdk-for-python/issues/13718)) +### Breaking Changes +- The `role_assignment_name` parameter of + `KeyVaultAccessControlClient.create_role_assignment` is now an optional + keyword-only argument. When this argument isn't passed, the client will + generate a name for the role assignment. + ([#13512](https://github.com/Azure/azure-sdk-for-python/issues/13512)) ## 4.0.0b1 (2020-09-08) ### Added diff --git a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md index 64279ca98878..bf86c7165e4b 100644 --- a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md @@ -1,10 +1,13 @@ # Release History -## 4.2.1 (Unreleased) +## 4.3.0 (2020-10-06) +### Changed +- `CryptographyClient` can perform decrypt and sign operations locally + ([#9754](https://github.com/Azure/azure-sdk-for-python/issues/9754)) + ### Fixed - Correct typing for async paging methods - ## 4.2.0 (2020-08-11) ### Fixed - Values of `x-ms-keyvault-region` and `x-ms-keyvault-service-version` headers diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py index 6ef4ec041a90..0d3545d5469f 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "4.2.1" +VERSION = "4.3.0" From ce3c59e4758a42a526e2d020b1b8ae81b4809df3 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 2 Oct 2020 16:05:22 -0700 Subject: [PATCH 61/71] Increment version for storage releases (#14224) Increment package version after release of azure_storage_file_share --- sdk/storage/azure-storage-blob/CHANGELOG.md | 3 +++ sdk/storage/azure-storage-blob/azure/storage/blob/_version.py | 2 +- sdk/storage/azure-storage-file-datalake/CHANGELOG.md | 3 +++ .../azure/storage/filedatalake/_version.py | 2 +- sdk/storage/azure-storage-file-share/CHANGELOG.md | 3 +++ .../azure/storage/fileshare/_version.py | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sdk/storage/azure-storage-blob/CHANGELOG.md b/sdk/storage/azure-storage-blob/CHANGELOG.md index 5adeca2c871c..5b13930ab93a 100644 --- a/sdk/storage/azure-storage-blob/CHANGELOG.md +++ b/sdk/storage/azure-storage-blob/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 12.6.0b2 (Unreleased) + + ## 12.6.0b1 (2020-10-02) **New features*** - Added support for Arrow format (`ArrowType`) output serialization using `quick_query()`. diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py index 202620c82c6d..fa1f7b91264e 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.6.0b1" +VERSION = "12.6.0b2" diff --git a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md index c00e212860f4..b022a86f24a5 100644 --- a/sdk/storage/azure-storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-datalake/CHANGELOG.md @@ -1,4 +1,7 @@ # Release History +## 12.2.0b2 (Unreleased) + + ## 12.2.0b1 (2020-10-02) **New Features** - Added support for recursive set/update/remove Access Control on a path and sub-paths. diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py index dd22d879d99d..c2d24b274ebe 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.2.0b1" +VERSION = "12.2.0b2" diff --git a/sdk/storage/azure-storage-file-share/CHANGELOG.md b/sdk/storage/azure-storage-file-share/CHANGELOG.md index 9fe26a934111..d38adbad093c 100644 --- a/sdk/storage/azure-storage-file-share/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-share/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 12.3.0b2 (Unreleased) + + ## 12.3.0b1 (2020-10-02) **New features** - Added support for enabling SMB Multichannel for the share service. diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py index 3174c505095c..f1a67be5b28b 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py @@ -4,4 +4,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "12.3.0b1" +VERSION = "12.3.0b2" From bfaaad3bf2ee0e6e1987b36d2b14e3fe029c5765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Fri, 2 Oct 2020 16:37:23 -0700 Subject: [PATCH 62/71] [KeyVault] Handle Role Definition UUID Name Internally (#14218) * Make role_assignment_name kwarg for create_role_assignment * Fix async client and tests * Fix default UUID setting, run black * Use *correct* black options * Make pylint happy (wrt ungrouped imports) --- .../administration/_access_control_client.py | 12 +++++++----- .../administration/aio/_access_control_client.py | 15 ++++++--------- .../tests/test_access_control.py | 2 +- .../tests/test_access_control_async.py | 2 +- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_access_control_client.py b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_access_control_client.py index 03cf21ca5aa1..8c80c69032e5 100644 --- a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_access_control_client.py +++ b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_access_control_client.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. # ------------------------------------ from typing import TYPE_CHECKING +from uuid import uuid4 from azure.core.tracing.decorator import distributed_trace @@ -10,6 +11,7 @@ from ._internal import KeyVaultClientBase if TYPE_CHECKING: + # pylint:disable=ungrouped-imports from typing import Any, Union from uuid import UUID from azure.core.paging import ItemPaged @@ -27,18 +29,18 @@ class KeyVaultAccessControlClient(KeyVaultClientBase): # pylint:disable=protected-access @distributed_trace - def create_role_assignment(self, role_scope, role_assignment_name, role_definition_id, principal_id, **kwargs): - # type: (Union[str, KeyVaultRoleScope], Union[str, UUID], str, str, **Any) -> KeyVaultRoleAssignment + def create_role_assignment(self, role_scope, role_definition_id, principal_id, **kwargs): + # type: (Union[str, KeyVaultRoleScope], str, str, **Any) -> KeyVaultRoleAssignment """Create a role assignment. :param role_scope: scope the role assignment will apply over. :class:`KeyVaultRoleScope` defines common broad scopes. Specify a narrower scope as a string. :type role_scope: str or KeyVaultRoleScope - :param role_assignment_name: a name for the role assignment. Must be a UUID. - :type role_assignment_name: str or uuid.UUID :param str role_definition_id: ID of the role's definition :param str principal_id: Azure Active Directory object ID of the principal which will be assigned the role. The principal can be a user, service principal, or security group. + :keyword role_assignment_name: a name for the role assignment. Must be a UUID. + :type role_assignment_name: str or uuid.UUID :rtype: KeyVaultRoleAssignment """ create_parameters = self._client.role_assignments.models.RoleAssignmentCreateParameters( @@ -49,7 +51,7 @@ def create_role_assignment(self, role_scope, role_assignment_name, role_definiti assignment = self._client.role_assignments.create( vault_base_url=self._vault_url, scope=role_scope, - role_assignment_name=role_assignment_name, + role_assignment_name=kwargs.pop("role_assignment_name", None) or uuid4(), parameters=create_parameters, **kwargs ) diff --git a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_access_control_client.py b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_access_control_client.py index fcc0fa53ede6..0104e25c2365 100644 --- a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_access_control_client.py +++ b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/aio/_access_control_client.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. # ------------------------------------ from typing import TYPE_CHECKING +from uuid import uuid4 from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async @@ -11,6 +12,7 @@ from .._internal import AsyncKeyVaultClientBase if TYPE_CHECKING: + # pylint:disable=ungrouped-imports from typing import Any, Union from uuid import UUID from azure.core.async_paging import AsyncItemPaged @@ -29,23 +31,18 @@ class KeyVaultAccessControlClient(AsyncKeyVaultClientBase): @distributed_trace_async async def create_role_assignment( - self, - role_scope: "Union[str, KeyVaultRoleScope]", - role_assignment_name: "Union[str, UUID]", - role_definition_id: str, - principal_id: str, - **kwargs: "Any" + self, role_scope: "Union[str, KeyVaultRoleScope]", role_definition_id: str, principal_id: str, **kwargs: "Any" ) -> KeyVaultRoleAssignment: """Create a role assignment. :param role_scope: scope the role assignment will apply over. :class:`KeyVaultRoleScope` defines common broad scopes. Specify a narrower scope as a string. :type role_scope: str or KeyVaultRoleScope - :param role_assignment_name: a name for the role assignment. Must be a UUID. - :type role_assignment_name: str or uuid.UUID :param str role_definition_id: ID of the role's definition :param str principal_id: Azure Active Directory object ID of the principal which will be assigned the role. The principal can be a user, service principal, or security group. + :keyword role_assignment_name: a name for the role assignment. Must be a UUID. + :type role_assignment_name: str or uuid.UUID :rtype: KeyVaultRoleAssignment """ create_parameters = self._client.role_assignments.models.RoleAssignmentCreateParameters( @@ -56,7 +53,7 @@ async def create_role_assignment( assignment = await self._client.role_assignments.create( vault_base_url=self._vault_url, scope=role_scope, - role_assignment_name=role_assignment_name, + role_assignment_name=kwargs.pop("role_assignment_name", None) or uuid4(), parameters=create_parameters, **kwargs ) diff --git a/sdk/keyvault/azure-keyvault-administration/tests/test_access_control.py b/sdk/keyvault/azure-keyvault-administration/tests/test_access_control.py index d2bf339766a2..e5939966d22e 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/test_access_control.py +++ b/sdk/keyvault/azure-keyvault-administration/tests/test_access_control.py @@ -66,7 +66,7 @@ def test_role_assignment(self, client): principal_id = self.get_service_principal_id() name = self.get_replayable_uuid("some-uuid") - created = client.create_role_assignment(scope, name, definition.id, principal_id) + created = client.create_role_assignment(scope, definition.id, principal_id, role_assignment_name=name) assert created.name == name assert created.principal_id == principal_id assert created.role_definition_id == definition.id diff --git a/sdk/keyvault/azure-keyvault-administration/tests/test_access_control_async.py b/sdk/keyvault/azure-keyvault-administration/tests/test_access_control_async.py index d0cd50d36534..75985b090060 100644 --- a/sdk/keyvault/azure-keyvault-administration/tests/test_access_control_async.py +++ b/sdk/keyvault/azure-keyvault-administration/tests/test_access_control_async.py @@ -71,7 +71,7 @@ async def test_role_assignment(self, client): principal_id = self.get_service_principal_id() name = self.get_replayable_uuid("some-uuid") - created = await client.create_role_assignment(scope, name, definition.id, principal_id) + created = await client.create_role_assignment(scope, definition.id, principal_id, role_assignment_name=name) assert created.name == name assert created.principal_id == principal_id assert created.role_definition_id == definition.id From cf1672bc281994f1090d12bd520be551d666e1ff Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 2 Oct 2020 17:03:23 -0700 Subject: [PATCH 63/71] app config owner (#12986) * app config owner * Update CODEOWNERS --- .github/CODEOWNERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 919807f5f840..9d2e3df08d85 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -25,6 +25,9 @@ # PRLabel: %Storage /sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft @tasherif-msft @kasobol-msft +# PRLabel: %App Configuration +/sdk/appconfiguration/ @xiangyan99 + /sdk/applicationinsights/azure-applicationinsights/ @divya-jay @geneh @alongafni /sdk/loganalytics/azure-loganalytics/ @divya-jay @geneh @alongafni From 6e5caf225f11d88ce162bd4e0c16cad9b44c7699 Mon Sep 17 00:00:00 2001 From: KieranBrantnerMagee Date: Fri, 2 Oct 2020 17:41:28 -0700 Subject: [PATCH 64/71] [ServiceBus]remove topic parameter object settability (#14116) * Initial conversion to make mgmt operations be name-parameterized-only (instead of objects) * Make administration client operations take only entity names, not full entity objects, for non-update functions. Co-authored-by: Adam Ling (MSFT) --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 1 + .../management/_management_client_async.py | 182 ++++-------- .../management/_management_client.py | 206 +++++--------- .../azure/servicebus/management/_utils.py | 19 ++ .../mgmt_tests/mgmt_test_utilities_async.py | 4 +- ....test_async_mgmt_queue_create_by_name.yaml | 40 +-- ...est_async_mgmt_queue_create_duplicate.yaml | 36 +-- ...t_queue_create_with_queue_description.yaml | 40 +-- ...nc.test_async_mgmt_queue_delete_basic.yaml | 100 +++---- ....test_async_mgmt_queue_delete_negtive.yaml | 64 ++--- ...eue_delete_one_and_check_not_existing.yaml | 258 +++++++++--------- ...ync_mgmt_queue_get_runtime_info_basic.yaml | 48 ++-- ..._mgmt_queue_get_runtime_info_negative.yaml | 8 +- ...sync.test_async_mgmt_queue_list_basic.yaml | 104 +++---- ...nc_mgmt_queue_list_runtime_info_basic.yaml | 94 +++---- ...t_queue_list_with_negative_credential.yaml | 16 +- ...nc_mgmt_queue_list_with_special_chars.yaml | 56 ++-- ....test_async_mgmt_queue_update_invalid.yaml | 60 ++-- ....test_async_mgmt_queue_update_success.yaml | 86 +++--- ...les_async.test_async_mgmt_rule_create.yaml | 160 +++++------ ...test_async_mgmt_rule_create_duplicate.yaml | 86 +++--- ....test_async_mgmt_rule_list_and_delete.yaml | 228 ++++++++-------- ...c.test_async_mgmt_rule_update_invalid.yaml | 104 +++---- ...c.test_async_mgmt_rule_update_success.yaml | 120 ++++---- ...sync_mgmt_subscription_create_by_name.yaml | 60 ++-- ...nc_mgmt_subscription_create_duplicate.yaml | 56 ++-- ..._create_with_subscription_description.yaml | 60 ++-- ...c.test_async_mgmt_subscription_delete.yaml | 144 +++++----- ...t_subscription_get_runtime_info_basic.yaml | 72 ++--- ...ync.test_async_mgmt_subscription_list.yaml | 108 ++++---- ...c_mgmt_subscription_list_runtime_info.yaml | 128 ++++----- ...sync_mgmt_subscription_update_invalid.yaml | 70 ++--- ...sync_mgmt_subscription_update_success.yaml | 108 ++++---- ....test_async_mgmt_topic_create_by_name.yaml | 40 +-- ...est_async_mgmt_topic_create_duplicate.yaml | 36 +-- ...t_topic_create_with_topic_description.yaml | 40 +-- ...cs_async.test_async_mgmt_topic_delete.yaml | 128 ++++----- ...ync_mgmt_topic_get_runtime_info_basic.yaml | 48 ++-- ...pics_async.test_async_mgmt_topic_list.yaml | 80 +++--- ...st_async_mgmt_topic_list_runtime_info.yaml | 94 +++---- ....test_async_mgmt_topic_update_invalid.yaml | 48 ++-- ....test_async_mgmt_topic_update_success.yaml | 86 +++--- .../mgmt_tests/test_mgmt_queues_async.py | 6 +- .../mgmt_tests/test_mgmt_rules_async.py | 8 +- .../test_mgmt_subscriptions_async.py | 10 +- .../mgmt_tests/test_mgmt_topics_async.py | 4 +- .../tests/mgmt_tests/mgmt_test_utilities.py | 4 +- ...queues.test_mgmt_queue_create_by_name.yaml | 32 +-- ...eues.test_mgmt_queue_create_duplicate.yaml | 28 +- ...t_queue_create_with_queue_description.yaml | 32 +-- ...t_queues.test_mgmt_queue_delete_basic.yaml | 82 +++--- ...queues.test_mgmt_queue_delete_negtive.yaml | 50 ++-- ...eue_delete_one_and_check_not_existing.yaml | 212 +++++++------- ...est_mgmt_queue_get_runtime_info_basic.yaml | 40 +-- ..._mgmt_queue_get_runtime_info_negative.yaml | 6 +- ...gmt_queues.test_mgmt_queue_list_basic.yaml | 82 +++--- ...st_mgmt_queue_list_runtime_info_basic.yaml | 78 +++--- ...t_queue_list_with_negative_credential.yaml | 12 +- ...st_mgmt_queue_list_with_special_chars.yaml | 44 +-- ...queues.test_mgmt_queue_update_invalid.yaml | 48 ++-- ...queues.test_mgmt_queue_update_success.yaml | 72 ++--- ...test_mgmt_rules.test_mgmt_rule_create.yaml | 132 ++++----- ...rules.test_mgmt_rule_create_duplicate.yaml | 70 ++--- ..._rules.test_mgmt_rule_list_and_delete.yaml | 198 +++++++------- ...t_rules.test_mgmt_rule_update_invalid.yaml | 86 +++--- ...t_rules.test_mgmt_rule_update_success.yaml | 100 +++---- ...test_mgmt_subscription_create_by_name.yaml | 48 ++-- ...st_mgmt_subscription_create_duplicate.yaml | 44 +-- ..._create_with_subscription_description.yaml | 48 ++-- ...iptions.test_mgmt_subscription_delete.yaml | 120 ++++---- ...t_subscription_get_runtime_info_basic.yaml | 60 ++-- ...criptions.test_mgmt_subscription_list.yaml | 88 +++--- ...t_mgmt_subscription_list_runtime_info.yaml | 108 ++++---- ...test_mgmt_subscription_update_invalid.yaml | 56 ++-- ...test_mgmt_subscription_update_success.yaml | 88 +++--- ...topics.test_mgmt_topic_create_by_name.yaml | 32 +-- ...pics.test_mgmt_topic_create_duplicate.yaml | 28 +- ...t_topic_create_with_topic_description.yaml | 32 +-- ...st_mgmt_topics.test_mgmt_topic_delete.yaml | 106 +++---- ...est_mgmt_topic_get_runtime_info_basic.yaml | 40 +-- ...test_mgmt_topics.test_mgmt_topic_list.yaml | 64 ++--- ...ics.test_mgmt_topic_list_runtime_info.yaml | 78 +++--- ...topics.test_mgmt_topic_update_invalid.yaml | 38 +-- ...topics.test_mgmt_topic_update_success.yaml | 72 ++--- .../tests/mgmt_tests/test_mgmt_queues.py | 6 +- .../tests/mgmt_tests/test_mgmt_rules.py | 8 +- .../mgmt_tests/test_mgmt_subscriptions.py | 10 +- .../tests/mgmt_tests/test_mgmt_topics.py | 4 +- 88 files changed, 3015 insertions(+), 3125 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index a3415ad1f9da..08beca6852da 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -4,6 +4,7 @@ **Breaking Changes** * Passing any type other than `ReceiveMode` as parameter `receive_mode` now throws a `TypeError` instead of `AttributeError`. +* Administration Client calls now take only entity names, not `Descriptions` as well to reduce ambiguity in which entity was being acted on. TypeError will now be thrown on improper parameter types (non-string). ## 7.0.0b6 (2020-09-10) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py index f70e7a675394..46d1bac5816f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py @@ -36,7 +36,8 @@ from ...management._handle_response_error import _handle_response_error from ...management._model_workaround import avoid_timedelta_overflow from ._utils import extract_data_template, extract_rule_data_template, get_next_template -from ...management._utils import deserialize_rule_key_values, serialize_rule_key_values +from ...management._utils import deserialize_rule_key_values, serialize_rule_key_values, \ + _validate_entity_name_type, _validate_topic_and_subscription_types, _validate_topic_subscription_and_rule_types if TYPE_CHECKING: @@ -98,6 +99,7 @@ def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use async def _get_entity_element(self, entity_name, enrich=False, **kwargs): # type: (str, bool, Any) -> ElementTree + _validate_entity_name_type(entity_name) with _handle_response_error(): element = cast( @@ -108,6 +110,7 @@ async def _get_entity_element(self, entity_name, enrich=False, **kwargs): async def _get_subscription_element(self, topic_name, subscription_name, enrich=False, **kwargs): # type: (str, str, bool, Any) -> ElementTree + _validate_topic_and_subscription_types(topic_name, subscription_name) with _handle_response_error(): element = cast( @@ -119,6 +122,7 @@ async def _get_subscription_element(self, topic_name, subscription_name, enrich= async def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): # type: (str, str, str, Any) -> ElementTree + _validate_topic_subscription_and_rule_types(topic_name, subscription_name, rule_name) with _handle_response_error(): element = cast( @@ -302,17 +306,15 @@ async def update_queue(self, queue: QueueProperties, **kwargs) -> None: **kwargs ) - async def delete_queue(self, queue: Union[str, QueueProperties], **kwargs) -> None: + async def delete_queue(self, queue_name: str, **kwargs) -> None: """Delete a queue. - :param Union[str, azure.servicebus.management.QueueProperties] queue: The name of the queue or + :param str queue_name: The name of the queue or a `QueueProperties` with name. :rtype: None """ - try: - queue_name = queue.name # type: ignore - except AttributeError: - queue_name = queue + _validate_entity_name_type(queue_name) + if not queue_name: raise ValueError("queue_name must not be None or empty") with _handle_response_error(): @@ -498,16 +500,14 @@ async def update_topic(self, topic: TopicProperties, **kwargs) -> None: **kwargs ) - async def delete_topic(self, topic: Union[str, TopicProperties], **kwargs) -> None: + async def delete_topic(self, topic_name: str, **kwargs) -> None: """Delete a topic. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic to be deleted. + :param str topic_name: The topic to be deleted. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) + await self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) def list_topics(self, **kwargs: Any) -> AsyncItemPaged[TopicProperties]: @@ -549,18 +549,14 @@ def entry_to_topic(entry): get_next, extract_data) async def get_subscription( - self, topic: Union[str, TopicProperties], subscription_name: str, **kwargs + self, topic_name: str, subscription_name: str, **kwargs ) -> SubscriptionProperties: """Get the properties of a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic entry_ele = await self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -571,18 +567,14 @@ async def get_subscription( return subscription async def get_subscription_runtime_properties( - self, topic: Union[str, TopicProperties], subscription_name: str, **kwargs + self, topic_name: str, subscription_name: str, **kwargs ) -> SubscriptionRuntimeProperties: """Get a topic subscription runtime info. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic entry_ele = await self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -593,11 +585,11 @@ async def get_subscription_runtime_properties( return subscription async def create_subscription( - self, topic: Union[str, TopicProperties], name: str, **kwargs + self, topic_name: str, name: str, **kwargs ) -> SubscriptionProperties: """Create a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that will own the + :param str topic_name: The topic that will own the to-be-created subscription. :param name: Name of the subscription. :type name: str @@ -638,10 +630,8 @@ async def create_subscription( :type auto_delete_on_idle: ~datetime.timedelta :rtype: ~azure.servicebus.management.SubscriptionProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name, display_name='topic_name') + subscription = SubscriptionProperties( name, lock_duration=kwargs.pop("lock_duration", None), @@ -682,22 +672,19 @@ async def create_subscription( return result async def update_subscription( - self, topic: Union[str, TopicProperties], subscription: SubscriptionProperties, **kwargs + self, topic_name: str, subscription: SubscriptionProperties, **kwargs ) -> None: """Update a subscription. Before calling this method, you should use `get_subscription`, `update_subscription` or `list_subscription` to get a `SubscriptionProperties` instance, then update the properties. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param ~azure.servicebus.management.SubscriptionProperties subscription: The subscription that is returned from `get_subscription`, `update_subscription` or `list_subscription` and has the updated properties. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name, display_name='topic_name') to_update = subscription._to_internal_entity() @@ -721,37 +708,28 @@ async def update_subscription( ) async def delete_subscription( - self, topic: Union[str, TopicProperties], subscription: Union[str, SubscriptionProperties], **kwargs + self, topic_name: str, subscription_name: str, **kwargs ) -> None: """Delete a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription to be deleted. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) + await self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) def list_subscriptions( - self, topic: Union[str, TopicProperties], **kwargs: Any) -> AsyncItemPaged[SubscriptionProperties]: + self, topic_name: str, **kwargs: Any) -> AsyncItemPaged[SubscriptionProperties]: """List the subscriptions of a ServiceBus Topic. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :returns: An iterable (auto-paging) response of SubscriptionProperties. :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.SubscriptionProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) def entry_to_subscription(entry): subscription = SubscriptionProperties._from_internal_entity( @@ -768,17 +746,14 @@ def entry_to_subscription(entry): get_next, extract_data) def list_subscriptions_runtime_properties( - self, topic: Union[str, TopicProperties], **kwargs: Any) -> AsyncItemPaged[SubscriptionRuntimeProperties]: + self, topic_name: str, **kwargs: Any) -> AsyncItemPaged[SubscriptionRuntimeProperties]: """List the subscriptions runtime information of a ServiceBus. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :returns: An iterable (auto-paging) response of SubscriptionRuntimeProperties. :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.SubscriptionRuntimeProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) def entry_to_subscription(entry): subscription = SubscriptionRuntimeProperties._from_internal_entity( @@ -795,24 +770,16 @@ def entry_to_subscription(entry): get_next, extract_data) async def get_rule( - self, topic: Union[str, TopicProperties], subscription: Union[str, SubscriptionProperties], + self, topic_name: str, subscription_name: str, rule_name: str, **kwargs) -> RuleProperties: """Get the properties of a topic subscription rule. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the rule. :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription entry_ele = await self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) entry = RuleDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -824,13 +791,13 @@ async def get_rule( return rule_description async def create_rule( - self, topic: Union[str, TopicProperties], subscription: Union[str, SubscriptionProperties], + self, topic_name: str, subscription_name: str, name: str, **kwargs) -> RuleProperties: """Create a rule for a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that will own the + :param str topic_name: The topic that will own the to-be-created subscription rule. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str subscription_name: The subscription that will own the to-be-created rule. :param name: Name of the rule. :type name: str @@ -842,14 +809,8 @@ async def create_rule( :rtype: ~azure.servicebus.management.RuleProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) + rule = RuleProperties( name, filter=kwargs.pop("filter", None), @@ -877,29 +838,21 @@ async def create_rule( return result async def update_rule( - self, topic: Union[str, TopicProperties], subscription: Union[str, SubscriptionProperties], + self, topic_name: str, subscription_name: str, rule: RuleProperties, **kwargs) -> None: """Update a rule. Before calling this method, you should use `get_rule`, `create_rule` or `list_rules` to get a `RuleProperties` instance, then update the properties. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns this rule. :param ~azure.servicebus.management.RuleProperties rule: The rule that is returned from `get_rule`, `create_rule`, or `list_rules` and has the updated properties. :rtype: None """ - - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) to_update = rule._to_internal_entity() @@ -922,53 +875,36 @@ async def update_rule( ) async def delete_rule( - self, topic: Union[str, TopicProperties], subscription: Union[str, SubscriptionProperties], - rule: Union[str, RuleProperties], **kwargs) -> None: + self, topic_name: str, subscription_name: str, + rule_name: str, **kwargs) -> None: """Delete a topic subscription rule. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the topic. - :param Union[str, ~azure.servicebus.management.RuleProperties] rule: The to-be-deleted rule. + :param str rule_name: The to-be-deleted rule. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription - try: - rule_name = rule.name # type: ignore - except AttributeError: - rule_name = rule + _validate_topic_subscription_and_rule_types(topic_name, subscription_name, rule_name) + await self._impl.rule.delete( topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) def list_rules( self, - topic: Union[str, TopicProperties], - subscription: Union[str, SubscriptionProperties], + topic_name: str, + subscription_name: str, **kwargs: Any ) -> AsyncItemPaged[RuleProperties]: """List the rules of a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the rules. :returns: An iterable (auto-paging) response of RuleProperties. :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.servicebus.management.RuleProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) def entry_to_rule(ele, entry): """ diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py index a2f680e1d2c1..4cb93c6d8819 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py @@ -22,7 +22,8 @@ TopicDescriptionFeed, CreateSubscriptionBody, CreateSubscriptionBodyContent, CreateRuleBody, \ CreateRuleBodyContent, CreateQueueBody, CreateQueueBodyContent from ._utils import extract_data_template, get_next_template, deserialize_rule_key_values, serialize_rule_key_values, \ - extract_rule_data_template + extract_rule_data_template, _validate_entity_name_type, _validate_topic_and_subscription_types, \ + _validate_topic_subscription_and_rule_types from ._xml_workaround_policy import ServiceBusXMLWorkaroundPolicy from .._common.constants import JWT_TOKEN_SCOPE @@ -92,6 +93,7 @@ def _build_pipeline(self, **kwargs): # pylint: disable=no-self-use def _get_entity_element(self, entity_name, enrich=False, **kwargs): # type: (str, bool, Any) -> ElementTree + _validate_entity_name_type(entity_name) with _handle_response_error(): element = cast( @@ -102,7 +104,7 @@ def _get_entity_element(self, entity_name, enrich=False, **kwargs): def _get_subscription_element(self, topic_name, subscription_name, enrich=False, **kwargs): # type: (str, str, bool, Any) -> ElementTree - + _validate_topic_and_subscription_types(topic_name, subscription_name) with _handle_response_error(): element = cast( ElementTree, @@ -113,6 +115,7 @@ def _get_subscription_element(self, topic_name, subscription_name, enrich=False, def _get_rule_element(self, topic_name, subscription_name, rule_name, **kwargs): # type: (str, str, str, Any) -> ElementTree + _validate_topic_subscription_and_rule_types(topic_name, subscription_name, rule_name) with _handle_response_error(): element = cast( @@ -299,18 +302,16 @@ def update_queue(self, queue, **kwargs): **kwargs ) - def delete_queue(self, queue, **kwargs): - # type: (Union[str, QueueProperties], Any) -> None + def delete_queue(self, queue_name, **kwargs): + # type: (str, Any) -> None """Delete a queue. - :param Union[str, azure.servicebus.management.QueueProperties] queue: The name of the queue or + :param str queue: The name of the queue or a `QueueProperties` with name. :rtype: None """ - try: - queue_name = queue.name # type: ignore - except AttributeError: - queue_name = queue + _validate_entity_name_type(queue_name) + if not queue_name: raise ValueError("queue_name must not be None or empty") with _handle_response_error(): @@ -508,17 +509,15 @@ def update_topic(self, topic, **kwargs): **kwargs ) - def delete_topic(self, topic, **kwargs): - # type: (Union[str, TopicProperties], Any) -> None + def delete_topic(self, topic_name, **kwargs): + # type: (str, Any) -> None """Delete a topic. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic to be deleted. + :param str topic_name: The topic to be deleted. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) + self._impl.entity.delete(topic_name, api_version=constants.API_VERSION, **kwargs) def list_topics(self, **kwargs): @@ -561,18 +560,14 @@ def entry_to_topic(entry): return ItemPaged( get_next, extract_data) - def get_subscription(self, topic, subscription_name, **kwargs): - # type: (Union[str, TopicProperties], str, Any) -> SubscriptionProperties + def get_subscription(self, topic_name, subscription_name, **kwargs): + # type: (str, str, Any) -> SubscriptionProperties """Get the properties of a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -582,18 +577,14 @@ def get_subscription(self, topic, subscription_name, **kwargs): entry.title, entry.content.subscription_description) return subscription - def get_subscription_runtime_properties(self, topic, subscription_name, **kwargs): - # type: (Union[str, TopicProperties], str, Any) -> SubscriptionRuntimeProperties + def get_subscription_runtime_properties(self, topic_name, subscription_name, **kwargs): + # type: (str, str, Any) -> SubscriptionRuntimeProperties """Get a topic subscription runtime info. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param str subscription_name: name of the subscription. :rtype: ~azure.servicebus.management.SubscriptionRuntimeProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic entry_ele = self._get_subscription_element(topic_name, subscription_name, **kwargs) entry = SubscriptionDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -603,11 +594,11 @@ def get_subscription_runtime_properties(self, topic, subscription_name, **kwargs entry.title, entry.content.subscription_description) return subscription - def create_subscription(self, topic, name, **kwargs): - # type: (Union[str, TopicProperties], str, Any) -> SubscriptionProperties + def create_subscription(self, topic_name, name, **kwargs): + # type: (str, str, Any) -> SubscriptionProperties """Create a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that will own the + :param str topic_name: The topic that will own the to-be-created subscription. :param name: Name of the subscription. :type name: str @@ -648,10 +639,8 @@ def create_subscription(self, topic, name, **kwargs): :type auto_delete_on_idle: ~datetime.timedelta :rtype: ~azure.servicebus.management.SubscriptionProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name, display_name='topic_name') + subscription = SubscriptionProperties( name, lock_duration=kwargs.pop("lock_duration", None), @@ -691,22 +680,19 @@ def create_subscription(self, topic, name, **kwargs): name, entry.content.subscription_description) return result - def update_subscription(self, topic, subscription, **kwargs): - # type: (Union[str, TopicProperties], SubscriptionProperties, Any) -> None + def update_subscription(self, topic_name, subscription, **kwargs): + # type: (str, SubscriptionProperties, Any) -> None """Update a subscription. Before calling this method, you should use `get_subscription`, `update_subscription` or `list_subscription` to get a `SubscriptionProperties` instance, then update the properties. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :param ~azure.servicebus.management.SubscriptionProperties subscription: The subscription that is returned from `get_subscription`, `update_subscription` or `list_subscription` and has the updated properties. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name, display_name='topic_name') to_update = subscription._to_internal_entity() @@ -729,37 +715,28 @@ def update_subscription(self, topic, subscription, **kwargs): **kwargs ) - def delete_subscription(self, topic, subscription, **kwargs): - # type: (Union[str, TopicProperties], Union[str, SubscriptionProperties], Any) -> None + def delete_subscription(self, topic_name, subscription_name, **kwargs): + # type: (str, str, Any) -> None """Delete a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription to + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription to be deleted. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) + self._impl.subscription.delete(topic_name, subscription_name, api_version=constants.API_VERSION, **kwargs) - def list_subscriptions(self, topic, **kwargs): - # type: (Union[str, TopicProperties], Any) -> ItemPaged[SubscriptionProperties] + def list_subscriptions(self, topic_name, **kwargs): + # type: (str, Any) -> ItemPaged[SubscriptionProperties] """List the subscriptions of a ServiceBus Topic. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :returns: An iterable (auto-paging) response of SubscriptionProperties. :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.SubscriptionProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) def entry_to_subscription(entry): subscription = SubscriptionProperties._from_internal_entity( @@ -775,18 +752,15 @@ def entry_to_subscription(entry): return ItemPaged( get_next, extract_data) - def list_subscriptions_runtime_properties(self, topic, **kwargs): - # type: (Union[str, TopicProperties], Any) -> ItemPaged[SubscriptionRuntimeProperties] + def list_subscriptions_runtime_properties(self, topic_name, **kwargs): + # type: (str, Any) -> ItemPaged[SubscriptionRuntimeProperties] """List the subscriptions runtime information of a ServiceBus Topic. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. + :param str topic_name: The topic that owns the subscription. :returns: An iterable (auto-paging) response of SubscriptionRuntimeProperties. :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.SubscriptionRuntimeProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic + _validate_entity_name_type(topic_name) def entry_to_subscription(entry): subscription = SubscriptionRuntimeProperties._from_internal_entity( @@ -802,24 +776,16 @@ def entry_to_subscription(entry): return ItemPaged( get_next, extract_data) - def get_rule(self, topic, subscription, rule_name, **kwargs): - # type: (Union[str, TopicProperties], Union[str, SubscriptionProperties], str, Any) -> RuleProperties + def get_rule(self, topic_name, subscription_name, rule_name, **kwargs): + # type: (str, str, str, Any) -> RuleProperties """Get the properties of a topic subscription rule. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the rule. :param str rule_name: Name of the rule. :rtype: ~azure.servicebus.management.RuleProperties """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription entry_ele = self._get_rule_element(topic_name, subscription_name, rule_name, **kwargs) entry = RuleDescriptionEntry.deserialize(entry_ele) if not entry.content: @@ -830,13 +796,13 @@ def get_rule(self, topic, subscription, rule_name, **kwargs): deserialize_rule_key_values(entry_ele, rule_description) # to remove after #3535 is released. return rule_description - def create_rule(self, topic, subscription, name, **kwargs): - # type: (Union[str, TopicProperties], Union[str, SubscriptionProperties], str, Any) -> RuleProperties + def create_rule(self, topic_name, subscription_name, name, **kwargs): + # type: (str, str, str, Any) -> RuleProperties """Create a rule for a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that will own the + :param str topic_name: The topic that will own the to-be-created subscription rule. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str subscription_name: The subscription that will own the to-be-created rule. :param name: Name of the rule. :type name: str @@ -848,15 +814,8 @@ def create_rule(self, topic, subscription, name, **kwargs): :rtype: ~azure.servicebus.management.RuleProperties """ + _validate_topic_and_subscription_types(topic_name, subscription_name) - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription rule = RuleProperties( name, filter=kwargs.pop("filter", None), @@ -883,29 +842,21 @@ def create_rule(self, topic, subscription, name, **kwargs): deserialize_rule_key_values(entry_ele, result) # to remove after #3535 is released. return result - def update_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str, TopicProperties], Union[str, SubscriptionProperties], RuleProperties, Any) -> None + def update_rule(self, topic_name, subscription_name, rule, **kwargs): + # type: (str, str, RuleProperties, Any) -> None """Update a rule. Before calling this method, you should use `get_rule`, `create_rule` or `list_rules` to get a `RuleProperties` instance, then update the properties. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns this rule. :param ~azure.servicebus.management.RuleProperties rule: The rule that is returned from `get_rule`, `create_rule`, or `list_rules` and has the updated properties. :rtype: None """ - - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) to_update = rule._to_internal_entity() @@ -927,48 +878,31 @@ def update_rule(self, topic, subscription, rule, **kwargs): **kwargs ) - def delete_rule(self, topic, subscription, rule, **kwargs): - # type: (Union[str,TopicProperties], Union[str,SubscriptionProperties], Union[str,RuleProperties], Any) -> None + def delete_rule(self, topic_name, subscription_name, rule_name, **kwargs): + # type: (str, str, str, Any) -> None """Delete a topic subscription rule. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the topic. - :param Union[str, ~azure.servicebus.management.RuleProperties] rule: The to-be-deleted rule. + :param str rule_name: The to-be-deleted rule. :rtype: None """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription - try: - rule_name = rule.name # type: ignore - except AttributeError: - rule_name = rule + _validate_topic_subscription_and_rule_types(topic_name, subscription_name, rule_name) + self._impl.rule.delete(topic_name, subscription_name, rule_name, api_version=constants.API_VERSION, **kwargs) - def list_rules(self, topic, subscription, **kwargs): - # type: (Union[str, TopicProperties], Union[str, SubscriptionProperties], Any) -> ItemPaged[RuleProperties] + def list_rules(self, topic_name, subscription_name, **kwargs): + # type: (str, str, Any) -> ItemPaged[RuleProperties] """List the rules of a topic subscription. - :param Union[str, ~azure.servicebus.management.TopicProperties] topic: The topic that owns the subscription. - :param Union[str, ~azure.servicebus.management.SubscriptionProperties] subscription: The subscription that + :param str topic_name: The topic that owns the subscription. + :param str subscription_name: The subscription that owns the rules. :returns: An iterable (auto-paging) response of RuleProperties. :rtype: ~azure.core.paging.ItemPaged[~azure.servicebus.management.RuleProperties] """ - try: - topic_name = topic.name # type: ignore - except AttributeError: - topic_name = topic - try: - subscription_name = subscription.name # type: ignore - except AttributeError: - subscription_name = subscription + _validate_topic_and_subscription_types(topic_name, subscription_name) def entry_to_rule(ele, entry): """ diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py index 8e233434f711..7507ba9d2f0b 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/management/_utils.py @@ -241,3 +241,22 @@ def serialize_rule_key_values(entry_ele, rule_descripiton): .find(constants.RULE_PARAMETERS_TAG) if sql_action_parameters_ele: serialize_key_values(sql_action_parameters_ele, rule_descripiton.action.parameters) + + +# Helper functions for common parameter validation errors in the client. +def _validate_entity_name_type(entity_name, display_name='entity name'): + # type: (str, str) -> None + if not isinstance(entity_name, str): + raise TypeError("{} must be a string, not {}".format(display_name, type(entity_name))) + +def _validate_topic_and_subscription_types(topic_name, subscription_name): + # type: (str, str) -> None + if not isinstance(topic_name, str) or not isinstance(subscription_name, str): + raise TypeError("topic name and subscription name must be strings, not {} and {}".format( + type(topic_name), type(subscription_name))) + +def _validate_topic_subscription_and_rule_types(topic_name, subscription_name, rule_name): + # type: (str, str, str) -> None + if not isinstance(topic_name, str) or not isinstance(subscription_name, str) or not isinstance(rule_name, str): + raise TypeError("topic name, subscription name and rule name must be strings, not {} {} and {}".format( + type(topic_name), type(subscription_name), type(rule_name))) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py index 51b8dcbe5fd7..526cd089ee90 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/mgmt_test_utilities_async.py @@ -134,7 +134,7 @@ async def clear_queues(servicebus_management_client): queues = await async_pageable_to_list(servicebus_management_client.list_queues()) for queue in queues: try: - await servicebus_management_client.delete_queue(queue) + await servicebus_management_client.delete_queue(queue.name) except: pass @@ -143,6 +143,6 @@ async def clear_topics(servicebus_management_client): topics = await async_pageable_to_list(servicebus_management_client.list_topics()) for topic in topics: try: - await servicebus_management_client.delete_topic(topic) + await servicebus_management_client.delete_topic(topic.name) except: pass diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml index dbdaf4963077..6b4eb5677309 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_by_name.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:22Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:22 GMT + date: Tue, 29 Sep 2020 08:32:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eidk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04eidk2020-08-17T08:03:23Z2020-08-17T08:03:23Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/eidk?api-version=2017-04eidk2020-09-29T08:32:21Z2020-09-29T08:32:21Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:23.383Z2020-08-17T08:03:23.493ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:21.71Z2020-09-29T08:32:21.78ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:23 GMT + date: Tue, 29 Sep 2020 08:32:21 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eidk?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-08-17T08:03:23Z2020-08-17T08:03:23Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/eidk?enrich=false&api-version=2017-04eidk2020-09-29T08:32:21Z2020-09-29T08:32:21Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:23.383Z2020-08-17T08:03:23.493Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:21.71Z2020-09-29T08:32:21.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:24 GMT - etag: '637332482034930000' + date: Tue, 29 Sep 2020 08:32:21 GMT + etag: '637369651417800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eidk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:24 GMT - etag: '637332482034930000' + date: Tue, 29 Sep 2020 08:32:22 GMT + etag: '637369651417800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml index 32ebcd073691..ce1dff5913df 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_duplicate.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:25Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:23Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:25 GMT + date: Tue, 29 Sep 2020 08:32:22 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/eriodk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-08-17T08:03:26Z2020-08-17T08:03:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/eriodk?api-version=2017-04eriodk2020-09-29T08:32:24Z2020-09-29T08:32:24Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:26.427Z2020-08-17T08:03:26.457ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:24.047Z2020-09-29T08:32:24.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:26 GMT + date: Tue, 29 Sep 2020 08:32:23 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: ' @@ -74,19 +74,19 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:d101ace7-4956-4c77-819c-5bed2275081f_G9, - SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-08-17T08:03:27 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:08c6afea-e944-4a70-bfb3-b3d1a611082b_G13, + SystemTracker:servicebustestsbname.servicebus.windows.net:eriodk, Timestamp:2020-09-29T08:32:24 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:03:26 GMT - etag: '637332482064570000' + date: Tue, 29 Sep 2020 08:32:24 GMT + etag: '637369651440770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eriodk?api-version=2017-04 - request: body: null headers: @@ -101,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:27 GMT - etag: '637332482064570000' + date: Tue, 29 Sep 2020 08:32:24 GMT + etag: '637369651440770000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/eriodk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/eriodk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml index 6e2b07ee2ae1..ef83f3c80c47 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_create_with_queue_description.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:28Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:26Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:28 GMT + date: Tue, 29 Sep 2020 08:32:26 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkldf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-08-17T08:03:29Z2020-08-17T08:03:29Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkldf?api-version=2017-04dkldf2020-09-29T08:32:27Z2020-09-29T08:32:27Zservicebustestrm7a5oi5hkPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:03:29.21Z2020-08-17T08:03:29.32ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-09-29T08:32:27.11Z2020-09-29T08:32:27.28ZtruePT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:29 GMT + date: Tue, 29 Sep 2020 08:32:27 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkldf?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-08-17T08:03:29Z2020-08-17T08:03:29Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04dkldf2020-09-29T08:32:27Z2020-09-29T08:32:27Zservicebustestrm7a5oi5hkPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:03:29.21Z2020-08-17T08:03:29.32Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-09-29T08:32:27.11Z2020-09-29T08:32:27.28Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:30 GMT - etag: '637332482093200000' + date: Tue, 29 Sep 2020 08:32:27 GMT + etag: '637369651472800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkldf?enrich=false&api-version=2017-04 - request: body: null headers: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:30 GMT - etag: '637332482093200000' + date: Tue, 29 Sep 2020 08:32:28 GMT + etag: '637369651472800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkldf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkldf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml index aae99bbb3fd5..810106f4049c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_basic.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:31Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:29Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:31 GMT + date: Tue, 29 Sep 2020 08:32:28 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:29Z2020-09-29T08:32:29Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:29.727Z2020-09-29T08:32:29.753ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:32 GMT + date: Tue, 29 Sep 2020 08:32:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:32Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:30Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:29Z2020-09-29T08:32:29Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:29.727Z2020-09-29T08:32:29.753Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:32 GMT + date: Tue, 29 Sep 2020 08:32:29 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -100,21 +100,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:32:31Z2020-09-29T08:32:31Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:31.363Z2020-09-29T08:32:31.41ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:33 GMT + date: Tue, 29 Sep 2020 08:32:30 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -126,29 +126,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:34Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:31Z2020-08-17T08:03:31Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:32Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:29Z2020-09-29T08:32:29Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:31.723Z2020-08-17T08:03:31.767Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:29.727Z2020-09-29T08:32:29.753Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:32:31Z2020-09-29T08:32:31Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:31.363Z2020-09-29T08:32:31.41Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:34 GMT + date: Tue, 29 Sep 2020 08:32:31 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -163,14 +163,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:34 GMT - etag: '637332482117670000' + date: Tue, 29 Sep 2020 08:32:32 GMT + etag: '637369651497530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -182,23 +182,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:35Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:03:33Z2020-08-17T08:03:33Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:33Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:32:31Z2020-09-29T08:32:31Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:33.217Z2020-08-17T08:03:33.257Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:31.363Z2020-09-29T08:32:31.41Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:35 GMT + date: Tue, 29 Sep 2020 08:32:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -213,14 +213,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:35 GMT - etag: '637332482132570000' + date: Tue, 29 Sep 2020 08:32:33 GMT + etag: '637369651514100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -232,15 +232,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:36Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:34Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:36 GMT + date: Tue, 29 Sep 2020 08:32:33 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml index e43657c3a5a5..baf647215210 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_negtive.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:37Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:35Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:36 GMT + date: Tue, 29 Sep 2020 08:32:34 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:37Z2020-08-17T08:03:37Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:35Z2020-09-29T08:32:35Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:37.74Z2020-08-17T08:03:37.77ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:35.837Z2020-09-29T08:32:35.867ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:38 GMT + date: Tue, 29 Sep 2020 08:32:35 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:38Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:03:37Z2020-08-17T08:03:37Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:36Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:35Z2020-09-29T08:32:35Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:37.74Z2020-08-17T08:03:37.77Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:35.837Z2020-09-29T08:32:35.867Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:38 GMT + date: Tue, 29 Sep 2020 08:32:36 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -96,14 +96,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:39 GMT - etag: '637332482177700000' + date: Tue, 29 Sep 2020 08:32:36 GMT + etag: '637369651558670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -115,17 +115,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:40Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:38Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:39 GMT + date: Tue, 29 Sep 2020 08:32:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -138,18 +138,18 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:220775a9-fa27-4b64-91fc-2785f263e242_G11, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-08-17T08:03:40 + address. TrackingId:274f5eea-9b59-42c9-969f-d5c670dd776d_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-09-29T08:32:38 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:03:40 GMT + date: Tue, 29 Sep 2020 08:32:37 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -162,16 +162,16 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:6d11bd38-760b-48ea-88fb-f0b414d2e284_G11, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-08-17T08:03:41 + address. TrackingId:30371188-eeff-4660-9047-2cdb1e571a50_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-09-29T08:32:39 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:03:40 GMT + date: Tue, 29 Sep 2020 08:32:38 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/non_existing_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/non_existing_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml index 9600157d5108..de6db8711b87 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:41Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:40Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:41 GMT + date: Tue, 29 Sep 2020 08:32:39 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04queue02020-08-17T08:03:42Z2020-08-17T08:03:42Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue0?api-version=2017-04queue02020-09-29T08:32:40Z2020-09-29T08:32:40Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:42.25Z2020-08-17T08:03:42.3ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:40.46Z2020-09-29T08:32:40.487ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:42 GMT + date: Tue, 29 Sep 2020 08:32:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue0?api-version=2017-04 - request: body: ' @@ -72,21 +72,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:03:43Z2020-08-17T08:03:43Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04queue12020-09-29T08:32:41Z2020-09-29T08:32:41Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:43.33Z2020-08-17T08:03:43.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:41.367Z2020-09-29T08:32:41.4ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:43 GMT + date: Tue, 29 Sep 2020 08:32:41 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04 - request: body: ' @@ -105,21 +105,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:03:44Z2020-08-17T08:03:44Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04queue22020-09-29T08:32:42Z2020-09-29T08:32:42Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:44.203Z2020-08-17T08:03:44.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:42.31Z2020-09-29T08:32:42.387ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:44 GMT + date: Tue, 29 Sep 2020 08:32:42 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04 - request: body: ' @@ -138,21 +138,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:03:45Z2020-08-17T08:03:45Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04queue32020-09-29T08:32:43Z2020-09-29T08:32:43Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:45.17Z2020-08-17T08:03:45.25ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:43.293Z2020-09-29T08:32:43.323ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:45 GMT + date: Tue, 29 Sep 2020 08:32:43 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04 - request: body: ' @@ -171,21 +171,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:03:46Z2020-08-17T08:03:46Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04queue42020-09-29T08:32:44Z2020-09-29T08:32:44Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:46.343Z2020-08-17T08:03:46.387ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:44.133Z2020-09-29T08:32:44.163ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:46 GMT + date: Tue, 29 Sep 2020 08:32:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04 - request: body: ' @@ -204,21 +204,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:03:47Z2020-08-17T08:03:47Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04queue52020-09-29T08:32:45Z2020-09-29T08:32:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:47.493Z2020-08-17T08:03:47.527ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:45.087Z2020-09-29T08:32:45.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:47 GMT + date: Tue, 29 Sep 2020 08:32:45 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04 - request: body: ' @@ -237,21 +237,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:03:48Z2020-08-17T08:03:48Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04queue62020-09-29T08:32:45Z2020-09-29T08:32:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:48.587Z2020-08-17T08:03:48.633ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:45.957Z2020-09-29T08:32:45.987ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:48 GMT + date: Tue, 29 Sep 2020 08:32:46 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04 - request: body: ' @@ -270,21 +270,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:03:49Z2020-08-17T08:03:49Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04queue72020-09-29T08:32:47Z2020-09-29T08:32:47Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:49.557Z2020-08-17T08:03:49.587ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:47.053Z2020-09-29T08:32:47.123ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:49 GMT + date: Tue, 29 Sep 2020 08:32:47 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04 - request: body: ' @@ -303,21 +303,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:03:50Z2020-08-17T08:03:50Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04queue82020-09-29T08:32:48Z2020-09-29T08:32:48Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:50.71Z2020-08-17T08:03:50.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:48.303Z2020-09-29T08:32:48.397ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:51 GMT + date: Tue, 29 Sep 2020 08:32:48 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04 - request: body: ' @@ -336,21 +336,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:03:52Z2020-08-17T08:03:52Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04queue92020-09-29T08:32:49Z2020-09-29T08:32:49Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:52.15Z2020-08-17T08:03:52.18ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:49.18Z2020-09-29T08:32:49.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:52 GMT + date: Tue, 29 Sep 2020 08:32:49 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: @@ -365,14 +365,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:52 GMT - etag: '637332482223000000' + date: Tue, 29 Sep 2020 08:32:50 GMT + etag: '637369651604870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue0?api-version=2017-04 - request: body: null headers: @@ -384,71 +384,71 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:03:53Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:03:43Z2020-08-17T08:03:43Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:51Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04queue12020-09-29T08:32:41Z2020-09-29T08:32:41Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:43.33Z2020-08-17T08:03:43.37Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:41.367Z2020-09-29T08:32:41.4Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:03:44Z2020-08-17T08:03:44Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04queue22020-09-29T08:32:42Z2020-09-29T08:32:42Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:44.203Z2020-08-17T08:03:44.233Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:42.31Z2020-09-29T08:32:42.387Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:03:45Z2020-08-17T08:03:45Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04queue32020-09-29T08:32:43Z2020-09-29T08:32:43Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:45.17Z2020-08-17T08:03:45.25Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:43.2970843Z2020-09-29T08:32:43.2970843Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:03:46Z2020-08-17T08:03:46Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04queue42020-09-29T08:32:44Z2020-09-29T08:32:44Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:46.343Z2020-08-17T08:03:46.387Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:44.1411433Z2020-09-29T08:32:44.1411433Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:03:47Z2020-08-17T08:03:47Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04queue52020-09-29T08:32:45Z2020-09-29T08:32:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:47.493Z2020-08-17T08:03:47.527Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:45.087Z2020-09-29T08:32:45.12Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:03:48Z2020-08-17T08:03:48Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04queue62020-09-29T08:32:45Z2020-09-29T08:32:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:48.587Z2020-08-17T08:03:48.633Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:45.957Z2020-09-29T08:32:45.987Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:03:49Z2020-08-17T08:03:49Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04queue72020-09-29T08:32:47Z2020-09-29T08:32:47Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:49.557Z2020-08-17T08:03:49.587Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:47.053Z2020-09-29T08:32:47.123Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:03:50Z2020-08-17T08:03:50Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04queue82020-09-29T08:32:48Z2020-09-29T08:32:48Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:50.71Z2020-08-17T08:03:50.803Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:48.303Z2020-09-29T08:32:48.397Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:03:52Z2020-08-17T08:03:52Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04queue92020-09-29T08:32:49Z2020-09-29T08:32:49Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:03:52.15Z2020-08-17T08:03:52.18Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:49.18Z2020-09-29T08:32:49.233Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:53 GMT + date: Tue, 29 Sep 2020 08:32:50 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -463,14 +463,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:54 GMT - etag: '637332482233700000' + date: Tue, 29 Sep 2020 08:32:51 GMT + etag: '637369651614000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04 - request: body: null headers: @@ -485,14 +485,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:54 GMT - etag: '637332482242330000' + date: Tue, 29 Sep 2020 08:32:51 GMT + etag: '637369651623870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04 - request: body: null headers: @@ -507,14 +507,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:55 GMT - etag: '637332482252500000' + date: Tue, 29 Sep 2020 08:32:52 GMT + etag: '637369651633230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04 - request: body: null headers: @@ -529,14 +529,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:55 GMT - etag: '637332482263870000' + date: Tue, 29 Sep 2020 08:32:53 GMT + etag: '637369651641630000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04 - request: body: null headers: @@ -551,14 +551,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:56 GMT - etag: '637332482275270000' + date: Tue, 29 Sep 2020 08:32:53 GMT + etag: '637369651651200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04 - request: body: null headers: @@ -573,14 +573,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:57 GMT - etag: '637332482286330000' + date: Tue, 29 Sep 2020 08:32:54 GMT + etag: '637369651659870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04 - request: body: null headers: @@ -595,14 +595,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:57 GMT - etag: '637332482295870000' + date: Tue, 29 Sep 2020 08:32:54 GMT + etag: '637369651671230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04 - request: body: null headers: @@ -617,14 +617,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:58 GMT - etag: '637332482308030000' + date: Tue, 29 Sep 2020 08:32:55 GMT + etag: '637369651683970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04 - request: body: null headers: @@ -639,14 +639,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:03:59 GMT - etag: '637332482321800000' + date: Tue, 29 Sep 2020 08:32:56 GMT + etag: '637369651692330000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04 - request: body: null headers: @@ -658,15 +658,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:00Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:56Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:03:59 GMT + date: Tue, 29 Sep 2020 08:32:56 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml index 3be893102f59..0ac546617b58 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_basic.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:37Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:32:57Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:37 GMT + date: Tue, 29 Sep 2020 08:32:57 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:38Z2020-07-02T06:04:38Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:32:58Z2020-09-29T08:32:58Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:38.473Z2020-07-02T06:04:38.507ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:58.417Z2020-09-29T08:32:58.5ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:38 GMT + date: Tue, 29 Sep 2020 08:32:58 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-07-02T06:04:38Z2020-07-02T06:04:38Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-09-29T08:32:58Z2020-09-29T08:32:58Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:38.473Z2020-07-02T06:04:38.507Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:32:58.417Z2020-09-29T08:32:58.5Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:38 GMT - etag: '637292666785070000' + date: Tue, 29 Sep 2020 08:32:58 GMT + etag: '637369651785000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:39 GMT - etag: '637292666785070000' + date: Tue, 29 Sep 2020 08:32:59 GMT + etag: '637369651785000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml index 69980c6d9b95..1a68fcafdec8 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_get_runtime_info_negative.yaml @@ -5,23 +5,23 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 response: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:816193bd-7a13-4f57-abef-c6ed3b39d216;id=470422020-07-02T06:04:40ZService + services currently available.uuid:e5d65387-b81e-42e1-8cda-1967db5463ea;id=300952020-09-29T08:33:00ZService Bus 1.1 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:40 GMT + date: Tue, 29 Sep 2020 08:32:59 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml index df6310484979..175c98ab2025 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_basic.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:05Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:01Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:05 GMT + date: Tue, 29 Sep 2020 08:33:01 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -32,17 +32,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:05Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:02Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:05 GMT + date: Tue, 29 Sep 2020 08:33:02 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -61,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:06Z2020-08-17T08:04:06Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:02Z2020-09-29T08:33:02Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:06.12Z2020-08-17T08:04:06.15ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:02.85Z2020-09-29T08:33:02.88ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:06 GMT + date: Tue, 29 Sep 2020 08:33:03 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -87,23 +87,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:07Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:06Z2020-08-17T08:04:06Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:03Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:02Z2020-09-29T08:33:02Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:06.12Z2020-08-17T08:04:06.15Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:02.85Z2020-09-29T08:33:02.88Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:06 GMT + date: Tue, 29 Sep 2020 08:33:03 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -118,14 +118,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:07 GMT - etag: '637332482461500000' + date: Tue, 29 Sep 2020 08:33:04 GMT + etag: '637369651828800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -137,17 +137,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:08Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:04Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:08 GMT + date: Tue, 29 Sep 2020 08:33:04 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -159,17 +159,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:09Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:05Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:08 GMT + date: Tue, 29 Sep 2020 08:33:04 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -188,21 +188,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:09Z2020-08-17T08:04:09Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:05Z2020-09-29T08:33:05Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:09.467Z2020-08-17T08:04:09.547ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:05.77Z2020-09-29T08:33:05.8ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:09 GMT + date: Tue, 29 Sep 2020 08:33:05 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -214,23 +214,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:10Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:04:09Z2020-08-17T08:04:09Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:06Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:05Z2020-09-29T08:33:05Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:09.467Z2020-08-17T08:04:09.547Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:05.77Z2020-09-29T08:33:05.8Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:10 GMT + date: Tue, 29 Sep 2020 08:33:05 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -245,14 +245,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:10 GMT - etag: '637332482495470000' + date: Tue, 29 Sep 2020 08:33:06 GMT + etag: '637369651858000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: @@ -264,15 +264,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:11Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:07Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:10 GMT + date: Tue, 29 Sep 2020 08:33:07 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml index 43f1bc1fcdd4..b907e2c1b805 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_runtime_info_basic.yaml @@ -5,66 +5,66 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:48Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:08Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:47 GMT + date: Tue, 29 Sep 2020 08:33:08 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:48Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:09Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:48 GMT + date: Tue, 29 Sep 2020 08:33:08 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:49Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:09Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:48 GMT + date: Tue, 29 Sep 2020 08:33:09 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -78,89 +78,89 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:10Z2020-09-29T08:33:10Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:10.16Z2020-09-29T08:33:10.267ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:49 GMT + date: Tue, 29 Sep 2020 08:33:10 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:10Z2020-09-29T08:33:10Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:10.16Z2020-09-29T08:33:10.267Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:50 GMT + date: Tue, 29 Sep 2020 08:33:10 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:50Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T06:04:49Z2020-07-02T06:04:49Zservicebustest5levlyksxmQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:33:10Z2020-09-29T08:33:10Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T06:04:49.547Z2020-07-02T06:04:49.57Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:10.16Z2020-09-29T08:33:10.267Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:50 GMT + date: Tue, 29 Sep 2020 08:33:11 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -168,34 +168,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:04:50 GMT - etag: '637292666895700000' + date: Tue, 29 Sep 2020 08:33:11 GMT + etag: '637369651902670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_queue?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T06:04:51Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:12Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:04:51 GMT + date: Tue, 29 Sep 2020 08:33:12 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml index 7040ecef6260..408ef8577f83 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_negative_credential.yaml @@ -10,19 +10,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty or token is invalid. TrackingId:0f51f908-405a-4e0a-825e-8cfb125b7688_G13, + string: 401claim is empty or token is invalid. TrackingId:bf0e040b-8d63-4468-9cc8-421273cd3c59_G4, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-08-17T08:04:16 + Timestamp:2020-09-29T08:33:13 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:16 GMT + date: Tue, 29 Sep 2020 08:33:12 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -34,17 +34,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty or token is invalid. TrackingId:bd5947d7-3f24-4a6f-9f80-0117ce0467d8_G9, + string: 401claim is empty or token is invalid. TrackingId:ce4339ff-254a-4730-b12a-af0a240533c3_G1, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-08-17T08:04:17 + Timestamp:2020-09-29T08:33:13 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:17 GMT + date: Tue, 29 Sep 2020 08:33:13 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 401 message: Unauthorized - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml index d36bcbd5f4ee..c1f11bc641ea 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_list_with_special_chars.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:18Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:14Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:17 GMT + date: Tue, 29 Sep 2020 08:33:14 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -32,17 +32,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:18Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:15Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:17 GMT + date: Tue, 29 Sep 2020 08:33:14 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -61,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:04:19Z2020-08-17T08:04:19Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:33:15Z2020-09-29T08:33:15Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:19.12Z2020-08-17T08:04:19.223ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:15.657Z2020-09-29T08:33:15.693ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:19 GMT + date: Tue, 29 Sep 2020 08:33:15 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -87,23 +87,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:20Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:04:19Z2020-08-17T08:04:19Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:16Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:33:15Z2020-09-29T08:33:15Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:19.12Z2020-08-17T08:04:19.223Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:15.657Z2020-09-29T08:33:15.693Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:19 GMT + date: Tue, 29 Sep 2020 08:33:16 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -118,14 +118,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:20 GMT - etag: '637332482592230000' + date: Tue, 29 Sep 2020 08:33:17 GMT + etag: '637369651956930000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -137,15 +137,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:21Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:17Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:20 GMT + date: Tue, 29 Sep 2020 08:33:17 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml index 442e820bddd4..05b8eea0024c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_invalid.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:21Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:20 GMT + date: Tue, 29 Sep 2020 08:33:18 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/vbmfm?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-08-17T08:04:22Z2020-08-17T08:04:22Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/vbmfm?api-version=2017-04vbmfm2020-09-29T08:33:19Z2020-09-29T08:33:19Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:19.117Z2020-09-29T08:33:19.187ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:22 GMT + date: Tue, 29 Sep 2020 08:33:19 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:33:19.117Z2020-09-29T08:33:19.187ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -77,25 +77,25 @@ interactions: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:1470bbfe-cca9-4311-b016-fcfd9a788b87_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, - Timestamp:2020-08-17T08:04:23 + . TrackingId:75d6d8e8-691c-4947-a92a-9fd571da1825_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, + Timestamp:2020-09-29T08:33:19 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:22 GMT - etag: '637332482625730000' + date: Tue, 29 Sep 2020 08:33:19 GMT + etag: '637369651991870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: ' PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:33:19.117Z2020-09-29T08:33:19.187ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -113,24 +113,24 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:88959bfd-479a-40e2-b8ab-70207391c4fe_G5, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, - Timestamp:2020-08-17T08:04:24 + . TrackingId:217e54d3-cce5-43a5-8551-93d74a12423d_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:dkfrgx, + Timestamp:2020-09-29T08:33:20 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:23 GMT + date: Tue, 29 Sep 2020 08:33:20 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dkfrgx?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkfrgx?api-version=2017-04 - request: body: ' P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:22.533Z2020-08-17T08:04:22.573ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:33:19.117Z2020-09-29T08:33:19.187ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -152,19 +152,19 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:c125f7b9-9a85-4c33-8b62-1725c8ee22dd_G5, - SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-08-17T08:04:24' + Actual value was 25.00:00:00. TrackingId:c2f92936-a8b8-4678-96ec-7201b03856cd_G15, + SystemTracker:servicebustestsbname.servicebus.windows.net:vbmfm, Timestamp:2020-09-29T08:33:20' headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:23 GMT - etag: '637332482625730000' + date: Tue, 29 Sep 2020 08:33:20 GMT + etag: '637369651991870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/vbmfm?api-version=2017-04 - request: body: null headers: @@ -179,12 +179,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:24 GMT - etag: '637332482625730000' + date: Tue, 29 Sep 2020 08:33:21 GMT + etag: '637369651991870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/vbmfm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/vbmfm?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml index 427362042cfb..b471e7e0cf70 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_queues_async.test_async_mgmt_queue_update_success.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:25Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:22Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:25 GMT + date: Tue, 29 Sep 2020 08:33:21 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-09-29T08:33:22Z2020-09-29T08:33:22Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.14ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:33:22.613Z2020-09-29T08:33:22.687ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:26 GMT + date: Tue, 29 Sep 2020 08:33:22 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: ' PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:26.110Z2020-08-17T08:04:26.140ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:33:22.613Z2020-09-29T08:33:22.687ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -75,22 +75,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-09-29T08:33:23Zservicebustestrm7a5oi5hkPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.14ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-09-29T08:33:22.613Z2020-09-29T08:33:22.687ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:26 GMT - etag: '637332482661400000' + date: Tue, 29 Sep 2020 08:33:22 GMT + etag: '637369652026870000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: @@ -102,30 +102,30 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-09-29T08:33:22Z2020-09-29T08:33:23Zservicebustestrm7a5oi5hkPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-09-29T08:33:22.613Z2020-09-29T08:33:23.217Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:26 GMT - etag: '637332482666670000' + date: Tue, 29 Sep 2020 08:33:23 GMT + etag: '637369652032170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: ' PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:04:26.110Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-09-29T08:33:22.613Z2020-09-29T08:33:23.217Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -141,23 +141,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-08-17T08:04:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04ewuidfj2020-09-29T08:33:23Zservicebustestrm7a5oi5hkPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.667Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-09-29T08:33:22.613Z2020-09-29T08:33:23.217Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:26 GMT - etag: '637332482666670000' + date: Tue, 29 Sep 2020 08:33:23 GMT + etag: '637369652032170000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04 - request: body: null headers: @@ -169,23 +169,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-08-17T08:04:26Z2020-08-17T08:04:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04ewuidfj2020-09-29T08:33:22Z2020-09-29T08:33:23Zservicebustestrm7a5oi5hkPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:04:26.11Z2020-08-17T08:04:26.97Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-09-29T08:33:22.613Z2020-09-29T08:33:23.78Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:27 GMT - etag: '637332482669700000' + date: Tue, 29 Sep 2020 08:33:23 GMT + etag: '637369652037800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?enrich=false&api-version=2017-04 - request: body: null headers: @@ -200,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:27 GMT - etag: '637332482669700000' + date: Tue, 29 Sep 2020 08:33:24 GMT + etag: '637369652037800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/ewuidfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/ewuidfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml index d6f7144bbcff..6215a42a33bd 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:28Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:25Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:27 GMT + date: Tue, 29 Sep 2020 08:33:25 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:04:29Z2020-08-17T08:04:29Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:33:25Z2020-09-29T08:33:25Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:29.083Z2020-08-17T08:04:29.117ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:25.717Z2020-09-29T08:33:25.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT + date: Tue, 29 Sep 2020 08:33:26 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:04:29Z2020-08-17T08:04:29Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:33:26Z2020-09-29T08:33:26ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:29.7242182Z2020-08-17T08:04:29.7242182Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:26.5726348Z2020-09-29T08:33:26.5726348Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:26 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: ' @@ -101,12 +101,12 @@ interactions: xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:13test_rule_1' + xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13truetest_rule_1' headers: Accept: - application/xml Content-Length: - - '1765' + - '1816' Content-Type: - application/atom+xml User-Agent: @@ -115,9 +115,9 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:30Z2020-08-17T08:04:30Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:33:26Z2020-09-29T08:33:26Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-08-17T08:04:30.0367819Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13true2020-09-29T08:33:26.8695449Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:26 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -150,9 +150,9 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-08-17T08:04:30Z2020-08-17T08:04:30Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-09-29T08:33:26Z2020-09-29T08:33:26Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-08-17T08:04:30.0302802Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13true2020-09-29T08:33:26.8703109Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:26 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 - request: body: ' Priority = @param120@param1str1str1truetest_rule_2' headers: Accept: - application/xml Content-Length: - - '690' + - '741' Content-Type: - application/atom+xml User-Agent: @@ -195,25 +195,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:30Z2020-08-17T08:04:30Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:33:26Z2020-09-29T08:33:26ZPriority = @param120@param1str12020-08-17T08:04:30.1773498Ztest_rule_2 + i:type="d6p1:string" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">str1true2020-09-29T08:33:26.9945532Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:26 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -225,25 +225,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-08-17T08:04:30Z2020-08-17T08:04:30Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-09-29T08:33:26Z2020-09-29T08:33:26ZPriority = @param120@param1str12020-08-17T08:04:30.186477Ztest_rule_2 + i:type="d6p1:string" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">str1true2020-09-29T08:33:26.9953178Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:26 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 - request: body: ' @@ -264,23 +264,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:30Z2020-08-17T08:04:30Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:33:27Z2020-09-29T08:33:27Z1=1202020-08-17T08:04:30.3179697Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-09-29T08:33:27.1195107Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:27 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -292,23 +292,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-08-17T08:04:30Z2020-08-17T08:04:30Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-09-29T08:33:27Z2020-09-29T08:33:27Z1=1202020-08-17T08:04:30.3271403Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-09-29T08:33:27.1203102Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:27 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 - request: body: null headers: @@ -323,14 +323,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:29 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:27 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -345,14 +345,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:30 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:27 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -367,14 +367,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:30 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:27 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -389,14 +389,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:30 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:28 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -411,12 +411,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:31 GMT - etag: '637332482691170000' + date: Tue, 29 Sep 2020 08:33:28 GMT + etag: '637369652057500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml index b5614cc57fd4..74fd060321cf 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_create_duplicate.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:32Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:29Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:32 GMT + date: Tue, 29 Sep 2020 08:33:29 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:04:33Z2020-08-17T08:04:33Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:33:29Z2020-09-29T08:33:29Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:33.18Z2020-08-17T08:04:33.217ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:29.62Z2020-09-29T08:33:29.653ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:33 GMT + date: Tue, 29 Sep 2020 08:33:29 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -72,34 +72,34 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T08:04:34Z2020-08-17T08:04:34Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-09-29T08:33:30Z2020-09-29T08:33:30ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:34.0371816Z2020-08-17T08:04:34.0371816Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:30.2674994Z2020-09-29T08:33:30.2674994Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:34 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:30 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' Priority = ''low''20Priority = ''low''20truerule' headers: Accept: - application/xml Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -108,36 +108,36 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-08-17T08:04:34Z2020-08-17T08:04:34Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-09-29T08:33:30Z2020-09-29T08:33:30ZPriority - = 'low'202020-08-17T08:04:34.3340559Zrule + = 'low'20true2020-09-29T08:33:30.6425026Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:34 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:30 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: ' Priority = ''low''20Priority = ''low''20truerule' headers: Accept: - application/xml Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -147,19 +147,19 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:f947331b-cc06-4063-9ba5-a892a99ee380_B10, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:04:34 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:8c5dc38a-1595-45de-8f3b-87bf3cebb8fc_B2, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:33:30 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:35 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:31 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: @@ -174,14 +174,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:35 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:32 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 - request: body: null headers: @@ -196,14 +196,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:36 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:32 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -218,12 +218,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:36 GMT - etag: '637332482732170000' + date: Tue, 29 Sep 2020 08:33:32 GMT + etag: '637369652096530000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml index a2d942be7f37..4db3c06d9a3c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_list_and_delete.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:37Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:33Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:36 GMT + date: Tue, 29 Sep 2020 08:33:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:04:38Z2020-08-17T08:04:38Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:33:34Z2020-09-29T08:33:34Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:38.12Z2020-08-17T08:04:38.2ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:34.04Z2020-09-29T08:33:34.083ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:37 GMT + date: Tue, 29 Sep 2020 08:33:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:04:38Z2020-08-17T08:04:38Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:33:34Z2020-09-29T08:33:34ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:38.7090494Z2020-08-17T08:04:38.7090494Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:34.5840955Z2020-09-29T08:33:34.5840955Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:38 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -99,37 +99,37 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:34Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:33:34Z2020-09-29T08:33:34Z1=1202020-08-17T08:04:38.7049536Z$Default + i:type="EmptyRuleAction"/>2020-09-29T08:33:34.586152Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:38 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: ' Priority = ''low''20Priority = ''low''20truetest_rule_1' headers: Accept: - application/xml Content-Length: - - '506' + - '557' Content-Type: - application/atom+xml User-Agent: @@ -138,36 +138,36 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:33:34Z2020-09-29T08:33:34ZPriority - = 'low'202020-08-17T08:04:39.2089547Ztest_rule_1 + = 'low'20true2020-09-29T08:33:34.9121111Ztest_rule_1 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:38 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: ' Priority = ''middle''20Priority = ''middle''20truetest_rule_2' headers: Accept: - application/xml Content-Length: - - '509' + - '560' Content-Type: - application/atom+xml User-Agent: @@ -176,36 +176,36 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:39Z2020-08-17T08:04:39Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:33:35Z2020-09-29T08:33:35ZPriority - = 'middle'202020-08-17T08:04:39.5839796Ztest_rule_2 + = 'middle'20true2020-09-29T08:33:35.1621489Ztest_rule_2 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:38 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: ' Priority = ''high''20Priority = ''high''20truetest_rule_3' headers: Accept: - application/xml Content-Length: - - '507' + - '558' Content-Type: - application/atom+xml User-Agent: @@ -214,24 +214,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:33:35Z2020-09-29T08:33:35ZPriority - = 'high'202020-08-17T08:04:39.6776982Ztest_rule_3 + = 'high'20true2020-09-29T08:33:35.4902498Ztest_rule_3 headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -243,46 +243,46 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:35Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:33:34Z2020-09-29T08:33:34Z1=1202020-08-17T08:04:38.7049536Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39Z2020-09-29T08:33:34.586152Z$Defaulthttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:33:34Z2020-09-29T08:33:34ZPriority - = 'low'202020-08-17T08:04:39.22055Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:04:39Z2020-08-17T08:04:39Z20true2020-09-29T08:33:34.9148373Ztest_rule_1https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:33:35Z2020-09-29T08:33:35ZPriority - = 'middle'202020-08-17T08:04:39.5734238Ztest_rule_2https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39Z20true2020-09-29T08:33:35.1653596Ztest_rule_2https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:33:35Z2020-09-29T08:33:35ZPriority - = 'high'202020-08-17T08:04:39.6677679Ztest_rule_3 + = 'high'20true2020-09-29T08:33:35.493445Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:34 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -297,14 +297,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 - request: body: null headers: @@ -316,39 +316,39 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:39Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:35Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:33:34Z2020-09-29T08:33:34Z1=1202020-08-17T08:04:38.7049536Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:04:39Z2020-08-17T08:04:39Z2020-09-29T08:33:34.586152Z$Defaulthttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:33:34Z2020-09-29T08:33:34ZPriority - = 'low'202020-08-17T08:04:39.22055Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:04:39Z2020-08-17T08:04:39Z20true2020-09-29T08:33:34.9148373Ztest_rule_1https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:33:35Z2020-09-29T08:33:35ZPriority - = 'high'202020-08-17T08:04:39.6677679Ztest_rule_3 + = 'high'20true2020-09-29T08:33:35.493445Ztest_rule_3 headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -363,14 +363,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 - request: body: null headers: @@ -385,14 +385,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 - request: body: null headers: @@ -404,25 +404,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:40Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:04:38Z2020-08-17T08:04:38ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:36Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:33:34Z2020-09-29T08:33:34Z1=1202020-08-17T08:04:38.7049536Z$Default + i:type="EmptyRuleAction"/>2020-09-29T08:33:34.586152Z$Default headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -437,14 +437,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:39 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:35 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -459,12 +459,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:40 GMT - etag: '637332482782000000' + date: Tue, 29 Sep 2020 08:33:36 GMT + etag: '637369652140830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml index e0c33602cc08..2d52ac8c95f6 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_invalid.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:42Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:37Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:41 GMT + date: Tue, 29 Sep 2020 08:33:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:04:42Z2020-08-17T08:04:42Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:33:38Z2020-09-29T08:33:38Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:42.71Z2020-08-17T08:04:42.79ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:38.29Z2020-09-29T08:33:38.32ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:42 GMT + date: Tue, 29 Sep 2020 08:33:38 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -72,34 +72,34 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:04:43Z2020-08-17T08:04:43Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:33:38Z2020-09-29T08:33:38ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:43.5743103Z2020-08-17T08:04:43.5743103Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:38.883263Z2020-09-29T08:33:38.883263Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:43 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:38 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' Priority = ''low''20Priority = ''low''20truerule' headers: Accept: - application/xml Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -108,24 +108,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:43Z2020-08-17T08:04:43Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:33:39Z2020-09-29T08:33:39ZPriority - = 'low'202020-08-17T08:04:43.8555806Zrule + = 'low'20true2020-09-29T08:33:39.1644675Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:43 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:39 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -137,36 +137,36 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:43Z2020-08-17T08:04:43Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:33:39Z2020-09-29T08:33:39ZPriority - = 'low'202020-08-17T08:04:43.8608826Zrule + = 'low'20true2020-09-29T08:33:39.1612159Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:43 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:39 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' Priority = ''low''202020-08-17T08:04:43.860882Ziewdm' + xsi:type="SqlFilter">Priority = ''low''20true2020-09-29T08:33:39.161215Ziewdm' headers: Accept: - application/xml Content-Length: - - '550' + - '601' Content-Type: - application/atom+xml If-Match: @@ -178,19 +178,19 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:a054e5a6-aec8-4dcf-9500-53c7083925ac_B14, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:04:44 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:d56acd19-5d44-4a92-ae44-a8f53b3b72b9_B4, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:33:39 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:04:45 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:40 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/iewdm?api-version=2017-04 - request: body: null headers: @@ -205,14 +205,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:45 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:40 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -227,14 +227,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:45 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:40 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -249,12 +249,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:46 GMT - etag: '637332482827900000' + date: Tue, 29 Sep 2020 08:33:41 GMT + etag: '637369652183200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml index 685e218995f8..403045f10c66 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_rules_async.test_async_mgmt_rule_update_success.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:04:47Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:47 GMT + date: Tue, 29 Sep 2020 08:33:42 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:04:48Z2020-08-17T08:04:48Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:33:42Z2020-09-29T08:33:42Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:04:48.34Z2020-08-17T08:04:48.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:42.817Z2020-09-29T08:33:42.85ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:48 GMT + date: Tue, 29 Sep 2020 08:33:43 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -72,34 +72,34 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:04:49Z2020-08-17T08:04:49Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:33:43Z2020-09-29T08:33:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:04:49.0772892Z2020-08-17T08:04:49.0772892Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:43.4735252Z2020-09-29T08:33:43.4735252Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:48 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:43 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' Priority = ''low''20Priority = ''low''20truerule' headers: Accept: - application/xml Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -108,24 +108,24 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:33:43Z2020-09-29T08:33:43ZPriority - = 'low'202020-08-17T08:04:49.3742351Zrule + = 'low'20true2020-09-29T08:33:43.7547759Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:48 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:43 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -137,36 +137,36 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:33:43Z2020-09-29T08:33:43ZPriority - = 'low'202020-08-17T08:04:49.3770845Zrule + = 'low'20true2020-09-29T08:33:43.7549721Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:48 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:44 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: ' testcidSET Priority = ''low''202020-08-17T08:04:49.377084Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''20true2020-09-29T08:33:43.754972Zrule' headers: Accept: - application/xml Content-Length: - - '604' + - '655' Content-Type: - application/atom+xml If-Match: @@ -177,23 +177,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:33:44Z2020-09-29T08:33:44ZtestcidSET Priority = 'low'202020-08-17T08:04:49.7648705Zrule + i:type="SqlRuleAction">SET Priority = 'low'20true2020-09-29T08:33:44.1297755Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:49 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:44 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -205,23 +205,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:04:49Z2020-08-17T08:04:49Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:33:43Z2020-09-29T08:33:43ZtestcidSET Priority = 'low'202020-08-17T08:04:49.3770845Zrule + i:type="SqlRuleAction">SET Priority = 'low'20true2020-09-29T08:33:43.7549721Zrule headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:04:49 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:44 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 - request: body: null headers: @@ -236,14 +236,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:49 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:44 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 - request: body: null headers: @@ -258,14 +258,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:49 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:44 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -280,12 +280,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:04:50 GMT - etag: '637332482883700000' + date: Tue, 29 Sep 2020 08:33:45 GMT + etag: '637369652228500000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml index 64158a1eade3..b588440670af 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_by_name.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:32Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:45Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:31 GMT + date: Tue, 29 Sep 2020 08:33:45 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T17:52:33Z2020-08-17T17:52:33Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:33:46Z2020-09-29T08:33:46Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:33.06Z2020-08-17T17:52:33.09ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:46.497Z2020-09-29T08:33:46.537ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:32 GMT + date: Tue, 29 Sep 2020 08:33:46 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T17:52:33Z2020-08-17T17:52:33Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:33:47Z2020-09-29T08:33:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:33.6531071Z2020-08-17T17:52:33.6531071Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:47.1916711Z2020-09-29T08:33:47.1916711Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:32 GMT - etag: '637332835530900000' + date: Tue, 29 Sep 2020 08:33:46 GMT + etag: '637369652265370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -99,23 +99,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-08-17T17:52:33Z2020-08-17T17:52:33Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-09-29T08:33:47Z2020-09-29T08:33:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:33.6663278Z2020-08-17T17:52:33.6663278Z2020-08-17T17:52:33.667ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:47.1938309Z2020-09-29T08:33:47.1938309Z2020-09-29T08:33:47.1938309Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:33 GMT - etag: '637332835530900000' + date: Tue, 29 Sep 2020 08:33:46 GMT + etag: '637369652265370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -130,14 +130,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:33 GMT - etag: '637332835530900000' + date: Tue, 29 Sep 2020 08:33:47 GMT + etag: '637369652265370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 - request: body: null headers: @@ -152,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:33 GMT - etag: '637332835530900000' + date: Tue, 29 Sep 2020 08:33:47 GMT + etag: '637369652265370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml index de296a76101d..58dff8841e87 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_duplicate.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:35Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:48Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:35 GMT + date: Tue, 29 Sep 2020 08:33:47 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T17:52:36Z2020-08-17T17:52:36Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:33:49Z2020-09-29T08:33:49Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:36.563Z2020-08-17T17:52:36.61ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:49.483Z2020-09-29T08:33:49.523ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:36 GMT + date: Tue, 29 Sep 2020 08:33:49 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T17:52:37Z2020-08-17T17:52:37Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-09-29T08:33:50Z2020-09-29T08:33:50ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:37.3459944Z2020-08-17T17:52:37.3459944Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:50.0143397Z2020-09-29T08:33:50.0143397Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:37 GMT - etag: '637332835566100000' + date: Tue, 29 Sep 2020 08:33:50 GMT + etag: '637369652295230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: ' @@ -107,19 +107,19 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:2551c13a-cc7f-46e2-a97f-6c885fd51cb4_B7, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:52:37 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:660ba8cc-f5ad-4117-96a0-8563e03dc190_B5, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:33:50 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 17:52:38 GMT - etag: '637332835566100000' + date: Tue, 29 Sep 2020 08:33:51 GMT + etag: '637369652295230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -134,14 +134,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:38 GMT - etag: '637332835566100000' + date: Tue, 29 Sep 2020 08:33:51 GMT + etag: '637369652295230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 - request: body: null headers: @@ -156,12 +156,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:39 GMT - etag: '637332835566100000' + date: Tue, 29 Sep 2020 08:33:52 GMT + etag: '637369652295230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml index 5b4283aa1a61..86120ba8fa6b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_create_with_subscription_description.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:39Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:53Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:39 GMT + date: Tue, 29 Sep 2020 08:33:52 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T17:52:40Z2020-08-17T17:52:40Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:33:53Z2020-09-29T08:33:53Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:40.53Z2020-08-17T17:52:40.597ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:53.573Z2020-09-29T08:33:53.607ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:40 GMT + date: Tue, 29 Sep 2020 08:33:53 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-08-17T17:52:41Z2020-08-17T17:52:41Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-09-29T08:33:54Z2020-09-29T08:33:54ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:52:41.1036652Z2020-08-17T17:52:41.1036652Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-09-29T08:33:54.2234305Z2020-09-29T08:33:54.2234305Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:40 GMT - etag: '637332835605970000' + date: Tue, 29 Sep 2020 08:33:54 GMT + etag: '637369652336070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: @@ -99,23 +99,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-08-17T17:52:41Z2020-08-17T17:52:41Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-09-29T08:33:54Z2020-09-29T08:33:54ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:52:41.1120482Z2020-08-17T17:52:41.1120482Z2020-08-17T17:52:41.113ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:33:54.2120622Z2020-09-29T08:33:54.2120622Z2020-09-29T08:33:54.213Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:40 GMT - etag: '637332835605970000' + date: Tue, 29 Sep 2020 08:33:54 GMT + etag: '637369652336070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 - request: body: null headers: @@ -130,14 +130,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:40 GMT - etag: '637332835605970000' + date: Tue, 29 Sep 2020 08:33:54 GMT + etag: '637369652336070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 - request: body: null headers: @@ -152,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:41 GMT - etag: '637332835605970000' + date: Tue, 29 Sep 2020 08:33:54 GMT + etag: '637369652336070000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml index d63d46db53ef..b06e4a6d15ce 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_delete.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:43Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:55Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:43 GMT + date: Tue, 29 Sep 2020 08:33:55 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-08-17T17:52:43Z2020-08-17T17:52:43Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-09-29T08:33:56Z2020-09-29T08:33:56Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:43.803Z2020-08-17T17:52:43.857ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:33:56.41Z2020-09-29T08:33:56.483ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:44 GMT + date: Tue, 29 Sep 2020 08:33:56 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda?api-version=2017-04 - request: body: ' @@ -72,22 +72,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.406279Z2020-08-17T17:52:44.406279Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.0633257Z2020-09-29T08:33:57.0633257Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:44 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:56 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: @@ -99,25 +99,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:44Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:57Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:44 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:56 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -136,22 +136,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7689345Z2020-08-17T17:52:44.7689345Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.34461Z2020-09-29T08:33:57.34461Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:44 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:56 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: @@ -163,31 +163,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:45Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:57Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.3425883Z2020-09-29T08:33:57.3425883Z2020-09-29T08:33:57.3425883Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:44 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:56 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -199,23 +199,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-08-17T17:52:44Z2020-08-17T17:52:44Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.3955235Z2020-08-17T17:52:44.397ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z2020-09-29T08:33:57.0613366Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:45 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:56 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 - request: body: null headers: @@ -230,14 +230,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:45 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:57 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 - request: body: null headers: @@ -249,25 +249,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:45Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:52:44Z2020-08-17T17:52:44ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:58Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:33:57Z2020-09-29T08:33:57ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581Z2020-08-17T17:52:44.7714581ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:33:57.3425883Z2020-09-29T08:33:57.3425883Z2020-09-29T08:33:57.3425883Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:45 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:57 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -282,14 +282,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:45 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:57 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 - request: body: null headers: @@ -301,19 +301,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:46Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:58Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:46 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:57 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -328,12 +328,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:46 GMT - etag: '637332835638570000' + date: Tue, 29 Sep 2020 08:33:58 GMT + etag: '637369652364830000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml index 9f1e12a1c014..de5393bbded6 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_get_runtime_info_basic.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:29Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:33:59Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:28 GMT + date: Tue, 29 Sep 2020 08:33:58 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,26 +34,26 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-07-02T06:05:29Z2020-07-02T06:05:29Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-09-29T08:34:00Z2020-09-29T08:34:00Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:29.477Z2020-07-02T06:05:29.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:00.08Z2020-09-29T08:34:00.123ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:29 GMT + date: Tue, 29 Sep 2020 08:33:59 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa?api-version=2017-04 - request: body: ' @@ -67,62 +67,62 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-07-02T06:05:30Z2020-07-02T06:05:30Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-09-29T08:34:00Z2020-09-29T08:34:00ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:30.0706282Z2020-07-02T06:05:30.0706282Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:00.6637292Z2020-09-29T08:34:00.6637292Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:30 GMT - etag: '637292667295400000' + date: Tue, 29 Sep 2020 08:34:00 GMT + etag: '637369652401230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-07-02T06:05:30Z2020-07-02T06:05:30Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-09-29T08:34:00Z2020-09-29T08:34:00ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:30.0764416Z2020-07-02T06:05:30.0764416Z2020-07-02T06:05:30.077ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:00.664438Z2020-09-29T08:34:00.664438Z2020-09-29T08:34:00.664438Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:30 GMT - etag: '637292667295400000' + date: Tue, 29 Sep 2020 08:34:00 GMT + etag: '637369652401230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: @@ -130,21 +130,21 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:30 GMT - etag: '637292667295400000' + date: Tue, 29 Sep 2020 08:34:00 GMT + etag: '637369652401230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: @@ -152,12 +152,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:30 GMT - etag: '637292667295400000' + date: Tue, 29 Sep 2020 08:34:00 GMT + etag: '637369652401230000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dcvxqa?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml index a17b223a5bc9..123b5edc960f 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:51Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:02Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:51 GMT + date: Tue, 29 Sep 2020 08:34:01 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-08-17T17:52:52Z2020-08-17T17:52:52Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-09-29T08:34:02Z2020-09-29T08:34:02Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:52:52.37Z2020-08-17T17:52:52.423ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:02.5Z2020-09-29T08:34:02.537ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:52 GMT + date: Tue, 29 Sep 2020 08:34:02 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc?api-version=2017-04 - request: body: null headers: @@ -65,19 +65,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:53Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:03Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:52 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:02 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -96,22 +96,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:52:53Z2020-08-17T17:52:53Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-09-29T08:34:03Z2020-09-29T08:34:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.0517055Z2020-08-17T17:52:53.0517055Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:03.1785346Z2020-09-29T08:34:03.1785346Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:52 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:02 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: ' @@ -130,22 +130,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:52:53Z2020-08-17T17:52:53Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-09-29T08:34:03Z2020-09-29T08:34:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.3017401Z2020-08-17T17:52:53.3017401Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:03.5379366Z2020-09-29T08:34:03.5379366Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:52 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:02 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: @@ -157,31 +157,31 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:53Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:52:53Z2020-08-17T17:52:53ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:03Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-09-29T08:34:03Z2020-09-29T08:34:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.0453949Z2020-08-17T17:52:53.0453949Z2020-08-17T17:52:53.047ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:03.1831337Z2020-09-29T08:34:03.1831337Z2020-09-29T08:34:03.1831337Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:52:53Z2020-08-17T17:52:53Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-09-29T08:34:03Z2020-09-29T08:34:03ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:52:53.3109419Z2020-08-17T17:52:53.3109419Z2020-08-17T17:52:53.3109419ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:03.5268498Z2020-09-29T08:34:03.5268498Z2020-09-29T08:34:03.5268498Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:52 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:03 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -196,14 +196,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:52 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:03 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 - request: body: null headers: @@ -218,14 +218,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:53 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:03 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 - request: body: null headers: @@ -237,19 +237,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:52:54Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:03Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:52:53 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:03 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -264,12 +264,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:52:54 GMT - etag: '637332835724230000' + date: Tue, 29 Sep 2020 08:34:03 GMT + etag: '637369652425370000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml index 2ffcacfa3160..b0373b46b2a5 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_list_runtime_info.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:34Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:04Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:33 GMT + date: Tue, 29 Sep 2020 08:34:04 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,74 +34,74 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-07-02T06:05:34Z2020-07-02T06:05:34Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-09-29T08:34:05Z2020-09-29T08:34:05Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:34.66Z2020-07-02T06:05:34.75ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:05.42Z2020-09-29T08:34:05.447ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:34 GMT + date: Tue, 29 Sep 2020 08:34:05 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:05Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:34 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:06Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:34 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -115,94 +115,94 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:34:06Z2020-09-29T08:34:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2698041Z2020-07-02T06:05:35.2698041Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:06.0555711Z2020-09-29T08:34:06.0555711Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:34 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:06Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:34:06Z2020-09-29T08:34:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:06.065089Z2020-09-29T08:34:06.065089Z2020-09-29T08:34:06.067Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:34 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Zhttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T06:05:35Z2020-07-02T06:05:35ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:06Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:34:06Z2020-09-29T08:34:06ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.2685775Z2020-07-02T06:05:35.27ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:06.065089Z2020-09-29T08:34:06.065089Z2020-09-29T08:34:06.067Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:35 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: @@ -210,45 +210,45 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:35 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:35Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:06Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:35 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:05 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: @@ -256,12 +256,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:05:35 GMT - etag: '637292667347500000' + date: Tue, 29 Sep 2020 08:34:06 GMT + etag: '637369652454470000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/dkoamv?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml index 6fcf5cc48131..e6a949a8d13c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_invalid.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:00Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:08Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:00 GMT + date: Tue, 29 Sep 2020 08:34:08 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T17:53:00Z2020-08-17T17:53:00Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-09-29T08:34:09Z2020-09-29T08:34:09Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:00.947Z2020-08-17T17:53:00.993ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:09.067Z2020-09-29T08:34:09.1ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:01 GMT + date: Tue, 29 Sep 2020 08:34:09 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' @@ -72,27 +72,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-08-17T17:53:01Z2020-08-17T17:53:01Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-09-29T08:34:09Z2020-09-29T08:34:09ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:01.4867582Z2020-08-17T17:53:01.4867582Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:09.6006723Z2020-09-29T08:34:09.6006723Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:01 GMT - etag: '637332835809930000' + date: Tue, 29 Sep 2020 08:34:09 GMT + etag: '637369652491000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:01.486758Z2020-08-17T17:53:01.486758Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:34:09.600672Z2020-09-29T08:34:09.600672Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -109,24 +109,24 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:4346d029-abb1-4ba2-b1af-d2af347db4cc_B1, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:01 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:af6bbd50-6759-45df-a1c7-9a23ded598db_B7, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:34:09 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 17:53:02 GMT - etag: '637332835809930000' + date: Tue, 29 Sep 2020 08:34:10 GMT + etag: '637369652491000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/iewdm?api-version=2017-04 - request: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:01.486758Z2020-08-17T17:53:01.486758Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:34:09.600672Z2020-09-29T08:34:09.600672Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -148,19 +148,19 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:68fe0954-2cec-4cba-8ec1-5844e3f55d84_G15, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-08-17T17:53:02' + Actual value was 25.00:00:00. TrackingId:86ead89e-47ae-4859-94b0-47ae0fc151d6_G13, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-09-29T08:34:10' headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 17:53:03 GMT - etag: '637332835809930000' + date: Tue, 29 Sep 2020 08:34:11 GMT + etag: '637369652491000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/dfjfj?api-version=2017-04 - request: body: null headers: @@ -175,14 +175,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:53:04 GMT - etag: '637332835809930000' + date: Tue, 29 Sep 2020 08:34:11 GMT + etag: '637369652491000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 - request: body: null headers: @@ -197,12 +197,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:53:04 GMT - etag: '637332835809930000' + date: Tue, 29 Sep 2020 08:34:12 GMT + etag: '637369652491000000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml index 32df0a5e9297..6b0876d79c06 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_subscriptions_async.test_async_mgmt_subscription_update_success.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:06Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:13Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:06 GMT + date: Tue, 29 Sep 2020 08:34:12 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T17:53:06Z2020-08-17T17:53:06Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:34:13Z2020-09-29T08:34:13Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:06.777Z2020-08-17T17:53:06.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:13.59Z2020-09-29T08:34:13.62ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT + date: Tue, 29 Sep 2020 08:34:13 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' @@ -72,27 +72,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:34:14Z2020-09-29T08:34:14ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:07.3919992Z2020-08-17T17:53:07.3919992Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:34:14.1769184Z2020-09-29T08:34:14.1769184Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:13 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.391999Z2020-08-17T17:53:07.391999Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:34:14.176918Z2020-09-29T08:34:14.176918Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -108,22 +108,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:34:14Z2020-09-29T08:34:14ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.7208495Z2020-08-17T17:53:07.7208495Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:34:14.4893756Z2020-09-29T08:34:14.4893756Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -135,34 +135,34 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:07Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-09-29T08:34:14Z2020-09-29T08:34:14ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:07.4057973Z2020-08-17T17:53:07.7339466Z2020-08-17T17:53:07.407ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:34:14.1780195Z2020-09-29T08:34:14.5061261Z2020-09-29T08:34:14.1780195Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: ' PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:07.405797Z2020-08-17T17:53:07.733946Z2020-08-17T17:53:07.407Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:34:14.178019Z2020-09-29T08:34:14.506126Z2020-09-29T08:34:14.178019Z00000PT10MAvailable' headers: Accept: - application/xml Content-Length: - - '1379' + - '1382' Content-Type: - application/atom+xml If-Match: @@ -173,22 +173,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:08Z2020-08-17T17:53:08Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:34:14Z2020-09-29T08:34:14ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:08.0500523Z2020-08-17T17:53:08.0500523Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:34:14.6143601Z2020-09-29T08:34:14.6143601Z0001-01-01T00:00:00PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -200,23 +200,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:07Z2020-08-17T17:53:08Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-09-29T08:34:14Z2020-09-29T08:34:14ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:07.4057973Z2020-08-17T17:53:08.0620809Z2020-08-17T17:53:07.407ZPT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:34:14.1780195Z2020-09-29T08:34:14.6310938Z2020-09-29T08:34:14.1780195Z00000PT10MAvailable headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 17:53:07 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 - request: body: null headers: @@ -231,14 +231,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:53:08 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 - request: body: null headers: @@ -253,12 +253,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 17:53:08 GMT - etag: '637332835868070000' + date: Tue, 29 Sep 2020 08:34:14 GMT + etag: '637369652536200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml index dd0712ee934b..fde1c3a26598 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_by_name.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:25Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:16Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:24 GMT + date: Tue, 29 Sep 2020 08:34:15 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:05:26Z2020-08-17T08:05:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:34:16Z2020-09-29T08:34:16Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:26.287Z2020-08-17T08:05:26.39ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:16.837Z2020-09-29T08:34:16.867ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:25 GMT + date: Tue, 29 Sep 2020 08:34:17 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-08-17T08:05:26Z2020-08-17T08:05:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-09-29T08:34:16Z2020-09-29T08:34:16Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:26.2908399Z2020-08-17T08:05:26.2908399Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:16.837Z2020-09-29T08:34:16.867Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:25 GMT - etag: '637332483263900000' + date: Tue, 29 Sep 2020 08:34:17 GMT + etag: '637369652568670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 - request: body: null headers: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:26 GMT - etag: '637332483263900000' + date: Tue, 29 Sep 2020 08:34:17 GMT + etag: '637369652568670000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml index c4895e5a413d..a22b77f6778e 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_duplicate.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:28Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:18Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:27 GMT + date: Tue, 29 Sep 2020 08:34:18 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:05:28Z2020-08-17T08:05:28Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:34:19Z2020-09-29T08:34:19Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:28.483Z2020-08-17T08:05:28.513ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:19.127Z2020-09-29T08:34:19.16ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:28 GMT + date: Tue, 29 Sep 2020 08:34:19 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: ' @@ -74,19 +74,19 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:4c73173c-a0a8-406c-8352-583fdf86e8f4_G0, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-08-17T08:05:29 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:17fbd43a-fc98-4ef3-887e-8b55303a1ffd_G5, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-09-29T08:34:19 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:05:28 GMT - etag: '637332483285130000' + date: Tue, 29 Sep 2020 08:34:19 GMT + etag: '637369652591600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 409 message: Conflict - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 - request: body: null headers: @@ -101,12 +101,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:29 GMT - etag: '637332483285130000' + date: Tue, 29 Sep 2020 08:34:19 GMT + etag: '637369652591600000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml index 0c8a17149963..4c93ab4f916c 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_create_with_topic_description.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:30Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:21Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:30 GMT + date: Tue, 29 Sep 2020 08:34:20 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:05:31Z2020-08-17T08:05:31Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:34:22Z2020-09-29T08:34:22Zservicebustestrm7a5oi5hkPT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:05:31.22Z2020-08-17T08:05:31.437ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:34:22.27Z2020-09-29T08:34:22.48ZfalsePT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:31 GMT + date: Tue, 29 Sep 2020 08:34:21 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:05:31Z2020-08-17T08:05:31Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-09-29T08:34:22Z2020-09-29T08:34:22Zservicebustestrm7a5oi5hkPT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:05:31.22Z2020-08-17T08:05:31.437Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:34:22.27Z2020-09-29T08:34:22.48Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:31 GMT - etag: '637332483314370000' + date: Tue, 29 Sep 2020 08:34:22 GMT + etag: '637369652624800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 - request: body: null headers: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:32 GMT - etag: '637332483314370000' + date: Tue, 29 Sep 2020 08:34:22 GMT + etag: '637369652624800000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml index 8d5384ba5b64..a2a8dc28b5f3 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_delete.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:33Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:24Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:33 GMT + date: Tue, 29 Sep 2020 08:34:23 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,21 +39,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:24Z2020-09-29T08:34:24Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:24.67Z2020-09-29T08:34:24.697ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:34 GMT + date: Tue, 29 Sep 2020 08:34:24 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -65,23 +65,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:34Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:25Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:24Z2020-09-29T08:34:24Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:24.67Z2020-09-29T08:34:24.697Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:34 GMT + date: Tue, 29 Sep 2020 08:34:24 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -100,21 +100,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:34:26Z2020-09-29T08:34:26Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:26.137Z2020-09-29T08:34:26.19ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:35 GMT + date: Tue, 29 Sep 2020 08:34:25 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -126,29 +126,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:36Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:27Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:24Z2020-09-29T08:34:24Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:24.67Z2020-09-29T08:34:24.697Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:34:26Z2020-09-29T08:34:26Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:26.137Z2020-09-29T08:34:26.19Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:36 GMT + date: Tue, 29 Sep 2020 08:34:26 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -160,23 +160,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:05:33Z2020-08-17T08:05:33Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-09-29T08:34:24Z2020-09-29T08:34:24Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:33.81Z2020-08-17T08:05:33.843Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:24.67Z2020-09-29T08:34:24.697Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:36 GMT - etag: '637332483338430000' + date: Tue, 29 Sep 2020 08:34:26 GMT + etag: '637369652646970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 - request: body: null headers: @@ -191,14 +191,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:36 GMT - etag: '637332483338430000' + date: Tue, 29 Sep 2020 08:34:26 GMT + etag: '637369652646970000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: @@ -210,23 +210,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:37Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:28Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:34:26Z2020-09-29T08:34:26Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:26.137Z2020-09-29T08:34:26.19Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:37 GMT + date: Tue, 29 Sep 2020 08:34:27 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -238,23 +238,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-08-17T08:05:35Z2020-08-17T08:05:35Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-09-29T08:34:26Z2020-09-29T08:34:26Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:35.58Z2020-08-17T08:05:35.61Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:26.137Z2020-09-29T08:34:26.19Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:37 GMT - etag: '637332483356100000' + date: Tue, 29 Sep 2020 08:34:27 GMT + etag: '637369652661900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 - request: body: null headers: @@ -269,14 +269,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:38 GMT - etag: '637332483356100000' + date: Tue, 29 Sep 2020 08:34:27 GMT + etag: '637369652661900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 - request: body: null headers: @@ -288,15 +288,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:39Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:29Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:38 GMT + date: Tue, 29 Sep 2020 08:34:28 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml index 8e46e84c3b9c..2288cd12dcf1 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_get_runtime_info_basic.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:05:56Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:30Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:05:56 GMT + date: Tue, 29 Sep 2020 08:34:29 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -34,61 +34,61 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:05:57Z2020-07-02T06:06:11Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:30Z2020-09-29T08:34:30Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:05:57.19Z2020-07-02T06:06:11.473ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:30.683Z2020-09-29T08:34:30.72ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:11 GMT + date: Tue, 29 Sep 2020 08:34:30 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T06:05:57Z2020-07-02T06:06:11Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-09-29T08:34:30Z2020-09-29T08:34:30Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:11.4396473Z2020-07-02T06:06:11.4396473Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:30.683Z2020-09-29T08:34:30.72Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:11 GMT - etag: '637292667714730000' + date: Tue, 29 Sep 2020 08:34:30 GMT + etag: '637369652707200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -96,12 +96,12 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:11 GMT - etag: '637292667714730000' + date: Tue, 29 Sep 2020 08:34:31 GMT + etag: '637369652707200000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml index 487cb8aaee18..d373bc43a138 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:42Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:32Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:41 GMT + date: Tue, 29 Sep 2020 08:34:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -32,17 +32,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:42Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:33Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:42 GMT + date: Tue, 29 Sep 2020 08:34:32 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -61,21 +61,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:05:43Z2020-08-17T08:05:43Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-09-29T08:34:33Z2020-09-29T08:34:33Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:43.1Z2020-08-17T08:05:43.13ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:33.473Z2020-09-29T08:34:33.503ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:43 GMT + date: Tue, 29 Sep 2020 08:34:33 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: ' @@ -94,21 +94,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:05:44Z2020-08-17T08:05:44Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-09-29T08:34:34Z2020-09-29T08:34:34Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:44.22Z2020-08-17T08:05:44.257ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:34.413Z2020-09-29T08:34:34.51ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:44 GMT + date: Tue, 29 Sep 2020 08:34:34 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: @@ -120,29 +120,29 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:45Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:05:43Z2020-08-17T08:05:43Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:35Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-09-29T08:34:33Z2020-09-29T08:34:33Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:43.0970339Z2020-08-17T08:05:43.0970339Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:33.473Z2020-09-29T08:34:33.503Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:05:44Z2020-08-17T08:05:44Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-09-29T08:34:34Z2020-09-29T08:34:34Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:44.22Z2020-08-17T08:05:44.257Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:34.413Z2020-09-29T08:34:34.51Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:44 GMT + date: Tue, 29 Sep 2020 08:34:35 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: @@ -157,14 +157,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:45 GMT - etag: '637332483431300000' + date: Tue, 29 Sep 2020 08:34:36 GMT + etag: '637369652735030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04 - request: body: null headers: @@ -179,14 +179,14 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:46 GMT - etag: '637332483442570000' + date: Tue, 29 Sep 2020 08:34:36 GMT + etag: '637369652745100000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04 - request: body: null headers: @@ -198,15 +198,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:47Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:37Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:46 GMT + date: Tue, 29 Sep 2020 08:34:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml index c9e3ed1ce17e..143c43fb176e 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_list_runtime_info.yaml @@ -5,66 +5,66 @@ interactions: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:18Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:38Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:17 GMT + date: Tue, 29 Sep 2020 08:34:37 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:18Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:38Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:18 GMT + date: Tue, 29 Sep 2020 08:34:38 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:19Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:39Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:18 GMT + date: Tue, 29 Sep 2020 08:34:39 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -78,89 +78,89 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:39Z2020-09-29T08:34:39Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:39.66Z2020-09-29T08:34:39.69ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:19 GMT + date: Tue, 29 Sep 2020 08:34:40 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:20Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:40Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:39Z2020-09-29T08:34:39Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:39.66Z2020-09-29T08:34:39.69Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:20 GMT + date: Tue, 29 Sep 2020 08:34:40 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:20Zhttps://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T06:06:19Z2020-07-02T06:06:19Zservicebustest5levlyksxmTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:41Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:34:39Z2020-09-29T08:34:39Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T06:06:19.513Z2020-07-02T06:06:19.547Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:39.66Z2020-09-29T08:34:39.69Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:20 GMT + date: Tue, 29 Sep 2020 08:34:41 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -168,34 +168,34 @@ interactions: string: '' headers: content-length: '0' - date: Thu, 02 Jul 2020 06:06:21 GMT - etag: '637292667795470000' + date: Tue, 29 Sep 2020 08:34:41 GMT + etag: '637369652796900000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/test_topic?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04 - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T06:06:21Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Thu, 02 Jul 2020 06:06:21 GMT + date: Tue, 29 Sep 2020 08:34:42 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest5levlyksxm.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml index e6256a91732b..47bda95bb21b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_invalid.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:52Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:42Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:52 GMT + date: Tue, 29 Sep 2020 08:34:42 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:05:53Z2020-08-17T08:05:53Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-09-29T08:34:43Z2020-09-29T08:34:43Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:53.04Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:43.41Z2020-09-29T08:34:43.44ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:53 GMT + date: Tue, 29 Sep 2020 08:34:43 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:53.040Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:34:43.410Z2020-09-29T08:34:43.440ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -77,24 +77,24 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:de83c5b6-6bde-45cc-9f5b-787c55060c35_G3, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-08-17T08:05:54 + . TrackingId:b1210d9b-78e3-4e12-9088-d9b6c35f4915_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-09-29T08:34:44 headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:05:54 GMT + date: Tue, 29 Sep 2020 08:34:44 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/iewdm?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/iewdm?api-version=2017-04 - request: body: ' P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-08-17T08:05:53.040Z2020-08-17T08:05:53.073ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:34:43.410Z2020-09-29T08:34:43.440ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -115,19 +115,19 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:a6fdfe2b-8ae3-403e-8c2a-a4f5ef8aae14_G3, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:05:54' + Actual value was 25.00:00:00. TrackingId:c205eb47-6640-4b88-9507-0e0d84d6859d_G15, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-09-29T08:34:44' headers: content-type: application/xml; charset=utf-8 - date: Mon, 17 Aug 2020 08:05:54 GMT - etag: '637332483530730000' + date: Tue, 29 Sep 2020 08:34:44 GMT + etag: '637369652834400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04 - request: body: null headers: @@ -142,12 +142,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:55 GMT - etag: '637332483530730000' + date: Tue, 29 Sep 2020 08:34:45 GMT + etag: '637369652834400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml index 7cc68e6046ad..f4b2cb22ec95 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/recordings/test_mgmt_topics_async.test_async_mgmt_topic_update_success.yaml @@ -10,17 +10,17 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:56Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:46Z headers: content-type: application/atom+xml;type=feed;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:56 GMT + date: Tue, 29 Sep 2020 08:34:45 GMT server: Microsoft-HTTPAPI/2.0 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 - request: body: ' @@ -39,27 +39,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:56Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:34:46Z2020-09-29T08:34:46Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:56.74ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:46.44Z2020-09-29T08:34:46.473ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:57 GMT + date: Tue, 29 Sep 2020 08:34:46 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 201 message: Created - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: ' PT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.710Z2020-08-17T08:05:56.740ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:34:46.440Z2020-09-29T08:34:46.473ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -75,22 +75,22 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:57Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:34:47Zservicebustestrm7a5oi5hkPT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:56.74ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:46.44Z2020-09-29T08:34:46.473ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:57 GMT - etag: '637332483567400000' + date: Tue, 29 Sep 2020 08:34:46 GMT + etag: '637369652864730000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: @@ -102,30 +102,30 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:57Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:34:46Z2020-09-29T08:34:47Zservicebustestrm7a5oi5hkPT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.29Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-09-29T08:34:46.44Z2020-09-29T08:34:47.04Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:57 GMT - etag: '637332483572900000' + date: Tue, 29 Sep 2020 08:34:46 GMT + etag: '637369652870400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: ' PT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:05:56.710Z2020-08-17T08:05:57.290Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-09-29T08:34:46.440Z2020-09-29T08:34:47.040Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -141,23 +141,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:05:57Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:34:47Zservicebustestrm7a5oi5hkPT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.29Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-09-29T08:34:46.44Z2020-09-29T08:34:47.04Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:57 GMT - etag: '637332483572900000' + date: Tue, 29 Sep 2020 08:34:46 GMT + etag: '637369652870400000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 - request: body: null headers: @@ -169,23 +169,23 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:05:56Z2020-08-17T08:05:57Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:34:46Z2020-09-29T08:34:47Zservicebustestrm7a5oi5hkPT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:05:56.71Z2020-08-17T08:05:57.6Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-09-29T08:34:46.44Z2020-09-29T08:34:47.403Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: application/atom+xml;type=entry;charset=utf-8 - date: Mon, 17 Aug 2020 08:05:57 GMT - etag: '637332483576000000' + date: Tue, 29 Sep 2020 08:34:46 GMT + etag: '637369652874030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 - request: body: null headers: @@ -200,12 +200,12 @@ interactions: string: '' headers: content-length: '0' - date: Mon, 17 Aug 2020 08:05:58 GMT - etag: '637332483576000000' + date: Tue, 29 Sep 2020 08:34:47 GMT + etag: '637369652874030000' server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 status: code: 200 message: OK - url: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04 + url: https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04 version: 1 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py index c39ac80816e1..af1a156c445b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py @@ -185,8 +185,8 @@ async def test_async_mgmt_queue_delete_negtive(self, servicebus_namespace_connec with pytest.raises(ValueError): await mgmt_service.delete_queue("") - with pytest.raises(ValueError): - await mgmt_service.delete_queue(queue=None) + with pytest.raises(TypeError): + await mgmt_service.delete_queue(queue_name=None) @CachedResourceGroupPreparer(name_prefix='servicebustest') @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') @@ -433,7 +433,7 @@ async def test_async_mgmt_queue_get_runtime_properties_basic(self, servicebus_na @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') async def test_async_mgmt_queue_get_runtime_properties_negative(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(msrest.exceptions.ValidationError): + with pytest.raises(TypeError): await mgmt_service.get_queue_runtime_properties(None) with pytest.raises(msrest.exceptions.ValidationError): diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py index 4ef9ef6d8ef3..093d209485ac 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_rules_async.py @@ -122,7 +122,7 @@ async def test_async_mgmt_rule_update_success(self, servicebus_namespace_connect try: topic_description = await mgmt_service.create_topic(topic_name) - subscription_description = await mgmt_service.create_subscription(topic_description, subscription_name) + subscription_description = await mgmt_service.create_subscription(topic_description.name, subscription_name) await mgmt_service.create_rule(topic_name, subscription_name, rule_name, filter=sql_filter) rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) @@ -135,7 +135,7 @@ async def test_async_mgmt_rule_update_success(self, servicebus_namespace_connect rule_desc.filter = correlation_fitler rule_desc.action = sql_rule_action - await mgmt_service.update_rule(topic_description, subscription_description, rule_desc) + await mgmt_service.update_rule(topic_description.name, subscription_description.name, rule_desc) rule_desc = await mgmt_service.get_rule(topic_name, subscription_name, rule_name) assert type(rule_desc.filter) == CorrelationRuleFilter @@ -175,13 +175,13 @@ async def test_async_mgmt_rule_update_invalid(self, servicebus_namespace_connect # change the name to a topic that doesn't exist; should fail. rule_desc.name = "iewdm" with pytest.raises(HttpResponseError): - await mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + await mgmt_service.update_rule(topic_name, subscription_description.name, rule_desc) rule_desc.name = rule_name # change the name to a topic with an invalid name exist; should fail. rule_desc.name = '' with pytest.raises(msrest.exceptions.ValidationError): - await mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + await mgmt_service.update_rule(topic_name, subscription_description.name, rule_desc) rule_desc.name = rule_name finally: diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py index 9fbe1b90de8c..800d99d63f94 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_subscriptions_async.py @@ -103,11 +103,11 @@ async def test_async_mgmt_subscription_update_success(self, servicebus_namespace try: topic_description = await mgmt_service.create_topic(topic_name) - subscription_description = await mgmt_service.create_subscription(topic_description, subscription_name) + subscription_description = await mgmt_service.create_subscription(topic_description.name, subscription_name) # Try updating one setting. subscription_description.lock_duration = datetime.timedelta(minutes=2) - await mgmt_service.update_subscription(topic_description, subscription_description) + await mgmt_service.update_subscription(topic_description.name, subscription_description) subscription_description = await mgmt_service.get_subscription(topic_name, subscription_name) assert subscription_description.lock_duration == datetime.timedelta(minutes=2) @@ -120,8 +120,8 @@ async def test_async_mgmt_subscription_update_success(self, servicebus_namespace # topic_description.enable_partitioning = True # Cannot be changed after creation # topic_description.requires_session = True # Cannot be changed after creation - await mgmt_service.update_subscription(topic_description, subscription_description) - subscription_description = await mgmt_service.get_subscription(topic_description, subscription_name) + await mgmt_service.update_subscription(topic_description.name, subscription_description) + subscription_description = await mgmt_service.get_subscription(topic_description.name, subscription_name) assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10) assert subscription_description.dead_lettering_on_message_expiration == True @@ -193,7 +193,7 @@ async def test_async_mgmt_subscription_delete(self, servicebus_namespace_connect assert len(subscriptions) == 2 description = await mgmt_service.get_subscription(topic_name, subscription_name_1) - await mgmt_service.delete_subscription(topic_name, description) + await mgmt_service.delete_subscription(topic_name, description.name) subscriptions = await async_pageable_to_list(mgmt_service.list_subscriptions(topic_name)) assert len(subscriptions) == 1 and subscriptions[0].name == subscription_name_2 diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py index 7f0eeeb2575e..bf15b3ac0093 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_topics_async.py @@ -177,13 +177,13 @@ async def test_async_mgmt_topic_delete(self, servicebus_namespace_connection_str assert len(topics) == 2 description = await mgmt_service.get_topic('test_topic') - await mgmt_service.delete_topic(description) + await mgmt_service.delete_topic(description.name) topics = await async_pageable_to_list(mgmt_service.list_topics()) assert len(topics) == 1 and topics[0].name == 'txt/.-_123' description = await mgmt_service.get_topic('txt/.-_123') - await mgmt_service.delete_topic(description) + await mgmt_service.delete_topic(description.name) topics = await async_pageable_to_list(mgmt_service.list_topics()) assert len(topics) == 0 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py index d527a2e20b0f..fa179f41fcb9 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/mgmt_test_utilities.py @@ -127,7 +127,7 @@ def clear_queues(servicebus_management_client): queues = list(servicebus_management_client.list_queues()) for queue in queues: try: - servicebus_management_client.delete_queue(queue) + servicebus_management_client.delete_queue(queue.name) except: pass @@ -136,6 +136,6 @@ def clear_topics(servicebus_management_client): topics = list(servicebus_management_client.list_topics()) for topic in topics: try: - servicebus_management_client.delete_topic(topic) + servicebus_management_client.delete_topic(topic.name) except: pass diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml index b2dec579094c..f21aa440ab2e 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_by_name.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:05:59Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:49Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:05:59 GMT + - Tue, 29 Sep 2020 08:34:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-08-17T08:06:00Z2020-08-17T08:06:00Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue_testaddf?api-version=2017-04queue_testaddf2020-09-29T08:34:49Z2020-09-29T08:34:49Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:00.057Z2020-08-17T08:06:00.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:49.817Z2020-09-29T08:34:49.847ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:00 GMT + - Tue, 29 Sep 2020 08:34:50 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-08-17T08:06:00Z2020-08-17T08:06:00Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue_testaddf?enrich=false&api-version=2017-04queue_testaddf2020-09-29T08:34:49Z2020-09-29T08:34:49Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:00.057Z2020-08-17T08:06:00.093Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:49.817Z2020-09-29T08:34:49.847Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:00 GMT + - Tue, 29 Sep 2020 08:34:50 GMT etag: - - '637332483600930000' + - '637369652898470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:01 GMT + - Tue, 29 Sep 2020 08:34:50 GMT etag: - - '637332483600930000' + - '637369652898470000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml index b2cbb44de857..5fea2cab19a9 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_duplicate.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:02Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:51Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:01 GMT + - Tue, 29 Sep 2020 08:34:51 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/rtofdk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-08-17T08:06:02Z2020-08-17T08:06:02Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/rtofdk?api-version=2017-04rtofdk2020-09-29T08:34:52Z2020-09-29T08:34:52Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:02.407Z2020-08-17T08:06:02.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:52.117Z2020-09-29T08:34:52.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:02 GMT + - Tue, 29 Sep 2020 08:34:52 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -93,15 +93,15 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:21a03eb1-16bd-4a0c-b58b-802c48187889_G14, - SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-08-17T08:06:03 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:f27c6e66-d554-49aa-aa9f-c34dd5e25851_G14, + SystemTracker:servicebustestsbname.servicebus.windows.net:rtofdk, Timestamp:2020-09-29T08:34:52 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:03 GMT + - Tue, 29 Sep 2020 08:34:52 GMT etag: - - '637332483628070000' + - '637369652921430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -133,9 +133,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:03 GMT + - Tue, 29 Sep 2020 08:34:53 GMT etag: - - '637332483628070000' + - '637369652921430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml index f1507d305ee4..1a689d6b5c1f 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_create_with_queue_description.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:05Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:54Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:04 GMT + - Tue, 29 Sep 2020 08:34:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:06:05Z2020-08-17T08:06:05Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:34:55Z2020-09-29T08:34:55Zservicebustestrm7a5oi5hkPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:06:05.787Z2020-08-17T08:06:05.95ZtruePT10MtrueAvailabletrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13S49152falsetruePT11MtruePT12M14true00trueActive2020-09-29T08:34:55.363Z2020-09-29T08:34:55.81ZtruePT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:05 GMT + - Tue, 29 Sep 2020 08:34:56 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:06:05Z2020-08-17T08:06:05Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-09-29T08:34:55Z2020-09-29T08:34:55Zservicebustestrm7a5oi5hkPT13S49152falsetruePT11MtruePT12M14true00trueActive2020-08-17T08:06:05.787Z2020-08-17T08:06:05.95Z0001-01-01T00:00:00ZtruePT13S49152falsetruePT11MtruePT12M14true00trueActive2020-09-29T08:34:55.363Z2020-09-29T08:34:55.81Z0001-01-01T00:00:00Ztrue00000PT10MtrueAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:06 GMT + - Tue, 29 Sep 2020 08:34:56 GMT etag: - - '637332483659500000' + - '637369652958100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:06 GMT + - Tue, 29 Sep 2020 08:34:57 GMT etag: - - '637332483659500000' + - '637369652958100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml index baeacfbe219b..164710cde1bc 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_basic.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:08Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:57Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:07 GMT + - Tue, 29 Sep 2020 08:34:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:34:58Z2020-09-29T08:34:58Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:58.453Z2020-09-29T08:34:58.49ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:08 GMT + - Tue, 29 Sep 2020 08:34:58 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:09Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:34:59Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:34:58Z2020-09-29T08:34:58Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:58.453Z2020-09-29T08:34:58.49Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:09 GMT + - Tue, 29 Sep 2020 08:34:59 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -126,16 +126,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:35:00Z2020-09-29T08:35:00Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:00.29Z2020-09-29T08:35:00.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:10 GMT + - Tue, 29 Sep 2020 08:35:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -160,25 +160,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:11Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:08Z2020-08-17T08:06:08Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:01Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:34:58Z2020-09-29T08:34:58Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:08.67Z2020-08-17T08:06:08.7Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:34:58.453Z2020-09-29T08:34:58.49Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:35:00Z2020-09-29T08:35:00Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:00.29Z2020-09-29T08:35:00.363Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:11 GMT + - Tue, 29 Sep 2020 08:35:01 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -208,9 +208,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:11 GMT + - Tue, 29 Sep 2020 08:35:01 GMT etag: - - '637332483687000000' + - '637369652984900000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -233,19 +233,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:12Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:10Z2020-08-17T08:06:10Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:02Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:35:00Z2020-09-29T08:35:00Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:10.34Z2020-08-17T08:06:10.37Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:00.2897971Z2020-09-29T08:35:00.2897971Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:12 GMT + - Tue, 29 Sep 2020 08:35:02 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -275,9 +275,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:12 GMT + - Tue, 29 Sep 2020 08:35:02 GMT etag: - - '637332483703700000' + - '637369653003630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -300,13 +300,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:13Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:03Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:13 GMT + - Tue, 29 Sep 2020 08:35:03 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml index 7a1dfb94d062..55d672cb1643 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_negtive.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:14Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:04Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:13 GMT + - Tue, 29 Sep 2020 08:35:03 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:14Z2020-08-17T08:06:14Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:04Z2020-09-29T08:35:05Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:14.827Z2020-08-17T08:06:14.857ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:04.957Z2020-09-29T08:35:05.017ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:14 GMT + - Tue, 29 Sep 2020 08:35:04 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:15Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:14Z2020-08-17T08:06:14Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:05Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:04Z2020-09-29T08:35:05Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:14.827Z2020-08-17T08:06:14.857Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:04.957Z2020-09-29T08:35:05.017Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:14 GMT + - Tue, 29 Sep 2020 08:35:05 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -126,9 +126,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:15 GMT + - Tue, 29 Sep 2020 08:35:06 GMT etag: - - '637332483748570000' + - '637369653050170000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -151,13 +151,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:16Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:07Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:16 GMT + - Tue, 29 Sep 2020 08:35:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -183,13 +183,13 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:c48c7263-3c90-4fda-a2d3-565df184afc0_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, - Timestamp:2020-08-17T08:06:17 + address. TrackingId:f688a238-20bd-4784-b2c6-66ca3a0e2791_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:test_queue, + Timestamp:2020-09-29T08:35:07 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:16 GMT + - Tue, 29 Sep 2020 08:35:07 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -217,13 +217,13 @@ interactions: response: body: string: 404No service is hosted at the specified - address. TrackingId:0e29f312-8bc1-4a5a-b2c2-2f795396b870_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, - Timestamp:2020-08-17T08:06:18 + address. TrackingId:75a1cca2-5ba4-4c53-9077-3c38dde289c7_G12, SystemTracker:servicebustestsbname.servicebus.windows.net:non_existing_queue, + Timestamp:2020-09-29T08:35:08 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:17 GMT + - Tue, 29 Sep 2020 08:35:07 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml index 30f3ecb077e6..f1feb00ee173 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_delete_one_and_check_not_existing.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:18Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:08Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:17 GMT + - Tue, 29 Sep 2020 08:35:08 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue0?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue0?api-version=2017-04queue02020-08-17T08:06:19Z2020-08-17T08:06:19Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue0?api-version=2017-04queue02020-09-29T08:35:09Z2020-09-29T08:35:09Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:19.56Z2020-08-17T08:06:19.65ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:09.58Z2020-09-29T08:35:09.63ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:19 GMT + - Tue, 29 Sep 2020 08:35:09 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,16 +91,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:06:20Z2020-08-17T08:06:20Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04queue12020-09-29T08:35:10Z2020-09-29T08:35:10Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:20.663Z2020-08-17T08:06:20.693ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:10.693Z2020-09-29T08:35:10.777ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:20 GMT + - Tue, 29 Sep 2020 08:35:10 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -132,16 +132,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:06:21Z2020-08-17T08:06:21Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04queue22020-09-29T08:35:11Z2020-09-29T08:35:11Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:21.557Z2020-08-17T08:06:21.58ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:11.58Z2020-09-29T08:35:11.78ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:21 GMT + - Tue, 29 Sep 2020 08:35:11 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -173,16 +173,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:06:22Z2020-08-17T08:06:22Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04queue32020-09-29T08:35:12Z2020-09-29T08:35:13Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:22.54Z2020-08-17T08:06:22.59ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:12.94Z2020-09-29T08:35:13.023ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:23 GMT + - Tue, 29 Sep 2020 08:35:13 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -214,16 +214,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue4?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:06:23Z2020-08-17T08:06:23Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04queue42020-09-29T08:35:14Z2020-09-29T08:35:14Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:23.707Z2020-08-17T08:06:23.733ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:14.3Z2020-09-29T08:35:14.327ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:24 GMT + - Tue, 29 Sep 2020 08:35:14 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -255,16 +255,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue5?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:06:24Z2020-08-17T08:06:24Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04queue52020-09-29T08:35:15Z2020-09-29T08:35:15Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:24.58Z2020-08-17T08:06:24.613ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:15.423Z2020-09-29T08:35:15.453ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:25 GMT + - Tue, 29 Sep 2020 08:35:15 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -296,16 +296,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue6?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:06:25Z2020-08-17T08:06:25Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04queue62020-09-29T08:35:16Z2020-09-29T08:35:16Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:25.797Z2020-08-17T08:06:25.82ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:16.343Z2020-09-29T08:35:16.52ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:26 GMT + - Tue, 29 Sep 2020 08:35:16 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -337,16 +337,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue7?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:06:26Z2020-08-17T08:06:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04queue72020-09-29T08:35:17Z2020-09-29T08:35:17Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:26.937Z2020-08-17T08:06:26.97ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:17.41Z2020-09-29T08:35:17.44ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:27 GMT + - Tue, 29 Sep 2020 08:35:17 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -378,16 +378,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue8?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:06:28Z2020-08-17T08:06:28Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04queue82020-09-29T08:35:18Z2020-09-29T08:35:18Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:28.14Z2020-08-17T08:06:28.17ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:18.51Z2020-09-29T08:35:18.54ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:28 GMT + - Tue, 29 Sep 2020 08:35:18 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -419,16 +419,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/queue9?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:06:29Z2020-08-17T08:06:29Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04queue92020-09-29T08:35:19Z2020-09-29T08:35:19Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:29.337Z2020-08-17T08:06:29.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:19.417Z2020-09-29T08:35:19.497ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:29 GMT + - Tue, 29 Sep 2020 08:35:19 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -460,9 +460,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:30 GMT + - Tue, 29 Sep 2020 08:35:20 GMT etag: - - '637332483796500000' + - '637369653096300000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -485,67 +485,67 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:30Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue1?api-version=2017-04queue12020-08-17T08:06:20Z2020-08-17T08:06:20Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:21Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue1?api-version=2017-04queue12020-09-29T08:35:10Z2020-09-29T08:35:10Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:20.663Z2020-08-17T08:06:20.693Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:10.693Z2020-09-29T08:35:10.777Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue2?api-version=2017-04queue22020-08-17T08:06:21Z2020-08-17T08:06:21Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue2?api-version=2017-04queue22020-09-29T08:35:11Z2020-09-29T08:35:11Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:21.5695693Z2020-08-17T08:06:21.5695693Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:11.58Z2020-09-29T08:35:11.78Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue3?api-version=2017-04queue32020-08-17T08:06:22Z2020-08-17T08:06:22Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue3?api-version=2017-04queue32020-09-29T08:35:12Z2020-09-29T08:35:13Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:22.54Z2020-08-17T08:06:22.59Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:12.94Z2020-09-29T08:35:13.023Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue4?api-version=2017-04queue42020-08-17T08:06:23Z2020-08-17T08:06:23Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue4?api-version=2017-04queue42020-09-29T08:35:14Z2020-09-29T08:35:14Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:23.707Z2020-08-17T08:06:23.733Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:14.3Z2020-09-29T08:35:14.327Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue5?api-version=2017-04queue52020-08-17T08:06:24Z2020-08-17T08:06:24Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue5?api-version=2017-04queue52020-09-29T08:35:15Z2020-09-29T08:35:15Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:24.58Z2020-08-17T08:06:24.613Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:15.423Z2020-09-29T08:35:15.453Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue6?api-version=2017-04queue62020-08-17T08:06:25Z2020-08-17T08:06:25Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue6?api-version=2017-04queue62020-09-29T08:35:16Z2020-09-29T08:35:16Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:25.797Z2020-08-17T08:06:25.82Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:16.343Z2020-09-29T08:35:16.52Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue7?api-version=2017-04queue72020-08-17T08:06:26Z2020-08-17T08:06:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue7?api-version=2017-04queue72020-09-29T08:35:17Z2020-09-29T08:35:17Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:26.937Z2020-08-17T08:06:26.97Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:17.41Z2020-09-29T08:35:17.44Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue8?api-version=2017-04queue82020-08-17T08:06:28Z2020-08-17T08:06:28Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue8?api-version=2017-04queue82020-09-29T08:35:18Z2020-09-29T08:35:18Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:28.14Z2020-08-17T08:06:28.17Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:18.51Z2020-09-29T08:35:18.54Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/queue9?api-version=2017-04queue92020-08-17T08:06:29Z2020-08-17T08:06:29Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/queue9?api-version=2017-04queue92020-09-29T08:35:19Z2020-09-29T08:35:19Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:29.337Z2020-08-17T08:06:29.363Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:19.417Z2020-09-29T08:35:19.497Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:30 GMT + - Tue, 29 Sep 2020 08:35:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -575,9 +575,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:31 GMT + - Tue, 29 Sep 2020 08:35:21 GMT etag: - - '637332483806930000' + - '637369653107770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -607,9 +607,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:32 GMT + - Tue, 29 Sep 2020 08:35:22 GMT etag: - - '637332483815800000' + - '637369653117800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -639,9 +639,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:32 GMT + - Tue, 29 Sep 2020 08:35:23 GMT etag: - - '637332483825900000' + - '637369653130230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -671,9 +671,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:33 GMT + - Tue, 29 Sep 2020 08:35:24 GMT etag: - - '637332483837330000' + - '637369653143270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -703,9 +703,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:33 GMT + - Tue, 29 Sep 2020 08:35:24 GMT etag: - - '637332483846130000' + - '637369653154530000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -735,9 +735,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:34 GMT + - Tue, 29 Sep 2020 08:35:25 GMT etag: - - '637332483858200000' + - '637369653165200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -767,9 +767,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:35 GMT + - Tue, 29 Sep 2020 08:35:25 GMT etag: - - '637332483869700000' + - '637369653174400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -799,9 +799,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:36 GMT + - Tue, 29 Sep 2020 08:35:26 GMT etag: - - '637332483881700000' + - '637369653185400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -831,9 +831,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:36 GMT + - Tue, 29 Sep 2020 08:35:30 GMT etag: - - '637332483893630000' + - '637369653194970000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -856,13 +856,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:37Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:30Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:37 GMT + - Tue, 29 Sep 2020 08:35:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml index 1100af6cbcd7..65ddbe100721 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:12Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:31Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:12 GMT + - Tue, 29 Sep 2020 08:35:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:13Z2020-07-02T05:58:13Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:32Z2020-09-29T08:35:32Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:13.253Z2020-07-02T05:58:13.323ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:32.357Z2020-09-29T08:35:32.393ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:13 GMT + - Tue, 29 Sep 2020 08:35:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-07-02T05:58:13Z2020-07-02T05:58:13Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?enrich=false&api-version=2017-04test_queue2020-09-29T08:35:32Z2020-09-29T08:35:32Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:13.253Z2020-07-02T05:58:13.323Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:32.357Z2020-09-29T08:35:32.393Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:13 GMT + - Tue, 29 Sep 2020 08:35:33 GMT etag: - - '637292662933230000' + - '637369653323930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:13 GMT + - Tue, 29 Sep 2020 08:35:33 GMT etag: - - '637292662933230000' + - '637369653323930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml index 8d7a5af773c4..f11e93a72439 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_get_runtime_info_negative.yaml @@ -9,20 +9,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/non_existing_queue?enrich=false&api-version=2017-04 response: body: string: Publicly Listed ServicesThis is the list of publicly-listed - services currently available.uuid:d95288d3-71ed-4d24-ab25-c29ce2160d42;id=264082020-07-02T05:58:15ZService + services currently available.uuid:01567fd2-6173-4591-9761-014fa9d962cb;id=257892020-09-29T08:35:34ZService Bus 1.1 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:15 GMT + - Tue, 29 Sep 2020 08:35:34 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml index 31b5bacf8987..3f00003a73d0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_basic.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:42Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:35Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:42 GMT + - Tue, 29 Sep 2020 08:35:35 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,13 +43,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:42Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:36Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:42 GMT + - Tue, 29 Sep 2020 08:35:35 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -79,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:43Z2020-08-17T08:06:43Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:36Z2020-09-29T08:35:36Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:43.1Z2020-08-17T08:06:43.143ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:36.897Z2020-09-29T08:35:36.923ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:43 GMT + - Tue, 29 Sep 2020 08:35:37 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -113,19 +113,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:44Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:43Z2020-08-17T08:06:43Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:37Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:36Z2020-09-29T08:35:36Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:43.1Z2020-08-17T08:06:43.143Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:36.897Z2020-09-29T08:35:36.923Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:43 GMT + - Tue, 29 Sep 2020 08:35:37 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -155,9 +155,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:44 GMT + - Tue, 29 Sep 2020 08:35:38 GMT etag: - - '637332484031430000' + - '637369653369230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -180,13 +180,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:45Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:38Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:45 GMT + - Tue, 29 Sep 2020 08:35:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -209,13 +209,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:45Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:39Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:45 GMT + - Tue, 29 Sep 2020 08:35:39 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -245,16 +245,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:46Z2020-08-17T08:06:46Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:40Z2020-09-29T08:35:40Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:46.537Z2020-08-17T08:06:46.607ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:40.267Z2020-09-29T08:35:40.3ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:46 GMT + - Tue, 29 Sep 2020 08:35:40 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -279,19 +279,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:47Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-08-17T08:06:46Z2020-08-17T08:06:46Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:41Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:40Z2020-09-29T08:35:40Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:46.537Z2020-08-17T08:06:46.607Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:40.267Z2020-09-29T08:35:40.3Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:47 GMT + - Tue, 29 Sep 2020 08:35:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -321,9 +321,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:48 GMT + - Tue, 29 Sep 2020 08:35:41 GMT etag: - - '637332484066070000' + - '637369653403000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -346,13 +346,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:48Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:42Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:48 GMT + - Tue, 29 Sep 2020 08:35:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml index 097c8407c4d2..b0a0bcda3662 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_runtime_info_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:22Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:43Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:21 GMT + - Tue, 29 Sep 2020 08:35:43 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:22Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:44Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:21 GMT + - Tue, 29 Sep 2020 08:35:43 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,18 +67,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:23Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:44Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:22 GMT + - Tue, 29 Sep 2020 08:35:44 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -103,21 +103,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:45Z2020-09-29T08:35:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:45.247Z2020-09-29T08:35:45.273ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:23 GMT + - Tue, 29 Sep 2020 08:35:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -137,24 +137,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:24Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbompQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:46Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:45Z2020-09-29T08:35:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:45.247Z2020-09-29T08:35:45.273Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:23 GMT + - Tue, 29 Sep 2020 08:35:45 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -172,24 +172,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:25Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-07-02T05:58:23Z2020-07-02T05:58:23Zservicebustestshi5frbompQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:46Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_queue?api-version=2017-04test_queue2020-09-29T08:35:45Z2020-09-29T08:35:45Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-07-02T05:58:23.627Z2020-07-02T05:58:23.657Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:45.247Z2020-09-29T08:35:45.273Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:24 GMT + - Tue, 29 Sep 2020 08:35:46 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -209,7 +209,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_queue?api-version=2017-04 response: @@ -219,9 +219,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:58:24 GMT + - Tue, 29 Sep 2020 08:35:47 GMT etag: - - '637292663036570000' + - '637369653452730000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -239,18 +239,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-07-02T05:58:26Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:47Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:58:25 GMT + - Tue, 29 Sep 2020 08:35:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml index af7b2b38f6f4..43ad91ea73b8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_negative_credential.yaml @@ -14,14 +14,14 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty or token is invalid. TrackingId:6ee5c0e4-0535-485b-9533-5d2742bc468c_G0, + string: 401claim is empty or token is invalid. TrackingId:17c0761f-1e57-43fd-8af1-21037ae5adaa_G15, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-08-17T08:06:54 + Timestamp:2020-09-29T08:35:48 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:53 GMT + - Tue, 29 Sep 2020 08:35:47 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -46,14 +46,14 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: 401claim is empty or token is invalid. TrackingId:3cc53c8a-15ed-4da0-8343-e07c2c9641ab_G2, + string: 401claim is empty or token is invalid. TrackingId:6cdbb217-7d47-4c32-af19-d1ae1bec94f0_G13, SystemTracker:servicebustestsbname.servicebus.windows.net:$Resources/queues, - Timestamp:2020-08-17T08:06:54 + Timestamp:2020-09-29T08:35:49 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:54 GMT + - Tue, 29 Sep 2020 08:35:48 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml index 82b07e181801..16616390781d 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_list_with_special_chars.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:55Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:50Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:55 GMT + - Tue, 29 Sep 2020 08:35:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,13 +43,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:56Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:50Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:55 GMT + - Tue, 29 Sep 2020 08:35:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -79,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:56Z2020-08-17T08:06:56Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:35:51Z2020-09-29T08:35:51Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:56.593Z2020-08-17T08:06:56.68ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:51.053Z2020-09-29T08:35:51.127ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:56 GMT + - Tue, 29 Sep 2020 08:35:51 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -113,19 +113,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:57Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:06:56Z2020-08-17T08:06:56Zservicebustest32ip2wgoaaQueueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:52Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:35:51Z2020-09-29T08:35:51Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:56.593Z2020-08-17T08:06:56.68Z0001-01-01T00:00:00ZtruePT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:51.0756218Z2020-09-29T08:35:51.0756218Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:57 GMT + - Tue, 29 Sep 2020 08:35:52 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -155,9 +155,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:06:57 GMT + - Tue, 29 Sep 2020 08:35:52 GMT etag: - - '637332484166800000' + - '637369653511270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -180,13 +180,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:58Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:53Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:58 GMT + - Tue, 29 Sep 2020 08:35:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml index 4ad37f2e9d60..a346c178e79e 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_invalid.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:06:59Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:54Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:06:59 GMT + - Tue, 29 Sep 2020 08:35:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:06:59Z2020-08-17T08:06:59Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-09-29T08:35:55Z2020-09-29T08:35:55Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:55.053Z2020-09-29T08:35:55.15ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:00 GMT + - Tue, 29 Sep 2020 08:35:54 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT1M1024falsetrueP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:35:55.053Z2020-09-29T08:35:55.150ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -96,15 +96,15 @@ interactions: body: string: 400SubCode=40000. The value for the RequiresSession property of an existing Queue cannot be changed. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:540ca39e-816a-42a9-95e9-2941b11261e8_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, - Timestamp:2020-08-17T08:07:00 + . TrackingId:d68b6e6b-0084-4bdb-b92a-8f8c08ba3692_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, + Timestamp:2020-09-29T08:35:55 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:00 GMT + - Tue, 29 Sep 2020 08:35:54 GMT etag: - - '637332484197170000' + - '637369653551500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -119,7 +119,7 @@ interactions: PT1M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:35:55.053Z2020-09-29T08:35:55.150ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -141,13 +141,13 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:6880ea69-57a1-48ba-9798-93eae8eae2a0_G10, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-08-17T08:07:00 + . TrackingId:d21f2fa0-3ff8-4d4a-95b7-da9509d04b02_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-09-29T08:35:56 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:00 GMT + - Tue, 29 Sep 2020 08:35:55 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -162,7 +162,7 @@ interactions: P25D1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:06:59.683Z2020-08-17T08:06:59.717ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:35:55.053Z2020-09-29T08:35:55.150ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -188,15 +188,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:599cd376-fba2-40a0-8e2c-fe3e2de60637_G10, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:07:01' + Actual value was 25.00:00:00. TrackingId:163c8063-1917-4229-bf17-0817929dc89a_G14, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-09-29T08:35:56' headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:01 GMT + - Tue, 29 Sep 2020 08:35:55 GMT etag: - - '637332484197170000' + - '637369653551500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -228,9 +228,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:01 GMT + - Tue, 29 Sep 2020 08:35:56 GMT etag: - - '637332484197170000' + - '637369653551500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml index 5ddb855d3219..68a152849786 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_queues.test_mgmt_queue_update_success.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-04 response: body: - string: Queueshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:02Z + string: Queueshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/queues?$skip=0&$top=100&api-version=2017-042020-09-29T08:35:58Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:02 GMT + - Tue, 29 Sep 2020 08:35:58 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:35:59Z2020-09-29T08:35:59Zservicebustestrm7a5oi5hkPT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1M1024falsefalseP10675199DT2H48M5.4775807SfalsePT10M10true00falseActive2020-09-29T08:35:59.07Z2020-09-29T08:35:59.103ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:03 GMT + - Tue, 29 Sep 2020 08:35:59 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.120ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' + />Active2020-09-29T08:35:59.070Z2020-09-29T08:35:59.103ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse' headers: Accept: - application/xml @@ -94,18 +94,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:35:59Zservicebustestrm7a5oi5hkPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.12ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-09-29T08:35:59.07Z2020-09-29T08:35:59.103ZtrueP10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:03 GMT + - Tue, 29 Sep 2020 08:35:59 GMT etag: - - '637332484231200000' + - '637369653591030000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -130,19 +130,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:35:59Z2020-09-29T08:35:59Zservicebustestrm7a5oi5hkPT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00ZtruePT2M1024falsefalseP10675199DT2H48M5.477539SfalsePT10M10true00falseActive2020-09-29T08:35:59.07Z2020-09-29T08:35:59.667Z0001-01-01T00:00:00Ztrue00000P10675199DT2H48M5.477539SfalseAvailablefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:03 GMT + - Tue, 29 Sep 2020 08:35:59 GMT etag: - - '637332484236530000' + - '637369653596670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -158,7 +158,7 @@ interactions: PT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' + />Active2020-09-29T08:35:59.070Z2020-09-29T08:35:59.667Z0001-01-01T00:00:00.000Ztrue00000PT10MfalseAvailabletrue' headers: Accept: - application/xml @@ -178,19 +178,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:03Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:36:00Zservicebustestrm7a5oi5hkPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.653Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-09-29T08:35:59.07Z2020-09-29T08:35:59.667Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:03 GMT + - Tue, 29 Sep 2020 08:35:59 GMT etag: - - '637332484236530000' + - '637369653596670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -215,19 +215,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:07:03Z2020-08-17T08:07:03Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:35:59Z2020-09-29T08:36:00Zservicebustestrm7a5oi5hkPT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-08-17T08:07:03.073Z2020-08-17T08:07:03.97Z0001-01-01T00:00:00ZtruePT13S3072falsefalsePT11MtruePT12M14true00trueActive2020-09-29T08:35:59.07Z2020-09-29T08:36:00.007Z0001-01-01T00:00:00Ztrue00000PT10MfalseAvailabletrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:03 GMT + - Tue, 29 Sep 2020 08:36:00 GMT etag: - - '637332484239700000' + - '637369653600070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -259,9 +259,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:04 GMT + - Tue, 29 Sep 2020 08:36:00 GMT etag: - - '637332484239700000' + - '637369653600070000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml index 142968d1c6c8..dc38afc176f0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:05Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:01Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:05 GMT + - Tue, 29 Sep 2020 08:36:00 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:07:05Z2020-08-17T08:07:05Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:36:02Z2020-09-29T08:36:02Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:05.88Z2020-08-17T08:07:05.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:02.087Z2020-09-29T08:36:02.12ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:06 GMT + - Tue, 29 Sep 2020 08:36:01 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:07:06Z2020-08-17T08:07:06Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:36:02Z2020-09-29T08:36:02ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:06.7306538Z2020-08-17T08:07:06.7306538Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:02.6616861Z2020-09-29T08:36:02.6616861Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:06 GMT + - Tue, 29 Sep 2020 08:36:02 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -125,7 +125,7 @@ interactions: xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:13test_rule_1' + xsi:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13truetest_rule_1' headers: Accept: - application/xml @@ -134,7 +134,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1765' + - '1816' Content-Type: - application/atom+xml User-Agent: @@ -143,9 +143,9 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:07Z2020-08-17T08:07:07Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:36:03Z2020-09-29T08:36:03Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-08-17T08:07:07.3400234Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13true2020-09-29T08:36:03.0210776Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:02 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -187,9 +187,9 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-08-17T08:07:07Z2020-08-17T08:07:07Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?enrich=false&api-version=2017-04test_rule_12020-09-29T08:36:03Z2020-09-29T08:36:03Ztestcidkey_stringstr1key_int2020-07-05T11:12:13key_durationP1DT2H3MSET Priority = @param20@param2020-07-05T11:12:132020-08-17T08:07:07.346407Ztest_rule_1 + i:type="d6p1:dateTime" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">2020-07-05T11:12:13true2020-09-29T08:36:03.0260815Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:02 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -222,7 +222,7 @@ interactions: Priority = @param120@param1str1str1truetest_rule_2' headers: Accept: @@ -232,7 +232,7 @@ interactions: Connection: - keep-alive Content-Length: - - '690' + - '741' Content-Type: - application/atom+xml User-Agent: @@ -241,21 +241,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:07Z2020-08-17T08:07:07Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:36:03Z2020-09-29T08:36:03ZPriority = @param120@param1str12020-08-17T08:07:07.6369359Ztest_rule_2 + i:type="d6p1:string" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">str1true2020-09-29T08:36:03.2866862Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:02 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -280,21 +280,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-08-17T08:07:07Z2020-08-17T08:07:07Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?enrich=false&api-version=2017-04test_rule_22020-09-29T08:36:03Z2020-09-29T08:36:03ZPriority = @param120@param1str12020-08-17T08:07:07.6419583Ztest_rule_2 + i:type="d6p1:string" xmlns:d6p1="http://www.w3.org/2001/XMLSchema">str1true2020-09-29T08:36:03.2917153Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:02 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -328,19 +328,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:07Z2020-08-17T08:07:07Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:36:03Z2020-09-29T08:36:03Z1=1202020-08-17T08:07:07.8244391Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-09-29T08:36:03.9123161Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:03 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -365,19 +365,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-08-17T08:07:07Z2020-08-17T08:07:07Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?enrich=false&api-version=2017-04test_rule_32020-09-29T08:36:03Z2020-09-29T08:36:03Z1=1202020-08-17T08:07:07.8138253Ztest_rule_3 + i:type="EmptyRuleAction"/>2020-09-29T08:36:03.9167042Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:03 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -409,9 +409,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:07 GMT + - Tue, 29 Sep 2020 08:36:03 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -441,9 +441,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:08 GMT + - Tue, 29 Sep 2020 08:36:03 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -473,9 +473,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:08 GMT + - Tue, 29 Sep 2020 08:36:03 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -505,9 +505,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:08 GMT + - Tue, 29 Sep 2020 08:36:04 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -537,9 +537,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:08 GMT + - Tue, 29 Sep 2020 08:36:04 GMT etag: - - '637332484259100000' + - '637369653621200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml index 7b4d583bf11d..982d5acfb324 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_create_duplicate.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:10Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:06Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:09 GMT + - Tue, 29 Sep 2020 08:36:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:07:10Z2020-08-17T08:07:10Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:36:06Z2020-09-29T08:36:06Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:10.893Z2020-08-17T08:07:10.93ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:06.787Z2020-09-29T08:36:06.863ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:10 GMT + - Tue, 29 Sep 2020 08:36:07 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T08:07:11Z2020-08-17T08:07:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-09-29T08:36:07Z2020-09-29T08:36:07ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:11.641507Z2020-08-17T08:07:11.641507Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:07.3430233Z2020-09-29T08:36:07.3430233Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:11 GMT + - Tue, 29 Sep 2020 08:36:07 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''20Priority = ''low''20truerule' headers: Accept: @@ -127,7 +127,7 @@ interactions: Connection: - keep-alive Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -136,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-08-17T08:07:11Z2020-08-17T08:07:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo/rules/rule?api-version=2017-04rule2020-09-29T08:36:07Z2020-09-29T08:36:07ZPriority - = 'low'202020-08-17T08:07:11.938343Zrule + = 'low'20true2020-09-29T08:36:07.8587155Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:11 GMT + - Tue, 29 Sep 2020 08:36:07 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -164,7 +164,7 @@ interactions: Priority = ''low''20Priority = ''low''20truerule' headers: Accept: @@ -174,7 +174,7 @@ interactions: Connection: - keep-alive Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -184,15 +184,15 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo|rule' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:e6d88467-51c8-49b8-adb3-2c7bdc3b26f8_B11, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:07:12 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:44944473-1871-411b-85c0-0a70e5730cee_B13, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:36:08 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:12 GMT + - Tue, 29 Sep 2020 08:36:08 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -224,9 +224,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:12 GMT + - Tue, 29 Sep 2020 08:36:08 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -256,9 +256,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:12 GMT + - Tue, 29 Sep 2020 08:36:08 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -288,9 +288,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:13 GMT + - Tue, 29 Sep 2020 08:36:09 GMT etag: - - '637332484309300000' + - '637369653668630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml index d2404f164fd7..a7f727b12d32 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_list_and_delete.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:15Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:10Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:14 GMT + - Tue, 29 Sep 2020 08:36:10 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:07:15Z2020-08-17T08:07:15Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:36:10Z2020-09-29T08:36:10Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:15.607Z2020-08-17T08:07:15.64ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:10.78Z2020-09-29T08:36:10.827ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:15 GMT + - Tue, 29 Sep 2020 08:36:11 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T08:07:16Z2020-08-17T08:07:16Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:36:11Z2020-09-29T08:36:11ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:16.2422848Z2020-08-17T08:07:16.2422848Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:11.3662292Z2020-09-29T08:36:11.3662292Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:16 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,21 +127,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:16Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:36:11Z2020-09-29T08:36:11Z1=1202020-08-17T08:07:16.2440316Z$Default + i:type="EmptyRuleAction"/>2020-09-29T08:36:11.3692415Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:16 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -156,7 +156,7 @@ interactions: Priority = ''low''20Priority = ''low''20truetest_rule_1' headers: Accept: @@ -166,7 +166,7 @@ interactions: Connection: - keep-alive Content-Length: - - '506' + - '557' Content-Type: - application/atom+xml User-Agent: @@ -175,20 +175,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'low'202020-08-17T08:07:17.1798057Ztest_rule_1 + = 'low'20true2020-09-29T08:36:11.6474939Ztest_rule_1 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:16 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,7 +203,7 @@ interactions: Priority = ''middle''20Priority = ''middle''20truetest_rule_2' headers: Accept: @@ -213,7 +213,7 @@ interactions: Connection: - keep-alive Content-Length: - - '509' + - '560' Content-Type: - application/atom+xml User-Agent: @@ -222,20 +222,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:17Z2020-08-17T08:07:17Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'middle'202020-08-17T08:07:17.3048342Ztest_rule_2 + = 'middle'20true2020-09-29T08:36:11.7568947Ztest_rule_2 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -250,7 +250,7 @@ interactions: Priority = ''high''20Priority = ''high''20truetest_rule_3' headers: Accept: @@ -260,7 +260,7 @@ interactions: Connection: - keep-alive Content-Length: - - '507' + - '558' Content-Type: - application/atom+xml User-Agent: @@ -269,20 +269,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'high'202020-08-17T08:07:17.4923372Ztest_rule_3 + = 'high'20true2020-09-29T08:36:11.9443601Ztest_rule_3 headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -307,42 +307,42 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:17Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:12Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:36:11Z2020-09-29T08:36:11Z1=1202020-08-17T08:07:16.2440316Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17Z2020-09-29T08:36:11.3692415Z$Defaulthttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'low'202020-08-17T08:07:17.1822982Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-08-17T08:07:17Z2020-08-17T08:07:17Z20true2020-09-29T08:36:11.6505251Ztest_rule_1https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_2?api-version=2017-04test_rule_22020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'middle'202020-08-17T08:07:17.3073575Ztest_rule_2https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17Z20true2020-09-29T08:36:11.7599024Ztest_rule_2https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'high'202020-08-17T08:07:17.4948299Ztest_rule_3 + = 'high'20true2020-09-29T08:36:11.9474045Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -374,9 +374,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:11 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -399,35 +399,35 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:18Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:12Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:36:11Z2020-09-29T08:36:11Z1=1202020-08-17T08:07:16.2440316Z$Defaulthttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-08-17T08:07:17Z2020-08-17T08:07:17Z2020-09-29T08:36:11.3692415Z$Defaulthttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_1?api-version=2017-04test_rule_12020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'low'202020-08-17T08:07:17.1822982Ztest_rule_1https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-08-17T08:07:17Z2020-08-17T08:07:17Z20true2020-09-29T08:36:11.6505251Ztest_rule_1https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/test_rule_3?api-version=2017-04test_rule_32020-09-29T08:36:11Z2020-09-29T08:36:11ZPriority - = 'high'202020-08-17T08:07:17.4948299Ztest_rule_3 + = 'high'20true2020-09-29T08:36:11.9474045Ztest_rule_3 headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:12 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -459,9 +459,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:17 GMT + - Tue, 29 Sep 2020 08:36:12 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -491,9 +491,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:18 GMT + - Tue, 29 Sep 2020 08:36:12 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -516,21 +516,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-04 response: body: - string: Ruleshttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:18Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-08-17T08:07:16Z2020-08-17T08:07:16ZRuleshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:13Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk/rules/$Default?api-version=2017-04$Default2020-09-29T08:36:11Z2020-09-29T08:36:11Z1=1202020-08-17T08:07:16.2440316Z$Default + i:type="EmptyRuleAction"/>2020-09-29T08:36:11.3692415Z$Default headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:18 GMT + - Tue, 29 Sep 2020 08:36:12 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -562,9 +562,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:18 GMT + - Tue, 29 Sep 2020 08:36:12 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -594,9 +594,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:19 GMT + - Tue, 29 Sep 2020 08:36:13 GMT etag: - - '637332484356400000' + - '637369653708270000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml index 2e8534db48f8..a11fda2eef96 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_invalid.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:20Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:14Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:19 GMT + - Tue, 29 Sep 2020 08:36:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:21Z2020-08-17T08:07:21Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:36:15Z2020-09-29T08:36:15Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:21.03Z2020-08-17T08:07:21.06ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:15Z2020-09-29T08:36:15.05ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:20 GMT + - Tue, 29 Sep 2020 08:36:14 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:07:21Z2020-08-17T08:07:21Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:36:15Z2020-09-29T08:36:15ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:21.7773996Z2020-08-17T08:07:21.7773996Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:15.8375817Z2020-09-29T08:36:15.8375817Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:21 GMT + - Tue, 29 Sep 2020 08:36:15 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''20Priority = ''low''20truerule' headers: Accept: @@ -127,7 +127,7 @@ interactions: Connection: - keep-alive Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -136,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:22Z2020-08-17T08:07:22Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:36:16Z2020-09-29T08:36:16ZPriority - = 'low'202020-08-17T08:07:22.1055211Zrule + = 'low'20true2020-09-29T08:36:16.2320398Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:21 GMT + - Tue, 29 Sep 2020 08:36:15 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,20 +174,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:22Z2020-08-17T08:07:22Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:36:16Z2020-09-29T08:36:16ZPriority - = 'low'202020-08-17T08:07:22.101271Zrule + = 'low'20true2020-09-29T08:36:16.2233001Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:21 GMT + - Tue, 29 Sep 2020 08:36:15 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -202,8 +202,8 @@ interactions: Priority = ''low''202020-08-17T08:07:22.101271Ziewdm' + xsi:type="SqlFilter">Priority = ''low''20true2020-09-29T08:36:16.2233Ziewdm' headers: Accept: - application/xml @@ -212,7 +212,7 @@ interactions: Connection: - keep-alive Content-Length: - - '550' + - '599' Content-Type: - application/atom+xml If-Match: @@ -224,15 +224,15 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:fjrui|eqkovc|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:ee8d2324-b900-4a80-bffc-5e7a6a8a1f94_B10, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T08:07:22 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:b947c874-6146-4419-96c8-367a644bb43d_B13, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:36:16 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:22 GMT + - Tue, 29 Sep 2020 08:36:16 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -264,9 +264,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:22 GMT + - Tue, 29 Sep 2020 08:36:17 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -296,9 +296,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:23 GMT + - Tue, 29 Sep 2020 08:36:17 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -328,9 +328,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:24 GMT + - Tue, 29 Sep 2020 08:36:17 GMT etag: - - '637332484410600000' + - '637369653750500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml index 143f84c51a1c..973636bb2b65 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_rules.test_mgmt_rule_update_success.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:07:25Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:19Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:25 GMT + - Tue, 29 Sep 2020 08:36:18 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:07:26Z2020-08-17T08:07:26Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:36:20Z2020-09-29T08:36:20Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:07:26.443Z2020-08-17T08:07:26.47ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:20.18Z2020-09-29T08:36:20.21ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:26 GMT + - Tue, 29 Sep 2020 08:36:19 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T08:07:27Z2020-08-17T08:07:27Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:36:20Z2020-09-29T08:36:20ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T08:07:27.3010686Z2020-08-17T08:07:27.3010686Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:20.7861209Z2020-09-29T08:36:20.7861209Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:26 GMT + - Tue, 29 Sep 2020 08:36:20 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: Priority = ''low''20Priority = ''low''20truerule' headers: Accept: @@ -127,7 +127,7 @@ interactions: Connection: - keep-alive Content-Length: - - '499' + - '550' Content-Type: - application/atom+xml User-Agent: @@ -136,20 +136,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:36:21Z2020-09-29T08:36:21ZPriority - = 'low'202020-08-17T08:07:27.5041859Zrule + = 'low'20true2020-09-29T08:36:21.0830137Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:26 GMT + - Tue, 29 Sep 2020 08:36:20 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -174,20 +174,20 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:36:21Z2020-09-29T08:36:21ZPriority - = 'low'202020-08-17T08:07:27.4989085Zrule + = 'low'20true2020-09-29T08:36:21.0877053Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:26 GMT + - Tue, 29 Sep 2020 08:36:20 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,7 +203,7 @@ interactions: testcidSET Priority = ''low''202020-08-17T08:07:27.498908Zrule' + xsi:type="SqlRuleAction">SET Priority = ''low''20true2020-09-29T08:36:21.087705Zrule' headers: Accept: - application/xml @@ -212,7 +212,7 @@ interactions: Connection: - keep-alive Content-Length: - - '604' + - '655' Content-Type: - application/atom+xml If-Match: @@ -223,19 +223,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?api-version=2017-04rule2020-09-29T08:36:21Z2020-09-29T08:36:21ZtestcidSET Priority = 'low'202020-08-17T08:07:27.613572Zrule + i:type="SqlRuleAction">SET Priority = 'low'20true2020-09-29T08:36:21.3954996Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:26 GMT + - Tue, 29 Sep 2020 08:36:20 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -260,19 +260,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-08-17T08:07:27Z2020-08-17T08:07:27Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc/rules/rule?enrich=false&api-version=2017-04rule2020-09-29T08:36:21Z2020-09-29T08:36:21ZtestcidSET Priority = 'low'202020-08-17T08:07:27.4989085Zrule + i:type="SqlRuleAction">SET Priority = 'low'20true2020-09-29T08:36:21.0877053Zrule headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:07:27 GMT + - Tue, 29 Sep 2020 08:36:20 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -304,9 +304,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:27 GMT + - Tue, 29 Sep 2020 08:36:21 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -336,9 +336,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:27 GMT + - Tue, 29 Sep 2020 08:36:21 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -368,9 +368,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:07:27 GMT + - Tue, 29 Sep 2020 08:36:22 GMT etag: - - '637332484464700000' + - '637369653802100000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml index 7a239601cc98..d8e183d031db 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_by_name.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:09Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:09 GMT + - Tue, 29 Sep 2020 08:36:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T17:53:10Z2020-08-17T17:53:10Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:36:24Z2020-09-29T08:36:24Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:10.643Z2020-08-17T17:53:10.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:24.637Z2020-09-29T08:36:24.667ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:10 GMT + - Tue, 29 Sep 2020 08:36:24 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-08-17T17:53:11Z2020-08-17T17:53:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?api-version=2017-04sub_testkkk2020-09-29T08:36:25Z2020-09-29T08:36:25ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:11.2567629Z2020-08-17T17:53:11.2567629Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:25.7266754Z2020-09-29T08:36:25.7266754Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:11 GMT + - Tue, 29 Sep 2020 08:36:25 GMT etag: - - '637332835906770000' + - '637369653846670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,19 +127,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-08-17T17:53:11Z2020-08-17T17:53:11Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf/subscriptions/sub_testkkk?enrich=false&api-version=2017-04sub_testkkk2020-09-29T08:36:25Z2020-09-29T08:36:25ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:11.2621645Z2020-08-17T17:53:11.2621645Z2020-08-17T17:53:11.263ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:25.7199052Z2020-09-29T08:36:25.7199052Z2020-09-29T08:36:25.72Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:11 GMT + - Tue, 29 Sep 2020 08:36:26 GMT etag: - - '637332835906770000' + - '637369653846670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -171,9 +171,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:11 GMT + - Tue, 29 Sep 2020 08:36:26 GMT etag: - - '637332835906770000' + - '637369653846670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,9 +203,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:12 GMT + - Tue, 29 Sep 2020 08:36:26 GMT etag: - - '637332835906770000' + - '637369653846670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml index 9a6d84792420..b57e6c07acd8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_duplicate.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:13Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:28Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:12 GMT + - Tue, 29 Sep 2020 08:36:27 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T17:53:14Z2020-08-17T17:53:14Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:36:28Z2020-09-29T08:36:28Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:14.007Z2020-08-17T17:53:14.127ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:28.5Z2020-09-29T08:36:28.543ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:14 GMT + - Tue, 29 Sep 2020 08:36:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-08-17T17:53:14Z2020-08-17T17:53:14Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq/subscriptions/kkaqo?api-version=2017-04kkaqo2020-09-29T08:36:29Z2020-09-29T08:36:29ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:14.8309408Z2020-08-17T17:53:14.8309408Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:29.1347421Z2020-09-29T08:36:29.1347421Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:14 GMT + - Tue, 29 Sep 2020 08:36:28 GMT etag: - - '637332835941270000' + - '637369653885430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -135,15 +135,15 @@ interactions: response: body: string: 409The messaging entity 'servicebustestsbname:Topic:dqkodq|kkaqo' - already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:ddf0b787-7910-4850-8a14-071b333bec65_B12, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:15 + already exists. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:54918e51-b6a5-4dc2-aa5d-8b5bbfc46407_B4, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:36:29 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:15 GMT + - Tue, 29 Sep 2020 08:36:29 GMT etag: - - '637332835941270000' + - '637369653885430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -175,9 +175,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:16 GMT + - Tue, 29 Sep 2020 08:36:30 GMT etag: - - '637332835941270000' + - '637369653885430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -207,9 +207,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:16 GMT + - Tue, 29 Sep 2020 08:36:30 GMT etag: - - '637332835941270000' + - '637369653885430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml index bfc0706f4d9f..84d13561c325 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_create_with_subscription_description.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:18Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:32Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:18 GMT + - Tue, 29 Sep 2020 08:36:32 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T17:53:18Z2020-08-17T17:53:18Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:36:33Z2020-09-29T08:36:33Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:18.76Z2020-08-17T17:53:18.853ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:33.007Z2020-09-29T08:36:33.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:19 GMT + - Tue, 29 Sep 2020 08:36:33 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-08-17T17:53:19Z2020-08-17T17:53:19Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?api-version=2017-04kdosako2020-09-29T08:36:33Z2020-09-29T08:36:33ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:53:19.4799703Z2020-08-17T17:53:19.4799703Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT13StruePT11Mtruetrue014trueActive2020-09-29T08:36:33.5597485Z2020-09-29T08:36:33.5597485Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:19 GMT + - Tue, 29 Sep 2020 08:36:33 GMT etag: - - '637332835988530000' + - '637369653930400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,19 +127,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-08-17T17:53:19Z2020-08-17T17:53:19Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk/subscriptions/kdosako?enrich=false&api-version=2017-04kdosako2020-09-29T08:36:33Z2020-09-29T08:36:33ZPT13StruePT11Mtruetrue014trueActive2020-08-17T17:53:19.4784974Z2020-08-17T17:53:19.4784974Z2020-08-17T17:53:19.48ZPT13StruePT11Mtruetrue014trueActive2020-09-29T08:36:33.5649693Z2020-09-29T08:36:33.5649693Z2020-09-29T08:36:33.5649693Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:19 GMT + - Tue, 29 Sep 2020 08:36:33 GMT etag: - - '637332835988530000' + - '637369653930400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -171,9 +171,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:19 GMT + - Tue, 29 Sep 2020 08:36:33 GMT etag: - - '637332835988530000' + - '637369653930400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,9 +203,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:20 GMT + - Tue, 29 Sep 2020 08:36:34 GMT etag: - - '637332835988530000' + - '637369653930400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml index 1a312c8aa628..7122f49471f9 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_delete.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:21Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:35Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:21 GMT + - Tue, 29 Sep 2020 08:36:34 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-08-17T17:53:22Z2020-08-17T17:53:22Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda?api-version=2017-04test_topicgda2020-09-29T08:36:35Z2020-09-29T08:36:35Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:22.57Z2020-08-17T17:53:22.603ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:35.773Z2020-09-29T08:36:35.883ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:22 GMT + - Tue, 29 Sep 2020 08:36:35 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.433373Z2020-08-17T17:53:23.433373Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.4355262Z2020-09-29T08:36:36.4355262Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:22 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -127,21 +127,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:23Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:36Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -173,18 +173,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.8239722Z2020-08-17T17:53:23.8239722Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.8105286Z2020-09-29T08:36:36.8105286Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -209,27 +209,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:37Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?api-version=2017-04test_sub1da2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.8145447Z2020-09-29T08:36:36.8145447Z2020-09-29T08:36:36.8145447Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -254,19 +254,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-08-17T17:53:23Z2020-08-17T17:53:23Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub1da?enrich=false&api-version=2017-04test_sub1da2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172Z2020-08-17T17:53:23.424172ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z2020-09-29T08:36:36.42392Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -298,9 +298,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -323,21 +323,21 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-08-17T17:53:23Z2020-08-17T17:53:23ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:37Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions/test_sub2gcv?api-version=2017-04test_sub2gcv2020-09-29T08:36:36Z2020-09-29T08:36:36ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798Z2020-08-17T17:53:23.814798ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:36.8145447Z2020-09-29T08:36:36.8145447Z2020-09-29T08:36:36.8145447Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:23 GMT + - Tue, 29 Sep 2020 08:36:36 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -369,9 +369,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:24 GMT + - Tue, 29 Sep 2020 08:36:37 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -394,15 +394,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:24Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topicgda/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:37Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:24 GMT + - Tue, 29 Sep 2020 08:36:37 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -434,9 +434,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:24 GMT + - Tue, 29 Sep 2020 08:36:37 GMT etag: - - '637332836026030000' + - '637369653958830000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml index 510188efca58..a993033c1417 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_get_runtime_info_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:05Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:39Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:04 GMT + - Tue, 29 Sep 2020 08:36:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-07-02T05:59:05Z2020-07-02T05:59:05Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa?api-version=2017-04dcvxqa2020-09-29T08:36:39Z2020-09-29T08:36:39Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:05.897Z2020-07-02T05:59:05.947ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:39.54Z2020-09-29T08:36:39.587ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:05 GMT + - Tue, 29 Sep 2020 08:36:39 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -86,23 +86,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-07-02T05:59:06Z2020-07-02T05:59:06Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04xvazzag2020-09-29T08:36:40Z2020-09-29T08:36:40ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:06.4800119Z2020-07-02T05:59:06.4800119Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:40.1191377Z2020-09-29T08:36:40.1191377Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:05 GMT + - Tue, 29 Sep 2020 08:36:39 GMT etag: - - '637292663459470000' + - '637369653995870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -122,24 +122,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustestshi5frbomp.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-07-02T05:59:06Z2020-07-02T05:59:06Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?enrich=false&api-version=2017-04xvazzag2020-09-29T08:36:40Z2020-09-29T08:36:40ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:06.4837277Z2020-07-02T05:59:06.4837277Z2020-07-02T05:59:06.4837277ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:40.1241559Z2020-09-29T08:36:40.1241559Z2020-09-29T08:36:40.1241559Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:05 GMT + - Tue, 29 Sep 2020 08:36:39 GMT etag: - - '637292663459470000' + - '637369653995870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -161,7 +161,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa/subscriptions/xvazzag?api-version=2017-04 response: @@ -171,9 +171,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:05 GMT + - Tue, 29 Sep 2020 08:36:39 GMT etag: - - '637292663459470000' + - '637369653995870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -193,7 +193,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dcvxqa?api-version=2017-04 response: @@ -203,9 +203,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:06 GMT + - Tue, 29 Sep 2020 08:36:40 GMT etag: - - '637292663459470000' + - '637369653995870000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml index aa195f4d92b2..917ded55fe50 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:30Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:42Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:29 GMT + - Tue, 29 Sep 2020 08:36:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-08-17T17:53:30Z2020-08-17T17:53:30Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc?api-version=2017-04lkoqxc2020-09-29T08:36:43Z2020-09-29T08:36:43Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:30.487Z2020-08-17T17:53:30.53ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:43.043Z2020-09-29T08:36:43.077ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:30 GMT + - Tue, 29 Sep 2020 08:36:43 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,15 +84,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:31Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:43Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:30 GMT + - Tue, 29 Sep 2020 08:36:43 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -124,18 +124,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:53:31Z2020-08-17T17:53:31Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-09-29T08:36:43Z2020-09-29T08:36:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.4130604Z2020-08-17T17:53:31.4130604Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:43.8949819Z2020-09-29T08:36:43.8949819Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:31 GMT + - Tue, 29 Sep 2020 08:36:43 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -167,18 +167,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:53:31Z2020-08-17T17:53:31Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-09-29T08:36:44Z2020-09-29T08:36:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.7255848Z2020-08-17T17:53:31.7255848Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:44.4262925Z2020-09-29T08:36:44.4262925Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:31 GMT + - Tue, 29 Sep 2020 08:36:44 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -203,27 +203,27 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:32Zhttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-08-17T17:53:31Z2020-08-17T17:53:31ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:44Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub1?api-version=2017-04testsub12020-09-29T08:36:43Z2020-09-29T08:36:43ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.4079484Z2020-08-17T17:53:31.4079484Z2020-08-17T17:53:31.4079484ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:43.8908707Z2020-09-29T08:36:43.8908707Z2020-09-29T08:36:43.8908707Z00000P10675199DT2H48M5.4775807SAvailablehttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-08-17T17:53:31Z2020-08-17T17:53:31Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions/testsub2?api-version=2017-04testsub22020-09-29T08:36:44Z2020-09-29T08:36:44ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:31.7204491Z2020-08-17T17:53:31.7204491Z2020-08-17T17:53:31.7204491ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:44.4377786Z2020-09-29T08:36:44.4377786Z2020-09-29T08:36:44.4377786Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:31 GMT + - Tue, 29 Sep 2020 08:36:44 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -255,9 +255,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:32 GMT + - Tue, 29 Sep 2020 08:36:44 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -287,9 +287,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:32 GMT + - Tue, 29 Sep 2020 08:36:44 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -312,15 +312,15 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustesteotyq3ucg7.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:32Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/lkoqxc/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:44Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:32 GMT + - Tue, 29 Sep 2020 08:36:44 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -352,9 +352,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:32 GMT + - Tue, 29 Sep 2020 08:36:45 GMT etag: - - '637332836105300000' + - '637369654030770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml index 79cd07ef66e5..7cd9bafa65b1 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_list_runtime_info.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:10Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:46Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:10 GMT + - Tue, 29 Sep 2020 08:36:46 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-07-02T05:59:11Z2020-07-02T05:59:11Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv?api-version=2017-04dkoamv2020-09-29T08:36:46Z2020-09-29T08:36:46Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:11.17Z2020-07-02T05:59:11.233ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:46.577Z2020-09-29T08:36:46.663ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,20 +79,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:47Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -112,20 +112,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:47Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -152,23 +152,23 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:36:47Z2020-09-29T08:36:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7885546Z2020-07-02T05:59:11.7885546Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:47.3531526Z2020-09-29T08:36:47.3531526Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -188,26 +188,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:11Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:47Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:36:47Z2020-09-29T08:36:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.793ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:47.3626944Z2020-09-29T08:36:47.3626944Z2020-09-29T08:36:47.363Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -227,26 +227,26 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:12Zhttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-07-02T05:59:11Z2020-07-02T05:59:11ZSubscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:47Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04cxqplc2020-09-29T08:36:47Z2020-09-29T08:36:47ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.7924891Z2020-07-02T05:59:11.793ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:47.3626944Z2020-09-29T08:36:47.3626944Z2020-09-29T08:36:47.363Z00000P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -268,7 +268,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions/cxqplc?api-version=2017-04 response: @@ -278,9 +278,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -298,20 +298,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-04 response: body: - string: Subscriptionshttps://servicebustestshi5frbomp.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:12Z + string: Subscriptionshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dkoamv/subscriptions?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:48Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:11 GMT + - Tue, 29 Sep 2020 08:36:47 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -333,7 +333,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/dkoamv?api-version=2017-04 response: @@ -343,9 +343,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:12 GMT + - Tue, 29 Sep 2020 08:36:48 GMT etag: - - '637292663512330000' + - '637369654066630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml index cab99a7ca950..59745f0598b2 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_invalid.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:38Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:49Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:38 GMT + - Tue, 29 Sep 2020 08:36:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T17:53:39Z2020-08-17T17:53:39Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-09-29T08:36:49Z2020-09-29T08:36:49Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:39.26Z2020-08-17T17:53:39.297ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:49.837Z2020-09-29T08:36:49.88ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:39 GMT + - Tue, 29 Sep 2020 08:36:50 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-08-17T17:53:40Z2020-08-17T17:53:40Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj/subscriptions/kwqxc?api-version=2017-04kwqxc2020-09-29T08:36:50Z2020-09-29T08:36:50ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:40.0795374Z2020-08-17T17:53:40.0795374Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:50.6002126Z2020-09-29T08:36:50.6002126Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:40 GMT + - Tue, 29 Sep 2020 08:36:50 GMT etag: - - '637332836192970000' + - '637369654098800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -116,7 +116,7 @@ interactions: body: ' PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:40.079537Z2020-08-17T17:53:40.079537Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT1MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:36:50.600212Z2020-09-29T08:36:50.600212Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -137,15 +137,15 @@ interactions: response: body: string: 404Entity 'servicebustestsbname:Topic:dfjfj|iewdm' - was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:665084b5-e929-4a6a-ad9c-a69d45f10cbe_B5, - SystemTracker:NoSystemTracker, Timestamp:2020-08-17T17:53:40 + was not found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:8b42b62c-a6cf-45e8-9679-2512ecdfd006_B14, + SystemTracker:NoSystemTracker, Timestamp:2020-09-29T08:36:51 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:41 GMT + - Tue, 29 Sep 2020 08:36:52 GMT etag: - - '637332836192970000' + - '637369654098800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -159,7 +159,7 @@ interactions: body: ' P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:40.079537Z2020-08-17T17:53:40.079537Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">P25DfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:36:50.600212Z2020-09-29T08:36:50.600212Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -185,15 +185,15 @@ interactions: Parameter name: LockDuration - Actual value was 25.00:00:00. TrackingId:00091d6a-fae2-441c-b275-ab2a4abf6fb4_G4, - SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-08-17T17:53:41' + Actual value was 25.00:00:00. TrackingId:351941aa-f78c-432c-a9cf-6393d835e395_G1, + SystemTracker:servicebustestsbname:Topic:dfjfj, Timestamp:2020-09-29T08:36:52' headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:42 GMT + - Tue, 29 Sep 2020 08:36:53 GMT etag: - - '637332836192970000' + - '637369654098800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -225,9 +225,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:42 GMT + - Tue, 29 Sep 2020 08:36:53 GMT etag: - - '637332836192970000' + - '637369654098800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -257,9 +257,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:43 GMT + - Tue, 29 Sep 2020 08:36:54 GMT etag: - - '637332836192970000' + - '637369654098800000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml index 41d6d4b457f8..0ad95eee0c06 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_subscriptions.test_mgmt_subscription_update_success.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustesteotyq3ucg7.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T17:53:44Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:55Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:44 GMT + - Tue, 29 Sep 2020 08:36:54 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T17:53:45Z2020-08-17T17:53:45Zservicebustesteotyq3ucg7https://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:36:55Z2020-09-29T08:36:55Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T17:53:45.313Z2020-08-17T17:53:45.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:36:55.543Z2020-09-29T08:36:55.577ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:45 GMT + - Tue, 29 Sep 2020 08:36:55 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -91,18 +91,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:36:56Z2020-09-29T08:36:56ZPT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-08-17T17:53:46.1465135Z2020-08-17T17:53:46.1465135Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT1MfalseP10675199DT2H48M5.4775807Sfalsetrue010trueActive2020-09-29T08:36:56.6284629Z2020-09-29T08:36:56.6284629Z0001-01-01T00:00:00P10675199DT2H48M5.4775807SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:45 GMT + - Tue, 29 Sep 2020 08:36:56 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -116,7 +116,7 @@ interactions: body: ' PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.146513Z2020-08-17T17:53:46.146513Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' + type="application/xml">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:36:56.628462Z2020-09-29T08:36:56.628462Z0001-01-01T00:00:00.000ZP10675199DT2H48M5.477539SAvailable' headers: Accept: - application/xml @@ -136,18 +136,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:36:57Z2020-09-29T08:36:57ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.3808273Z2020-08-17T17:53:46.3808273Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:36:57.0659419Z2020-09-29T08:36:57.0659419Z0001-01-01T00:00:00P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:46 GMT + - Tue, 29 Sep 2020 08:36:56 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -172,19 +172,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-09-29T08:36:56Z2020-09-29T08:36:57ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-08-17T17:53:46.1397396Z2020-08-17T17:53:46.4053647Z2020-08-17T17:53:46.14ZPT2MfalseP10675199DT2H48M5.477539Sfalsetrue010trueActive2020-09-29T08:36:56.6319829Z2020-09-29T08:36:57.0694824Z2020-09-29T08:36:56.633Z00000P10675199DT2H48M5.477539SAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:46 GMT + - Tue, 29 Sep 2020 08:36:57 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -199,7 +199,7 @@ interactions: PT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.139739Z2020-08-17T17:53:46.405364Z2020-08-17T17:53:46.140Z00000PT10MAvailable' + type="application/xml">PT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:36:56.631982Z2020-09-29T08:36:57.069482Z2020-09-29T08:36:56.633Z00000PT10MAvailable' headers: Accept: - application/xml @@ -219,18 +219,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04 response: body: - string: https://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?api-version=2017-04eqkovc2020-09-29T08:36:57Z2020-09-29T08:36:57ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.6152085Z2020-08-17T17:53:46.6152085Z0001-01-01T00:00:00PT10MAvailable + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:36:57.2534967Z2020-09-29T08:36:57.2534967Z0001-01-01T00:00:00PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:46 GMT + - Tue, 29 Sep 2020 08:36:57 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -255,19 +255,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04 response: body: - string: sb://servicebustesteotyq3ucg7.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-08-17T17:53:46Z2020-08-17T17:53:46Zsb://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui/subscriptions/eqkovc?enrich=false&api-version=2017-04eqkovc2020-09-29T08:36:56Z2020-09-29T08:36:57ZPT12SfalsePT11Mtruetrue014trueActive2020-08-17T17:53:46.1397396Z2020-08-17T17:53:46.6241188Z2020-08-17T17:53:46.14ZPT12SfalsePT11Mtruetrue014trueActive2020-09-29T08:36:56.6319829Z2020-09-29T08:36:57.2570162Z2020-09-29T08:36:56.633Z00000PT10MAvailable headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 17:53:46 GMT + - Tue, 29 Sep 2020 08:36:57 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -299,9 +299,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:46 GMT + - Tue, 29 Sep 2020 08:36:57 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -331,9 +331,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 17:53:47 GMT + - Tue, 29 Sep 2020 08:36:58 GMT etag: - - '637332836253630000' + - '637369654155770000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml index 58802331a966..face8dc5ffb1 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_by_name.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:05Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:36:59Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:04 GMT + - Tue, 29 Sep 2020 08:36:58 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-08-17T08:08:05Z2020-08-17T08:08:05Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?api-version=2017-04topic_testaddf2020-09-29T08:37:00Z2020-09-29T08:37:00Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:05.75Z2020-08-17T08:08:05.81ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:00.183Z2020-09-29T08:37:00.42ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:06 GMT + - Tue, 29 Sep 2020 08:37:00 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-08-17T08:08:05Z2020-08-17T08:08:05Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/topic_testaddf?enrich=false&api-version=2017-04topic_testaddf2020-09-29T08:37:00Z2020-09-29T08:37:00Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:05.75Z2020-08-17T08:08:05.81Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:00.183Z2020-09-29T08:37:00.42Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:06 GMT + - Tue, 29 Sep 2020 08:37:01 GMT etag: - - '637332484858100000' + - '637369654204200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:07 GMT + - Tue, 29 Sep 2020 08:37:01 GMT etag: - - '637332484858100000' + - '637369654204200000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml index cbf1a354adeb..b436771e51c5 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_duplicate.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:08Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:02Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:07 GMT + - Tue, 29 Sep 2020 08:37:01 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dqkodq?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-08-17T08:08:08Z2020-08-17T08:08:08Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dqkodq?api-version=2017-04dqkodq2020-09-29T08:37:02Z2020-09-29T08:37:03Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:08.773Z2020-08-17T08:08:08.803ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:02.953Z2020-09-29T08:37:03ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:08 GMT + - Tue, 29 Sep 2020 08:37:02 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -93,15 +93,15 @@ interactions: body: string: 409SubCode=40900. Conflict. You're requesting an operation that isn't allowed in the resource's current state. To know more - visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:85b71f5e-1618-4c3d-8555-2a2091555677_G13, - SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-08-17T08:08:09 + visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:f0c0ed1c-fb92-454a-8ea0-62f1f7fca110_G6, + SystemTracker:servicebustestsbname.servicebus.windows.net:dqkodq, Timestamp:2020-09-29T08:37:03 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:08 GMT + - Tue, 29 Sep 2020 08:37:02 GMT etag: - - '637332484888030000' + - '637369654230000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -133,9 +133,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:10 GMT + - Tue, 29 Sep 2020 08:37:03 GMT etag: - - '637332484888030000' + - '637369654230000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml index 529f1ece11e3..6553859f3b22 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_create_with_topic_description.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:11Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:05Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:10 GMT + - Tue, 29 Sep 2020 08:37:05 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-08-17T08:08:11Z2020-08-17T08:08:11Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?api-version=2017-04iweidk2020-09-29T08:37:05Z2020-09-29T08:37:05Zservicebustestrm7a5oi5hkPT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:08:11.573Z2020-08-17T08:08:11.683ZfalsePT10MtrueAvailabletruetrue + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:37:05.683Z2020-09-29T08:37:05.85ZfalsePT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:11 GMT + - Tue, 29 Sep 2020 08:37:06 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-08-17T08:08:11Z2020-08-17T08:08:11Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/iweidk?enrich=false&api-version=2017-04iweidk2020-09-29T08:37:05Z2020-09-29T08:37:05Zservicebustestrm7a5oi5hkPT11M356352falsePT12Mtrue0falsetrueActive2020-08-17T08:08:11.573Z2020-08-17T08:08:11.683Z0001-01-01T00:00:00ZfalsePT11M356352falsePT12Mtrue0falsetrueActive2020-09-29T08:37:05.683Z2020-09-29T08:37:05.85Z0001-01-01T00:00:00Zfalse000000PT10MtrueAvailabletruetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:12 GMT + - Tue, 29 Sep 2020 08:37:06 GMT etag: - - '637332484916830000' + - '637369654258500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:12 GMT + - Tue, 29 Sep 2020 08:37:07 GMT etag: - - '637332484916830000' + - '637369654258500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml index bccbc1236da5..5c7720f5c072 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_delete.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:14Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:07Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:13 GMT + - Tue, 29 Sep 2020 08:37:07 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:08Z2020-09-29T08:37:08Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:08.303Z2020-09-29T08:37:08.363ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:15 GMT + - Tue, 29 Sep 2020 08:37:08 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -84,19 +84,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:15Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:09Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:08Z2020-09-29T08:37:08Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:08.303Z2020-09-29T08:37:08.363Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:15 GMT + - Tue, 29 Sep 2020 08:37:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -126,16 +126,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:37:09Z2020-09-29T08:37:09Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:09.897Z2020-09-29T08:37:09.95ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:17 GMT + - Tue, 29 Sep 2020 08:37:10 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -160,25 +160,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:17Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:10Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:08Z2020-09-29T08:37:08Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:08.303Z2020-09-29T08:37:08.363Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:37:09Z2020-09-29T08:37:09Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:09.897Z2020-09-29T08:37:09.95Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:17 GMT + - Tue, 29 Sep 2020 08:37:10 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -201,19 +201,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-08-17T08:08:14Z2020-08-17T08:08:14Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-09-29T08:37:08Z2020-09-29T08:37:08Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:14.77Z2020-08-17T08:08:14.807Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:08.303Z2020-09-29T08:37:08.363Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:17 GMT + - Tue, 29 Sep 2020 08:37:10 GMT etag: - - '637332484948070000' + - '637369654283630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -245,9 +245,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:18 GMT + - Tue, 29 Sep 2020 08:37:11 GMT etag: - - '637332484948070000' + - '637369654283630000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -270,19 +270,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:19Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:12Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?api-version=2017-04txt/.-_1232020-09-29T08:37:09Z2020-09-29T08:37:09Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:09.897Z2020-09-29T08:37:09.95Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:18 GMT + - Tue, 29 Sep 2020 08:37:11 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -305,19 +305,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/txt%2F.-_123?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-08-17T08:08:16Z2020-08-17T08:08:16Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/txt/.-_123?enrich=false&api-version=2017-04txt/.-_1232020-09-29T08:37:09Z2020-09-29T08:37:09Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:16.643Z2020-08-17T08:08:16.673Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:09.897Z2020-09-29T08:37:09.95Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:19 GMT + - Tue, 29 Sep 2020 08:37:12 GMT etag: - - '637332484966730000' + - '637369654299500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -349,9 +349,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:19 GMT + - Tue, 29 Sep 2020 08:37:12 GMT etag: - - '637332484966730000' + - '637369654299500000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -374,13 +374,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:20Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:13Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:20 GMT + - Tue, 29 Sep 2020 08:37:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml index 13c58c751919..eae852caf2e2 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_get_runtime_info_basic.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:32Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:15Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:32 GMT + - Tue, 29 Sep 2020 08:37:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -45,21 +45,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:33Z2020-07-02T05:59:33Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:16Z2020-09-29T08:37:16Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:33.137Z2020-07-02T05:59:33.167ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:16.047Z2020-09-29T08:37:16.123ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:33 GMT + - Tue, 29 Sep 2020 08:37:16 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -79,24 +79,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-07-02T05:59:33Z2020-07-02T05:59:33Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?enrich=false&api-version=2017-04test_topic2020-09-29T08:37:16Z2020-09-29T08:37:16Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:33.137Z2020-07-02T05:59:33.167Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:16.047Z2020-09-29T08:37:16.123Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:33 GMT + - Tue, 29 Sep 2020 08:37:16 GMT etag: - - '637292663731670000' + - '637369654361230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -118,7 +118,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -128,9 +128,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:34 GMT + - Tue, 29 Sep 2020 08:37:17 GMT etag: - - '637292663731670000' + - '637369654361230000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml index 9a3095d006ac..1aab1635f415 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:23Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:17Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:23 GMT + - Tue, 29 Sep 2020 08:37:17 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -43,13 +43,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:23Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:18Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:23 GMT + - Tue, 29 Sep 2020 08:37:18 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -79,16 +79,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_1?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:08:24Z2020-08-17T08:08:24Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-09-29T08:37:18Z2020-09-29T08:37:19Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:24.653Z2020-08-17T08:08:24.683ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:18.957Z2020-09-29T08:37:19ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:24 GMT + - Tue, 29 Sep 2020 08:37:19 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -120,16 +120,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/test_topic_2?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:08:25Z2020-08-17T08:08:25Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-09-29T08:37:19Z2020-09-29T08:37:19Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:25.87Z2020-08-17T08:08:25.91ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:19.8Z2020-09-29T08:37:19.843ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:26 GMT + - Tue, 29 Sep 2020 08:37:20 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -154,25 +154,25 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:26Zhttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-08-17T08:08:24Z2020-08-17T08:08:24Zservicebustest32ip2wgoaaTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:20Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_1?api-version=2017-04test_topic_12020-09-29T08:37:18Z2020-09-29T08:37:19Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:24.653Z2020-08-17T08:08:24.683Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:18.957Z2020-09-29T08:37:19Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalsehttps://servicebustest32ip2wgoaa.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-08-17T08:08:25Z2020-08-17T08:08:25Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic_2?api-version=2017-04test_topic_22020-09-29T08:37:19Z2020-09-29T08:37:19Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:25.87Z2020-08-17T08:08:25.91Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:19.8Z2020-09-29T08:37:19.843Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:26 GMT + - Tue, 29 Sep 2020 08:37:20 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -202,9 +202,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:27 GMT + - Tue, 29 Sep 2020 08:37:21 GMT etag: - - '637332485046830000' + - '637369654390000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -234,9 +234,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:27 GMT + - Tue, 29 Sep 2020 08:37:21 GMT etag: - - '637332485059100000' + - '637369654398430000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -259,13 +259,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:28Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:22Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:28 GMT + - Tue, 29 Sep 2020 08:37:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml index 8ae550ca2a35..d5610caae108 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_list_runtime_info.yaml @@ -9,18 +9,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:39 GMT + - Tue, 29 Sep 2020 08:37:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -38,18 +38,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:39Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:23Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:39 GMT + - Tue, 29 Sep 2020 08:37:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -67,18 +67,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:40Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:24Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:40 GMT + - Tue, 29 Sep 2020 08:37:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -103,21 +103,21 @@ interactions: Content-Type: - application/atom+xml User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: PUT uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: body: - string: https://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbomphttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:25Z2020-09-29T08:37:25Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:25.007Z2020-09-29T08:37:25.04ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:41 GMT + - Tue, 29 Sep 2020 08:37:25 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -137,24 +137,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:41Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbompTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:25Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:25Z2020-09-29T08:37:25Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:25.007Z2020-09-29T08:37:25.04Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:41 GMT + - Tue, 29 Sep 2020 08:37:25 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -172,24 +172,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:42Zhttps://servicebustestshi5frbomp.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-07-02T05:59:40Z2020-07-02T05:59:40Zservicebustestshi5frbompTopicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:26Zhttps://servicebustestrm7a5oi5hk.servicebus.windows.net/test_topic?api-version=2017-04test_topic2020-09-29T08:37:25Z2020-09-29T08:37:25Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-07-02T05:59:40.873Z2020-07-02T05:59:40.927Z0001-01-01T00:00:00ZtrueP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:25.007Z2020-09-29T08:37:25.04Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:42 GMT + - Tue, 29 Sep 2020 08:37:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -209,7 +209,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://servicebustestsbname.servicebus.windows.net/test_topic?api-version=2017-04 response: @@ -219,9 +219,9 @@ interactions: content-length: - '0' date: - - Thu, 02 Jul 2020 05:59:42 GMT + - Tue, 29 Sep 2020 08:37:27 GMT etag: - - '637292663809270000' + - '637369654450400000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -239,18 +239,18 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-servicebusmanagementclient/2017-04 Python/3.7.7 (Windows-10-10.0.18362-SP0) + - azsdk-python-servicebusmanagementclient/2017-04 Python/3.8.2 (Windows-10-10.0.18362-SP0) method: GET uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustestshi5frbomp.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-07-02T05:59:43Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:27Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Thu, 02 Jul 2020 05:59:43 GMT + - Tue, 29 Sep 2020 08:37:27 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml index 7fd715793c61..4da64e4868d2 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_invalid.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:34Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:28Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:34 GMT + - Tue, 29 Sep 2020 08:37:28 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/dfjfj?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-08-17T08:08:34Z2020-08-17T08:08:34Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/dfjfj?api-version=2017-04dfjfj2020-09-29T08:37:28Z2020-09-29T08:37:28Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:28.937Z2020-09-29T08:37:28.967ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:35 GMT + - Tue, 29 Sep 2020 08:37:29 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: P10675199DT2H48M5.477539S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:37:28.937Z2020-09-29T08:37:28.967ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -96,13 +96,13 @@ interactions: body: string: 404SubCode=40400. Not Found. The Operation doesn't exist. To know more visit https://aka.ms/sbResourceMgrExceptions. - . TrackingId:7dc8fcea-5aaa-417e-8a3f-557e1809cf4b_G6, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, - Timestamp:2020-08-17T08:08:35 + . TrackingId:288e2e47-7cd2-4915-880a-8b1f3ca7f8b7_G14, SystemTracker:servicebustestsbname.servicebus.windows.net:iewdm, + Timestamp:2020-09-29T08:37:30 headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:35 GMT + - Tue, 29 Sep 2020 08:37:29 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -117,7 +117,7 @@ interactions: P10675199DT2H48M5.477539S1024falseP25Dtrue0falsefalseActive2020-08-17T08:08:34.657Z2020-08-17T08:08:34.727ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:37:28.937Z2020-09-29T08:37:28.967ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -142,15 +142,15 @@ interactions: Parameter name: DuplicateDetectionHistoryTimeWindow - Actual value was 25.00:00:00. TrackingId:52fb362a-1d80-412e-a5b7-31215d12e2f9_G6, - SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-08-17T08:08:36' + Actual value was 25.00:00:00. TrackingId:c99bb746-a2c0-4777-a914-4ef0d5cd8229_G14, + SystemTracker:servicebustestsbname.servicebus.windows.net:dfjfj, Timestamp:2020-09-29T08:37:30' headers: content-type: - application/xml; charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:36 GMT + - Tue, 29 Sep 2020 08:37:30 GMT etag: - - '637332485147270000' + - '637369654489670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -182,9 +182,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:36 GMT + - Tue, 29 Sep 2020 08:37:30 GMT etag: - - '637332485147270000' + - '637369654489670000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml index 91516278cb42..f782d2bf61b0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/recordings/test_mgmt_topics.test_mgmt_topic_update_success.yaml @@ -14,13 +14,13 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-04 response: body: - string: Topicshttps://servicebustest32ip2wgoaa.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-08-17T08:08:37Z + string: Topicshttps://servicebustestrm7a5oi5hk.servicebus.windows.net/$Resources/topics?$skip=0&$top=100&api-version=2017-042020-09-29T08:37:31Z headers: content-type: - application/atom+xml;type=feed;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:36 GMT + - Tue, 29 Sep 2020 08:37:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -50,16 +50,16 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:37Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:37:32Z2020-09-29T08:37:32Zservicebustestrm7a5oi5hkP10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">P10675199DT2H48M5.4775807S1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:32.027Z2020-09-29T08:37:32.093ZtrueP10675199DT2H48M5.4775807SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:37 GMT + - Tue, 29 Sep 2020 08:37:32 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -74,7 +74,7 @@ interactions: PT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.610Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' + />Active2020-09-29T08:37:32.027Z2020-09-29T08:37:32.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse' headers: Accept: - application/xml @@ -94,18 +94,18 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:38Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:37:32Zservicebustestrm7a5oi5hkPT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:37.677ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse + xmlns:i="http://www.w3.org/2001/XMLSchema-instance">PT2M1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:32.027Z2020-09-29T08:37:32.093ZtrueP10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:38 GMT + - Tue, 29 Sep 2020 08:37:32 GMT etag: - - '637332485176770000' + - '637369654520930000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -130,19 +130,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:38Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:37:32Z2020-09-29T08:37:32Zservicebustestrm7a5oi5hkPT2M1024falsePT10Mtrue0falsefalseActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.3Z0001-01-01T00:00:00ZtruePT2M1024falsePT10Mtrue0falsefalseActive2020-09-29T08:37:32.027Z2020-09-29T08:37:32.6Z0001-01-01T00:00:00Ztrue000000P10675199DT2H48M5.477539SfalseAvailablefalsefalse headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:38 GMT + - Tue, 29 Sep 2020 08:37:32 GMT etag: - - '637332485183000000' + - '637369654526000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -158,7 +158,7 @@ interactions: PT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:08:37.610Z2020-08-17T08:08:38.300Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' + />Active2020-09-29T08:37:32.027Z2020-09-29T08:37:32.600Z0001-01-01T00:00:00.000Ztrue000000PT10MfalseAvailablefalsetrue' headers: Accept: - application/xml @@ -178,19 +178,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-08-17T08:08:38Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?api-version=2017-04fjrui2020-09-29T08:37:33Zservicebustestrm7a5oi5hkPT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.3Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-09-29T08:37:32.027Z2020-09-29T08:37:32.6Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:38 GMT + - Tue, 29 Sep 2020 08:37:32 GMT etag: - - '637332485183000000' + - '637369654526000000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -215,19 +215,19 @@ interactions: uri: https://servicebustestsbname.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04 response: body: - string: https://servicebustest32ip2wgoaa.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-08-17T08:08:37Z2020-08-17T08:08:38Zservicebustest32ip2wgoaahttps://servicebustestrm7a5oi5hk.servicebus.windows.net/fjrui?enrich=false&api-version=2017-04fjrui2020-09-29T08:37:32Z2020-09-29T08:37:33Zservicebustestrm7a5oi5hkPT11M3072falsePT12Mtrue0falsetrueActive2020-08-17T08:08:37.61Z2020-08-17T08:08:38.46Z0001-01-01T00:00:00ZtruePT11M3072falsePT12Mtrue0falsetrueActive2020-09-29T08:37:32.027Z2020-09-29T08:37:33.013Z0001-01-01T00:00:00Ztrue000000PT10MfalseAvailablefalsetrue headers: content-type: - application/atom+xml;type=entry;charset=utf-8 date: - - Mon, 17 Aug 2020 08:08:38 GMT + - Tue, 29 Sep 2020 08:37:32 GMT etag: - - '637332485184600000' + - '637369654530130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -259,9 +259,9 @@ interactions: content-length: - '0' date: - - Mon, 17 Aug 2020 08:08:39 GMT + - Tue, 29 Sep 2020 08:37:33 GMT etag: - - '637332485184600000' + - '637369654530130000' server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py index a584f343af49..505a94aaaaec 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py @@ -191,8 +191,8 @@ def test_mgmt_queue_delete_negtive(self, servicebus_namespace_connection_string) with pytest.raises(ValueError): mgmt_service.delete_queue("") - with pytest.raises(ValueError): - mgmt_service.delete_queue(queue=None) + with pytest.raises(TypeError): + mgmt_service.delete_queue(queue_name=None) @pytest.mark.liveTest @CachedResourceGroupPreparer(name_prefix='servicebustest') @@ -456,7 +456,7 @@ def test_mgmt_queue_get_runtime_properties_basic(self, servicebus_namespace_conn @CachedServiceBusNamespacePreparer(name_prefix='servicebustest') def test_mgmt_queue_get_runtime_properties_negative(self, servicebus_namespace_connection_string): mgmt_service = ServiceBusAdministrationClient.from_connection_string(servicebus_namespace_connection_string) - with pytest.raises(msrest.exceptions.ValidationError): + with pytest.raises(TypeError): mgmt_service.get_queue_runtime_properties(None) with pytest.raises(msrest.exceptions.ValidationError): diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py index 20b0baf75e0c..40b4a4cd82d0 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_rules.py @@ -137,7 +137,7 @@ def test_mgmt_rule_update_success(self, servicebus_namespace_connection_string, try: topic_description = mgmt_service.create_topic(topic_name) - subscription_description = mgmt_service.create_subscription(topic_description, subscription_name) + subscription_description = mgmt_service.create_subscription(topic_description.name, subscription_name) mgmt_service.create_rule(topic_name, subscription_name, rule_name, filter=sql_filter) rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) @@ -150,7 +150,7 @@ def test_mgmt_rule_update_success(self, servicebus_namespace_connection_string, rule_desc.filter = correlation_fitler rule_desc.action = sql_rule_action - mgmt_service.update_rule(topic_description, subscription_description, rule_desc) + mgmt_service.update_rule(topic_description.name, subscription_description.name, rule_desc) rule_desc = mgmt_service.get_rule(topic_name, subscription_name, rule_name) assert type(rule_desc.filter) == CorrelationRuleFilter @@ -190,13 +190,13 @@ def test_mgmt_rule_update_invalid(self, servicebus_namespace_connection_string, # change the name to a topic that doesn't exist; should fail. rule_desc.name = "iewdm" with pytest.raises(HttpResponseError): - mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + mgmt_service.update_rule(topic_name, subscription_description.name, rule_desc) rule_desc.name = rule_name # change the name to a topic with an invalid name exist; should fail. rule_desc.name = '' with pytest.raises(msrest.exceptions.ValidationError): - mgmt_service.update_rule(topic_name, subscription_description, rule_desc) + mgmt_service.update_rule(topic_name, subscription_description.name, rule_desc) rule_desc.name = rule_name finally: diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py index db0a734a5161..19161a14e8e8 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_subscriptions.py @@ -102,11 +102,11 @@ def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_ try: topic_description = mgmt_service.create_topic(topic_name) - subscription_description = mgmt_service.create_subscription(topic_description, subscription_name) + subscription_description = mgmt_service.create_subscription(topic_description.name, subscription_name) # Try updating one setting. subscription_description.lock_duration = datetime.timedelta(minutes=2) - mgmt_service.update_subscription(topic_description, subscription_description) + mgmt_service.update_subscription(topic_description.name, subscription_description) subscription_description = mgmt_service.get_subscription(topic_name, subscription_name) assert subscription_description.lock_duration == datetime.timedelta(minutes=2) @@ -119,8 +119,8 @@ def test_mgmt_subscription_update_success(self, servicebus_namespace_connection_ # topic_description.enable_partitioning = True # Cannot be changed after creation # topic_description.requires_session = True # Cannot be changed after creation - mgmt_service.update_subscription(topic_description, subscription_description) - subscription_description = mgmt_service.get_subscription(topic_description, subscription_name) + mgmt_service.update_subscription(topic_description.name, subscription_description) + subscription_description = mgmt_service.get_subscription(topic_description.name, subscription_name) assert subscription_description.auto_delete_on_idle == datetime.timedelta(minutes=10) assert subscription_description.dead_lettering_on_message_expiration == True @@ -192,7 +192,7 @@ def test_mgmt_subscription_delete(self, servicebus_namespace_connection_string): assert len(subscriptions) == 2 description = mgmt_service.get_subscription(topic_name, subscription_name_1) - mgmt_service.delete_subscription(topic_name, description) + mgmt_service.delete_subscription(topic_name, description.name) subscriptions = list(mgmt_service.list_subscriptions(topic_name)) assert len(subscriptions) == 1 and subscriptions[0].name == subscription_name_2 diff --git a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py index acda86871b86..efc7876ea5c4 100644 --- a/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py +++ b/sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py @@ -177,13 +177,13 @@ def test_mgmt_topic_delete(self, servicebus_namespace_connection_string): assert len(topics) == 2 description = mgmt_service.get_topic('test_topic') - mgmt_service.delete_topic(description) + mgmt_service.delete_topic(description.name) topics = list(mgmt_service.list_topics()) assert len(topics) == 1 and topics[0].name == 'txt/.-_123' description = mgmt_service.get_topic('txt/.-_123') - mgmt_service.delete_topic(description) + mgmt_service.delete_topic(description.name) topics = list(mgmt_service.list_topics()) assert len(topics) == 0 From 26f7137d6278b6fe86d58178adc3ff3c2fc7655d Mon Sep 17 00:00:00 2001 From: KieranBrantnerMagee Date: Fri, 2 Oct 2020 18:22:22 -0700 Subject: [PATCH 65/71] [ServiceBus] make amqp_message properties read-only (#14095) In order to allow time for cross-sdk unification on this feature. --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 1 + .../azure/servicebus/_common/message.py | 120 +++++++++++------- .../azure-servicebus/tests/test_queues.py | 49 ++++--- 3 files changed, 107 insertions(+), 63 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index 08beca6852da..1eef9e64738d 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -5,6 +5,7 @@ **Breaking Changes** * Passing any type other than `ReceiveMode` as parameter `receive_mode` now throws a `TypeError` instead of `AttributeError`. * Administration Client calls now take only entity names, not `Descriptions` as well to reduce ambiguity in which entity was being acted on. TypeError will now be thrown on improper parameter types (non-string). +* `AMQPMessage` (`Message.amqp_message`) properties are now read-only, changes of these properties would not be reflected in the underlying message. This may be subject to change before GA. ## 7.0.0b6 (2020-09-10) diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py index 856bd31638fe..4b1b6eee331f 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py @@ -9,6 +9,7 @@ import uuid import functools import logging +import copy from typing import Optional, List, Union, Iterable, TYPE_CHECKING, Callable, Any import uamqp.message @@ -127,7 +128,7 @@ def __init__(self, body, **kwargs): self.partition_key = kwargs.pop("partition_key", None) self.via_partition_key = kwargs.pop("via_partition_key", None) # If message is the full message, amqp_message is the "public facing interface" for what we expose. - self.amqp_message = AMQPMessage(self.message) + self.amqp_message = AMQPMessage(self.message) # type: AMQPMessage def __str__(self): return str(self.message) @@ -1083,24 +1084,7 @@ def renew_lock(self): class AMQPMessage(object): """ - The internal AMQP message that this ServiceBusMessage represents. - - :param properties: Properties to add to the message. - :type properties: ~uamqp.message.MessageProperties - :param application_properties: Service specific application properties. - :type application_properties: dict - :param annotations: Service specific message annotations. Keys in the dictionary - must be `uamqp.types.AMQPSymbol` or `uamqp.types.AMQPuLong`. - :type annotations: dict - :param delivery_annotations: Delivery-specific non-standard properties at the head of the message. - Delivery annotations convey information from the sending peer to the receiving peer. - Keys in the dictionary must be `uamqp.types.AMQPSymbol` or `uamqp.types.AMQPuLong`. - :type delivery_annotations: dict - :param header: The message header. - :type header: ~uamqp.message.MessageHeader - :param footer: The message footer. - :type footer: dict - + The internal AMQP message that this ServiceBusMessage represents. Is read-only. """ def __init__(self, message): # type: (uamqp.Message) -> None @@ -1108,48 +1092,98 @@ def __init__(self, message): @property def properties(self): - return self._message.properties + # type: () -> uamqp.message.MessageProperties + """ + Properties to add to the message. - @properties.setter - def properties(self, value): - self._message.properties = value + :rtype: ~uamqp.message.MessageProperties + """ + return uamqp.message.MessageProperties(message_id=self._message.properties.message_id, + user_id=self._message.properties.user_id, + to=self._message.properties.to, + subject=self._message.properties.subject, + reply_to=self._message.properties.reply_to, + correlation_id=self._message.properties.correlation_id, + content_type=self._message.properties.content_type, + content_encoding=self._message.properties.content_encoding + ) + + # NOTE: These are disabled pending arch. design and cross-sdk consensus on + # how we will expose sendability of amqp focused messages. To undo, uncomment and remove deepcopies/workarounds. + # + #@properties.setter + #def properties(self, value): + # self._message.properties = value @property def application_properties(self): - return self._message.application_properties + # type: () -> dict + """ + Service specific application properties. - @application_properties.setter - def application_properties(self, value): - self._message.application_properties = value + :rtype: dict + """ + return copy.deepcopy(self._message.application_properties) + + #@application_properties.setter + #def application_properties(self, value): + # self._message.application_properties = value @property def annotations(self): - return self._message.annotations + # type: () -> dict + """ + Service specific message annotations. Keys in the dictionary + must be `uamqp.types.AMQPSymbol` or `uamqp.types.AMQPuLong`. + + :rtype: dict + """ + return copy.deepcopy(self._message.annotations) - @annotations.setter - def annotations(self, value): - self._message.annotations = value + #@annotations.setter + #def annotations(self, value): + # self._message.annotations = value @property def delivery_annotations(self): - return self._message.delivery_annotations + # type: () -> dict + """ + Delivery-specific non-standard properties at the head of the message. + Delivery annotations convey information from the sending peer to the receiving peer. + Keys in the dictionary must be `uamqp.types.AMQPSymbol` or `uamqp.types.AMQPuLong`. - @delivery_annotations.setter - def delivery_annotations(self, value): - self._message.delivery_annotations = value + :rtype: dict + """ + return copy.deepcopy(self._message.delivery_annotations) + + #@delivery_annotations.setter + #def delivery_annotations(self, value): + # self._message.delivery_annotations = value @property def header(self): - return self._message.header + # type: () -> uamqp.message.MessageHeader + """ + The message header. - @header.setter - def header(self, value): - self._message.header = value + :rtype: ~uamqp.message.MessageHeader + """ + return uamqp.message.MessageHeader(header=self._message.header) + + #@header.setter + #def header(self, value): + # self._message.header = value @property def footer(self): - return self._message.footer + # type: () -> dict + """ + The message footer. + + :rtype: dict + """ + return copy.deepcopy(self._message.footer) - @footer.setter - def footer(self, value): - self._message.footer = value + #@footer.setter + #def footer(self, value): + # self._message.footer = value diff --git a/sdk/servicebus/azure-servicebus/tests/test_queues.py b/sdk/servicebus/azure-servicebus/tests/test_queues.py index c84909654b64..a5c01c337db6 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/test_queues.py @@ -1873,20 +1873,21 @@ def test_message_inner_amqp_properties(self, servicebus_namespace_connection_str message = Message("body") - with pytest.raises(TypeError): + with pytest.raises(AttributeError): # Note: If this is made read-writeable, this would be TypeError message.amqp_message.properties = {"properties":1} - message.amqp_message.properties.subject = "subject" - - message.amqp_message.application_properties = {b"application_properties":1} - - message.amqp_message.annotations = {b"annotations":2} - message.amqp_message.delivery_annotations = {b"delivery_annotations":3} - - with pytest.raises(TypeError): - message.amqp_message.header = {"header":4} - message.amqp_message.header.priority = 5 - - message.amqp_message.footer = {b"footer":6} + # NOTE: These are disabled pending cross-language-sdk consensus on sendability/writeability. + # message.amqp_message.properties.subject = "subject" + # + # message.amqp_message.application_properties = {b"application_properties":1} + # + # message.amqp_message.annotations = {b"annotations":2} + # message.amqp_message.delivery_annotations = {b"delivery_annotations":3} + # + # with pytest.raises(TypeError): + # message.amqp_message.header = {"header":4} + # message.amqp_message.header.priority = 5 + # + # message.amqp_message.footer = {b"footer":6} with ServiceBusClient.from_connection_string( servicebus_namespace_connection_string, logging_enable=False) as sb_client: @@ -1895,10 +1896,18 @@ def test_message_inner_amqp_properties(self, servicebus_namespace_connection_str sender.send_messages(message) with sb_client.get_queue_receiver(servicebus_queue.name, max_wait_time=5) as receiver: message = receiver.receive_messages()[0] - assert message.amqp_message.properties.subject == b"subject" - assert message.amqp_message.application_properties[b"application_properties"] == 1 - assert message.amqp_message.annotations[b"annotations"] == 2 - # delivery_annotations and footer disabled pending uamqp bug https://github.com/Azure/azure-uamqp-python/issues/169 - #assert message.amqp_message.delivery_annotations[b"delivery_annotations"] == 3 - assert message.amqp_message.header.priority == 5 - #assert message.amqp_message.footer[b"footer"] == 6 \ No newline at end of file + assert message.amqp_message.application_properties == None \ + and message.amqp_message.annotations != None \ + and message.amqp_message.delivery_annotations != None \ + and message.amqp_message.footer == None \ + and message.amqp_message.properties != None \ + and message.amqp_message.header != None + # NOTE: These are disabled pending cross-language-sdk consensus on sendability/writeability. + # + # assert message.amqp_message.properties.subject == b"subject" + # assert message.amqp_message.application_properties[b"application_properties"] == 1 + # assert message.amqp_message.annotations[b"annotations"] == 2 + # # delivery_annotations and footer disabled pending uamqp bug https://github.com/Azure/azure-uamqp-python/issues/169 + # #assert message.amqp_message.delivery_annotations[b"delivery_annotations"] == 3 + # assert message.amqp_message.header.priority == 5 + # #assert message.amqp_message.footer[b"footer"] == 6 \ No newline at end of file From 6fee44a4a56c734adfa379490ec3e6a6ad4bf673 Mon Sep 17 00:00:00 2001 From: turalf Date: Fri, 2 Oct 2020 18:33:07 -0700 Subject: [PATCH 66/71] Add code reviewers (#14229) Co-authored-by: Tural Farhadov --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9d2e3df08d85..4c90f831b100 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -36,7 +36,7 @@ /sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/ @areddish # PRLabel: %Communication -/sdk/communication/ @RezaJooyandeh @turalf +/sdk/communication/ @RezaJooyandeh @turalf @ankitarorabit @Azure/azure-sdk-communication-code-reviewers # PRLabel: %KeyVault /sdk/keyvault/ @schaabs @chlowell @iscai-msft From 66cd75c5e4dd41e07eedec573e342e17bb4bee0b Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Mon, 5 Oct 2020 00:26:24 -0700 Subject: [PATCH 67/71] Resolve Failing Documentation Build for azure-mgmt-core (#14239) * properly update the dev versioning requirements for packages in sanitize_setup * add only the blob-changefeed override due to outdated req on azure-storage-blob * update regression to update the local versions of the package to MATCH the wheel versions. nightly should be expecting azure-storage-blob==12.3.7a * resolve faulty logic causing dev build to always be true. * set dev-build so that the files on disk match the expected version that will be installed from the wheel directory --- eng/pipelines/templates/steps/test_regression.yml | 11 +++++++++++ eng/tox/sanitize_setup.py | 15 +++++++++++---- scripts/devops_tasks/build_packages.py | 2 +- scripts/devops_tasks/git_helper.py | 3 ++- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/eng/pipelines/templates/steps/test_regression.yml b/eng/pipelines/templates/steps/test_regression.yml index bef11b0692af..1fba92c816f4 100644 --- a/eng/pipelines/templates/steps/test_regression.yml +++ b/eng/pipelines/templates/steps/test_regression.yml @@ -2,6 +2,7 @@ parameters: BuildTargetingString: 'azure-*' ServiceDirectory: '' BuildStagingDirectory: $(Build.ArtifactStagingDirectory) + DevFeedName: 'public/azure-sdk-for-python' steps: - task: UsePythonVersion@0 @@ -14,6 +15,16 @@ steps: artifactName: 'artifacts' targetPath: $(Build.ArtifactStagingDirectory) + - template: ../steps/set-dev-build.yml + parameters: + ServiceDirectory: ${{ parameters.ServiceDirectory }} + BuildTargetingString: ${{ parameters.BuildTargetingString }} + + - ${{if eq(variables['System.TeamProject'], 'internal') }}: + - template: ../steps/auth-dev-feed.yml + parameters: + DevFeedName: ${{ parameters.DevFeedName }} + - script: | pip install -r eng/ci_tools.txt displayName: 'Prep Environment' diff --git a/eng/tox/sanitize_setup.py b/eng/tox/sanitize_setup.py index ceeb1e85d77a..2716e922e82c 100644 --- a/eng/tox/sanitize_setup.py +++ b/eng/tox/sanitize_setup.py @@ -13,6 +13,7 @@ import logging import glob from packaging.specifiers import SpecifierSet +from packaging.version import Version from pkg_resources import Requirement from pypi_tools.pypi import PyPIClient @@ -22,7 +23,7 @@ sys.path.append(setup_parser_path) from setup_parser import get_install_requires, parse_setup -DEV_BUILD_IDENTIFIER = ".dev" +DEV_BUILD_IDENTIFIER = "a" def update_requires(setup_py_path, requires_dict): # This method changes package requirement by overriding the specifier @@ -62,12 +63,17 @@ def get_version(pkg_name): # When building package with dev build version, version for packages in same service is updated to dev build # and other packages will not have dev build number # strip dev build number so we can check if package exists in PyPI and replace - if DEV_BUILD_IDENTIFIER in version: - version = version[:version.find(DEV_BUILD_IDENTIFIER)] + + version_obj = Version(version) + if version_obj.pre: + if version_obj.pre[0] == DEV_BUILD_IDENTIFIER: + version = version_obj.base_version + return version else: logging.error("setyp.py is not found for package {} to identify current version".format(pkg_name)) exit(1) + def process_requires(setup_py_path): # This method process package requirement to verify if all required packages are available on PyPI @@ -82,11 +88,12 @@ def process_requires(setup_py_path): for req in requires: pkg_name = req.key spec = SpecifierSet(str(req).replace(pkg_name, "")) + if not is_required_version_on_pypi(pkg_name, spec): old_req = str(req) version = get_version(pkg_name) logging.info("Updating version {0} in requirement {1} to dev build version".format(version, old_req)) - new_req = old_req.replace(version, "{}.dev".format(version)) + new_req = old_req.replace(version, "{}{}".format(version, DEV_BUILD_IDENTIFIER)) logging.info("New requirement for package {0}: {1}".format(pkg_name, new_req)) requirement_to_update[old_req] = new_req diff --git a/scripts/devops_tasks/build_packages.py b/scripts/devops_tasks/build_packages.py index c7463e4b7eed..e8bec139ac05 100644 --- a/scripts/devops_tasks/build_packages.py +++ b/scripts/devops_tasks/build_packages.py @@ -105,4 +105,4 @@ def verify_update_package_requirement(pkg_root): target_dir = root_dir targeted_packages = process_glob_string(args.glob_string, target_dir, args.package_filter_string) - build_packages(targeted_packages, args.distribution_directory, args.is_dev_build) + build_packages(targeted_packages, args.distribution_directory, bool(args.is_dev_build)) diff --git a/scripts/devops_tasks/git_helper.py b/scripts/devops_tasks/git_helper.py index f1aa54472a52..d6eaa0d57dbe 100644 --- a/scripts/devops_tasks/git_helper.py +++ b/scripts/devops_tasks/git_helper.py @@ -23,7 +23,8 @@ 'azure-cosmos': '3.2.0', 'azure-servicebus': '0.50.3', 'azure-eventgrid': '1.3.0', - 'azure-schemaregistry-avroserializer': '1.0.0b1' + 'azure-schemaregistry-avroserializer': '1.0.0b1', + 'azure-storage-blob-changefeed' : '12.0.0b2' } # This method identifies release tag for latest or oldest released version of a given package From 026580ea54ee2ec603cf0b8a14682477793cfc53 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 5 Oct 2020 11:35:26 -0400 Subject: [PATCH 68/71] [text analytics] fix query param in cli call to get endpoint (#14243) fixes #14099 --- sdk/textanalytics/azure-ai-textanalytics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/textanalytics/azure-ai-textanalytics/README.md b/sdk/textanalytics/azure-ai-textanalytics/README.md index 1bc236994738..b9c641809ebe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/README.md @@ -83,7 +83,7 @@ or [Azure CLI][azure_cli_endpoint_lookup]: ```bash # Get the endpoint for the text analytics resource -az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "endpoint" +az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "properties.endpoint" ``` #### Get the API Key From ac9406eebcf1a992c7959840041a637c208809e5 Mon Sep 17 00:00:00 2001 From: Heli Wang Date: Mon, 5 Oct 2020 09:57:43 -0700 Subject: [PATCH 69/71] Azure Communication Service - Phone Number Administration (#14237) * Add tnm * Azure Communication Service - Phone Number Administration - Live Test (#14109) * add tnm live tests and recordings * address comments * assert functions returning none * sync srubbed config and playback config Co-authored-by: Eason Yang * Azure Communication Services - Phone Number Admin - Implementing long running operations for phone number search (#14157) * Implementing long running operations for phone number search * refresh swagger and auto generated code (#14182) * Azure Communication Service - Phone Number Administration - Samples (#14162) * add tnm samples v0 * address comments * update samples with long run operation * add basic readme for phone number description * add e=code example to tnm readme * update admin setup.py with long_description_content_type Co-authored-by: Eason Yang * Revert "Azure Communication Services - Phone Number Admin - Implementing long running operations for phone number search (#14157)" (#14208) This reverts commit fd7191de8705d4d06e141209bd6a2b9ab1d92fbb. * revert LRO from TNM samples (#14211) Co-authored-by: Eason Yang * refresh swagger link and auto generated code (#14210) * remove duplicate long_description_content_type (#14230) Co-authored-by: Eason Yang * add readme changes (#14222) Co-authored-by: Eason Yang * Azure Communication Service - Phone Number Administration - Add release phone number to live tests (#14227) * Azure Communication Service - Phone Number Administration - Samples (#14162) * add tnm samples v0 * address comments * update samples with long run operation * add basic readme for phone number description * add e=code example to tnm readme * update admin setup.py with long_description_content_type Co-authored-by: Eason Yang * rename live tests variables * add release phone numbers * remove extra lines readme Co-authored-by: Eason Yang Co-authored-by: tural farhadov Co-authored-by: Eason Co-authored-by: Eason Yang --- .../README.md | 133 ++ .../communication/administration/__init__.py | 45 + .../_phone_number_administration_client.py | 476 ++++++ .../administration/_phonenumber/__init__.py | 0 .../_phonenumber/_generated/__init__.py | 16 + .../_phonenumber/_generated/_configuration.py | 58 + .../_phone_number_administration_service.py | 60 + .../_phonenumber/_generated/aio/__init__.py | 10 + .../_generated/aio/_configuration_async.py | 52 + ...one_number_administration_service_async.py | 52 + .../aio/operations_async/__init__.py | 13 + ..._number_administration_operations_async.py | 1344 ++++++++++++++++ .../_generated/models/__init__.py | 141 ++ .../_phonenumber/_generated/models/_models.py | 1057 +++++++++++++ .../_generated/models/_models_py3.py | 1197 +++++++++++++++ ...one_number_administration_service_enums.py | 148 ++ .../_generated/operations/__init__.py | 13 + ..._phone_number_administration_operations.py | 1367 +++++++++++++++++ .../_phonenumber/_generated/py.typed | 1 + .../administration/aio/__init__.py | 2 + ...hone_number_administration_client_async.py | 496 ++++++ .../samples/phone_number_area_codes_sample.py | 45 + .../phone_number_area_codes_sample_async.py | 50 + .../phone_number_capabilities_sample.py | 71 + .../phone_number_capabilities_sample_async.py | 82 + .../phone_number_configuration_sample.py | 58 + ...phone_number_configuration_sample_async.py | 63 + .../samples/phone_number_orders_sample.py | 110 ++ .../phone_number_orders_sample_async.py | 124 ++ .../samples/phone_number_plans_sample.py | 72 + .../phone_number_plans_sample_async.py | 81 + ...phone_number_supported_countries_sample.py | 39 + ...number_supported_countries_sample_async.py | 43 + .../swagger/PHONE_NUMBER_SWAGGER.md | 22 + .../swagger/examples/CreateReleaseAsync.json | 16 + .../examples/CreateSearchOrderAsync.json | 28 + .../GetAcquiredTelephoneNumbersAsync.json | 39 + .../swagger/examples/GetAreaCodesAsync.json | 22 + .../swagger/examples/GetCountriesAsync.json | 28 + .../examples/GetNumberConfigurationAsync.json | 17 + .../swagger/examples/GetOrdersAsync.json | 13 + .../swagger/examples/GetPlansAsync.json | 145 ++ .../swagger/examples/GetReleaseByIdAsync.json | 14 + .../swagger/examples/GetSearchOrderAsync.json | 28 + .../RemoveNumberConfigurationAsync.json | 9 + .../UpdateNumberCapabilitiesAsync.json | 31 + .../UpdateNumberConfigurationAsync.json | 15 + .../examples/UpdateSearchOrderAsync.json | 12 + .../tests/phone_number_helper.py | 26 + ...inistration_client.test_cancel_search.yaml | 36 + ...stration_client.test_configure_number.yaml | 39 + ...inistration_client.test_create_search.yaml | 41 + ...ration_client.test_get_all_area_codes.yaml | 39 + ...n_client.test_get_capabilities_update.yaml | 36 + ..._client.test_get_number_configuration.yaml | 40 + ....test_get_phone_plan_location_options.yaml | 250 +++ ...tration_client.test_get_release_by_id.yaml | 37 + ...stration_client.test_get_search_by_id.yaml | 39 + ...on_client.test_list_all_phone_numbers.yaml | 35 + ...tration_client.test_list_all_releases.yaml | 35 + ...ent.test_list_all_supported_countries.yaml | 37 + ...on_client.test_list_phone_plan_groups.yaml | 35 + ...stration_client.test_list_phone_plans.yaml | 35 + ...istration_client.test_purchase_search.yaml | 36 + ...ion_client.test_release_phone_numbers.yaml | 39 + ...ation_client.test_update_capabilities.yaml | 40 + ...ation_client_async.test_cancel_search.yaml | 25 + ...on_client_async.test_configure_number.yaml | 30 + ...ation_client_async.test_create_search.yaml | 33 + ..._client_async.test_get_all_area_codes.yaml | 31 + ...nt_async.test_get_capabilities_update.yaml | 28 + ...t_async.test_get_number_configuration.yaml | 61 + ....test_get_phone_plan_location_options.yaml | 240 +++ ...n_client_async.test_get_release_by_id.yaml | 29 + ...on_client_async.test_get_search_by_id.yaml | 31 + ...ent_async.test_list_all_phone_numbers.yaml | 27 + ...n_client_async.test_list_all_releases.yaml | 27 + ...ync.test_list_all_supported_countries.yaml | 29 + ...ent_async.test_list_phone_plan_groups.yaml | 27 + ...on_client_async.test_list_phone_plans.yaml | 27 + ...ion_client_async.test_purchase_search.yaml | 25 + ...ient_async.test_release_phone_numbers.yaml | 31 + ...client_async.test_update_capabilities.yaml | 32 + ...test_phone_number_administration_client.py | 261 ++++ ...hone_number_administration_client_async.py | 319 ++++ sdk/communication/tests.yml | 1 - 86 files changed, 10146 insertions(+), 1 deletion(-) create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phone_number_administration_client.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_configuration.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_phone_number_administration_service.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_configuration_async.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_phone_number_administration_service_async.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/_phone_number_administration_operations_async.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models_py3.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_phone_number_administration_service_enums.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/__init__.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/_phone_number_administration_operations.py create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/py.typed create mode 100644 sdk/communication/azure-communication-administration/azure/communication/administration/aio/_phone_number_administration_client_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_orders_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_orders_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_plans_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_plans_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample.py create mode 100644 sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample_async.py create mode 100644 sdk/communication/azure-communication-administration/swagger/PHONE_NUMBER_SWAGGER.md create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/CreateReleaseAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/CreateSearchOrderAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetAcquiredTelephoneNumbersAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetAreaCodesAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetCountriesAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetNumberConfigurationAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetOrdersAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetPlansAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetReleaseByIdAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/GetSearchOrderAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/RemoveNumberConfigurationAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberCapabilitiesAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberConfigurationAsync.json create mode 100644 sdk/communication/azure-communication-administration/swagger/examples/UpdateSearchOrderAsync.json create mode 100644 sdk/communication/azure-communication-administration/tests/phone_number_helper.py create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml create mode 100644 sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py create mode 100644 sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py diff --git a/sdk/communication/azure-communication-administration/README.md b/sdk/communication/azure-communication-administration/README.md index 2eb861105c87..a5c953dc6772 100644 --- a/sdk/communication/azure-communication-administration/README.md +++ b/sdk/communication/azure-communication-administration/README.md @@ -24,6 +24,30 @@ pip install azure-communication-administration - Create/revoke scoped user access tokens to access services such as chat, calling, sms. Tokens are issued for a valid Azure Communication identity and can be revoked at any time. +## CommunicationPhoneNumberClient +### Initializing Phone Number Client +```python +# You can find your endpoint and access token from your resource in the Azure Portal +import os +from azure.communication.administration import PhoneNumberAdministrationClient + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +``` +### Phone plans overview + +Phone plans come in two types; Geographic and Toll-Free. Geographic phone plans are phone plans associated with a location, whose phone numbers' area codes are associated with the area code of a geographic location. Toll-Free phone plans are phone plans not associated location. For example, in the US, toll-free numbers can come with area codes such as 800 or 888. + +All geographic phone plans within the same country are grouped into a phone plan group with a Geographic phone number type. All Toll-Free phone plans within the same country are grouped into a phone plan group. + +### Searching and Acquiring numbers + +Phone numbers search can be search through the search creation API by providing a phone plan id, an area code and quantity of phone numbers. The provided quantity of phone numbers will be reserved for ten minutes. This search of phone numbers can either be cancelled or purchased. If the search is cancelled, then the phone numbers will become available to others. If the search is purchased, then the phone numbers are acquired for the Azure resources. + +### Configuring / Assigning numbers + +Phone numbers can be assigned to a callback URL via the configure number API. As part of the configuration, you will need an acquired phone number, callback URL and application id. + # Examples The following section provides several code snippets covering some of the most common Azure Communication Services tasks, including: @@ -31,6 +55,115 @@ The following section provides several code snippets covering some of the most c [Create/revoke scoped user access tokens][identitysamples] +## Communication Phone number +### Get Countries + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +supported_countries = phone_number_administration_client.list_all_supported_countries() +for supported_country in supported_countries: + print(supported_country) +``` + +### Get Phone Plan Groups + +Phone plan groups come in two types, Geographic and Toll-Free. + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +phone_plan_groups_response = phone_number_administration_client.list_phone_plan_groups( + country_code='' +) +for phone_plan_group in phone_plan_groups_response: + print(phone_plan_group) +``` + +### Get Phone Plans + +Unlike Toll-Free phone plans, area codes for Geographic Phone Plans are empty. Area codes are found in the Area Codes API. + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +phone_plans_response = phone_number_administration_client.list_phone_plans( + country_code='', + phone_plan_group_id='' +) +for phone_plan in phone_plans_response: + print(phone_plan) +``` + +### Get Location Options + +For Geographic phone plans, you can query the available geographic locations. The locations options are structured like the geographic hierarchy of a country. For example, the US has states and within each state are cities. + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +location_options_response = phone_number_administration_client.get_phone_plan_location_options( + country_code='', + phone_plan_group_id='', + phone_plan_id='' +) +print(location_options_response) +``` + +### Get Area Codes + +Fetching area codes for geographic phone plans will require the the location options queries set. You must include the chain of geographic locations traversing down the location options object returned by the GetLocationOptions API. + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +all_area_codes = phone_number_administration_client.get_all_area_codes( + location_type="NotRequired", + country_code='', + phone_plan_id='' +) +print(all_area_codes) +``` + +### Create Search + +```python +from azure.communication.administration import CreateSearchOptions +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +searchOptions = CreateSearchOptions( + area_code='', + description="testsearch20200014", + display_name="testsearch20200014", + phone_plan_ids=[''], + quantity=1 +) +search_response = phone_number_administration_client.create_search( + body=searchOptions +) +print(search_response) +``` + +### Get search by id +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +phone_number_search_response = phone_number_administration_client.get_search_by_id( + search_id='' +) +print(phone_number_search_response) +``` + +### Purchase Search + +```python +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + +phone_number_administration_client.purchase_search( + search_id='' +) +``` + # Troubleshooting The Azure Communication Service Identity client will raise exceptions defined in [Azure Core][azure_core]. diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/__init__.py index f50d95b3094b..2864e79e5e5e 100644 --- a/sdk/communication/azure-communication-administration/azure/communication/administration/__init__.py +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/__init__.py @@ -5,12 +5,35 @@ # -------------------------------------------------------------------------- from ._communication_identity_client import CommunicationIdentityClient +from ._phone_number_administration_client import PhoneNumberAdministrationClient from ._identity._generated.models import ( CommunicationTokenRequest, CommunicationIdentityToken ) +from ._phonenumber._generated.models import ( + AcquiredPhoneNumber, + AcquiredPhoneNumbers, + AreaCodes, + CreateSearchResponse, + LocationOptionsQuery, + LocationOptionsResponse, + NumberConfigurationResponse, + NumberUpdateCapabilities, + PhoneNumberCountries, + PhoneNumberEntities, + PhoneNumberRelease, + PhoneNumberSearch, + PhonePlanGroups, + PhonePlansResponse, + PstnConfiguration, + ReleaseResponse, + UpdateNumberCapabilitiesResponse, + UpdatePhoneNumberCapabilitiesResponse, + CreateSearchOptions +) + from ._shared.models import ( CommunicationUser, PhoneNumber, @@ -19,11 +42,33 @@ __all__ = [ 'CommunicationIdentityClient', + 'PhoneNumberAdministrationClient', # from _identity 'CommunicationTokenRequest', 'CommunicationIdentityToken', + # from _phonenumber + 'AcquiredPhoneNumber', + 'AcquiredPhoneNumbers', + 'AreaCodes', + 'CreateSearchResponse', + 'LocationOptionsQuery', + 'LocationOptionsResponse', + 'NumberConfigurationResponse', + 'NumberUpdateCapabilities', + 'PhoneNumberCountries', + 'PhoneNumberEntities', + 'PhoneNumberRelease', + 'PhoneNumberSearch', + 'PhonePlanGroups', + 'PhonePlansResponse', + 'PstnConfiguration', + 'ReleaseResponse', + 'UpdateNumberCapabilitiesResponse', + 'UpdatePhoneNumberCapabilitiesResponse', + 'CreateSearchOptions', + # from _shared 'CommunicationUser', 'PhoneNumber', diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phone_number_administration_client.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phone_number_administration_client.py new file mode 100644 index 000000000000..edc0a5657235 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phone_number_administration_client.py @@ -0,0 +1,476 @@ +# pylint: disable=R0904 +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +from azure.core.tracing.decorator import distributed_trace +from azure.core.paging import ItemPaged + +from ._phonenumber._generated._phone_number_administration_service\ + import PhoneNumberAdministrationService as PhoneNumberAdministrationClientGen + +from ._phonenumber._generated.models import ( + AcquiredPhoneNumbers, + AreaCodes, + CreateSearchResponse, + LocationOptionsResponse, + NumberConfigurationResponse, + NumberUpdateCapabilities, + PhoneNumberCountries, + PhoneNumberEntities, + PhoneNumberRelease, + PhoneNumberSearch, + PhonePlanGroups, + PhonePlansResponse, + PstnConfiguration, + ReleaseResponse, + UpdateNumberCapabilitiesResponse, + UpdatePhoneNumberCapabilitiesResponse +) + +from ._shared.utils import parse_connection_str +from ._shared.policy import HMACCredentialsPolicy +from ._version import SDK_MONIKER + +class PhoneNumberAdministrationClient(object): + """Azure Communication Services Phone Number Management client. + + :param str endpoint: + The endpoint url for Azure Communication Service resource. + :param credential: + The credentials with which to authenticate. The value is an account + shared access key + """ + def __init__( + self, + endpoint, # type: str + credential, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Account URL must be a string.") + + if not credential: + raise ValueError( + "You need to provide account shared key to authenticate.") + + self._endpoint = endpoint + self._phone_number_administration_client = PhoneNumberAdministrationClientGen( + self._endpoint, + authentication_policy=HMACCredentialsPolicy(endpoint, credential), + sdk_moniker=SDK_MONIKER, + **kwargs) + + @classmethod + def from_connection_string( + cls, conn_str, # type: str + **kwargs # type: Any + ): + # type: (...) -> PhoneNumberAdministrationClient + """Create PhoneNumberAdministrationClient from a Connection String. + :param str conn_str: + A connection string to an Azure Communication Service resource. + :returns: Instance of PhoneNumberAdministrationClient. + :rtype: ~azure.communication.PhoneNumberAdministrationClient + """ + endpoint, access_key = parse_connection_str(conn_str) + + return cls(endpoint, access_key, **kwargs) + + @distributed_trace + def list_all_phone_numbers( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[AcquiredPhoneNumbers] + """Gets the list of the acquired phone numbers. + + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.AcquiredPhoneNumbers] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_phone_numbers( + **kwargs + ) + + @distributed_trace + def get_all_area_codes( + self, + location_type, # type: str + country_code, # type: str + phone_plan_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> AreaCodes + """Gets a list of the supported area codes. + + :param location_type: The type of location information required by the plan. + :type location_type: str + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_id: The plan id from which to search area codes. + :type phone_plan_id: str + :keyword List["LocationOptionsQuery"] location_options: + Represents the underlying list of countries. + :rtype: ~azure.communication.administration.AreaCodes + """ + return self._phone_number_administration_client.phone_number_administration.get_all_area_codes( + location_type=location_type, + country_code=country_code, + phone_plan_id=phone_plan_id, + **kwargs + ) + + @distributed_trace + def get_capabilities_update( + self, + capabilities_update_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> UpdatePhoneNumberCapabilitiesResponse + """Get capabilities by capabilities update id. + + :param capabilities_update_id: + :type capabilities_update_id: str + :rtype: ~azure.communication.administration.UpdatePhoneNumberCapabilitiesResponse + """ + return self._phone_number_administration_client.phone_number_administration.get_capabilities_update( + capabilities_update_id, + **kwargs + ) + + @distributed_trace + def update_capabilities( + self, + phone_number_capabilities_update, # type: Dict[str, NumberUpdateCapabilities] + **kwargs # type: Any + ): + # type: (...) -> UpdateNumberCapabilitiesResponse + """Adds or removes phone number capabilities. + + :param phone_number_capabilities_update: The map of phone numbers to the capabilities update + applied to the phone number. + :type phone_number_capabilities_update: + dict[str, ~azure.communication.administration.NumberUpdateCapabilities] + :rtype: ~azure.communication.administration.UpdateNumberCapabilitiesResponse + """ + return self._phone_number_administration_client.phone_number_administration.update_capabilities( + phone_number_capabilities_update, + **kwargs + ) + + @distributed_trace + def list_all_supported_countries( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[PhoneNumberCountries] + """Gets a list of supported countries. + + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.PhoneNumberCountries] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_supported_countries( + **kwargs + ) + + @distributed_trace + def get_number_configuration( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> NumberConfigurationResponse + """Endpoint for getting number configurations. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :rtype: ~azure.communication.administration.NumberConfigurationResponse + """ + return self._phone_number_administration_client.phone_number_administration.get_number_configuration( + phone_number, + **kwargs + ) + + @distributed_trace + def configure_number( + self, + pstn_configuration, # type: PstnConfiguration + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for configuring a pstn number. + + :param pstn_configuration: Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.PstnConfiguration + :param phone_number: The phone number to configure. + :type phone_number: str + :rtype: None + """ + return self._phone_number_administration_client.phone_number_administration.configure_number( + pstn_configuration, + phone_number, + **kwargs + ) + + @distributed_trace + def unconfigure_number( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for unconfiguring a pstn number by removing the configuration. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :rtype: None + """ + return self._phone_number_administration_client.phone_number_administration.unconfigure_number( + phone_number, + **kwargs + ) + + @distributed_trace + def list_phone_plan_groups( + self, + country_code, # type: str + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[PhonePlanGroups] + """Gets a list of phone plan groups for the given country. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword include_rate_information bool: An optional boolean parameter for including rate information in result. + The default is False". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.PhonePlanGroups] + """ + return self._phone_number_administration_client.phone_number_administration.get_phone_plan_groups( + country_code, + **kwargs + ) + + @distributed_trace + def list_phone_plans( + self, + country_code, # type: str + phone_plan_group_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[PhonePlansResponse] + """Gets a list of phone plans for a phone plan group. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.PhonePlansResponse] + """ + return self._phone_number_administration_client.phone_number_administration.get_phone_plans( + country_code, + phone_plan_group_id, + **kwargs + ) + + @distributed_trace + def get_phone_plan_location_options( + self, + country_code, # type: str + phone_plan_group_id, # type: str + phone_plan_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> LocationOptionsResponse + """Gets a list of location options for a phone plan. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param phone_plan_id: + :type phone_plan_id: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.communication.administration.LocationOptionsResponse + """ + return self._phone_number_administration_client.phone_number_administration.get_phone_plan_location_options( + country_code=country_code, + phone_plan_group_id=phone_plan_group_id, + phone_plan_id=phone_plan_id, + **kwargs + ) + + @distributed_trace + def get_release_by_id( + self, + release_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> PhoneNumberRelease + """Gets a release by a release id. + + :param release_id: Represents the release id. + :type release_id: str + :rtype: ~azure.communication.administration.PhoneNumberRelease + """ + return self._phone_number_administration_client.phone_number_administration.get_release_by_id( + release_id, + **kwargs + ) + + @distributed_trace + def release_phone_numbers( + self, + phone_numbers, # type: List[str] + **kwargs # type: Any + ): + # type: (...) -> ReleaseResponse + """Creates a release for the given phone numbers. + + :param phone_numbers: The list of phone numbers in the release request. + :type phone_numbers: list[str] + :rtype: ~azure.communication.administration.ReleaseResponse + """ + return self._phone_number_administration_client.phone_number_administration.release_phone_numbers( + phone_numbers, + **kwargs + ) + + @distributed_trace + def list_all_releases( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[PhoneNumberEntities] + """Gets a list of all releases. + + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.PhoneNumberEntities] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_releases( + **kwargs + ) + + @distributed_trace + def get_search_by_id( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> PhoneNumberSearch + """Get search by search id. + + :param search_id: The search id to be searched for. + :type search_id: str + :rtype: ~azure.communication.administration.PhoneNumberSearch + """ + return self._phone_number_administration_client.phone_number_administration.get_search_by_id( + search_id, + **kwargs + ) + + @distributed_trace + def create_search( + self, + **kwargs # type: Any + ): + # type: (...) -> CreateSearchResponse + """Creates a phone number search. + + :keyword azure.communication.administration.CreateSearchOptions body: + An optional parameter for defining the search options. + The default is None. + :rtype: ~azure.communication.administration.CreateSearchResponse + """ + return self._phone_number_administration_client.phone_number_administration.create_search( + **kwargs + ) + + @distributed_trace + def list_all_searches( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[PhoneNumberEntities] + """Gets a list of all searches. + + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.PhoneNumberEntities] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_searches( + **kwargs + ) + + @distributed_trace + def cancel_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Cancels the search. This means existing numbers in the search will be made available. + + :param search_id: The search id to be canceled. + :type search_id: str + :rtype: None + """ + return self._phone_number_administration_client.phone_number_administration.cancel_search( + search_id, + **kwargs + ) + + @distributed_trace + def purchase_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Purchases the phone number search. + + :param search_id: The search id to be purchased. + :type search_id: str + :rtype: None + """ + return self._phone_number_administration_client.phone_number_administration.purchase_search( + search_id, + **kwargs + ) diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/__init__.py new file mode 100644 index 000000000000..13fcd7af35ce --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/__init__.py @@ -0,0 +1,16 @@ +# 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 ._phone_number_administration_service import PhoneNumberAdministrationService +__all__ = ['PhoneNumberAdministrationService'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_configuration.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_configuration.py new file mode 100644 index 000000000000..2043f061b4f2 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_configuration.py @@ -0,0 +1,58 @@ +# 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 typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + +VERSION = "unknown" + +class PhoneNumberAdministrationServiceConfiguration(Configuration): + """Configuration for PhoneNumberAdministrationService. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param endpoint: The endpoint of the Azure Communication resource. + :type endpoint: str + """ + + def __init__( + self, + endpoint, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if endpoint is None: + raise ValueError("Parameter 'endpoint' must not be None.") + super(PhoneNumberAdministrationServiceConfiguration, self).__init__(**kwargs) + + self.endpoint = endpoint + self.api_version = "2020-07-20-preview1" + kwargs.setdefault('sdk_moniker', 'phonenumberadministrationservice/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_phone_number_administration_service.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_phone_number_administration_service.py new file mode 100644 index 000000000000..49830756eba4 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/_phone_number_administration_service.py @@ -0,0 +1,60 @@ +# 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 typing import TYPE_CHECKING + +from azure.core import PipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + +from ._configuration import PhoneNumberAdministrationServiceConfiguration +from .operations import PhoneNumberAdministrationOperations +from . import models + + +class PhoneNumberAdministrationService(object): + """Phone Number Administration Service. + + :ivar phone_number_administration: PhoneNumberAdministrationOperations operations + :vartype phone_number_administration: azure.communication.administration.operations.PhoneNumberAdministrationOperations + :param endpoint: The endpoint of the Azure Communication resource. + :type endpoint: str + """ + + def __init__( + self, + endpoint, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + base_url = '{endpoint}' + self._config = PhoneNumberAdministrationServiceConfiguration(endpoint, **kwargs) + self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.phone_number_administration = PhoneNumberAdministrationOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> PhoneNumberAdministrationService + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/__init__.py new file mode 100644 index 000000000000..6ec72fc665b1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._phone_number_administration_service_async import PhoneNumberAdministrationService +__all__ = ['PhoneNumberAdministrationService'] diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_configuration_async.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_configuration_async.py new file mode 100644 index 000000000000..7a46556ea91d --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_configuration_async.py @@ -0,0 +1,52 @@ +# 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 typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +VERSION = "unknown" + +class PhoneNumberAdministrationServiceConfiguration(Configuration): + """Configuration for PhoneNumberAdministrationService. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param endpoint: The endpoint of the Azure Communication resource. + :type endpoint: str + """ + + def __init__( + self, + endpoint: str, + **kwargs: Any + ) -> None: + if endpoint is None: + raise ValueError("Parameter 'endpoint' must not be None.") + super(PhoneNumberAdministrationServiceConfiguration, self).__init__(**kwargs) + + self.endpoint = endpoint + self.api_version = "2020-07-20-preview1" + kwargs.setdefault('sdk_moniker', 'phonenumberadministrationservice/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_phone_number_administration_service_async.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_phone_number_administration_service_async.py new file mode 100644 index 000000000000..4c6d33b7c250 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/_phone_number_administration_service_async.py @@ -0,0 +1,52 @@ +# 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 typing import Any + +from azure.core import AsyncPipelineClient +from msrest import Deserializer, Serializer + +from ._configuration_async import PhoneNumberAdministrationServiceConfiguration +from .operations_async import PhoneNumberAdministrationOperations +from .. import models + + +class PhoneNumberAdministrationService(object): + """Phone Number Administration Service. + + :ivar phone_number_administration: PhoneNumberAdministrationOperations operations + :vartype phone_number_administration: azure.communication.administration.aio.operations_async.PhoneNumberAdministrationOperations + :param endpoint: The endpoint of the Azure Communication resource. + :type endpoint: str + """ + + def __init__( + self, + endpoint: str, + **kwargs: Any + ) -> None: + base_url = '{endpoint}' + self._config = PhoneNumberAdministrationServiceConfiguration(endpoint, **kwargs) + self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.phone_number_administration = PhoneNumberAdministrationOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "PhoneNumberAdministrationService": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/__init__.py new file mode 100644 index 000000000000..d34a375da534 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/__init__.py @@ -0,0 +1,13 @@ +# 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 ._phone_number_administration_operations_async import PhoneNumberAdministrationOperations + +__all__ = [ + 'PhoneNumberAdministrationOperations', +] diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/_phone_number_administration_operations_async.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/_phone_number_administration_operations_async.py new file mode 100644 index 000000000000..2e4075a2f4bc --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/_phone_number_administration_operations_async.py @@ -0,0 +1,1344 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PhoneNumberAdministrationOperations: + """PhoneNumberAdministrationOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.communication.administration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get_all_phone_numbers( + self, + locale: Optional[str] = "en-US", + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.AcquiredPhoneNumbers"]: + """Gets the list of the acquired phone numbers. + + Gets the list of the acquired phone numbers. + + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AcquiredPhoneNumbers or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.AcquiredPhoneNumbers] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AcquiredPhoneNumbers"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_phone_numbers.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AcquiredPhoneNumbers', pipeline_response) + list_of_elem = deserialized.phone_numbers + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_all_phone_numbers.metadata = {'url': '/administration/phonenumbers/phonenumbers'} # type: ignore + + async def get_all_area_codes( + self, + location_type: str, + country_code: str, + phone_plan_id: str, + location_options: Optional[List["models.LocationOptionsQuery"]] = None, + **kwargs + ) -> "models.AreaCodes": + """Gets a list of the supported area codes. + + Gets a list of the supported area codes. + + :param location_type: The type of location information required by the plan. + :type location_type: str + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_id: The plan id from which to search area codes. + :type phone_plan_id: str + :param location_options: Represents the underlying list of countries. + :type location_options: list[~azure.communication.administration.models.LocationOptionsQuery] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AreaCodes, or the result of cls(response) + :rtype: ~azure.communication.administration.models.AreaCodes + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AreaCodes"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.LocationOptionsQueries(location_options=location_options) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.get_all_area_codes.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['locationType'] = self._serialize.query("location_type", location_type, 'str') + query_parameters['phonePlanId'] = self._serialize.query("phone_plan_id", phone_plan_id, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'LocationOptionsQueries') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AreaCodes', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_all_area_codes.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/areacodes'} # type: ignore + + async def get_capabilities_update( + self, + capabilities_update_id: str, + **kwargs + ) -> "models.UpdatePhoneNumberCapabilitiesResponse": + """Get capabilities by capabilities update id. + + Get capabilities by capabilities update id. + + :param capabilities_update_id: + :type capabilities_update_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdatePhoneNumberCapabilitiesResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.UpdatePhoneNumberCapabilitiesResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UpdatePhoneNumberCapabilitiesResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_capabilities_update.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'capabilitiesUpdateId': self._serialize.url("capabilities_update_id", capabilities_update_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UpdatePhoneNumberCapabilitiesResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_capabilities_update.metadata = {'url': '/administration/phonenumbers/capabilities/{capabilitiesUpdateId}'} # type: ignore + + async def update_capabilities( + self, + phone_number_capabilities_update: Dict[str, "models.NumberUpdateCapabilities"], + **kwargs + ) -> "models.UpdateNumberCapabilitiesResponse": + """Adds or removes phone number capabilities. + + Adds or removes phone number capabilities. + + :param phone_number_capabilities_update: The map of phone numbers to the capabilities update + applied to the phone number. + :type phone_number_capabilities_update: dict[str, ~azure.communication.administration.models.NumberUpdateCapabilities] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateNumberCapabilitiesResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.UpdateNumberCapabilitiesResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UpdateNumberCapabilitiesResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.UpdateNumberCapabilitiesRequest(phone_number_capabilities_update=phone_number_capabilities_update) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.update_capabilities.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'UpdateNumberCapabilitiesRequest') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UpdateNumberCapabilitiesResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_capabilities.metadata = {'url': '/administration/phonenumbers/capabilities'} # type: ignore + + def get_all_supported_countries( + self, + locale: Optional[str] = "en-US", + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.PhoneNumberCountries"]: + """Gets a list of supported countries. + + Gets a list of supported countries. + + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberCountries or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.PhoneNumberCountries] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberCountries"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_supported_countries.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberCountries', pipeline_response) + list_of_elem = deserialized.countries + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_all_supported_countries.metadata = {'url': '/administration/phonenumbers/countries'} # type: ignore + + async def get_number_configuration( + self, + phone_number: str, + **kwargs + ) -> "models.NumberConfigurationResponse": + """Endpoint for getting number configurations. + + Endpoint for getting number configurations. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NumberConfigurationResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.NumberConfigurationResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.NumberConfigurationResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfigurationPhoneNumber(phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.get_number_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfigurationPhoneNumber') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('NumberConfigurationResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_number_configuration.metadata = {'url': '/administration/phonenumbers/numberconfiguration'} # type: ignore + + async def configure_number( + self, + pstn_configuration: "models.PstnConfiguration", + phone_number: str, + **kwargs + ) -> None: + """Endpoint for configuring a pstn number. + + Endpoint for configuring a pstn number. + + :param pstn_configuration: Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + :param phone_number: The phone number to configure. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfiguration(pstn_configuration=pstn_configuration, phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.configure_number.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfiguration') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + configure_number.metadata = {'url': '/administration/phonenumbers/numberconfiguration/configure'} # type: ignore + + async def unconfigure_number( + self, + phone_number: str, + **kwargs + ) -> None: + """Endpoint for unconfiguring a pstn number by removing the configuration. + + Endpoint for unconfiguring a pstn number by removing the configuration. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfigurationPhoneNumber(phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.unconfigure_number.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfigurationPhoneNumber') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + unconfigure_number.metadata = {'url': '/administration/phonenumbers/numberconfiguration/unconfigure'} # type: ignore + + def get_phone_plan_groups( + self, + country_code: str, + locale: Optional[str] = "en-US", + include_rate_information: Optional[bool] = False, + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.PhonePlanGroups"]: + """Gets a list of phone plan groups for the given country. + + Gets a list of phone plan groups for the given country. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param include_rate_information: + :type include_rate_information: bool + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhonePlanGroups or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.PhonePlanGroups] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhonePlanGroups"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_phone_plan_groups.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if include_rate_information is not None: + query_parameters['includeRateInformation'] = self._serialize.query("include_rate_information", include_rate_information, 'bool') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PhonePlanGroups', pipeline_response) + list_of_elem = deserialized.phone_plan_groups + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_phone_plan_groups.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups'} # type: ignore + + def get_phone_plans( + self, + country_code: str, + phone_plan_group_id: str, + locale: Optional[str] = "en-US", + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.PhonePlansResponse"]: + """Gets a list of phone plans for a phone plan group. + + Gets a list of phone plans for a phone plan group. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhonePlansResponse or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.PhonePlansResponse] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhonePlansResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_phone_plans.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PhonePlansResponse', pipeline_response) + list_of_elem = deserialized.phone_plans + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_phone_plans.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups/{phonePlanGroupId}/phoneplans'} # type: ignore + + async def get_phone_plan_location_options( + self, + country_code: str, + phone_plan_group_id: str, + phone_plan_id: str, + locale: Optional[str] = "en-US", + **kwargs + ) -> "models.LocationOptionsResponse": + """Gets a list of location options for a phone plan. + + Gets a list of location options for a phone plan. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param phone_plan_id: + :type phone_plan_id: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocationOptionsResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.LocationOptionsResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.LocationOptionsResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_phone_plan_location_options.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + 'phonePlanId': self._serialize.url("phone_plan_id", phone_plan_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LocationOptionsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_phone_plan_location_options.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups/{phonePlanGroupId}/phoneplans/{phonePlanId}/locationoptions'} # type: ignore + + async def get_release_by_id( + self, + release_id: str, + **kwargs + ) -> "models.PhoneNumberRelease": + """Gets a release by a release id. + + Gets a release by a release id. + + :param release_id: Represents the release id. + :type release_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PhoneNumberRelease, or the result of cls(response) + :rtype: ~azure.communication.administration.models.PhoneNumberRelease + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberRelease"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_release_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'releaseId': self._serialize.url("release_id", release_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('PhoneNumberRelease', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_release_by_id.metadata = {'url': '/administration/phonenumbers/releases/{releaseId}'} # type: ignore + + async def release_phone_numbers( + self, + phone_numbers: List[str], + **kwargs + ) -> "models.ReleaseResponse": + """Creates a release for the given phone numbers. + + Creates a release for the given phone numbers. + + :param phone_numbers: The list of phone numbers in the release request. + :type phone_numbers: list[str] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ReleaseResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.ReleaseResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ReleaseResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.ReleaseRequest(phone_numbers=phone_numbers) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.release_phone_numbers.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'ReleaseRequest') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('ReleaseResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + release_phone_numbers.metadata = {'url': '/administration/phonenumbers/releases'} # type: ignore + + def get_all_releases( + self, + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.PhoneNumberEntities"]: + """Gets a list of all releases. + + Gets a list of all releases. + + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberEntities or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.PhoneNumberEntities] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberEntities"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_releases.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberEntities', pipeline_response) + list_of_elem = deserialized.entities + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_all_releases.metadata = {'url': '/administration/phonenumbers/releases'} # type: ignore + + async def get_search_by_id( + self, + search_id: str, + **kwargs + ) -> "models.PhoneNumberSearch": + """Get search by search id. + + Get search by search id. + + :param search_id: The search id to be searched for. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PhoneNumberSearch, or the result of cls(response) + :rtype: ~azure.communication.administration.models.PhoneNumberSearch + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberSearch"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_search_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('PhoneNumberSearch', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_search_by_id.metadata = {'url': '/administration/phonenumbers/searches/{searchId}'} # type: ignore + + async def create_search( + self, + body: Optional["models.CreateSearchOptions"] = None, + **kwargs + ) -> "models.CreateSearchResponse": + """Creates a phone number search. + + Creates a phone number search. + + :param body: Defines the search options. + :type body: ~azure.communication.administration.models.CreateSearchOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CreateSearchResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.CreateSearchResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.CreateSearchResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.create_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if body is not None: + body_content = self._serialize.body(body, 'CreateSearchOptions') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('CreateSearchResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_search.metadata = {'url': '/administration/phonenumbers/searches'} # type: ignore + + def get_all_searches( + self, + skip: Optional[int] = 0, + take: Optional[int] = 100, + **kwargs + ) -> AsyncIterable["models.PhoneNumberEntities"]: + """Gets a list of all searches. + + Gets a list of all searches. + + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberEntities or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.models.PhoneNumberEntities] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberEntities"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_searches.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberEntities', pipeline_response) + list_of_elem = deserialized.entities + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_all_searches.metadata = {'url': '/administration/phonenumbers/searches'} # type: ignore + + async def cancel_search( + self, + search_id: str, + **kwargs + ) -> None: + """Cancels the search. This means existing numbers in the search will be made available. + + Cancels the search. This means existing numbers in the search will be made available. + + :param search_id: The search id to be canceled. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.cancel_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + cancel_search.metadata = {'url': '/administration/phonenumbers/searches/{searchId}/cancel'} # type: ignore + + async def purchase_search( + self, + search_id: str, + **kwargs + ) -> None: + """Purchases the phone number search. + + Purchases the phone number search. + + :param search_id: The search id to be purchased. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.purchase_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + purchase_search.metadata = {'url': '/administration/phonenumbers/searches/{searchId}/purchase'} # type: ignore diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/__init__.py new file mode 100644 index 000000000000..95f1084c4297 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/__init__.py @@ -0,0 +1,141 @@ +# 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. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AcquiredPhoneNumber + from ._models_py3 import AcquiredPhoneNumbers + from ._models_py3 import AreaCodes + from ._models_py3 import CarrierDetails + from ._models_py3 import CreateSearchOptions + from ._models_py3 import CreateSearchResponse + from ._models_py3 import ErrorBody + from ._models_py3 import ErrorResponse + from ._models_py3 import LocationOptions + from ._models_py3 import LocationOptionsDetails + from ._models_py3 import LocationOptionsQueries + from ._models_py3 import LocationOptionsQuery + from ._models_py3 import LocationOptionsResponse + from ._models_py3 import NumberConfiguration + from ._models_py3 import NumberConfigurationPhoneNumber + from ._models_py3 import NumberConfigurationResponse + from ._models_py3 import NumberUpdateCapabilities + from ._models_py3 import PhoneNumberCountries + from ._models_py3 import PhoneNumberCountry + from ._models_py3 import PhoneNumberEntities + from ._models_py3 import PhoneNumberEntity + from ._models_py3 import PhoneNumberRelease + from ._models_py3 import PhoneNumberReleaseDetails + from ._models_py3 import PhoneNumberSearch + from ._models_py3 import PhonePlan + from ._models_py3 import PhonePlanGroup + from ._models_py3 import PhonePlanGroups + from ._models_py3 import PhonePlansResponse + from ._models_py3 import PstnConfiguration + from ._models_py3 import RateInformation + from ._models_py3 import ReleaseRequest + from ._models_py3 import ReleaseResponse + from ._models_py3 import UpdateNumberCapabilitiesRequest + from ._models_py3 import UpdateNumberCapabilitiesResponse + from ._models_py3 import UpdatePhoneNumberCapabilitiesResponse +except (SyntaxError, ImportError): + from ._models import AcquiredPhoneNumber # type: ignore + from ._models import AcquiredPhoneNumbers # type: ignore + from ._models import AreaCodes # type: ignore + from ._models import CarrierDetails # type: ignore + from ._models import CreateSearchOptions # type: ignore + from ._models import CreateSearchResponse # type: ignore + from ._models import ErrorBody # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import LocationOptions # type: ignore + from ._models import LocationOptionsDetails # type: ignore + from ._models import LocationOptionsQueries # type: ignore + from ._models import LocationOptionsQuery # type: ignore + from ._models import LocationOptionsResponse # type: ignore + from ._models import NumberConfiguration # type: ignore + from ._models import NumberConfigurationPhoneNumber # type: ignore + from ._models import NumberConfigurationResponse # type: ignore + from ._models import NumberUpdateCapabilities # type: ignore + from ._models import PhoneNumberCountries # type: ignore + from ._models import PhoneNumberCountry # type: ignore + from ._models import PhoneNumberEntities # type: ignore + from ._models import PhoneNumberEntity # type: ignore + from ._models import PhoneNumberRelease # type: ignore + from ._models import PhoneNumberReleaseDetails # type: ignore + from ._models import PhoneNumberSearch # type: ignore + from ._models import PhonePlan # type: ignore + from ._models import PhonePlanGroup # type: ignore + from ._models import PhonePlanGroups # type: ignore + from ._models import PhonePlansResponse # type: ignore + from ._models import PstnConfiguration # type: ignore + from ._models import RateInformation # type: ignore + from ._models import ReleaseRequest # type: ignore + from ._models import ReleaseResponse # type: ignore + from ._models import UpdateNumberCapabilitiesRequest # type: ignore + from ._models import UpdateNumberCapabilitiesResponse # type: ignore + from ._models import UpdatePhoneNumberCapabilitiesResponse # type: ignore + +from ._phone_number_administration_service_enums import ( + ActivationState, + AssignmentStatus, + CapabilitiesUpdateStatus, + Capability, + CurrencyType, + LocationType, + PhoneNumberReleaseStatus, + PhoneNumberType, + ReleaseStatus, + SearchStatus, +) + +__all__ = [ + 'AcquiredPhoneNumber', + 'AcquiredPhoneNumbers', + 'AreaCodes', + 'CarrierDetails', + 'CreateSearchOptions', + 'CreateSearchResponse', + 'ErrorBody', + 'ErrorResponse', + 'LocationOptions', + 'LocationOptionsDetails', + 'LocationOptionsQueries', + 'LocationOptionsQuery', + 'LocationOptionsResponse', + 'NumberConfiguration', + 'NumberConfigurationPhoneNumber', + 'NumberConfigurationResponse', + 'NumberUpdateCapabilities', + 'PhoneNumberCountries', + 'PhoneNumberCountry', + 'PhoneNumberEntities', + 'PhoneNumberEntity', + 'PhoneNumberRelease', + 'PhoneNumberReleaseDetails', + 'PhoneNumberSearch', + 'PhonePlan', + 'PhonePlanGroup', + 'PhonePlanGroups', + 'PhonePlansResponse', + 'PstnConfiguration', + 'RateInformation', + 'ReleaseRequest', + 'ReleaseResponse', + 'UpdateNumberCapabilitiesRequest', + 'UpdateNumberCapabilitiesResponse', + 'UpdatePhoneNumberCapabilitiesResponse', + 'ActivationState', + 'AssignmentStatus', + 'CapabilitiesUpdateStatus', + 'Capability', + 'CurrencyType', + 'LocationType', + 'PhoneNumberReleaseStatus', + 'PhoneNumberType', + 'ReleaseStatus', + 'SearchStatus', +] diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models.py new file mode 100644 index 000000000000..0f9531291bae --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models.py @@ -0,0 +1,1057 @@ +# 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 azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class AcquiredPhoneNumber(msrest.serialization.Model): + """Represents an acquired phone number. + + All required parameters must be populated in order to send to Azure. + + :param phone_number: Required. String of the E.164 format of the phone number. + :type phone_number: str + :param acquired_capabilities: Required. The set of all acquired capabilities of the phone + number. + :type acquired_capabilities: list[str or ~azure.communication.administration.models.Capability] + :param available_capabilities: Required. The set of all available capabilities that can be + acquired for this phone number. + :type available_capabilities: list[str or + ~azure.communication.administration.models.Capability] + :param assignment_status: The assignment status of the phone number. Conveys what type of + entity the number is assigned to. Possible values include: "Unassigned", "Unknown", + "UserAssigned", "ConferenceAssigned", "FirstPartyAppAssigned", "ThirdPartyAppAssigned". + :type assignment_status: str or ~azure.communication.administration.models.AssignmentStatus + :param place_name: The name of the place of the phone number. + :type place_name: str + :param activation_state: The activation state of the phone number. Can be "Activated", + "AssignmentPending", "AssignmentFailed", "UpdatePending", "UpdateFailed". Possible values + include: "Activated", "AssignmentPending", "AssignmentFailed", "UpdatePending", "UpdateFailed". + :type activation_state: str or ~azure.communication.administration.models.ActivationState + """ + + _validation = { + 'phone_number': {'required': True}, + 'acquired_capabilities': {'required': True}, + 'available_capabilities': {'required': True}, + } + + _attribute_map = { + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + 'acquired_capabilities': {'key': 'acquiredCapabilities', 'type': '[str]'}, + 'available_capabilities': {'key': 'availableCapabilities', 'type': '[str]'}, + 'assignment_status': {'key': 'assignmentStatus', 'type': 'str'}, + 'place_name': {'key': 'placeName', 'type': 'str'}, + 'activation_state': {'key': 'activationState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AcquiredPhoneNumber, self).__init__(**kwargs) + self.phone_number = kwargs['phone_number'] + self.acquired_capabilities = kwargs['acquired_capabilities'] + self.available_capabilities = kwargs['available_capabilities'] + self.assignment_status = kwargs.get('assignment_status', None) + self.place_name = kwargs.get('place_name', None) + self.activation_state = kwargs.get('activation_state', None) + + +class AcquiredPhoneNumbers(msrest.serialization.Model): + """A wrapper of list of phone numbers. + + :param phone_numbers: Represents a list of phone numbers. + :type phone_numbers: list[~azure.communication.administration.models.AcquiredPhoneNumber] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[AcquiredPhoneNumber]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AcquiredPhoneNumbers, self).__init__(**kwargs) + self.phone_numbers = kwargs.get('phone_numbers', None) + self.next_link = kwargs.get('next_link', None) + + +class AreaCodes(msrest.serialization.Model): + """Represents a list of area codes. + + :param primary_area_codes: Represents the list of primary area codes. + :type primary_area_codes: list[str] + :param secondary_area_codes: Represents the list of secondary area codes. + :type secondary_area_codes: list[str] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'primary_area_codes': {'key': 'primaryAreaCodes', 'type': '[str]'}, + 'secondary_area_codes': {'key': 'secondaryAreaCodes', 'type': '[str]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AreaCodes, self).__init__(**kwargs) + self.primary_area_codes = kwargs.get('primary_area_codes', None) + self.secondary_area_codes = kwargs.get('secondary_area_codes', None) + self.next_link = kwargs.get('next_link', None) + + +class CarrierDetails(msrest.serialization.Model): + """Represents carrier details. + + :param name: Name of carrier details. + :type name: str + :param localized_name: Display name of carrier details. + :type localized_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CarrierDetails, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.localized_name = kwargs.get('localized_name', None) + + +class CreateSearchOptions(msrest.serialization.Model): + """Represents a search creation option. + + All required parameters must be populated in order to send to Azure. + + :param display_name: Required. Display name of the search. + :type display_name: str + :param description: Required. Description of the search. + :type description: str + :param phone_plan_ids: Required. The plan subtype ids from which to create the search. + :type phone_plan_ids: list[str] + :param area_code: Required. The area code from which to create the search. + :type area_code: str + :param quantity: The quantity of phone numbers to request. + :type quantity: int + :param location_options: The location options of the search. + :type location_options: list[~azure.communication.administration.models.LocationOptionsDetails] + """ + + _validation = { + 'display_name': {'required': True, 'max_length': 255, 'min_length': 0}, + 'description': {'required': True, 'max_length': 255, 'min_length': 0}, + 'phone_plan_ids': {'required': True}, + 'area_code': {'required': True}, + 'quantity': {'maximum': 2147483647, 'minimum': 1}, + } + + _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'phone_plan_ids': {'key': 'phonePlanIds', 'type': '[str]'}, + 'area_code': {'key': 'areaCode', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(CreateSearchOptions, self).__init__(**kwargs) + self.display_name = kwargs['display_name'] + self.description = kwargs['description'] + self.phone_plan_ids = kwargs['phone_plan_ids'] + self.area_code = kwargs['area_code'] + self.quantity = kwargs.get('quantity', None) + self.location_options = kwargs.get('location_options', None) + + +class CreateSearchResponse(msrest.serialization.Model): + """Represents a search creation response. + + All required parameters must be populated in order to send to Azure. + + :param search_id: Required. The search id of the search that was created. + :type search_id: str + """ + + _validation = { + 'search_id': {'required': True}, + } + + _attribute_map = { + 'search_id': {'key': 'searchId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CreateSearchResponse, self).__init__(**kwargs) + self.search_id = kwargs['search_id'] + + +class ErrorBody(msrest.serialization.Model): + """Represents a service error response body. + + :param code: The error code in the error response. + :type code: str + :param message: The error message in the error response. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + + +class ErrorResponse(msrest.serialization.Model): + """Represents a service error response. + + :param error: Represents a service error response body. + :type error: ~azure.communication.administration.models.ErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class LocationOptions(msrest.serialization.Model): + """Represents a location options. + + :param label_id: The label id of the location. + :type label_id: str + :param label_name: The display name of the location. + :type label_name: str + :param options: The underlying location option details. + :type options: list[~azure.communication.administration.models.LocationOptionsDetails] + """ + + _attribute_map = { + 'label_id': {'key': 'labelId', 'type': 'str'}, + 'label_name': {'key': 'labelName', 'type': 'str'}, + 'options': {'key': 'options', 'type': '[LocationOptionsDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(LocationOptions, self).__init__(**kwargs) + self.label_id = kwargs.get('label_id', None) + self.label_name = kwargs.get('label_name', None) + self.options = kwargs.get('options', None) + + +class LocationOptionsDetails(msrest.serialization.Model): + """Represents location options details. + + :param name: The name of the location options. + :type name: str + :param value: The abbreviated name of the location options. + :type value: str + :param location_options: The underlying location options. + :type location_options: list[~azure.communication.administration.models.LocationOptions] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptions]'}, + } + + def __init__( + self, + **kwargs + ): + super(LocationOptionsDetails, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + self.location_options = kwargs.get('location_options', None) + + +class LocationOptionsQueries(msrest.serialization.Model): + """Represents a list of location option queries, used for fetching area codes. + + :param location_options: Represents the underlying list of countries. + :type location_options: list[~azure.communication.administration.models.LocationOptionsQuery] + """ + + _attribute_map = { + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsQuery]'}, + } + + def __init__( + self, + **kwargs + ): + super(LocationOptionsQueries, self).__init__(**kwargs) + self.location_options = kwargs.get('location_options', None) + + +class LocationOptionsQuery(msrest.serialization.Model): + """Represents a location options parameter, used for fetching area codes. + + :param label_id: Represents the location option label id, returned from the GetLocationOptions + API. + :type label_id: str + :param options_value: Represents the location options value, returned from the + GetLocationOptions API. + :type options_value: str + """ + + _attribute_map = { + 'label_id': {'key': 'labelId', 'type': 'str'}, + 'options_value': {'key': 'optionsValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LocationOptionsQuery, self).__init__(**kwargs) + self.label_id = kwargs.get('label_id', None) + self.options_value = kwargs.get('options_value', None) + + +class LocationOptionsResponse(msrest.serialization.Model): + """Represents a wrapper around a list of location options. + + :param location_options: Represents a location options. + :type location_options: ~azure.communication.administration.models.LocationOptions + """ + + _attribute_map = { + 'location_options': {'key': 'locationOptions', 'type': 'LocationOptions'}, + } + + def __init__( + self, + **kwargs + ): + super(LocationOptionsResponse, self).__init__(**kwargs) + self.location_options = kwargs.get('location_options', None) + + +class NumberConfiguration(msrest.serialization.Model): + """Definition for number configuration. + + All required parameters must be populated in order to send to Azure. + + :param pstn_configuration: Required. Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + :param phone_number: Required. The phone number to configure. + :type phone_number: str + """ + + _validation = { + 'pstn_configuration': {'required': True}, + 'phone_number': {'required': True}, + } + + _attribute_map = { + 'pstn_configuration': {'key': 'pstnConfiguration', 'type': 'PstnConfiguration'}, + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NumberConfiguration, self).__init__(**kwargs) + self.pstn_configuration = kwargs['pstn_configuration'] + self.phone_number = kwargs['phone_number'] + + +class NumberConfigurationPhoneNumber(msrest.serialization.Model): + """The phone number wrapper representing a number configuration request. + + All required parameters must be populated in order to send to Azure. + + :param phone_number: Required. The phone number in the E.164 format. + :type phone_number: str + """ + + _validation = { + 'phone_number': {'required': True}, + } + + _attribute_map = { + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NumberConfigurationPhoneNumber, self).__init__(**kwargs) + self.phone_number = kwargs['phone_number'] + + +class NumberConfigurationResponse(msrest.serialization.Model): + """Definition for number configuration. + + All required parameters must be populated in order to send to Azure. + + :param pstn_configuration: Required. Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + """ + + _validation = { + 'pstn_configuration': {'required': True}, + } + + _attribute_map = { + 'pstn_configuration': {'key': 'pstnConfiguration', 'type': 'PstnConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(NumberConfigurationResponse, self).__init__(**kwargs) + self.pstn_configuration = kwargs['pstn_configuration'] + + +class NumberUpdateCapabilities(msrest.serialization.Model): + """Represents an individual number capabilities update request. + + :param add: Capabilities to be added to a phone number. + :type add: list[str or ~azure.communication.administration.models.Capability] + :param remove: Capabilities to be removed from a phone number. + :type remove: list[str or ~azure.communication.administration.models.Capability] + """ + + _attribute_map = { + 'add': {'key': 'add', 'type': '[str]'}, + 'remove': {'key': 'remove', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NumberUpdateCapabilities, self).__init__(**kwargs) + self.add = kwargs.get('add', None) + self.remove = kwargs.get('remove', None) + + +class PhoneNumberCountries(msrest.serialization.Model): + """Represents a wrapper around a list of countries. + + :param countries: Represents the underlying list of countries. + :type countries: list[~azure.communication.administration.models.PhoneNumberCountry] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'countries': {'key': 'countries', 'type': '[PhoneNumberCountry]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberCountries, self).__init__(**kwargs) + self.countries = kwargs.get('countries', None) + self.next_link = kwargs.get('next_link', None) + + +class PhoneNumberCountry(msrest.serialization.Model): + """Represents a country. + + All required parameters must be populated in order to send to Azure. + + :param localized_name: Required. Represents the name of the country. + :type localized_name: str + :param country_code: Required. Represents the abbreviated name of the country. + :type country_code: str + """ + + _validation = { + 'localized_name': {'required': True}, + 'country_code': {'required': True}, + } + + _attribute_map = { + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'country_code': {'key': 'countryCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberCountry, self).__init__(**kwargs) + self.localized_name = kwargs['localized_name'] + self.country_code = kwargs['country_code'] + + +class PhoneNumberEntities(msrest.serialization.Model): + """Represents a list of searches or releases, as part of the response when fetching all searches or releases. + + :param entities: The underlying list of entities. + :type entities: list[~azure.communication.administration.models.PhoneNumberEntity] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'entities': {'key': 'entities', 'type': '[PhoneNumberEntity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberEntities, self).__init__(**kwargs) + self.entities = kwargs.get('entities', None) + self.next_link = kwargs.get('next_link', None) + + +class PhoneNumberEntity(msrest.serialization.Model): + """Represents a phone number entity, as part of the response when calling get all searches or releases. + + :param id: The id of the entity. It is the search id of a search. It is the release id of a + release. + :type id: str + :param created_at: Date and time the entity is created. + :type created_at: ~datetime.datetime + :param display_name: Name of the entity. + :type display_name: str + :param quantity: Quantity of requested phone numbers in the entity. + :type quantity: int + :param quantity_obtained: Quantity of acquired phone numbers in the entity. + :type quantity_obtained: int + :param status: Status of the entity. + :type status: str + :param foc_date: The Firm Order Confirmation date of the phone number entity. + :type foc_date: ~datetime.datetime + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'quantity_obtained': {'key': 'quantityObtained', 'type': 'int'}, + 'status': {'key': 'status', 'type': 'str'}, + 'foc_date': {'key': 'focDate', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberEntity, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.created_at = kwargs.get('created_at', None) + self.display_name = kwargs.get('display_name', None) + self.quantity = kwargs.get('quantity', None) + self.quantity_obtained = kwargs.get('quantity_obtained', None) + self.status = kwargs.get('status', None) + self.foc_date = kwargs.get('foc_date', None) + + +class PhoneNumberRelease(msrest.serialization.Model): + """Represents a release. + + :param release_id: The id of the release. + :type release_id: str + :param created_at: The creation time of the release. + :type created_at: ~datetime.datetime + :param status: The release status. Possible values include: "Pending", "InProgress", + "Complete", "Failed", "Expired". + :type status: str or ~azure.communication.administration.models.ReleaseStatus + :param error_message: The underlying error message of a release. + :type error_message: str + :param phone_number_release_status_details: The list of phone numbers in the release, mapped to + its individual statuses. + :type phone_number_release_status_details: dict[str, + ~azure.communication.administration.models.PhoneNumberReleaseDetails] + """ + + _attribute_map = { + 'release_id': {'key': 'releaseId', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'phone_number_release_status_details': {'key': 'phoneNumberReleaseStatusDetails', 'type': '{PhoneNumberReleaseDetails}'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberRelease, self).__init__(**kwargs) + self.release_id = kwargs.get('release_id', None) + self.created_at = kwargs.get('created_at', None) + self.status = kwargs.get('status', None) + self.error_message = kwargs.get('error_message', None) + self.phone_number_release_status_details = kwargs.get('phone_number_release_status_details', None) + + +class PhoneNumberReleaseDetails(msrest.serialization.Model): + """PhoneNumberReleaseDetails. + + :param status: The release status of a phone number. Possible values include: "Pending", + "Success", "Error", "InProgress". + :type status: str or ~azure.communication.administration.models.PhoneNumberReleaseStatus + :param error_code: The error code in the case the status is error. + :type error_code: int + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error_code': {'key': 'errorCode', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberReleaseDetails, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.error_code = kwargs.get('error_code', None) + + +class PhoneNumberSearch(msrest.serialization.Model): + """Represents a phone number search. + + :param search_id: The id of the search. + :type search_id: str + :param display_name: The name of the search. + :type display_name: str + :param created_at: The creation time of the search. + :type created_at: ~datetime.datetime + :param description: The description of the search. + :type description: str + :param phone_plan_ids: The phone plan ids of the search. + :type phone_plan_ids: list[str] + :param area_code: The area code of the search. + :type area_code: str + :param quantity: The quantity of phone numbers in the search. + :type quantity: int + :param location_options: The location options of the search. + :type location_options: list[~azure.communication.administration.models.LocationOptionsDetails] + :param status: The status of the search. Possible values include: "Pending", "InProgress", + "Reserved", "Expired", "Expiring", "Completing", "Refreshing", "Success", "Manual", + "Cancelled", "Cancelling", "Error", "PurchasePending". + :type status: str or ~azure.communication.administration.models.SearchStatus + :param phone_numbers: The list of phone numbers in the search, in the case the status is + reserved or success. + :type phone_numbers: list[str] + :param reservation_expiry_date: The date that search expires and the numbers become available. + :type reservation_expiry_date: ~datetime.datetime + :param error_code: The error code of the search. + :type error_code: int + """ + + _attribute_map = { + 'search_id': {'key': 'searchId', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'description': {'key': 'description', 'type': 'str'}, + 'phone_plan_ids': {'key': 'phonePlanIds', 'type': '[str]'}, + 'area_code': {'key': 'areaCode', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsDetails]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[str]'}, + 'reservation_expiry_date': {'key': 'reservationExpiryDate', 'type': 'iso-8601'}, + 'error_code': {'key': 'errorCode', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PhoneNumberSearch, self).__init__(**kwargs) + self.search_id = kwargs.get('search_id', None) + self.display_name = kwargs.get('display_name', None) + self.created_at = kwargs.get('created_at', None) + self.description = kwargs.get('description', None) + self.phone_plan_ids = kwargs.get('phone_plan_ids', None) + self.area_code = kwargs.get('area_code', None) + self.quantity = kwargs.get('quantity', None) + self.location_options = kwargs.get('location_options', None) + self.status = kwargs.get('status', None) + self.phone_numbers = kwargs.get('phone_numbers', None) + self.reservation_expiry_date = kwargs.get('reservation_expiry_date', None) + self.error_code = kwargs.get('error_code', None) + + +class PhonePlan(msrest.serialization.Model): + """Represents a phone plan. + + All required parameters must be populated in order to send to Azure. + + :param phone_plan_id: Required. The phone plan id. + :type phone_plan_id: str + :param localized_name: Required. The name of the phone plan. + :type localized_name: str + :param location_type: Required. The location type of the phone plan. Possible values include: + "CivicAddress", "NotRequired", "Selection". + :type location_type: str or ~azure.communication.administration.models.LocationType + :param area_codes: The list of available area codes in the phone plan. + :type area_codes: list[str] + :param capabilities: Capabilities of the phone plan. + :type capabilities: list[str or ~azure.communication.administration.models.Capability] + :param maximum_search_size: The maximum number of phone numbers one can acquire in a search in + this phone plan. + :type maximum_search_size: int + """ + + _validation = { + 'phone_plan_id': {'required': True}, + 'localized_name': {'required': True}, + 'location_type': {'required': True}, + } + + _attribute_map = { + 'phone_plan_id': {'key': 'phonePlanId', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'location_type': {'key': 'locationType', 'type': 'str'}, + 'area_codes': {'key': 'areaCodes', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[str]'}, + 'maximum_search_size': {'key': 'maximumSearchSize', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PhonePlan, self).__init__(**kwargs) + self.phone_plan_id = kwargs['phone_plan_id'] + self.localized_name = kwargs['localized_name'] + self.location_type = kwargs['location_type'] + self.area_codes = kwargs.get('area_codes', None) + self.capabilities = kwargs.get('capabilities', None) + self.maximum_search_size = kwargs.get('maximum_search_size', None) + + +class PhonePlanGroup(msrest.serialization.Model): + """Represents a plan group. + + All required parameters must be populated in order to send to Azure. + + :param phone_plan_group_id: Required. The id of the plan group. + :type phone_plan_group_id: str + :param phone_number_type: The phone number type of the plan group. Possible values include: + "Unknown", "Geographic", "TollFree", "Indirect". + :type phone_number_type: str or ~azure.communication.administration.models.PhoneNumberType + :param localized_name: Required. The name of the plan group. + :type localized_name: str + :param localized_description: Required. The description of the plan group. + :type localized_description: str + :param carrier_details: Represents carrier details. + :type carrier_details: ~azure.communication.administration.models.CarrierDetails + :param rate_information: Represents a wrapper of rate information. + :type rate_information: ~azure.communication.administration.models.RateInformation + """ + + _validation = { + 'phone_plan_group_id': {'required': True}, + 'localized_name': {'required': True}, + 'localized_description': {'required': True}, + } + + _attribute_map = { + 'phone_plan_group_id': {'key': 'phonePlanGroupId', 'type': 'str'}, + 'phone_number_type': {'key': 'phoneNumberType', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'localized_description': {'key': 'localizedDescription', 'type': 'str'}, + 'carrier_details': {'key': 'carrierDetails', 'type': 'CarrierDetails'}, + 'rate_information': {'key': 'rateInformation', 'type': 'RateInformation'}, + } + + def __init__( + self, + **kwargs + ): + super(PhonePlanGroup, self).__init__(**kwargs) + self.phone_plan_group_id = kwargs['phone_plan_group_id'] + self.phone_number_type = kwargs.get('phone_number_type', None) + self.localized_name = kwargs['localized_name'] + self.localized_description = kwargs['localized_description'] + self.carrier_details = kwargs.get('carrier_details', None) + self.rate_information = kwargs.get('rate_information', None) + + +class PhonePlanGroups(msrest.serialization.Model): + """Represents a wrapper of list of plan groups. + + :param phone_plan_groups: The underlying list of phone plan groups. + :type phone_plan_groups: list[~azure.communication.administration.models.PhonePlanGroup] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_plan_groups': {'key': 'phonePlanGroups', 'type': '[PhonePlanGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PhonePlanGroups, self).__init__(**kwargs) + self.phone_plan_groups = kwargs.get('phone_plan_groups', None) + self.next_link = kwargs.get('next_link', None) + + +class PhonePlansResponse(msrest.serialization.Model): + """Represents a wrapper around a list of countries. + + :param phone_plans: Represents the underlying list of phone plans. + :type phone_plans: list[~azure.communication.administration.models.PhonePlan] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_plans': {'key': 'phonePlans', 'type': '[PhonePlan]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PhonePlansResponse, self).__init__(**kwargs) + self.phone_plans = kwargs.get('phone_plans', None) + self.next_link = kwargs.get('next_link', None) + + +class PstnConfiguration(msrest.serialization.Model): + """Definition for pstn number configuration. + + All required parameters must be populated in order to send to Azure. + + :param callback_url: Required. The webhook URL on the phone number configuration. + :type callback_url: str + :param application_id: The application id of the application to which to configure. + :type application_id: str + """ + + _validation = { + 'callback_url': {'required': True}, + } + + _attribute_map = { + 'callback_url': {'key': 'callbackUrl', 'type': 'str'}, + 'application_id': {'key': 'applicationId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PstnConfiguration, self).__init__(**kwargs) + self.callback_url = kwargs['callback_url'] + self.application_id = kwargs.get('application_id', None) + + +class RateInformation(msrest.serialization.Model): + """Represents a wrapper of rate information. + + :param monthly_rate: The monthly rate of a phone plan group. + :type monthly_rate: float + :param currency_type: The currency of a phone plan group. Possible values include: "USD". + :type currency_type: str or ~azure.communication.administration.models.CurrencyType + :param rate_error_message: The error code of a phone plan group. + :type rate_error_message: str + """ + + _attribute_map = { + 'monthly_rate': {'key': 'monthlyRate', 'type': 'float'}, + 'currency_type': {'key': 'currencyType', 'type': 'str'}, + 'rate_error_message': {'key': 'rateErrorMessage', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RateInformation, self).__init__(**kwargs) + self.monthly_rate = kwargs.get('monthly_rate', None) + self.currency_type = kwargs.get('currency_type', None) + self.rate_error_message = kwargs.get('rate_error_message', None) + + +class ReleaseRequest(msrest.serialization.Model): + """Represents a release request. + + All required parameters must be populated in order to send to Azure. + + :param phone_numbers: Required. The list of phone numbers in the release request. + :type phone_numbers: list[str] + """ + + _validation = { + 'phone_numbers': {'required': True}, + } + + _attribute_map = { + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ReleaseRequest, self).__init__(**kwargs) + self.phone_numbers = kwargs['phone_numbers'] + + +class ReleaseResponse(msrest.serialization.Model): + """Represents a release response. + + All required parameters must be populated in order to send to Azure. + + :param release_id: Required. The release id of a created release. + :type release_id: str + """ + + _validation = { + 'release_id': {'required': True}, + } + + _attribute_map = { + 'release_id': {'key': 'releaseId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ReleaseResponse, self).__init__(**kwargs) + self.release_id = kwargs['release_id'] + + +class UpdateNumberCapabilitiesRequest(msrest.serialization.Model): + """Represents a numbers capabilities update request. + + All required parameters must be populated in order to send to Azure. + + :param phone_number_capabilities_update: Required. The map of phone numbers to the capabilities + update applied to the phone number. + :type phone_number_capabilities_update: dict[str, + ~azure.communication.administration.models.NumberUpdateCapabilities] + """ + + _validation = { + 'phone_number_capabilities_update': {'required': True}, + } + + _attribute_map = { + 'phone_number_capabilities_update': {'key': 'phoneNumberCapabilitiesUpdate', 'type': '{NumberUpdateCapabilities}'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateNumberCapabilitiesRequest, self).__init__(**kwargs) + self.phone_number_capabilities_update = kwargs['phone_number_capabilities_update'] + + +class UpdateNumberCapabilitiesResponse(msrest.serialization.Model): + """Represents a number capability update response. + + All required parameters must be populated in order to send to Azure. + + :param capabilities_update_id: Required. The capabilities id. + :type capabilities_update_id: str + """ + + _validation = { + 'capabilities_update_id': {'required': True}, + } + + _attribute_map = { + 'capabilities_update_id': {'key': 'capabilitiesUpdateId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdateNumberCapabilitiesResponse, self).__init__(**kwargs) + self.capabilities_update_id = kwargs['capabilities_update_id'] + + +class UpdatePhoneNumberCapabilitiesResponse(msrest.serialization.Model): + """Response for getting a phone number update capabilities. + + :param capabilities_update_id: The id of the phone number capabilities update. + :type capabilities_update_id: str + :param created_at: The time the capabilities update was created. + :type created_at: ~datetime.datetime + :param capabilities_update_status: Status of the capabilities update. Possible values include: + "Pending", "InProgress", "Complete", "Error". + :type capabilities_update_status: str or + ~azure.communication.administration.models.CapabilitiesUpdateStatus + :param phone_number_capabilities_updates: The capabilities update for each of a set of phone + numbers. + :type phone_number_capabilities_updates: dict[str, + ~azure.communication.administration.models.NumberUpdateCapabilities] + """ + + _attribute_map = { + 'capabilities_update_id': {'key': 'capabilitiesUpdateId', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'capabilities_update_status': {'key': 'capabilitiesUpdateStatus', 'type': 'str'}, + 'phone_number_capabilities_updates': {'key': 'phoneNumberCapabilitiesUpdates', 'type': '{NumberUpdateCapabilities}'}, + } + + def __init__( + self, + **kwargs + ): + super(UpdatePhoneNumberCapabilitiesResponse, self).__init__(**kwargs) + self.capabilities_update_id = kwargs.get('capabilities_update_id', None) + self.created_at = kwargs.get('created_at', None) + self.capabilities_update_status = kwargs.get('capabilities_update_status', None) + self.phone_number_capabilities_updates = kwargs.get('phone_number_capabilities_updates', None) diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models_py3.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models_py3.py new file mode 100644 index 000000000000..78a269c7f21c --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models_py3.py @@ -0,0 +1,1197 @@ +# 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. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._phone_number_administration_service_enums import * + + +class AcquiredPhoneNumber(msrest.serialization.Model): + """Represents an acquired phone number. + + All required parameters must be populated in order to send to Azure. + + :param phone_number: Required. String of the E.164 format of the phone number. + :type phone_number: str + :param acquired_capabilities: Required. The set of all acquired capabilities of the phone + number. + :type acquired_capabilities: list[str or ~azure.communication.administration.models.Capability] + :param available_capabilities: Required. The set of all available capabilities that can be + acquired for this phone number. + :type available_capabilities: list[str or + ~azure.communication.administration.models.Capability] + :param assignment_status: The assignment status of the phone number. Conveys what type of + entity the number is assigned to. Possible values include: "Unassigned", "Unknown", + "UserAssigned", "ConferenceAssigned", "FirstPartyAppAssigned", "ThirdPartyAppAssigned". + :type assignment_status: str or ~azure.communication.administration.models.AssignmentStatus + :param place_name: The name of the place of the phone number. + :type place_name: str + :param activation_state: The activation state of the phone number. Can be "Activated", + "AssignmentPending", "AssignmentFailed", "UpdatePending", "UpdateFailed". Possible values + include: "Activated", "AssignmentPending", "AssignmentFailed", "UpdatePending", "UpdateFailed". + :type activation_state: str or ~azure.communication.administration.models.ActivationState + """ + + _validation = { + 'phone_number': {'required': True}, + 'acquired_capabilities': {'required': True}, + 'available_capabilities': {'required': True}, + } + + _attribute_map = { + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + 'acquired_capabilities': {'key': 'acquiredCapabilities', 'type': '[str]'}, + 'available_capabilities': {'key': 'availableCapabilities', 'type': '[str]'}, + 'assignment_status': {'key': 'assignmentStatus', 'type': 'str'}, + 'place_name': {'key': 'placeName', 'type': 'str'}, + 'activation_state': {'key': 'activationState', 'type': 'str'}, + } + + def __init__( + self, + *, + phone_number: str, + acquired_capabilities: List[Union[str, "Capability"]], + available_capabilities: List[Union[str, "Capability"]], + assignment_status: Optional[Union[str, "AssignmentStatus"]] = None, + place_name: Optional[str] = None, + activation_state: Optional[Union[str, "ActivationState"]] = None, + **kwargs + ): + super(AcquiredPhoneNumber, self).__init__(**kwargs) + self.phone_number = phone_number + self.acquired_capabilities = acquired_capabilities + self.available_capabilities = available_capabilities + self.assignment_status = assignment_status + self.place_name = place_name + self.activation_state = activation_state + + +class AcquiredPhoneNumbers(msrest.serialization.Model): + """A wrapper of list of phone numbers. + + :param phone_numbers: Represents a list of phone numbers. + :type phone_numbers: list[~azure.communication.administration.models.AcquiredPhoneNumber] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[AcquiredPhoneNumber]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + phone_numbers: Optional[List["AcquiredPhoneNumber"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AcquiredPhoneNumbers, self).__init__(**kwargs) + self.phone_numbers = phone_numbers + self.next_link = next_link + + +class AreaCodes(msrest.serialization.Model): + """Represents a list of area codes. + + :param primary_area_codes: Represents the list of primary area codes. + :type primary_area_codes: list[str] + :param secondary_area_codes: Represents the list of secondary area codes. + :type secondary_area_codes: list[str] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'primary_area_codes': {'key': 'primaryAreaCodes', 'type': '[str]'}, + 'secondary_area_codes': {'key': 'secondaryAreaCodes', 'type': '[str]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + primary_area_codes: Optional[List[str]] = None, + secondary_area_codes: Optional[List[str]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AreaCodes, self).__init__(**kwargs) + self.primary_area_codes = primary_area_codes + self.secondary_area_codes = secondary_area_codes + self.next_link = next_link + + +class CarrierDetails(msrest.serialization.Model): + """Represents carrier details. + + :param name: Name of carrier details. + :type name: str + :param localized_name: Display name of carrier details. + :type localized_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + localized_name: Optional[str] = None, + **kwargs + ): + super(CarrierDetails, self).__init__(**kwargs) + self.name = name + self.localized_name = localized_name + + +class CreateSearchOptions(msrest.serialization.Model): + """Represents a search creation option. + + All required parameters must be populated in order to send to Azure. + + :param display_name: Required. Display name of the search. + :type display_name: str + :param description: Required. Description of the search. + :type description: str + :param phone_plan_ids: Required. The plan subtype ids from which to create the search. + :type phone_plan_ids: list[str] + :param area_code: Required. The area code from which to create the search. + :type area_code: str + :param quantity: The quantity of phone numbers to request. + :type quantity: int + :param location_options: The location options of the search. + :type location_options: list[~azure.communication.administration.models.LocationOptionsDetails] + """ + + _validation = { + 'display_name': {'required': True, 'max_length': 255, 'min_length': 0}, + 'description': {'required': True, 'max_length': 255, 'min_length': 0}, + 'phone_plan_ids': {'required': True}, + 'area_code': {'required': True}, + 'quantity': {'maximum': 2147483647, 'minimum': 1}, + } + + _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'phone_plan_ids': {'key': 'phonePlanIds', 'type': '[str]'}, + 'area_code': {'key': 'areaCode', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsDetails]'}, + } + + def __init__( + self, + *, + display_name: str, + description: str, + phone_plan_ids: List[str], + area_code: str, + quantity: Optional[int] = None, + location_options: Optional[List["LocationOptionsDetails"]] = None, + **kwargs + ): + super(CreateSearchOptions, self).__init__(**kwargs) + self.display_name = display_name + self.description = description + self.phone_plan_ids = phone_plan_ids + self.area_code = area_code + self.quantity = quantity + self.location_options = location_options + + +class CreateSearchResponse(msrest.serialization.Model): + """Represents a search creation response. + + All required parameters must be populated in order to send to Azure. + + :param search_id: Required. The search id of the search that was created. + :type search_id: str + """ + + _validation = { + 'search_id': {'required': True}, + } + + _attribute_map = { + 'search_id': {'key': 'searchId', 'type': 'str'}, + } + + def __init__( + self, + *, + search_id: str, + **kwargs + ): + super(CreateSearchResponse, self).__init__(**kwargs) + self.search_id = search_id + + +class ErrorBody(msrest.serialization.Model): + """Represents a service error response body. + + :param code: The error code in the error response. + :type code: str + :param message: The error message in the error response. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + **kwargs + ): + super(ErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorResponse(msrest.serialization.Model): + """Represents a service error response. + + :param error: Represents a service error response body. + :type error: ~azure.communication.administration.models.ErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorBody'}, + } + + def __init__( + self, + *, + error: Optional["ErrorBody"] = None, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class LocationOptions(msrest.serialization.Model): + """Represents a location options. + + :param label_id: The label id of the location. + :type label_id: str + :param label_name: The display name of the location. + :type label_name: str + :param options: The underlying location option details. + :type options: list[~azure.communication.administration.models.LocationOptionsDetails] + """ + + _attribute_map = { + 'label_id': {'key': 'labelId', 'type': 'str'}, + 'label_name': {'key': 'labelName', 'type': 'str'}, + 'options': {'key': 'options', 'type': '[LocationOptionsDetails]'}, + } + + def __init__( + self, + *, + label_id: Optional[str] = None, + label_name: Optional[str] = None, + options: Optional[List["LocationOptionsDetails"]] = None, + **kwargs + ): + super(LocationOptions, self).__init__(**kwargs) + self.label_id = label_id + self.label_name = label_name + self.options = options + + +class LocationOptionsDetails(msrest.serialization.Model): + """Represents location options details. + + :param name: The name of the location options. + :type name: str + :param value: The abbreviated name of the location options. + :type value: str + :param location_options: The underlying location options. + :type location_options: list[~azure.communication.administration.models.LocationOptions] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptions]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + value: Optional[str] = None, + location_options: Optional[List["LocationOptions"]] = None, + **kwargs + ): + super(LocationOptionsDetails, self).__init__(**kwargs) + self.name = name + self.value = value + self.location_options = location_options + + +class LocationOptionsQueries(msrest.serialization.Model): + """Represents a list of location option queries, used for fetching area codes. + + :param location_options: Represents the underlying list of countries. + :type location_options: list[~azure.communication.administration.models.LocationOptionsQuery] + """ + + _attribute_map = { + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsQuery]'}, + } + + def __init__( + self, + *, + location_options: Optional[List["LocationOptionsQuery"]] = None, + **kwargs + ): + super(LocationOptionsQueries, self).__init__(**kwargs) + self.location_options = location_options + + +class LocationOptionsQuery(msrest.serialization.Model): + """Represents a location options parameter, used for fetching area codes. + + :param label_id: Represents the location option label id, returned from the GetLocationOptions + API. + :type label_id: str + :param options_value: Represents the location options value, returned from the + GetLocationOptions API. + :type options_value: str + """ + + _attribute_map = { + 'label_id': {'key': 'labelId', 'type': 'str'}, + 'options_value': {'key': 'optionsValue', 'type': 'str'}, + } + + def __init__( + self, + *, + label_id: Optional[str] = None, + options_value: Optional[str] = None, + **kwargs + ): + super(LocationOptionsQuery, self).__init__(**kwargs) + self.label_id = label_id + self.options_value = options_value + + +class LocationOptionsResponse(msrest.serialization.Model): + """Represents a wrapper around a list of location options. + + :param location_options: Represents a location options. + :type location_options: ~azure.communication.administration.models.LocationOptions + """ + + _attribute_map = { + 'location_options': {'key': 'locationOptions', 'type': 'LocationOptions'}, + } + + def __init__( + self, + *, + location_options: Optional["LocationOptions"] = None, + **kwargs + ): + super(LocationOptionsResponse, self).__init__(**kwargs) + self.location_options = location_options + + +class NumberConfiguration(msrest.serialization.Model): + """Definition for number configuration. + + All required parameters must be populated in order to send to Azure. + + :param pstn_configuration: Required. Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + :param phone_number: Required. The phone number to configure. + :type phone_number: str + """ + + _validation = { + 'pstn_configuration': {'required': True}, + 'phone_number': {'required': True}, + } + + _attribute_map = { + 'pstn_configuration': {'key': 'pstnConfiguration', 'type': 'PstnConfiguration'}, + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + } + + def __init__( + self, + *, + pstn_configuration: "PstnConfiguration", + phone_number: str, + **kwargs + ): + super(NumberConfiguration, self).__init__(**kwargs) + self.pstn_configuration = pstn_configuration + self.phone_number = phone_number + + +class NumberConfigurationPhoneNumber(msrest.serialization.Model): + """The phone number wrapper representing a number configuration request. + + All required parameters must be populated in order to send to Azure. + + :param phone_number: Required. The phone number in the E.164 format. + :type phone_number: str + """ + + _validation = { + 'phone_number': {'required': True}, + } + + _attribute_map = { + 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, + } + + def __init__( + self, + *, + phone_number: str, + **kwargs + ): + super(NumberConfigurationPhoneNumber, self).__init__(**kwargs) + self.phone_number = phone_number + + +class NumberConfigurationResponse(msrest.serialization.Model): + """Definition for number configuration. + + All required parameters must be populated in order to send to Azure. + + :param pstn_configuration: Required. Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + """ + + _validation = { + 'pstn_configuration': {'required': True}, + } + + _attribute_map = { + 'pstn_configuration': {'key': 'pstnConfiguration', 'type': 'PstnConfiguration'}, + } + + def __init__( + self, + *, + pstn_configuration: "PstnConfiguration", + **kwargs + ): + super(NumberConfigurationResponse, self).__init__(**kwargs) + self.pstn_configuration = pstn_configuration + + +class NumberUpdateCapabilities(msrest.serialization.Model): + """Represents an individual number capabilities update request. + + :param add: Capabilities to be added to a phone number. + :type add: list[str or ~azure.communication.administration.models.Capability] + :param remove: Capabilities to be removed from a phone number. + :type remove: list[str or ~azure.communication.administration.models.Capability] + """ + + _attribute_map = { + 'add': {'key': 'add', 'type': '[str]'}, + 'remove': {'key': 'remove', 'type': '[str]'}, + } + + def __init__( + self, + *, + add: Optional[List[Union[str, "Capability"]]] = None, + remove: Optional[List[Union[str, "Capability"]]] = None, + **kwargs + ): + super(NumberUpdateCapabilities, self).__init__(**kwargs) + self.add = add + self.remove = remove + + +class PhoneNumberCountries(msrest.serialization.Model): + """Represents a wrapper around a list of countries. + + :param countries: Represents the underlying list of countries. + :type countries: list[~azure.communication.administration.models.PhoneNumberCountry] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'countries': {'key': 'countries', 'type': '[PhoneNumberCountry]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + countries: Optional[List["PhoneNumberCountry"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PhoneNumberCountries, self).__init__(**kwargs) + self.countries = countries + self.next_link = next_link + + +class PhoneNumberCountry(msrest.serialization.Model): + """Represents a country. + + All required parameters must be populated in order to send to Azure. + + :param localized_name: Required. Represents the name of the country. + :type localized_name: str + :param country_code: Required. Represents the abbreviated name of the country. + :type country_code: str + """ + + _validation = { + 'localized_name': {'required': True}, + 'country_code': {'required': True}, + } + + _attribute_map = { + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'country_code': {'key': 'countryCode', 'type': 'str'}, + } + + def __init__( + self, + *, + localized_name: str, + country_code: str, + **kwargs + ): + super(PhoneNumberCountry, self).__init__(**kwargs) + self.localized_name = localized_name + self.country_code = country_code + + +class PhoneNumberEntities(msrest.serialization.Model): + """Represents a list of searches or releases, as part of the response when fetching all searches or releases. + + :param entities: The underlying list of entities. + :type entities: list[~azure.communication.administration.models.PhoneNumberEntity] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'entities': {'key': 'entities', 'type': '[PhoneNumberEntity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + entities: Optional[List["PhoneNumberEntity"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PhoneNumberEntities, self).__init__(**kwargs) + self.entities = entities + self.next_link = next_link + + +class PhoneNumberEntity(msrest.serialization.Model): + """Represents a phone number entity, as part of the response when calling get all searches or releases. + + :param id: The id of the entity. It is the search id of a search. It is the release id of a + release. + :type id: str + :param created_at: Date and time the entity is created. + :type created_at: ~datetime.datetime + :param display_name: Name of the entity. + :type display_name: str + :param quantity: Quantity of requested phone numbers in the entity. + :type quantity: int + :param quantity_obtained: Quantity of acquired phone numbers in the entity. + :type quantity_obtained: int + :param status: Status of the entity. + :type status: str + :param foc_date: The Firm Order Confirmation date of the phone number entity. + :type foc_date: ~datetime.datetime + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'quantity_obtained': {'key': 'quantityObtained', 'type': 'int'}, + 'status': {'key': 'status', 'type': 'str'}, + 'foc_date': {'key': 'focDate', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + created_at: Optional[datetime.datetime] = None, + display_name: Optional[str] = None, + quantity: Optional[int] = None, + quantity_obtained: Optional[int] = None, + status: Optional[str] = None, + foc_date: Optional[datetime.datetime] = None, + **kwargs + ): + super(PhoneNumberEntity, self).__init__(**kwargs) + self.id = id + self.created_at = created_at + self.display_name = display_name + self.quantity = quantity + self.quantity_obtained = quantity_obtained + self.status = status + self.foc_date = foc_date + + +class PhoneNumberRelease(msrest.serialization.Model): + """Represents a release. + + :param release_id: The id of the release. + :type release_id: str + :param created_at: The creation time of the release. + :type created_at: ~datetime.datetime + :param status: The release status. Possible values include: "Pending", "InProgress", + "Complete", "Failed", "Expired". + :type status: str or ~azure.communication.administration.models.ReleaseStatus + :param error_message: The underlying error message of a release. + :type error_message: str + :param phone_number_release_status_details: The list of phone numbers in the release, mapped to + its individual statuses. + :type phone_number_release_status_details: dict[str, + ~azure.communication.administration.models.PhoneNumberReleaseDetails] + """ + + _attribute_map = { + 'release_id': {'key': 'releaseId', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'status': {'key': 'status', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'phone_number_release_status_details': {'key': 'phoneNumberReleaseStatusDetails', 'type': '{PhoneNumberReleaseDetails}'}, + } + + def __init__( + self, + *, + release_id: Optional[str] = None, + created_at: Optional[datetime.datetime] = None, + status: Optional[Union[str, "ReleaseStatus"]] = None, + error_message: Optional[str] = None, + phone_number_release_status_details: Optional[Dict[str, "PhoneNumberReleaseDetails"]] = None, + **kwargs + ): + super(PhoneNumberRelease, self).__init__(**kwargs) + self.release_id = release_id + self.created_at = created_at + self.status = status + self.error_message = error_message + self.phone_number_release_status_details = phone_number_release_status_details + + +class PhoneNumberReleaseDetails(msrest.serialization.Model): + """PhoneNumberReleaseDetails. + + :param status: The release status of a phone number. Possible values include: "Pending", + "Success", "Error", "InProgress". + :type status: str or ~azure.communication.administration.models.PhoneNumberReleaseStatus + :param error_code: The error code in the case the status is error. + :type error_code: int + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error_code': {'key': 'errorCode', 'type': 'int'}, + } + + def __init__( + self, + *, + status: Optional[Union[str, "PhoneNumberReleaseStatus"]] = None, + error_code: Optional[int] = None, + **kwargs + ): + super(PhoneNumberReleaseDetails, self).__init__(**kwargs) + self.status = status + self.error_code = error_code + + +class PhoneNumberSearch(msrest.serialization.Model): + """Represents a phone number search. + + :param search_id: The id of the search. + :type search_id: str + :param display_name: The name of the search. + :type display_name: str + :param created_at: The creation time of the search. + :type created_at: ~datetime.datetime + :param description: The description of the search. + :type description: str + :param phone_plan_ids: The phone plan ids of the search. + :type phone_plan_ids: list[str] + :param area_code: The area code of the search. + :type area_code: str + :param quantity: The quantity of phone numbers in the search. + :type quantity: int + :param location_options: The location options of the search. + :type location_options: list[~azure.communication.administration.models.LocationOptionsDetails] + :param status: The status of the search. Possible values include: "Pending", "InProgress", + "Reserved", "Expired", "Expiring", "Completing", "Refreshing", "Success", "Manual", + "Cancelled", "Cancelling", "Error", "PurchasePending". + :type status: str or ~azure.communication.administration.models.SearchStatus + :param phone_numbers: The list of phone numbers in the search, in the case the status is + reserved or success. + :type phone_numbers: list[str] + :param reservation_expiry_date: The date that search expires and the numbers become available. + :type reservation_expiry_date: ~datetime.datetime + :param error_code: The error code of the search. + :type error_code: int + """ + + _attribute_map = { + 'search_id': {'key': 'searchId', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'description': {'key': 'description', 'type': 'str'}, + 'phone_plan_ids': {'key': 'phonePlanIds', 'type': '[str]'}, + 'area_code': {'key': 'areaCode', 'type': 'str'}, + 'quantity': {'key': 'quantity', 'type': 'int'}, + 'location_options': {'key': 'locationOptions', 'type': '[LocationOptionsDetails]'}, + 'status': {'key': 'status', 'type': 'str'}, + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[str]'}, + 'reservation_expiry_date': {'key': 'reservationExpiryDate', 'type': 'iso-8601'}, + 'error_code': {'key': 'errorCode', 'type': 'int'}, + } + + def __init__( + self, + *, + search_id: Optional[str] = None, + display_name: Optional[str] = None, + created_at: Optional[datetime.datetime] = None, + description: Optional[str] = None, + phone_plan_ids: Optional[List[str]] = None, + area_code: Optional[str] = None, + quantity: Optional[int] = None, + location_options: Optional[List["LocationOptionsDetails"]] = None, + status: Optional[Union[str, "SearchStatus"]] = None, + phone_numbers: Optional[List[str]] = None, + reservation_expiry_date: Optional[datetime.datetime] = None, + error_code: Optional[int] = None, + **kwargs + ): + super(PhoneNumberSearch, self).__init__(**kwargs) + self.search_id = search_id + self.display_name = display_name + self.created_at = created_at + self.description = description + self.phone_plan_ids = phone_plan_ids + self.area_code = area_code + self.quantity = quantity + self.location_options = location_options + self.status = status + self.phone_numbers = phone_numbers + self.reservation_expiry_date = reservation_expiry_date + self.error_code = error_code + + +class PhonePlan(msrest.serialization.Model): + """Represents a phone plan. + + All required parameters must be populated in order to send to Azure. + + :param phone_plan_id: Required. The phone plan id. + :type phone_plan_id: str + :param localized_name: Required. The name of the phone plan. + :type localized_name: str + :param location_type: Required. The location type of the phone plan. Possible values include: + "CivicAddress", "NotRequired", "Selection". + :type location_type: str or ~azure.communication.administration.models.LocationType + :param area_codes: The list of available area codes in the phone plan. + :type area_codes: list[str] + :param capabilities: Capabilities of the phone plan. + :type capabilities: list[str or ~azure.communication.administration.models.Capability] + :param maximum_search_size: The maximum number of phone numbers one can acquire in a search in + this phone plan. + :type maximum_search_size: int + """ + + _validation = { + 'phone_plan_id': {'required': True}, + 'localized_name': {'required': True}, + 'location_type': {'required': True}, + } + + _attribute_map = { + 'phone_plan_id': {'key': 'phonePlanId', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'location_type': {'key': 'locationType', 'type': 'str'}, + 'area_codes': {'key': 'areaCodes', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[str]'}, + 'maximum_search_size': {'key': 'maximumSearchSize', 'type': 'int'}, + } + + def __init__( + self, + *, + phone_plan_id: str, + localized_name: str, + location_type: Union[str, "LocationType"], + area_codes: Optional[List[str]] = None, + capabilities: Optional[List[Union[str, "Capability"]]] = None, + maximum_search_size: Optional[int] = None, + **kwargs + ): + super(PhonePlan, self).__init__(**kwargs) + self.phone_plan_id = phone_plan_id + self.localized_name = localized_name + self.location_type = location_type + self.area_codes = area_codes + self.capabilities = capabilities + self.maximum_search_size = maximum_search_size + + +class PhonePlanGroup(msrest.serialization.Model): + """Represents a plan group. + + All required parameters must be populated in order to send to Azure. + + :param phone_plan_group_id: Required. The id of the plan group. + :type phone_plan_group_id: str + :param phone_number_type: The phone number type of the plan group. Possible values include: + "Unknown", "Geographic", "TollFree", "Indirect". + :type phone_number_type: str or ~azure.communication.administration.models.PhoneNumberType + :param localized_name: Required. The name of the plan group. + :type localized_name: str + :param localized_description: Required. The description of the plan group. + :type localized_description: str + :param carrier_details: Represents carrier details. + :type carrier_details: ~azure.communication.administration.models.CarrierDetails + :param rate_information: Represents a wrapper of rate information. + :type rate_information: ~azure.communication.administration.models.RateInformation + """ + + _validation = { + 'phone_plan_group_id': {'required': True}, + 'localized_name': {'required': True}, + 'localized_description': {'required': True}, + } + + _attribute_map = { + 'phone_plan_group_id': {'key': 'phonePlanGroupId', 'type': 'str'}, + 'phone_number_type': {'key': 'phoneNumberType', 'type': 'str'}, + 'localized_name': {'key': 'localizedName', 'type': 'str'}, + 'localized_description': {'key': 'localizedDescription', 'type': 'str'}, + 'carrier_details': {'key': 'carrierDetails', 'type': 'CarrierDetails'}, + 'rate_information': {'key': 'rateInformation', 'type': 'RateInformation'}, + } + + def __init__( + self, + *, + phone_plan_group_id: str, + localized_name: str, + localized_description: str, + phone_number_type: Optional[Union[str, "PhoneNumberType"]] = None, + carrier_details: Optional["CarrierDetails"] = None, + rate_information: Optional["RateInformation"] = None, + **kwargs + ): + super(PhonePlanGroup, self).__init__(**kwargs) + self.phone_plan_group_id = phone_plan_group_id + self.phone_number_type = phone_number_type + self.localized_name = localized_name + self.localized_description = localized_description + self.carrier_details = carrier_details + self.rate_information = rate_information + + +class PhonePlanGroups(msrest.serialization.Model): + """Represents a wrapper of list of plan groups. + + :param phone_plan_groups: The underlying list of phone plan groups. + :type phone_plan_groups: list[~azure.communication.administration.models.PhonePlanGroup] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_plan_groups': {'key': 'phonePlanGroups', 'type': '[PhonePlanGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + phone_plan_groups: Optional[List["PhonePlanGroup"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PhonePlanGroups, self).__init__(**kwargs) + self.phone_plan_groups = phone_plan_groups + self.next_link = next_link + + +class PhonePlansResponse(msrest.serialization.Model): + """Represents a wrapper around a list of countries. + + :param phone_plans: Represents the underlying list of phone plans. + :type phone_plans: list[~azure.communication.administration.models.PhonePlan] + :param next_link: Represents the URL link to the next page. + :type next_link: str + """ + + _attribute_map = { + 'phone_plans': {'key': 'phonePlans', 'type': '[PhonePlan]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + phone_plans: Optional[List["PhonePlan"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PhonePlansResponse, self).__init__(**kwargs) + self.phone_plans = phone_plans + self.next_link = next_link + + +class PstnConfiguration(msrest.serialization.Model): + """Definition for pstn number configuration. + + All required parameters must be populated in order to send to Azure. + + :param callback_url: Required. The webhook URL on the phone number configuration. + :type callback_url: str + :param application_id: The application id of the application to which to configure. + :type application_id: str + """ + + _validation = { + 'callback_url': {'required': True}, + } + + _attribute_map = { + 'callback_url': {'key': 'callbackUrl', 'type': 'str'}, + 'application_id': {'key': 'applicationId', 'type': 'str'}, + } + + def __init__( + self, + *, + callback_url: str, + application_id: Optional[str] = None, + **kwargs + ): + super(PstnConfiguration, self).__init__(**kwargs) + self.callback_url = callback_url + self.application_id = application_id + + +class RateInformation(msrest.serialization.Model): + """Represents a wrapper of rate information. + + :param monthly_rate: The monthly rate of a phone plan group. + :type monthly_rate: float + :param currency_type: The currency of a phone plan group. Possible values include: "USD". + :type currency_type: str or ~azure.communication.administration.models.CurrencyType + :param rate_error_message: The error code of a phone plan group. + :type rate_error_message: str + """ + + _attribute_map = { + 'monthly_rate': {'key': 'monthlyRate', 'type': 'float'}, + 'currency_type': {'key': 'currencyType', 'type': 'str'}, + 'rate_error_message': {'key': 'rateErrorMessage', 'type': 'str'}, + } + + def __init__( + self, + *, + monthly_rate: Optional[float] = None, + currency_type: Optional[Union[str, "CurrencyType"]] = None, + rate_error_message: Optional[str] = None, + **kwargs + ): + super(RateInformation, self).__init__(**kwargs) + self.monthly_rate = monthly_rate + self.currency_type = currency_type + self.rate_error_message = rate_error_message + + +class ReleaseRequest(msrest.serialization.Model): + """Represents a release request. + + All required parameters must be populated in order to send to Azure. + + :param phone_numbers: Required. The list of phone numbers in the release request. + :type phone_numbers: list[str] + """ + + _validation = { + 'phone_numbers': {'required': True}, + } + + _attribute_map = { + 'phone_numbers': {'key': 'phoneNumbers', 'type': '[str]'}, + } + + def __init__( + self, + *, + phone_numbers: List[str], + **kwargs + ): + super(ReleaseRequest, self).__init__(**kwargs) + self.phone_numbers = phone_numbers + + +class ReleaseResponse(msrest.serialization.Model): + """Represents a release response. + + All required parameters must be populated in order to send to Azure. + + :param release_id: Required. The release id of a created release. + :type release_id: str + """ + + _validation = { + 'release_id': {'required': True}, + } + + _attribute_map = { + 'release_id': {'key': 'releaseId', 'type': 'str'}, + } + + def __init__( + self, + *, + release_id: str, + **kwargs + ): + super(ReleaseResponse, self).__init__(**kwargs) + self.release_id = release_id + + +class UpdateNumberCapabilitiesRequest(msrest.serialization.Model): + """Represents a numbers capabilities update request. + + All required parameters must be populated in order to send to Azure. + + :param phone_number_capabilities_update: Required. The map of phone numbers to the capabilities + update applied to the phone number. + :type phone_number_capabilities_update: dict[str, + ~azure.communication.administration.models.NumberUpdateCapabilities] + """ + + _validation = { + 'phone_number_capabilities_update': {'required': True}, + } + + _attribute_map = { + 'phone_number_capabilities_update': {'key': 'phoneNumberCapabilitiesUpdate', 'type': '{NumberUpdateCapabilities}'}, + } + + def __init__( + self, + *, + phone_number_capabilities_update: Dict[str, "NumberUpdateCapabilities"], + **kwargs + ): + super(UpdateNumberCapabilitiesRequest, self).__init__(**kwargs) + self.phone_number_capabilities_update = phone_number_capabilities_update + + +class UpdateNumberCapabilitiesResponse(msrest.serialization.Model): + """Represents a number capability update response. + + All required parameters must be populated in order to send to Azure. + + :param capabilities_update_id: Required. The capabilities id. + :type capabilities_update_id: str + """ + + _validation = { + 'capabilities_update_id': {'required': True}, + } + + _attribute_map = { + 'capabilities_update_id': {'key': 'capabilitiesUpdateId', 'type': 'str'}, + } + + def __init__( + self, + *, + capabilities_update_id: str, + **kwargs + ): + super(UpdateNumberCapabilitiesResponse, self).__init__(**kwargs) + self.capabilities_update_id = capabilities_update_id + + +class UpdatePhoneNumberCapabilitiesResponse(msrest.serialization.Model): + """Response for getting a phone number update capabilities. + + :param capabilities_update_id: The id of the phone number capabilities update. + :type capabilities_update_id: str + :param created_at: The time the capabilities update was created. + :type created_at: ~datetime.datetime + :param capabilities_update_status: Status of the capabilities update. Possible values include: + "Pending", "InProgress", "Complete", "Error". + :type capabilities_update_status: str or + ~azure.communication.administration.models.CapabilitiesUpdateStatus + :param phone_number_capabilities_updates: The capabilities update for each of a set of phone + numbers. + :type phone_number_capabilities_updates: dict[str, + ~azure.communication.administration.models.NumberUpdateCapabilities] + """ + + _attribute_map = { + 'capabilities_update_id': {'key': 'capabilitiesUpdateId', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'capabilities_update_status': {'key': 'capabilitiesUpdateStatus', 'type': 'str'}, + 'phone_number_capabilities_updates': {'key': 'phoneNumberCapabilitiesUpdates', 'type': '{NumberUpdateCapabilities}'}, + } + + def __init__( + self, + *, + capabilities_update_id: Optional[str] = None, + created_at: Optional[datetime.datetime] = None, + capabilities_update_status: Optional[Union[str, "CapabilitiesUpdateStatus"]] = None, + phone_number_capabilities_updates: Optional[Dict[str, "NumberUpdateCapabilities"]] = None, + **kwargs + ): + super(UpdatePhoneNumberCapabilitiesResponse, self).__init__(**kwargs) + self.capabilities_update_id = capabilities_update_id + self.created_at = created_at + self.capabilities_update_status = capabilities_update_status + self.phone_number_capabilities_updates = phone_number_capabilities_updates diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_phone_number_administration_service_enums.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_phone_number_administration_service_enums.py new file mode 100644 index 000000000000..5b53cc8756be --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_phone_number_administration_service_enums.py @@ -0,0 +1,148 @@ +# 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 enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class ActivationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The activation state of the phone number. Can be "Activated", "AssignmentPending", + "AssignmentFailed", "UpdatePending", "UpdateFailed" + """ + + ACTIVATED = "Activated" + ASSIGNMENT_PENDING = "AssignmentPending" + ASSIGNMENT_FAILED = "AssignmentFailed" + UPDATE_PENDING = "UpdatePending" + UPDATE_FAILED = "UpdateFailed" + +class AssignmentStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The assignment status of the phone number. Conveys what type of entity the number is assigned + to. + """ + + UNASSIGNED = "Unassigned" + UNKNOWN = "Unknown" + USER_ASSIGNED = "UserAssigned" + CONFERENCE_ASSIGNED = "ConferenceAssigned" + FIRST_PARTY_APP_ASSIGNED = "FirstPartyAppAssigned" + THIRD_PARTY_APP_ASSIGNED = "ThirdPartyAppAssigned" + +class CapabilitiesUpdateStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the capabilities update. + """ + + PENDING = "Pending" + IN_PROGRESS = "InProgress" + COMPLETE = "Complete" + ERROR = "Error" + +class Capability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Represents the capabilities of a phone number. + """ + + USER_ASSIGNMENT = "UserAssignment" + FIRST_PARTY_VOICE_APP_ASSIGNMENT = "FirstPartyVoiceAppAssignment" + CONFERENCE_ASSIGNMENT = "ConferenceAssignment" + P2_P_SMS_ENABLED = "P2PSmsEnabled" + GEOGRAPHIC = "Geographic" + NON_GEOGRAPHIC = "NonGeographic" + TOLL_CALLING = "TollCalling" + TOLL_FREE_CALLING = "TollFreeCalling" + PREMIUM = "Premium" + P2_P_SMS_CAPABLE = "P2PSmsCapable" + A2_P_SMS_CAPABLE = "A2PSmsCapable" + A2_P_SMS_ENABLED = "A2PSmsEnabled" + CALLING = "Calling" + TOLL_FREE = "TollFree" + FIRST_PARTY_APP_ASSIGNMENT = "FirstPartyAppAssignment" + THIRD_PARTY_APP_ASSIGNMENT = "ThirdPartyAppAssignment" + AZURE = "Azure" + OFFICE365 = "Office365" + INBOUND_CALLING = "InboundCalling" + OUTBOUND_CALLING = "OutboundCalling" + INBOUND_A2_P_SMS = "InboundA2PSms" + OUTBOUND_A2_P_SMS = "OutboundA2PSms" + INBOUND_P2_P_SMS = "InboundP2PSms" + OUTBOUND_P2_P_SMS = "OutboundP2PSms" + +class CurrencyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The currency of a phone plan group + """ + + USD = "USD" + +class LocationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The location type of the phone plan. + """ + + CIVIC_ADDRESS = "CivicAddress" + NOT_REQUIRED = "NotRequired" + SELECTION = "Selection" + +class PhoneNumberReleaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The release status of a phone number. + """ + + PENDING = "Pending" + SUCCESS = "Success" + ERROR = "Error" + IN_PROGRESS = "InProgress" + +class PhoneNumberType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The phone number type of the plan group + """ + + UNKNOWN = "Unknown" + GEOGRAPHIC = "Geographic" + TOLL_FREE = "TollFree" + INDIRECT = "Indirect" + +class ReleaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The release status. + """ + + PENDING = "Pending" + IN_PROGRESS = "InProgress" + COMPLETE = "Complete" + FAILED = "Failed" + EXPIRED = "Expired" + +class SearchStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the search. + """ + + PENDING = "Pending" + IN_PROGRESS = "InProgress" + RESERVED = "Reserved" + EXPIRED = "Expired" + EXPIRING = "Expiring" + COMPLETING = "Completing" + REFRESHING = "Refreshing" + SUCCESS = "Success" + MANUAL = "Manual" + CANCELLED = "Cancelled" + CANCELLING = "Cancelling" + ERROR = "Error" + PURCHASE_PENDING = "PurchasePending" diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/__init__.py new file mode 100644 index 000000000000..50478d62d8d6 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/__init__.py @@ -0,0 +1,13 @@ +# 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 ._phone_number_administration_operations import PhoneNumberAdministrationOperations + +__all__ = [ + 'PhoneNumberAdministrationOperations', +] diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/_phone_number_administration_operations.py b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/_phone_number_administration_operations.py new file mode 100644 index 000000000000..9357db8f9280 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/_phone_number_administration_operations.py @@ -0,0 +1,1367 @@ +# 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 typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PhoneNumberAdministrationOperations(object): + """PhoneNumberAdministrationOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.communication.administration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get_all_phone_numbers( + self, + locale="en-US", # type: Optional[str] + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.AcquiredPhoneNumbers"] + """Gets the list of the acquired phone numbers. + + Gets the list of the acquired phone numbers. + + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AcquiredPhoneNumbers or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.AcquiredPhoneNumbers] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AcquiredPhoneNumbers"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_phone_numbers.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AcquiredPhoneNumbers', pipeline_response) + list_of_elem = deserialized.phone_numbers + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_all_phone_numbers.metadata = {'url': '/administration/phonenumbers/phonenumbers'} # type: ignore + + def get_all_area_codes( + self, + location_type, # type: str + country_code, # type: str + phone_plan_id, # type: str + location_options=None, # type: Optional[List["models.LocationOptionsQuery"]] + **kwargs # type: Any + ): + # type: (...) -> "models.AreaCodes" + """Gets a list of the supported area codes. + + Gets a list of the supported area codes. + + :param location_type: The type of location information required by the plan. + :type location_type: str + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_id: The plan id from which to search area codes. + :type phone_plan_id: str + :param location_options: Represents the underlying list of countries. + :type location_options: list[~azure.communication.administration.models.LocationOptionsQuery] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AreaCodes, or the result of cls(response) + :rtype: ~azure.communication.administration.models.AreaCodes + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.AreaCodes"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.LocationOptionsQueries(location_options=location_options) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.get_all_area_codes.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['locationType'] = self._serialize.query("location_type", location_type, 'str') + query_parameters['phonePlanId'] = self._serialize.query("phone_plan_id", phone_plan_id, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'LocationOptionsQueries') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AreaCodes', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_all_area_codes.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/areacodes'} # type: ignore + + def get_capabilities_update( + self, + capabilities_update_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.UpdatePhoneNumberCapabilitiesResponse" + """Get capabilities by capabilities update id. + + Get capabilities by capabilities update id. + + :param capabilities_update_id: + :type capabilities_update_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdatePhoneNumberCapabilitiesResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.UpdatePhoneNumberCapabilitiesResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UpdatePhoneNumberCapabilitiesResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_capabilities_update.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'capabilitiesUpdateId': self._serialize.url("capabilities_update_id", capabilities_update_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UpdatePhoneNumberCapabilitiesResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_capabilities_update.metadata = {'url': '/administration/phonenumbers/capabilities/{capabilitiesUpdateId}'} # type: ignore + + def update_capabilities( + self, + phone_number_capabilities_update, # type: Dict[str, "models.NumberUpdateCapabilities"] + **kwargs # type: Any + ): + # type: (...) -> "models.UpdateNumberCapabilitiesResponse" + """Adds or removes phone number capabilities. + + Adds or removes phone number capabilities. + + :param phone_number_capabilities_update: The map of phone numbers to the capabilities update + applied to the phone number. + :type phone_number_capabilities_update: dict[str, ~azure.communication.administration.models.NumberUpdateCapabilities] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UpdateNumberCapabilitiesResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.UpdateNumberCapabilitiesResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UpdateNumberCapabilitiesResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.UpdateNumberCapabilitiesRequest(phone_number_capabilities_update=phone_number_capabilities_update) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.update_capabilities.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'UpdateNumberCapabilitiesRequest') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('UpdateNumberCapabilitiesResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_capabilities.metadata = {'url': '/administration/phonenumbers/capabilities'} # type: ignore + + def get_all_supported_countries( + self, + locale="en-US", # type: Optional[str] + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.PhoneNumberCountries"] + """Gets a list of supported countries. + + Gets a list of supported countries. + + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberCountries or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.PhoneNumberCountries] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberCountries"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_supported_countries.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberCountries', pipeline_response) + list_of_elem = deserialized.countries + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_all_supported_countries.metadata = {'url': '/administration/phonenumbers/countries'} # type: ignore + + def get_number_configuration( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.NumberConfigurationResponse" + """Endpoint for getting number configurations. + + Endpoint for getting number configurations. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NumberConfigurationResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.NumberConfigurationResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.NumberConfigurationResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfigurationPhoneNumber(phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.get_number_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfigurationPhoneNumber') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('NumberConfigurationResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_number_configuration.metadata = {'url': '/administration/phonenumbers/numberconfiguration'} # type: ignore + + def configure_number( + self, + pstn_configuration, # type: "models.PstnConfiguration" + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for configuring a pstn number. + + Endpoint for configuring a pstn number. + + :param pstn_configuration: Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.models.PstnConfiguration + :param phone_number: The phone number to configure. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfiguration(pstn_configuration=pstn_configuration, phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.configure_number.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfiguration') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + configure_number.metadata = {'url': '/administration/phonenumbers/numberconfiguration/configure'} # type: ignore + + def unconfigure_number( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for unconfiguring a pstn number by removing the configuration. + + Endpoint for unconfiguring a pstn number by removing the configuration. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.NumberConfigurationPhoneNumber(phone_number=phone_number) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.unconfigure_number.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'NumberConfigurationPhoneNumber') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + unconfigure_number.metadata = {'url': '/administration/phonenumbers/numberconfiguration/unconfigure'} # type: ignore + + def get_phone_plan_groups( + self, + country_code, # type: str + locale="en-US", # type: Optional[str] + include_rate_information=False, # type: Optional[bool] + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.PhonePlanGroups"] + """Gets a list of phone plan groups for the given country. + + Gets a list of phone plan groups for the given country. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param include_rate_information: + :type include_rate_information: bool + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhonePlanGroups or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.PhonePlanGroups] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhonePlanGroups"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_phone_plan_groups.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if include_rate_information is not None: + query_parameters['includeRateInformation'] = self._serialize.query("include_rate_information", include_rate_information, 'bool') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PhonePlanGroups', pipeline_response) + list_of_elem = deserialized.phone_plan_groups + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_phone_plan_groups.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups'} # type: ignore + + def get_phone_plans( + self, + country_code, # type: str + phone_plan_group_id, # type: str + locale="en-US", # type: Optional[str] + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.PhonePlansResponse"] + """Gets a list of phone plans for a phone plan group. + + Gets a list of phone plans for a phone plan group. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhonePlansResponse or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.PhonePlansResponse] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhonePlansResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_phone_plans.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PhonePlansResponse', pipeline_response) + list_of_elem = deserialized.phone_plans + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_phone_plans.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups/{phonePlanGroupId}/phoneplans'} # type: ignore + + def get_phone_plan_location_options( + self, + country_code, # type: str + phone_plan_group_id, # type: str + phone_plan_id, # type: str + locale="en-US", # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.LocationOptionsResponse" + """Gets a list of location options for a phone plan. + + Gets a list of location options for a phone plan. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param phone_plan_id: + :type phone_plan_id: str + :param locale: A language-locale pairing which will be used to localize the names of countries. + :type locale: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocationOptionsResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.LocationOptionsResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.LocationOptionsResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_phone_plan_location_options.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'countryCode': self._serialize.url("country_code", country_code, 'str'), + 'phonePlanGroupId': self._serialize.url("phone_plan_group_id", phone_plan_group_id, 'str'), + 'phonePlanId': self._serialize.url("phone_plan_id", phone_plan_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if locale is not None: + query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LocationOptionsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_phone_plan_location_options.metadata = {'url': '/administration/phonenumbers/countries/{countryCode}/phoneplangroups/{phonePlanGroupId}/phoneplans/{phonePlanId}/locationoptions'} # type: ignore + + def get_release_by_id( + self, + release_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.PhoneNumberRelease" + """Gets a release by a release id. + + Gets a release by a release id. + + :param release_id: Represents the release id. + :type release_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PhoneNumberRelease, or the result of cls(response) + :rtype: ~azure.communication.administration.models.PhoneNumberRelease + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberRelease"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_release_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'releaseId': self._serialize.url("release_id", release_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('PhoneNumberRelease', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_release_by_id.metadata = {'url': '/administration/phonenumbers/releases/{releaseId}'} # type: ignore + + def release_phone_numbers( + self, + phone_numbers, # type: List[str] + **kwargs # type: Any + ): + # type: (...) -> "models.ReleaseResponse" + """Creates a release for the given phone numbers. + + Creates a release for the given phone numbers. + + :param phone_numbers: The list of phone numbers in the release request. + :type phone_numbers: list[str] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ReleaseResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.ReleaseResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ReleaseResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + + _body = models.ReleaseRequest(phone_numbers=phone_numbers) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.release_phone_numbers.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if _body is not None: + body_content = self._serialize.body(_body, 'ReleaseRequest') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('ReleaseResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + release_phone_numbers.metadata = {'url': '/administration/phonenumbers/releases'} # type: ignore + + def get_all_releases( + self, + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.PhoneNumberEntities"] + """Gets a list of all releases. + + Gets a list of all releases. + + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberEntities or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.PhoneNumberEntities] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberEntities"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_releases.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberEntities', pipeline_response) + list_of_elem = deserialized.entities + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_all_releases.metadata = {'url': '/administration/phonenumbers/releases'} # type: ignore + + def get_search_by_id( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.PhoneNumberSearch" + """Get search by search id. + + Get search by search id. + + :param search_id: The search id to be searched for. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PhoneNumberSearch, or the result of cls(response) + :rtype: ~azure.communication.administration.models.PhoneNumberSearch + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberSearch"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.get_search_by_id.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('PhoneNumberSearch', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_search_by_id.metadata = {'url': '/administration/phonenumbers/searches/{searchId}'} # type: ignore + + def create_search( + self, + body=None, # type: Optional["models.CreateSearchOptions"] + **kwargs # type: Any + ): + # type: (...) -> "models.CreateSearchResponse" + """Creates a phone number search. + + Creates a phone number search. + + :param body: Defines the search options. + :type body: ~azure.communication.administration.models.CreateSearchOptions + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CreateSearchResponse, or the result of cls(response) + :rtype: ~azure.communication.administration.models.CreateSearchResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.CreateSearchResponse"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.create_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + if body is not None: + body_content = self._serialize.body(body, 'CreateSearchOptions') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('CreateSearchResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_search.metadata = {'url': '/administration/phonenumbers/searches'} # type: ignore + + def get_all_searches( + self, + skip=0, # type: Optional[int] + take=100, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.PhoneNumberEntities"] + """Gets a list of all searches. + + Gets a list of all searches. + + :param skip: An optional parameter for how many entries to skip, for pagination purposes. + :type skip: int + :param take: An optional parameter for how many entries to return, for pagination purposes. + :type take: int + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PhoneNumberEntities or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.communication.administration.models.PhoneNumberEntities] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.PhoneNumberEntities"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.get_all_searches.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PhoneNumberEntities', pipeline_response) + list_of_elem = deserialized.entities + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_all_searches.metadata = {'url': '/administration/phonenumbers/searches'} # type: ignore + + def cancel_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Cancels the search. This means existing numbers in the search will be made available. + + Cancels the search. This means existing numbers in the search will be made available. + + :param search_id: The search id to be canceled. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.cancel_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + cancel_search.metadata = {'url': '/administration/phonenumbers/searches/{searchId}/cancel'} # type: ignore + + def purchase_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Purchases the phone number search. + + Purchases the phone number search. + + :param search_id: The search id to be purchased. + :type search_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-07-20-preview1" + + # Construct URL + url = self.purchase_search.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'searchId': self._serialize.url("search_id", search_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + purchase_search.metadata = {'url': '/administration/phonenumbers/searches/{searchId}/purchase'} # type: ignore diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/py.typed b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/aio/__init__.py b/sdk/communication/azure-communication-administration/azure/communication/administration/aio/__init__.py index 383c5e75f78e..f647dfa8f506 100644 --- a/sdk/communication/azure-communication-administration/azure/communication/administration/aio/__init__.py +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/aio/__init__.py @@ -1,5 +1,7 @@ from ._communication_identity_client_async import CommunicationIdentityClient +from ._phone_number_administration_client_async import PhoneNumberAdministrationClient __all__ = [ 'CommunicationIdentityClient', + 'PhoneNumberAdministrationClient' ] diff --git a/sdk/communication/azure-communication-administration/azure/communication/administration/aio/_phone_number_administration_client_async.py b/sdk/communication/azure-communication-administration/azure/communication/administration/aio/_phone_number_administration_client_async.py new file mode 100644 index 000000000000..50637b8ce729 --- /dev/null +++ b/sdk/communication/azure-communication-administration/azure/communication/administration/aio/_phone_number_administration_client_async.py @@ -0,0 +1,496 @@ +# pylint: disable=R0904 +# coding=utf-8 +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +from typing import Dict, List +from azure.core.async_paging import AsyncItemPaged +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from .._version import SDK_MONIKER + +from .._phonenumber._generated.aio._phone_number_administration_service_async\ + import PhoneNumberAdministrationService as PhoneNumberAdministrationClientGen + +from .._phonenumber._generated.models import ( + AcquiredPhoneNumbers, + AreaCodes, + CreateSearchResponse, + LocationOptionsResponse, + NumberConfigurationResponse, + NumberUpdateCapabilities, + PhoneNumberCountries, + PhoneNumberEntities, + PhoneNumberRelease, + PhoneNumberSearch, + PhonePlanGroups, + PhonePlansResponse, + PstnConfiguration, + ReleaseResponse, + UpdateNumberCapabilitiesResponse, + UpdatePhoneNumberCapabilitiesResponse +) + +from .._shared.utils import parse_connection_str +from .._shared.policy import HMACCredentialsPolicy + +class PhoneNumberAdministrationClient(object): + """Azure Communication Services Phone Number Management client. + + :param str endpoint: + The endpoint url for Azure Communication Service resource. + :param credential: + The credentials with which to authenticate. The value is an account + shared access key + """ + def __init__( + self, + endpoint, # type: str + credential, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + try: + if not endpoint.lower().startswith('http'): + endpoint = "https://" + endpoint + except AttributeError: + raise ValueError("Account URL must be a string.") + + if not credential: + raise ValueError( + "You need to provide account shared key to authenticate.") + + self._endpoint = endpoint + self._phone_number_administration_client = PhoneNumberAdministrationClientGen( + self._endpoint, + authentication_policy=HMACCredentialsPolicy(endpoint, credential), + sdk_moniker=SDK_MONIKER, + **kwargs) + + @classmethod + def from_connection_string( + cls, conn_str, # type: str + **kwargs # type: Any + ): # type: (...) -> PhoneNumberAdministrationClient + """Create PhoneNumberAdministrationClient from a Connection String. + + :param str conn_str: + A connection string to an Azure Communication Service resource. + :returns: Instance of PhoneNumberAdministrationClient. + :rtype: ~azure.communication.PhoneNumberAdministrationClient + """ + endpoint, access_key = parse_connection_str(conn_str) + + return cls(endpoint, access_key, **kwargs) + + @distributed_trace + def list_all_phone_numbers( + self, + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[AcquiredPhoneNumbers] + """Gets the list of the acquired phone numbers. + + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.AcquiredPhoneNumbers] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_phone_numbers( + **kwargs + ) + + @distributed_trace_async + async def get_all_area_codes( + self, + location_type, # type: str + country_code, # type: str + phone_plan_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> AreaCodes + """Gets a list of the supported area codes. + + :param location_type: The type of location information required by the plan. + :type location_type: str + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_id: The plan id from which to search area codes. + :type phone_plan_id: str + :keyword List["LocationOptionsQuery"] location_options: + Represents the underlying list of countries. + :rtype: ~azure.communication.administration.AreaCodes + """ + return await self._phone_number_administration_client.phone_number_administration.get_all_area_codes( + location_type, + country_code, + phone_plan_id, + **kwargs + ) + + @distributed_trace_async + async def get_capabilities_update( + self, + capabilities_update_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> UpdatePhoneNumberCapabilitiesResponse + """Get capabilities by capabilities update id. + + :param capabilities_update_id: + :type capabilities_update_id: str + :rtype: ~azure.communication.administration.UpdatePhoneNumberCapabilitiesResponse + """ + return await self._phone_number_administration_client.phone_number_administration.get_capabilities_update( + capabilities_update_id, + **kwargs + ) + + @distributed_trace_async + async def update_capabilities( + self, + phone_number_capabilities_update, # type: Dict[str, NumberUpdateCapabilities] + **kwargs # type: Any + ): + # type: (...) -> UpdateNumberCapabilitiesResponse + """Adds or removes phone number capabilities. + + :param phone_number_capabilities_update: The map of phone numbers to the capabilities update + applied to the phone number. + :type phone_number_capabilities_update: + dict[str, ~azure.communication.administration.NumberUpdateCapabilities] + :rtype: ~azure.communication.administration.UpdateNumberCapabilitiesResponse + """ + return await self._phone_number_administration_client.phone_number_administration.update_capabilities( + phone_number_capabilities_update, + **kwargs + ) + + @distributed_trace + def list_all_supported_countries( + self, + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[PhoneNumberCountries] + """Gets a list of supported countries. + + Gets a list of supported countries. + + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :return: An iterator like instance of either PhoneNumberCountries or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.PhoneNumberCountries] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_supported_countries( + **kwargs + ) + + @distributed_trace_async + async def get_number_configuration( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> NumberConfigurationResponse + """Endpoint for getting number configurations. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :rtype: ~azure.communication.administration.NumberConfigurationResponse + """ + return await self._phone_number_administration_client.phone_number_administration.get_number_configuration( + phone_number, + **kwargs + ) + + @distributed_trace_async + async def configure_number( + self, + pstn_configuration, # type: PstnConfiguration + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for configuring a pstn number. + + :param pstn_configuration: Definition for pstn number configuration. + :type pstn_configuration: ~azure.communication.administration.PstnConfiguration + :param phone_number: The phone number to configure. + :type phone_number: str + :rtype: None + """ + return await self._phone_number_administration_client.phone_number_administration.configure_number( + pstn_configuration, + phone_number, + **kwargs + ) + + @distributed_trace_async + async def unconfigure_number( + self, + phone_number, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Endpoint for unconfiguring a pstn number by removing the configuration. + + :param phone_number: The phone number in the E.164 format. + :type phone_number: str + :rtype: None + """ + return await self._phone_number_administration_client.phone_number_administration.unconfigure_number( + phone_number, + **kwargs + ) + + @distributed_trace + def list_phone_plan_groups( + self, + country_code, # type: str + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[PhonePlanGroups] + """Gets a list of phone plan groups for the given country. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword include_rate_information bool: An optional boolean parameter for including rate information in result. + The default is False". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.PhonePlanGroups] + """ + return self._phone_number_administration_client.phone_number_administration.get_phone_plan_groups( + country_code, + **kwargs + ) + + @distributed_trace + def list_phone_plans( + self, + country_code, # type: str + phone_plan_group_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[PhonePlansResponse] + """Gets a list of phone plans for a phone plan group. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.PhonePlansResponse] + """ + return self._phone_number_administration_client.phone_number_administration.get_phone_plans( + country_code, + phone_plan_group_id, + **kwargs + ) + + @distributed_trace_async + async def get_phone_plan_location_options( + self, + country_code, # type: str + phone_plan_group_id, # type: str + phone_plan_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> LocationOptionsResponse + """Gets a list of location options for a phone plan. + + :param country_code: The ISO 3166-2 country code. + :type country_code: str + :param phone_plan_group_id: + :type phone_plan_group_id: str + :param phone_plan_id: + :type phone_plan_id: str + :keyword str locale: A language-locale pairing which will be used to localise the names of countries. + The default is "en-US". + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: + ~azure.communication.administration.LocationOptionsResponse + """ + return await self._phone_number_administration_client.\ + phone_number_administration.get_phone_plan_location_options( + country_code, + phone_plan_group_id, + phone_plan_id, + **kwargs + ) + + @distributed_trace_async + async def get_release_by_id( + self, + release_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> PhoneNumberRelease + """Gets a release by a release id. + + :param release_id: Represents the release id. + :type release_id: str + :rtype: ~azure.communication.administration.PhoneNumberRelease + """ + return await self._phone_number_administration_client.phone_number_administration.get_release_by_id( + release_id, + **kwargs + ) + + @distributed_trace_async + async def release_phone_numbers( + self, + phone_numbers, # type: List[str] + **kwargs # type: Any + ): + # type: (...) -> ReleaseResponse + """Creates a release for the given phone numbers. + + :param phone_numbers: The list of phone numbers in the release request. + :type phone_numbers: list[str] + :rtype: ~azure.communication.administration.ReleaseResponse + """ + return await self._phone_number_administration_client.phone_number_administration.release_phone_numbers( + phone_numbers, + **kwargs + ) + + @distributed_trace + def list_all_releases( + self, + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[PhoneNumberEntities] + """Gets a list of all releases. + + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.PhoneNumberEntities] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_releases( + **kwargs + ) + + @distributed_trace_async + async def get_search_by_id( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> PhoneNumberSearch + """Get search by search id. + + :param search_id: The search id to be searched for. + :type search_id: str + :rtype: ~azure.communication.administration.PhoneNumberSearch + """ + return await self._phone_number_administration_client.phone_number_administration.get_search_by_id( + search_id, + **kwargs + ) + + @distributed_trace_async + async def create_search( + self, + **kwargs # type: Any + ): + # type: (...) -> CreateSearchResponse + """Creates a phone number search. + + :keyword azure.communication.administration.CreateSearchOptions body: + An optional parameter for defining the search options. + The default is None. + :rtype: ~azure.communication.administration.CreateSearchResponse + """ + return await self._phone_number_administration_client.phone_number_administration.create_search( + **kwargs + ) + + @distributed_trace + def list_all_searches( + self, + **kwargs # type: Any + ): + # type: (...) -> AsyncItemPaged[PhoneNumberEntities] + """Gets a list of all searches. + + :keyword int skip: An optional parameter for how many entries to skip, for pagination purposes. + The default is 0. + :keyword int take: An optional parameter for how many entries to return, for pagination purposes. + The default is 100. + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.communication.administration.PhoneNumberEntities] + """ + return self._phone_number_administration_client.phone_number_administration.get_all_searches( + **kwargs + ) + + @distributed_trace_async + async def cancel_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Cancels the search. This means existing numbers in the search will be made available. + + :param search_id: The search id to be canceled. + :type search_id: str + :rtype: None + """ + return await self._phone_number_administration_client.phone_number_administration.cancel_search( + search_id, + **kwargs + ) + + @distributed_trace_async + async def purchase_search( + self, + search_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Purchases the phone number search. + + :param search_id: The search id to be purchased. + :type search_id: str + :rtype: None + """ + return await self._phone_number_administration_client.phone_number_administration.purchase_search( + search_id, + **kwargs + ) + + async def __aenter__(self) -> "PhoneNumberAdministrationClient": + await self._phone_number_administration_client.__aenter__() + return self + + async def __aexit__(self, *args: "Any") -> None: + await self.close() + + async def close(self) -> None: + """Close the :class: + `~azure.communication.administration.aio.PhoneNumberAdministrationClient` session. + """ + await self._phone_number_administration_client.__aexit__() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample.py new file mode 100644 index 000000000000..009c008abcea --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample.py @@ -0,0 +1,45 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_area_codes_sample.py +DESCRIPTION: + This sample demonstrates how to get all area codes via a connection string, country code and phone plan id. +USAGE: + python phone_number_area_codes_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE - The country code you want to get area codes from + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES - The phone plan id you want to get area codes from +""" + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE', "US") +phone_plan_id_area_codes = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES', "phone-plan-id") + + +def get_all_area_codes(): + # [START get_all_area_codes] + all_area_codes = phone_number_administration_client.get_all_area_codes( + location_type="NotRequired", + country_code=country_code, + phone_plan_id=phone_plan_id_area_codes + ) + # [END get_all_area_codes] + print('all_area_codes:') + print(all_area_codes) + + +if __name__ == '__main__': + get_all_area_codes() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample_async.py new file mode 100644 index 000000000000..0cc953b9d1e1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_area_codes_sample_async.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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_area_codes_sample_async.py +DESCRIPTION: + This sample demonstrates how to get all area codes via a connection string, country code and phone plan id. +USAGE: + python phone_number_area_codes_sample_async.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE - The country code you want to get area codes from + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES - The phone plan id you want to get area codes from +""" + +import os +import asyncio +from azure.communication.administration.aio import PhoneNumberAdministrationClient + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE', "US") +phone_plan_id_area_codes = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES', "phone-plan-id") + + +async def get_all_area_codes(): + # [START get_all_area_codes] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string( + connection_str) + async with phone_number_administration_client: + all_area_codes = await phone_number_administration_client.get_all_area_codes( + location_type="NotRequired", + country_code=country_code, + phone_plan_id=phone_plan_id_area_codes + ) + # [END get_all_area_codes] + print('all_area_codes:') + print(all_area_codes) + + +async def main(): + await get_all_area_codes() + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample.py new file mode 100644 index 000000000000..44b9dcb1a879 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample.py @@ -0,0 +1,71 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_capabilities_sample.py +DESCRIPTION: + This sample demonstrates how to get number capabilities via a connection string, capabilities update id and phone number for capabilities. +USAGE: + python phone_number_capabilities_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID - The capabilities id you want to get + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES - The phone number you want to update capabilities to +""" + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient, + NumberUpdateCapabilities +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +capabilities_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID', "capabilities-id") +phonenumber_for_capabilities = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES', "+17771234567") + + +def list_all_phone_numbers(): + # [START list_all_phone_numbers] + list_all_phone_numbers_response = phone_number_administration_client.list_all_phone_numbers() + # [END list_all_phone_numbers] + print('list_all_phone_numbers_response:') + for phone_number in list_all_phone_numbers_response: + print(phone_number) + + +def get_capabilities_update(): + # [START get_capabilities_update] + capabilities_response = phone_number_administration_client.get_capabilities_update( + capabilities_update_id=capabilities_id + ) + # [END get_capabilities_update] + print('capabilities_response:') + print(capabilities_response) + + +def update_capabilities(): + # [START update_capabilities] + update = NumberUpdateCapabilities(add=iter(["InboundCalling"])) + + phone_number_capabilities_update = { + phonenumber_for_capabilities: update + } + + capabilities_response = phone_number_administration_client.update_capabilities( + phone_number_capabilities_update=phone_number_capabilities_update + ) + # [END update_capabilities] + print('capabilities_response:') + print(capabilities_response) + + +if __name__ == '__main__': + list_all_phone_numbers() + get_capabilities_update() + update_capabilities() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample_async.py new file mode 100644 index 000000000000..f45c6a430f04 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_capabilities_sample_async.py @@ -0,0 +1,82 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_capabilities_sample_async.py +DESCRIPTION: + This sample demonstrates how to get number capabilities via a connection string, capabilities update id and phone number for capabilities. +USAGE: + python phone_number_capabilities_sample_async.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID - The capabilities id you want to get + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES - The phone number you want to update capabilities to +""" + +import asyncio +import os +from azure.communication.administration.aio import PhoneNumberAdministrationClient +from azure.communication.administration import NumberUpdateCapabilities + + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +capabilities_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID', "capabilities-id") +phonenumber_for_capabilities = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES', + "phone-number-for-capabilities") + + +async def list_all_phone_numbers(): + # [START list_all_phone_numbers] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + list_all_phone_numbers_response = phone_number_administration_client.list_all_phone_numbers() + print('list_all_phone_numbers_response:') + async for phone_number in list_all_phone_numbers_response: + print(phone_number) + # [END list_all_phone_numbers] + + +async def get_capabilities_update(): + # [START get_capabilities_update] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + capabilities_response = await phone_number_administration_client.get_capabilities_update( + capabilities_update_id=capabilities_id + ) + print('capabilities_response:') + print(capabilities_response) + # [END get_capabilities_update] + + +async def update_capabilities(): + # [START update_capabilities] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + update = NumberUpdateCapabilities(add=iter(["InboundCalling"])) + + phone_number_capabilities_update = { + phonenumber_for_capabilities: update + } + + async with phone_number_administration_client: + capabilities_response = await phone_number_administration_client.update_capabilities( + phone_number_capabilities_update=phone_number_capabilities_update + ) + print('capabilities_response:') + print(capabilities_response) + # [END update_capabilities] + + +async def main(): + await list_all_phone_numbers() + await get_capabilities_update() + await update_capabilities() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample.py new file mode 100644 index 000000000000..d66dea3258f1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample.py @@ -0,0 +1,58 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_configuration_sample.py +DESCRIPTION: + This sample demonstrates how to configure phone numbers and get phone number configuration via a connection string and phone number to configure +USAGE: + python phone_number_configuration_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE - The phone number you want to configure +""" + + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient, + PstnConfiguration +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +phonenumber_to_configure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE', + "phonenumber_to_configure") + + +def get_number_configuration(): + # [START get_number_configuration] + phone_number_configuration_response = phone_number_administration_client.get_number_configuration( + phone_number=phonenumber_to_configure + ) + # [END get_number_configuration] + print('phone_number_configuration_response:') + print(phone_number_configuration_response) + + +def configure_number(): + # [START configure_number] + pstn_config = PstnConfiguration( + callback_url="https://callbackurl", + application_id="ApplicationId" + ) + phone_number_administration_client.configure_number( + pstn_configuration=pstn_config, + phone_number=phonenumber_to_configure + ) + # [END configure_number] + + +if __name__ == '__main__': + get_number_configuration() + configure_number() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample_async.py new file mode 100644 index 000000000000..917d3992bd8c --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_configuration_sample_async.py @@ -0,0 +1,63 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_configuration_sample_async.py +DESCRIPTION: + This sample demonstrates how to configure phone numbers and get phone number configuration via a connection string and phone number to configure +USAGE: + python phone_number_configuration_sample_async.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE - The phone number you want to configure +""" + +import os +import asyncio +from azure.communication.administration.aio import PhoneNumberAdministrationClient +from azure.communication.administration import PstnConfiguration + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phonenumber_to_configure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE', + "phonenumber_to_configure") + + +async def get_number_configuration(): + # [START get_number_configuration] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + phone_number_configuration_response = await phone_number_administration_client.get_number_configuration( + phone_number=phonenumber_to_configure + ) + print('phone_number_configuration_response:') + print(phone_number_configuration_response) + # [END get_number_configuration] + + +async def configure_number(): + # [START configure_number] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + pstn_config = PstnConfiguration( + callback_url="https://callbackurl", + application_id="ApplicationId" + ) + async with phone_number_administration_client: + await phone_number_administration_client.configure_number( + pstn_configuration=pstn_config, + phone_number=phonenumber_to_configure + ) + # [END configure_number] + + +async def main(): + await get_number_configuration() + await configure_number() + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample.py new file mode 100644 index 000000000000..82489f73e916 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample.py @@ -0,0 +1,110 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_orders_sample.py +DESCRIPTION: + This sample demonstrates how to list, acquire and cancel phone number orders via a connection string, search id, phone plan id and and area code +USAGE: + python phone_number_orders_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID - The release id you want to get info from + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID - The search id you want to get info from + 4) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH - The phone number you want to create search + 5) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID - The phone plan id + 6) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE - The search id you want to purchase + 7) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL - The search id you want to cancel +""" + + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient, + CreateSearchOptions +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +release_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID', "release-id") +search_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID', "search-id") +area_code_for_search = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH', "area-code") +phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID', "phone-plan-id") +search_id_to_purchase = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE', "search-id") +search_id_to_cancel = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL', "search-id") + + +def get_release_by_id(): + # [START get_release_by_id] + phone_number_release_response = phone_number_administration_client.get_release_by_id( + release_id=release_id + ) + # [END get_release_by_id] + print('phone_number_release_response:') + print(phone_number_release_response) + + +def list_all_releases(): + # [START get_release_by_id] + releases_response = phone_number_administration_client.list_all_releases() + # [END get_release_by_id] + print('releases_response:') + for release in releases_response: + print(release) + + +def get_search_by_id(): + # [START get_search_by_id] + phone_number_search_response = phone_number_administration_client.get_search_by_id( + search_id=search_id + ) + # [END get_search_by_id] + print('phone_number_search_response:') + print(phone_number_search_response) + + +def create_search(): + # [START create_search] + searchOptions = CreateSearchOptions( + area_code=area_code_for_search, + description="testsearch20200014", + display_name="testsearch20200014", + phone_plan_ids=[phone_plan_id], + quantity=1 + ) + search_response = phone_number_administration_client.create_search( + body=searchOptions + ) + # [END create_search] + print('search_response:') + print(search_response) + + +def cancel_search(): + # [START cancel_search] + phone_number_administration_client.cancel_search( + search_id=search_id_to_cancel + ) + # [START cancel_search] + + +def purchase_search(): + # [START cancel_search] + phone_number_administration_client.purchase_search( + search_id=search_id_to_purchase + ) + # [END cancel_search] + + +if __name__ == '__main__': + get_release_by_id() + list_all_releases() + get_search_by_id() + create_search() + cancel_search() + # purchase_search() #currently throws error if purchase an already purchased number diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample_async.py new file mode 100644 index 000000000000..88aae29b372b --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_orders_sample_async.py @@ -0,0 +1,124 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_orders_sample_async.py +DESCRIPTION: + This sample demonstrates how to list, acquire and cancel phone number orders via a connection string, search id, phone plan id and and area code +USAGE: + python phone_number_orders_sample_async.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID - The release id you want to get info from + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID - The search id you want to get info from + 4) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH - The phone number you want to create search + 5) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID - The phone plan id + 6) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE - The search id you want to purchase + 7) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL - The search id you want to cancel +""" + +import os +import asyncio +from azure.communication.administration.aio import PhoneNumberAdministrationClient +from azure.communication.administration import CreateSearchOptions + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +release_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID', "release-id") +search_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID', "search-id") +area_code_for_search = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH', "area-code") +phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID', "phone-plan-id") +search_id_to_purchase = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE', "search-id") +search_id_to_cancel = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL', "search-id") + + +async def get_release_by_id(): + # [START get_release_by_id] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + phone_number_release_response = await phone_number_administration_client.get_release_by_id( + release_id=release_id + ) + print('phone_number_release_response:') + print(phone_number_release_response) + # [END get_release_by_id] + + +async def list_all_releases(): + # [START list_all_releases] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + releases_response = phone_number_administration_client.list_all_releases() + print('releases_response:') + async for release in releases_response: + print(release) + # [END list_all_releases] + + +async def get_search_by_id(): + # [START get_search_by_id] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + phone_number_search_response = await phone_number_administration_client.get_search_by_id( + search_id=search_id + ) + print('phone_number_search_response:') + print(phone_number_search_response) + await phone_number_administration_client.close() + # [END get_search_by_id] + + +async def create_search(): + # [START create_search] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + searchOptions = CreateSearchOptions( + area_code=area_code_for_search, + description="testsearch20200014", + display_name="testsearch20200014", + phone_plan_ids=[phone_plan_id], + quantity=1 + ) + async with phone_number_administration_client: + search_response = await phone_number_administration_client.create_search( + body=searchOptions + ) + print('search_response:') + print(search_response) + # [END create_search] + + +async def cancel_search(): + # [START cancel_search] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + await phone_number_administration_client.cancel_search( + search_id=search_id_to_cancel + ) + # [END cancel_search] + + +async def purchase_search(): + # [START purchase_search] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + await phone_number_administration_client.purchase_search( + search_id=search_id_to_purchase + ) + # [END purchase_search] + + +async def main(): + await get_release_by_id() + await list_all_releases() + await get_search_by_id() + await create_search() + await cancel_search() + # await purchase_search() #currently throws error if purchase an already purchased number + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample.py new file mode 100644 index 000000000000..360c07f099a6 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample.py @@ -0,0 +1,72 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_plans_sample.py +DESCRIPTION: + This sample demonstrates how to list phone plans via a connection string, country code, phone plan id and phone plan group id +USAGE: + python phone_number_plans_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE - The country code + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID - The phone plan group id you want to use to list phone plans + 4) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID - The phone plan id you want to use to get location options +""" + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) +country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE', "US") +phone_plan_group_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID', "phone-plan-group-id") +phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID', "phone-plan-id") + + +def list_phone_plan_groups(): + # [START list_phone_plan_groups] + phone_plan_groups_response = phone_number_administration_client.list_phone_plan_groups( + country_code=country_code + ) + # [END list_phone_plan_groups] + print('list_phone_plan_groups:') + for phone_plan_group in phone_plan_groups_response: + print(phone_plan_group) + + +def list_phone_plans(): + # [START list_phone_plans] + phone_plans_response = phone_number_administration_client.list_phone_plans( + country_code=country_code, + phone_plan_group_id=phone_plan_group_id + ) + # [END list_phone_plans] + print('list_phone_plans:') + for phone_plan in phone_plans_response: + print(phone_plan) + + +def get_phone_plan_location_options(): + # [START get_phone_plan_location_options] + location_options_response = phone_number_administration_client.get_phone_plan_location_options( + country_code=country_code, + phone_plan_group_id=phone_plan_group_id, + phone_plan_id=phone_plan_id + ) + # [END get_phone_plan_location_options] + print('get_phone_plan_location_options:') + print(location_options_response) + + +if __name__ == '__main__': + list_phone_plan_groups() + list_phone_plans() + get_phone_plan_location_options() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample_async.py new file mode 100644 index 000000000000..4460686c8bce --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_plans_sample_async.py @@ -0,0 +1,81 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_plans_sample_async.py +DESCRIPTION: + This sample demonstrates how to list phone plans via a connection string, country code, phone plan id and phone plan group id +USAGE: + python phone_number_plans_sample_async.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service + 2) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE - The country code + 3) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID - The phone plan group id you want to use to list phone plans + 4) AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID - The phone plan id you want to use to get location options +""" + + +import os +import asyncio +from azure.communication.administration.aio import PhoneNumberAdministrationClient + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE', "US") +phone_plan_group_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID', "phone-plan-group-id") +phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID', "phone-plan-id") + + +async def list_phone_plan_groups(): + # [START list_phone_plan_groups] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + phone_plan_groups_response = phone_number_administration_client.list_phone_plan_groups( + country_code=country_code + ) + print('list_phone_plan_groups:') + async for phone_plan_group in phone_plan_groups_response: + print(phone_plan_group) + # [END list_phone_plan_groups] + + +async def list_phone_plans(): + # [START list_phone_plans] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + phone_plans_response = phone_number_administration_client.list_phone_plans( + country_code=country_code, + phone_plan_group_id=phone_plan_group_id + ) + print('list_phone_plans:') + async for phone_plan in phone_plans_response: + print(phone_plan) + # [END list_phone_plans] + + +async def get_phone_plan_location_options(): + # [START get_phone_plan_location_options] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + location_options_response = await phone_number_administration_client.get_phone_plan_location_options( + country_code=country_code, + phone_plan_group_id=phone_plan_group_id, + phone_plan_id=phone_plan_id + ) + print('get_phone_plan_location_options:') + print(location_options_response) + # [START get_phone_plan_location_options] + + +async def main(): + await list_phone_plan_groups() + await list_phone_plans() + await get_phone_plan_location_options() + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample.py b/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample.py new file mode 100644 index 000000000000..40489c488c84 --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample.py @@ -0,0 +1,39 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_supported_countries_sample.py +DESCRIPTION: + This sample demonstrates how to get supported countries via a connection string +USAGE: + python phone_number_supported_countries_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service +""" + + +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient +) + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') +phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + + +def list_all_supported_countries(): + # [START list_all_supported_countries] + supported_countries = phone_number_administration_client.list_all_supported_countries() + # [END list_all_supported_countries] + print('supported_countries:') + for supported_country in supported_countries: + print(supported_country) + + +if __name__ == '__main__': + list_all_supported_countries() diff --git a/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample_async.py b/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample_async.py new file mode 100644 index 000000000000..0069bbe5ec4f --- /dev/null +++ b/sdk/communication/azure-communication-administration/samples/phone_number_supported_countries_sample_async.py @@ -0,0 +1,43 @@ +# 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. +# -------------------------------------------------------------------------- + +""" +FILE: phone_number_supported_countries_sample.py +DESCRIPTION: + This sample demonstrates how to get supported countries via a connection string +USAGE: + python phone_number_supported_countries_sample.py + Set the environment variables with your own values before running the sample: + 1) AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING - The endpoint of your Azure Communication Service +""" + + +import os +import asyncio +from azure.communication.administration.aio import PhoneNumberAdministrationClient + +connection_str = os.getenv('AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING') + + +async def list_all_supported_countries(): + # [START list_all_supported_countries] + phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string(connection_str) + async with phone_number_administration_client: + supported_countries = phone_number_administration_client.list_all_supported_countries() + print('supported_countries:') + async for supported_country in supported_countries: + print(supported_country) + # [END list_all_supported_countries] + + +async def main(): + await list_all_supported_countries() + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/communication/azure-communication-administration/swagger/PHONE_NUMBER_SWAGGER.md b/sdk/communication/azure-communication-administration/swagger/PHONE_NUMBER_SWAGGER.md new file mode 100644 index 000000000000..328a5058cf13 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/PHONE_NUMBER_SWAGGER.md @@ -0,0 +1,22 @@ +# Azure Communication Phone Number Administration for Python + +> see https://aka.ms/autorest + +### Generation +```ps +cd +autorest ./PHONE_NUMBER_SWAGGER.md +``` + +### Settings +``` yaml +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/257f060be8b60d8468584682aa2d71b1faa5f82c/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/preview/2020-07-20-preview1/communicationservicesadministration.json +output-folder: ../azure/communication/administration/_phonenumber/_generated +namespace: azure.communication.administration +license-header: MICROSOFT_MIT_NO_VERSION +payload-flattening-threshold: 3 +no-namespace-folders: true +clear-output-folder: true +v3: true +python: true +``` \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/swagger/examples/CreateReleaseAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/CreateReleaseAsync.json new file mode 100644 index 000000000000..063a85f5aeac --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/CreateReleaseAsync.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "body": { + "telephoneNumbers": [ "+11234567890" ] + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "0cc077cd-333a-39fd-90f7-560b1e06c63e" + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/CreateSearchOrderAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/CreateSearchOrderAsync.json new file mode 100644 index 000000000000..7242d8403f3d --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/CreateSearchOrderAsync.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "body": { + "name": "Name", + "description": "Search Order Description", + "planSubTypeIds": ["0cc077cd-333a-39fd-90f7-560b1e06c63e"], + "areaCode": "604", + "quantity": 2, + "civicAddressId": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "requestingUser": { + "firstName": "John", + "lastName": "Smith", + "emailAddress": "johnsmith@contoso.com", + "phoneNumber": "12345", + "displayName": "John Smith" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "0cc077cd-5337-7msf-964e-560b1e06c63e" + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetAcquiredTelephoneNumbersAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetAcquiredTelephoneNumbersAsync.json new file mode 100644 index 000000000000..48b4666c6e38 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetAcquiredTelephoneNumbersAsync.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "locale": "en-us" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "items": [ + { + "telephoneNumber": "+11234567890", + "numberType": "Cloud", + "civicAddressId": null, + "acquiredCapabilities": null, + "availableCapabilities": null, + "blockId": null, + "rangeId": null, + "assignmentStatus": "Unassigned", + "placeName": "Toll-Free, United States", + "activationState": "Activated" + }, + { + "telephoneNumber": "+10123456789", + "numberType": "Cloud", + "civicAddressId": null, + "acquiredCapabilities": null, + "availableCapabilities": null, + "blockId": null, + "rangeId": null, + "assignmentStatus": "Unassigned", + "placeName": "Toll-Free, United States", + "activationState": "Activated" + } + ] + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetAreaCodesAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetAreaCodesAsync.json new file mode 100644 index 000000000000..0cc7ce546ca0 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetAreaCodesAsync.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "addressId": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "locationType": "CivicAddress", + "country": "CA", + "planSubTypeId": "0cc077cd-333a-39fd-90f7-560b1e06c63e" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "primaryAreaCodes": [ + "236", + "604", + "778" + ], + "secondaryAreaCodes": [] + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetCountriesAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetCountriesAsync.json new file mode 100644 index 000000000000..eee04b0bd0c8 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetCountriesAsync.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "locale": "en-us" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "items": [ + { + "name": "Australia", + "value": "AU" + }, + { + "name": "Japan", + "value": "JP" + }, + { + "name": "United States", + "value": "US" + } + ] + } + + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetNumberConfigurationAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetNumberConfigurationAsync.json new file mode 100644 index 000000000000..3cfd910129cb --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetNumberConfigurationAsync.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "phoneNumber": "+11234567890" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "pstnConfiguration": { + "callbackUrl": "www.callback.com", + "applicationId": "abc123" + } + } + } + } + } diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetOrdersAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetOrdersAsync.json new file mode 100644 index 000000000000..4ef8ad59fc4d --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetOrdersAsync.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "items": [] + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetPlansAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetPlansAsync.json new file mode 100644 index 000000000000..a6b541386b08 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetPlansAsync.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "country": "US", + "locale": "en-us" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "items": [ + { + "id": "671ee064-662f-4c3b-82a9-af2ab200dd5c", + "type": "Direct", + "name": "Geographic", + "description": "These are inbound and outbound numbers.", + "subTypes": [ + { + "id": "27b53eec-8ff4-4070-8900-fbeaabfd158a", + "name": "Outbound Only PSTN - Geographic", + "locationType": "CivicAddress", + "areaCodes": null, + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "Azure", "OutboundCalling", "ThirdPartyAppAssignment", "Geographic" ], + "maximumSearchSize": 100 + }, + { + "id": "d0d438e7-923f-4210-8e05-365979e30414", + "name": "Inbound Only PSTN - Geographic", + "locationType": "CivicAddress", + "areaCodes": null, + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "Azure", "InboundCalling", "ThirdPartyAppAssignment", "Geographic" ], + "maximumSearchSize": 100 + } + ], + "carrierDetails": null + }, + { + "id": "d47a0cdc-8dc1-4e82-a29b-39067f7fc317", + "type": "Direct", + "name": "Toll Free", + "description": "These are toll free numbers.", + "subTypes": [ + { + "id": "0fad67fb-b455-439b-9f1c-3f22bb1ea350", + "name": "2-way SMS (A2P) & Outbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "OutboundCalling", "ThirdPartyAppAssignment", "InboundA2PSms", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "a06000d2-6ec2-4202-b9ce-e6963bed12f5", + "name": "2-way SMS (A2P) & Inbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "InboundCalling", "ThirdPartyAppAssignment", "InboundA2PSms", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "3865f174-c45b-4854-a04f-90ad5c8393ed", + "name": "2-way SMS (A2P) & 2-way PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "InboundCalling", "OutboundCalling", "ThirdPartyAppAssignment", "InboundA2PSms", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "4b6d0bbb-ce5e-4937-b8c4-f04a6d74822b", + "name": "Outbound Only SMS (A2P) & Outbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "OutboundCalling", "ThirdPartyAppAssignment", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "2eb579fc-0c41-46f4-a2cc-8c550b581b7b", + "name": "Outbound Only SMS (A2P) & Inbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "InboundCalling", "ThirdPartyAppAssignment", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "0ff321c3-7320-4f64-b3db-5b5c1a363d35", + "name": "2-way SMS (A2P) - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "ThirdPartyAppAssignment", "InboundA2PSms", "OutboundA2PSms", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "fff1fa3a-e10c-40ee-9db4-178d43336757", + "name": "Outbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "ThirdPartyAppAssignment", "OutboundCalling", "TollFree" ], + "maximumSearchSize": 100 + }, + { + "id": "7c618af1-60f1-4285-ba7e-aca89a5922a5", + "name": "Inbound Only PSTN - Toll Free", + "locationType": "NotRequired", + "areaCodes": [ "888", "877", "866", "855", "844", "800", "833" ], + "locationOptions": null, + "requiresCivicAddress": false, + "blockSizes": [ 1 ], + "capabilities": [ "ThirdPartyAppAssignment", "InboundCalling", "TollFree" ], + "maximumSearchSize": 100 + } + ], + "carrierDetails": null + } + ] + } + } + } +} + diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetReleaseByIdAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetReleaseByIdAsync.json new file mode 100644 index 000000000000..8e2d80f841a1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetReleaseByIdAsync.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "orderId": "0cc077cd-333a-39fd-90f7-560b1e06c63e" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "0cc077cd-333a-39fd-90f7-560b1e06c63e" + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/GetSearchOrderAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/GetSearchOrderAsync.json new file mode 100644 index 000000000000..97976bfaad90 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/GetSearchOrderAsync.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "orderId": "0cc077cd-333a-39fd-90f7-560b1e06c63e" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "name": "Numbers for Vancouver Office", + "createdAt": "2020-06-18T17:11:52.5005818+00:00", + "createdBy": "sfbmra-dev.mtls-client.skype.net", + "description": "Get some new numbers for our office in Vancouver", + "planSubTypeId": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "areaCode": "604", + "quantity": 1, + "civicAddressId": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "locationOptions": [], + "status": "Manual", + "telephoneNumbers": [], + "reservationExpiryDate": null, + "errorCode": null, + "jobIds": [ "0cc077cd-333a-39fd-90f7-560b1e06c63e" ] + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/RemoveNumberConfigurationAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/RemoveNumberConfigurationAsync.json new file mode 100644 index 000000000000..44e7c2e8e6c2 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/RemoveNumberConfigurationAsync.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "phoneNumber": "+11234567890", + }, + "responses": { + "204": {} + } + } diff --git a/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberCapabilitiesAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberCapabilitiesAsync.json new file mode 100644 index 000000000000..502bb6e5a1cb --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberCapabilitiesAsync.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "body": { + "phoneNumbers": { + "12345878981": { + "add": [ + "InboundA2PSms", + "OutboundA2PSms" + ], + "remove": [] + }, + "12345878991": { + "add": [], + "remove": [ + "InboundA2PSms", + "OutboundA2PSms" + ] + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "0cc077cd-5337-7msf-964e-560b1e06c63e" + } + } + } +} diff --git a/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberConfigurationAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberConfigurationAsync.json new file mode 100644 index 000000000000..9e0a34149e23 --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/UpdateNumberConfigurationAsync.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "phoneNumber": "+11234567890", + "body": { + "pstnConfiguration": { + "callbackUrl": "www.callback.com", + "applicationId": "abc123" + } + } + }, + "responses": { + "204": {} + } + } diff --git a/sdk/communication/azure-communication-administration/swagger/examples/UpdateSearchOrderAsync.json b/sdk/communication/azure-communication-administration/swagger/examples/UpdateSearchOrderAsync.json new file mode 100644 index 000000000000..139fb9ee0b1f --- /dev/null +++ b/sdk/communication/azure-communication-administration/swagger/examples/UpdateSearchOrderAsync.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2020-07-20-preview1", + "orderId": "0cc077cd-333a-39fd-90f7-560b1e06c63e", + "body": { + "action": 2 + } + }, + "responses": { + "204": {} + } +} diff --git a/sdk/communication/azure-communication-administration/tests/phone_number_helper.py b/sdk/communication/azure-communication-administration/tests/phone_number_helper.py new file mode 100644 index 000000000000..445632f40c97 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/phone_number_helper.py @@ -0,0 +1,26 @@ +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from azure_devtools.scenario_tests import RecordingProcessor + +class PhoneNumberUriReplacer(RecordingProcessor): + """Replace the identity in request uri""" + + def process_request(self, request): + import re + request.uri = re.sub('/identities/([^/?]+)', '/identities/sanitized', request.uri) + return request + + def process_response(self, response): + import re + if 'url' in response: + response['url'] = re.sub('/identities/([^/?]+)', '/identities/sanitized', response['url']) + response['url'] = re.sub('phonePlanId=([^/?&]+)', 'phonePlanId=sanitized', response['url']) + response['url'] = re.sub('capabilities/([^/?&]+)', 'capabilities/sanitized', response['url']) + response['url'] = re.sub('phoneplangroups/([^/?&]+)', 'phoneplangroups/sanitized', response['url']) + response['url'] = re.sub('phoneplans/([^/?&]+)', 'phoneplans/sanitized', response['url']) + response['url'] = re.sub('releases/([^/?&]+)', 'releases/sanitized', response['url']) + response['url'] = re.sub('searches/([^/?&]+)', 'searches/sanitized', response['url']) + return response \ No newline at end of file diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml new file mode 100644 index 000000000000..16e182f33468 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_cancel_search.yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Mon, 28 Sep 2020 21:07:45 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id_to_cancel/cancel?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 21:07:46 GMT + ms-cv: + - QzclZYQsuk2dhRGLgFRISw.0 + x-processing-time: + - 1272ms + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml new file mode 100644 index 000000000000..8f491bb6ab4a --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_configure_number.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: 'b''{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}, "phoneNumber": "+1area_code_for_search4864953"}''' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '168' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 20:52:31 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: PATCH + uri: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration/configure?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 20:52:31 GMT + ms-cv: + - WNXx3LNakU6tV8xeGv33uA.0 + x-processing-time: + - 337ms + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml new file mode 100644 index 000000000000..05ee0bd63076 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_create_search.yaml @@ -0,0 +1,41 @@ +interactions: +- request: + body: 'b''b\''{"displayName": "testsearch20200014", "description": "testsearch20200014", + "phonePlanIds": ["phone_plan_id"], "areaCode": "area_code_for_search", "quantity": + 1}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 20:58:50 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches?api-version=2020-07-20-preview1 + response: + body: '{"searchId": "sanitized"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:58:51 GMT + ms-cv: + - zBQqWRmiSEyC+AsrLoxytg.0 + transfer-encoding: + - chunked + x-processing-time: + - 1555ms + status: + code: 201 + message: Created +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml new file mode 100644 index 000000000000..ac47214be402 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_all_area_codes.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 20:52:31 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/areacodes?locationType=NotRequired&phonePlanId=phone_plan_id_area_codes&api-version=2020-07-20-preview1 + response: + body: '{"primaryAreaCodes": ["833"], "secondaryAreaCodes": [], "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:31 GMT + ms-cv: + - s1K8bpPuzUG5W6OtrZE6hw.0 + transfer-encoding: + - chunked + x-processing-time: + - 570ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml new file mode 100644 index 000000000000..daf8996d7d83 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_capabilities_update.yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:32 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities/capabilities_id?api-version=2020-07-20-preview1 + response: + body: '{"capabilitiesUpdateId": "sanitized", "createdAt": "2020-09-28T17:49:13.2696607+00:00", + "capabilitiesUpdateStatus": "Complete", "phoneNumberCapabilitiesUpdates": "sanitized"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:32 GMT + ms-cv: + - T6S8W/xhekOa5x30VjpWOw.0 + transfer-encoding: + - chunked + x-processing-time: + - 562ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml new file mode 100644 index 000000000000..d5fc206076d1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_number_configuration.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: 'b''{"phoneNumber": "+1area_code_for_search4864953"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 20:52:33 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration?api-version=2020-07-20-preview1 + response: + body: '{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:32 GMT + ms-cv: + - ISrlnWt250eHg9H0U7B6gA.0 + transfer-encoding: + - chunked + x-processing-time: + - 436ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml new file mode 100644 index 000000000000..912a36aa9f0a --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_phone_plan_location_options.yaml @@ -0,0 +1,250 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:34 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/phone_plan_group_id/phoneplans/phone_plan_id/locationoptions?locale=en-US&api-version=2020-07-20-preview1 + response: + body: '{"locationOptions": {"labelId": "state", "labelName": "State", "options": + [{"name": "AK", "value": "AK", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Anchorage", "value": "NOAM-US-AK-AN", "locationOptions": + []}]}]}, {"name": "AL", "value": "AL", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Birmingham", "value": "NOAM-US-AL-BI", + "locationOptions": []}, {"name": "Huntsville", "value": "NOAM-US-AL-HN", "locationOptions": + []}, {"name": "Mobile", "value": "NOAM-US-AL-MO", "locationOptions": []}, {"name": + "Montgomery", "value": "NOAM-US-AL-MN", "locationOptions": []}]}]}, {"name": + "AR", "value": "AR", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Fort Smith", "value": "NOAM-US-AR-FS", "locationOptions": + []}, {"name": "Jonesboro", "value": "NOAM-US-AR-JO", "locationOptions": []}, + {"name": "Little Rock", "value": "NOAM-US-AR-LR", "locationOptions": []}]}]}, + {"name": "AZ", "value": "AZ", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Phoenix", "value": "NOAM-US-AZ-PH", "locationOptions": + []}]}]}, {"name": "CA", "value": "CA", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Concord", "value": "NOAM-US-CA-CO", + "locationOptions": []}, {"name": "Fresno", "value": "NOAM-US-CA-FR", "locationOptions": + []}, {"name": "Irvine", "value": "NOAM-US-CA-IR", "locationOptions": []}, {"name": + "Los Angeles", "value": "NOAM-US-CA-LA", "locationOptions": []}, {"name": "Riverside", + "value": "NOAM-US-CA-RI", "locationOptions": []}, {"name": "Sacramento", "value": + "NOAM-US-CA-SA", "locationOptions": []}, {"name": "Salinas", "value": "NOAM-US-CA-SL", + "locationOptions": []}, {"name": "San Diego", "value": "NOAM-US-CA-SD", "locationOptions": + []}, {"name": "San Francisco", "value": "NOAM-US-CA-SF", "locationOptions": + []}, {"name": "San Jose", "value": "NOAM-US-CA-SJ", "locationOptions": []}, + {"name": "Santa Barbara", "value": "NOAM-US-CA-SB", "locationOptions": []}, + {"name": "Santa Clarita", "value": "NOAM-US-CA-SC", "locationOptions": []}, + {"name": "Santa Rosa", "value": "NOAM-US-CA-SR", "locationOptions": []}, {"name": + "Stockton", "value": "NOAM-US-CA-ST", "locationOptions": []}]}]}, {"name": "CL", + "value": "CL", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Washington DC", "value": "NOAM-US-CL-DC", "locationOptions": + []}]}]}, {"name": "CO", "value": "CO", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Denver", "value": "NOAM-US-CO-DE", + "locationOptions": []}, {"name": "Grand Junction", "value": "NOAM-US-CO-GJ", + "locationOptions": []}, {"name": "Pueblo", "value": "NOAM-US-CO-PU", "locationOptions": + []}]}]}, {"name": "CT", "value": "CT", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Bridgeport", "value": "NOAM-US-CT-BR", + "locationOptions": []}, {"name": "Hartford", "value": "NOAM-US-CT-HA", "locationOptions": + []}]}]}, {"name": "DE", "value": "DE", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Wilmington", "value": "NOAM-US-DE-WI", + "locationOptions": []}]}]}, {"name": "FL", "value": "FL", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Cape Coral", + "value": "NOAM-US-FL-CC", "locationOptions": []}, {"name": "Daytona Beach", + "value": "NOAM-US-FL-DB", "locationOptions": []}, {"name": "Gainesville", "value": + "NOAM-US-FL-GA", "locationOptions": []}, {"name": "Jacksonville", "value": "NOAM-US-FL-JA", + "locationOptions": []}, {"name": "Lakeland", "value": "NOAM-US-FL-LA", "locationOptions": + []}, {"name": "Miami", "value": "NOAM-US-FL-MI", "locationOptions": []}, {"name": + "Orlando", "value": "NOAM-US-FL-OR", "locationOptions": []}, {"name": "Port + St Lucie", "value": "NOAM-US-FL-PS", "locationOptions": []}, {"name": "Sarasota", + "value": "NOAM-US-FL-SA", "locationOptions": []}, {"name": "Tallahassee", "value": + "NOAM-US-FL-TA", "locationOptions": []}, {"name": "West Palm Beach", "value": + "NOAM-US-FL-WP", "locationOptions": []}]}]}, {"name": "GA", "value": "GA", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Albany", "value": + "NOAM-US-GA-AL", "locationOptions": []}, {"name": "Atlanta", "value": "NOAM-US-GA-AT", + "locationOptions": []}, {"name": "Augusta", "value": "NOAM-US-GA-AU", "locationOptions": + []}, {"name": "Macon", "value": "NOAM-US-GA-MA", "locationOptions": []}, {"name": + "Savannah", "value": "NOAM-US-GA-SA", "locationOptions": []}]}]}, {"name": "HI", + "value": "HI", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Honolulu", "value": "NOAM-US-HI-HO", "locationOptions": + []}]}]}, {"name": "IA", "value": "IA", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Cedar Rapids", "value": "NOAM-US-IA-CR", + "locationOptions": []}, {"name": "Davenport", "value": "NOAM-US-IA-DA", "locationOptions": + []}, {"name": "Mason City", "value": "NOAM-US-IA-MC", "locationOptions": []}]}]}, + {"name": "ID", "value": "ID", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Boise", "value": "NOAM-US-ID-BO", "locationOptions": + []}]}]}, {"name": "IL", "value": "IL", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Alton", "value": "NOAM-US-IL-AL", + "locationOptions": []}, {"name": "Aurora", "value": "NOAM-US-IL-AU", "locationOptions": + []}, {"name": "Big Rock", "value": "NOAM-US-IL-BK", "locationOptions": []}, + {"name": "Champaign", "value": "NOAM-US-IL-CA", "locationOptions": []}, {"name": + "Chicago", "value": "NOAM-US-IL-CH", "locationOptions": []}, {"name": "Cicero", + "value": "NOAM-US-IL-CI", "locationOptions": []}, {"name": "Rock Island", "value": + "NOAM-US-IL-RI", "locationOptions": []}, {"name": "Waukegan", "value": "NOAM-US-IL-WK", + "locationOptions": []}]}]}, {"name": "IN", "value": "IN", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Evansville", + "value": "NOAM-US-IN-EV", "locationOptions": []}, {"name": "Fort Wayne", "value": + "NOAM-US-IN-FW", "locationOptions": []}, {"name": "Gary", "value": "NOAM-US-IN-GA", + "locationOptions": []}, {"name": "Indianapolis", "value": "NOAM-US-IN-IN", "locationOptions": + []}, {"name": "South Bend", "value": "NOAM-US-IN-SB", "locationOptions": []}]}]}, + {"name": "KS", "value": "KS", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Dodge City", "value": "NOAM-US-KS-DC", "locationOptions": + []}, {"name": "Kansas City", "value": "NOAM-US-KS-KS", "locationOptions": []}, + {"name": "Topeka", "value": "NOAM-US-KS-TO", "locationOptions": []}, {"name": + "Wichita", "value": "NOAM-US-KS-WI", "locationOptions": []}]}]}, {"name": "KY", + "value": "KY", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Ashland", "value": "NOAM-US-KY-AS", "locationOptions": + []}, {"name": "Lexington", "value": "NOAM-US-KY-LE", "locationOptions": []}, + {"name": "Louisville", "value": "NOAM-US-KY-LO", "locationOptions": []}]}]}, + {"name": "LA", "value": "LA", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Baton Rouge", "value": "NOAM-US-LA-BR", "locationOptions": + []}, {"name": "Lafayette", "value": "NOAM-US-LA-LA", "locationOptions": []}, + {"name": "New Orleans", "value": "NOAM-US-LA-NO", "locationOptions": []}, {"name": + "Shreveport", "value": "NOAM-US-LA-SH", "locationOptions": []}]}]}, {"name": + "MA", "value": "MA", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Chicopee", "value": "NOAM-US-MA-CH", "locationOptions": + []}]}]}, {"name": "MD", "value": "MD", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Bethesda", "value": "NOAM-US-MD-BE", + "locationOptions": []}]}]}, {"name": "ME", "value": "ME", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Portland", "value": + "NOAM-US-ME-PO", "locationOptions": []}]}]}, {"name": "MI", "value": "MI", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Detroit", "value": + "NOAM-US-MI-DE", "locationOptions": []}, {"name": "Flint", "value": "NOAM-US-MI-FL", + "locationOptions": []}, {"name": "Grand Rapids", "value": "NOAM-US-MI-GP", "locationOptions": + []}, {"name": "Grant", "value": "NOAM-US-MI-GR", "locationOptions": []}, {"name": + "Lansing", "value": "NOAM-US-MI-LA", "locationOptions": []}, {"name": "Saginaw", + "value": "NOAM-US-MI-SA", "locationOptions": []}, {"name": "Sault Ste Marie", + "value": "NOAM-US-MI-SS", "locationOptions": []}, {"name": "Troy", "value": + "NOAM-US-MI-TR", "locationOptions": []}]}]}, {"name": "MN", "value": "MN", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Alexandria", + "value": "NOAM-US-MN-AL", "locationOptions": []}, {"name": "Duluth", "value": + "NOAM-US-MN-DU", "locationOptions": []}, {"name": "Minneapolis", "value": "NOAM-US-MN-MI", + "locationOptions": []}, {"name": "St. Paul", "value": "NOAM-US-MN-SP", "locationOptions": + []}]}]}, {"name": "MO", "value": "MO", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Columbia", "value": "NOAM-US-MO-CO", + "locationOptions": []}, {"name": "Kansas City", "value": "NOAM-US-MO-KS", "locationOptions": + []}, {"name": "Marshall", "value": "NOAM-US-MO-MA", "locationOptions": []}, + {"name": "Springfield", "value": "NOAM-US-MO-SP", "locationOptions": []}, {"name": + "St. Charles", "value": "NOAM-US-MO-SC", "locationOptions": []}, {"name": "St. + Louis", "value": "NOAM-US-MO-SL", "locationOptions": []}]}]}, {"name": "MS", + "value": "MS", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Biloxi", "value": "NOAM-US-MS-BI", "locationOptions": + []}, {"name": "Jackson", "value": "NOAM-US-MS-JA", "locationOptions": []}, {"name": + "Starkville", "value": "NOAM-US-MS-ST", "locationOptions": []}]}]}, {"name": + "MT", "value": "MT", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Billings", "value": "NOAM-US-MT-BI", "locationOptions": + []}]}]}, {"name": "NC", "value": "NC", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Charlotte", "value": "NOAM-US-NC-CH", + "locationOptions": []}, {"name": "Fayetteville", "value": "NOAM-US-NC-FA", "locationOptions": + []}, {"name": "Greensboro", "value": "NOAM-US-NC-GR", "locationOptions": []}, + {"name": "Raleigh", "value": "NOAM-US-NC-RA", "locationOptions": []}]}]}, {"name": + "NE", "value": "NE", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Kearney", "value": "NOAM-US-NE-KE", "locationOptions": + []}, {"name": "Omaha", "value": "NOAM-US-NE-OM", "locationOptions": []}]}]}, + {"name": "NJ", "value": "NJ", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Atlantic City", "value": "NOAM-US-NJ-AC", "locationOptions": + []}, {"name": "Camden", "value": "NOAM-US-NJ-CA", "locationOptions": []}, {"name": + "Newark", "value": "NOAM-US-NJ-NE", "locationOptions": []}]}]}, {"name": "NM", + "value": "NM", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Las Cruces", "value": "NOAM-US-NM-LC", "locationOptions": + []}]}]}, {"name": "NV", "value": "NV", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Las Vegas", "value": "NOAM-US-NV-LV", + "locationOptions": []}, {"name": "Reno", "value": "NOAM-US-NV-RE", "locationOptions": + []}]}]}, {"name": "NY", "value": "NY", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Albany", "value": "NOAM-US-NY-AL", + "locationOptions": []}, {"name": "Brentwood", "value": "NOAM-US-NY-BR", "locationOptions": + []}, {"name": "Elmira", "value": "NOAM-US-NY-EL", "locationOptions": []}, {"name": + "Hempstead", "value": "NOAM-US-NY-HE", "locationOptions": []}, {"name": "Kingston", + "value": "NOAM-US-NY-KI", "locationOptions": []}, {"name": "New York City", + "value": "NOAM-US-NY-NY", "locationOptions": []}, {"name": "Niagara Falls", + "value": "NOAM-US-NY-NF", "locationOptions": []}, {"name": "Rochester", "value": + "NOAM-US-NY-RO", "locationOptions": []}, {"name": "Syracuse", "value": "NOAM-US-NY-SY", + "locationOptions": []}, {"name": "Yonkers", "value": "NOAM-US-NY-YO", "locationOptions": + []}]}]}, {"name": "OH", "value": "OH", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Akron", "value": "NOAM-US-OH-AK", + "locationOptions": []}, {"name": "Cincinnati", "value": "NOAM-US-OH-CI", "locationOptions": + []}, {"name": "Columbus", "value": "NOAM-US-OH-CO", "locationOptions": []}, + {"name": "Dayton", "value": "NOAM-US-OH-DA", "locationOptions": []}, {"name": + "Toledo", "value": "NOAM-US-OH-TO", "locationOptions": []}]}]}, {"name": "OK", + "value": "OK", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Lawton", "value": "NOAM-US-OK-LA", "locationOptions": + []}, {"name": "Oklahoma City", "value": "NOAM-US-OK-OC", "locationOptions": + []}, {"name": "Tulsa", "value": "NOAM-US-OK-TU", "locationOptions": []}]}]}, + {"name": "PA", "value": "PA", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Erie", "value": "NOAM-US-PA-ER", "locationOptions": + []}, {"name": "Lancaster", "value": "NOAM-US-PA-LA", "locationOptions": []}, + {"name": "New Castle", "value": "NOAM-US-PA-NC", "locationOptions": []}, {"name": + "Philadelphia", "value": "NOAM-US-PA-PI", "locationOptions": []}, {"name": "Pittsburgh", + "value": "NOAM-US-PA-PT", "locationOptions": []}, {"name": "Scranton", "value": + "NOAM-US-PA-SC", "locationOptions": []}]}]}, {"name": "RI", "value": "RI", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Providence", + "value": "NOAM-US-RI-PR", "locationOptions": []}]}]}, {"name": "SC", "value": + "SC", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Charleston", "value": "NOAM-US-SC-CH", "locationOptions": []}, {"name": + "Columbia", "value": "NOAM-US-SC-CO", "locationOptions": []}, {"name": "Greenville", + "value": "NOAM-US-SC-GR", "locationOptions": []}]}]}, {"name": "SD", "value": + "SD", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Sioux Falls", "value": "NOAM-US-SD-SF", "locationOptions": []}]}]}, + {"name": "TN", "value": "TN", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Chattanooga", "value": "NOAM-US-TN-CH", "locationOptions": + []}, {"name": "Clarksville", "value": "NOAM-US-TN-CL", "locationOptions": []}, + {"name": "Jackson", "value": "NOAM-US-TN-JA", "locationOptions": []}, {"name": + "Knoxville", "value": "NOAM-US-TN-KN", "locationOptions": []}, {"name": "Memphis", + "value": "NOAM-US-TN-ME", "locationOptions": []}, {"name": "Nashville", "value": + "NOAM-US-TN-NA", "locationOptions": []}]}]}, {"name": "TX", "value": "TX", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Austin", "value": + "NOAM-US-TX-AU", "locationOptions": []}, {"name": "Corpus Christi", "value": + "NOAM-US-TX-CC", "locationOptions": []}, {"name": "Denton", "value": "NOAM-US-TX-DE", + "locationOptions": []}, {"name": "El Paso", "value": "NOAM-US-TX-EP", "locationOptions": + []}, {"name": "Fort Worth", "value": "NOAM-US-TX-FW", "locationOptions": []}, + {"name": "Galveston", "value": "NOAM-US-TX-GA", "locationOptions": []}, {"name": + "Houston", "value": "NOAM-US-TX-HO", "locationOptions": []}, {"name": "Lubbock", + "value": "NOAM-US-TX-LU", "locationOptions": []}, {"name": "Odessa", "value": + "NOAM-US-TX-OD", "locationOptions": []}, {"name": "Tyler", "value": "NOAM-US-TX-TY", + "locationOptions": []}]}]}, {"name": "UT", "value": "UT", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Salt Lake City", + "value": "NOAM-US-UT-SL", "locationOptions": []}, {"name": "St. George", "value": + "NOAM-US-UT-SG", "locationOptions": []}]}]}, {"name": "VA", "value": "VA", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Lynchburg", + "value": "NOAM-US-VA-LY", "locationOptions": []}, {"name": "Richmond", "value": + "NOAM-US-VA-RI", "locationOptions": []}, {"name": "Virginia Beach", "value": + "NOAM-US-VA-VB", "locationOptions": []}]}]}, {"name": "VT", "value": "VT", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Bennington", + "value": "NOAM-US-VT-BE", "locationOptions": []}, {"name": "Brattleboro", "value": + "NOAM-US-VT-BR", "locationOptions": []}, {"name": "Burlington", "value": "NOAM-US-VT-BU", + "locationOptions": []}, {"name": "Middlebury", "value": "NOAM-US-VT-MB", "locationOptions": + []}, {"name": "Montpelier", "value": "NOAM-US-VT-MP", "locationOptions": []}, + {"name": "Newport", "value": "NOAM-US-VT-NE", "locationOptions": []}]}]}, {"name": + "WI", "value": "WI", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Green Bay", "value": "NOAM-US-WI-GB", "locationOptions": + []}, {"name": "Kenosha", "value": "NOAM-US-WI-KE", "locationOptions": []}, {"name": + "Madison", "value": "NOAM-US-WI-MA", "locationOptions": []}, {"name": "Milwaukee", + "value": "NOAM-US-WI-MI", "locationOptions": []}]}]}, {"name": "WV", "value": + "WV", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Charleston", "value": "NOAM-US-WV-CH", "locationOptions": []}]}]}, + {"name": "WY", "value": "WY", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Laramie", "value": "NOAM-US-WY-LA", "locationOptions": + []}]}]}]}}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:34 GMT + ms-cv: + - TCixofN+fEuJbhQiyFlpQw.0 + transfer-encoding: + - chunked + x-processing-time: + - 787ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml new file mode 100644 index 000000000000..7f9cbf2b510a --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_release_by_id.yaml @@ -0,0 +1,37 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:35 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases/release_id?api-version=2020-07-20-preview1 + response: + body: '{"releaseId": "sanitized", "createdAt": "2020-09-28T20:09:36.2701214+00:00", + "status": "Failed", "errorMessage": "All numbers in Failed state after BVD call", + "phoneNumberReleaseStatusDetails": "sanitized"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:35 GMT + ms-cv: + - aDDYFuvWA0C5m8vxbQZa7g.0 + transfer-encoding: + - chunked + x-processing-time: + - 350ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml new file mode 100644 index 000000000000..ffde5892579c --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_get_search_by_id.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:36 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id?api-version=2020-07-20-preview1 + response: + body: '{"searchId": "sanitized", "displayName": "mysearch20200928", "createdAt": + "2020-09-28T19:51:03.7045074+00:00", "description": "mydescription", "phonePlanIds": + "sanitized", "areaCode": "area_code_for_search", "quantity": 1, "locationOptions": + [], "status": "Error", "phoneNumbers": "sanitized", "reservationExpiryDate": + "2020-09-28T20:07:15.1891834+00:00", "errorCode": 1011}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:36 GMT + ms-cv: + - rR2LYefRZUqEC64QM4XUtA.0 + transfer-encoding: + - chunked + x-processing-time: + - 540ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml new file mode 100644 index 000000000000..e2dc5adaffd9 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_phone_numbers.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:36 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/phonenumbers?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phoneNumbers": "sanitized", "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:36 GMT + ms-cv: + - ZrnIo+1IWUm2rr4BXwpD9Q.0 + transfer-encoding: + - chunked + x-processing-time: + - 621ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml new file mode 100644 index 000000000000..5a2fdf532df1 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_releases.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:37 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases?skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"entities": "sanitized", "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:37 GMT + ms-cv: + - O7UjJU4tlkuR+ohvj2AJWw.0 + transfer-encoding: + - chunked + x-processing-time: + - 507ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml new file mode 100644 index 000000000000..b3b529132fe2 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_all_supported_countries.yaml @@ -0,0 +1,37 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:38 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"countries": [{"localizedName": "Australia", "countryCode": "AU"}, {"localizedName": + "Japan", "countryCode": "JP"}, {"localizedName": "United States", "countryCode": + "US"}], "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:39 GMT + ms-cv: + - lTXki58ix0GoWp1Q+s7suw.0 + transfer-encoding: + - chunked + x-processing-time: + - 747ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml new file mode 100644 index 000000000000..c64cf8f9b087 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plan_groups.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:39 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups?locale=en-US&includeRateInformation=false&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phonePlanGroups": "sanitized", "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:40 GMT + ms-cv: + - CV4dPbtIc0KVqCsKbegUFw.0 + transfer-encoding: + - chunked + x-processing-time: + - 600ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml new file mode 100644 index 000000000000..4161b96c1d4e --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_list_phone_plans.yaml @@ -0,0 +1,35 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Mon, 28 Sep 2020 20:52:40 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/phone_plan_group_id/phoneplans?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phonePlans": "sanitized", "nextLink": null}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:40 GMT + ms-cv: + - hM4twEJ1hkelj8JvXL9vbA.0 + transfer-encoding: + - chunked + x-processing-time: + - 545ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml new file mode 100644 index 000000000000..b0c435a51250 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_purchase_search.yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Mon, 28 Sep 2020 21:05:56 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id_to_purchase/purchase?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Mon, 28 Sep 2020 21:05:56 GMT + ms-cv: + - xwaQWMyPXkmZISlt39/8sQ.0 + x-processing-time: + - 1104ms + status: + code: 202 + message: Accepted +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml new file mode 100644 index 000000000000..6523c0d0d697 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_release_phone_numbers.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: '{"phoneNumbers": "sanitized"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '34' + Content-Type: + - application/json + Date: + - Fri, 02 Oct 2020 22:26:28 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases?api-version=2020-07-20-preview1 + response: + body: '{"releaseId": "sanitized"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Oct 2020 22:26:27 GMT + ms-cv: + - NlxnpgC8uU2r3FctCKo4VA.0 + transfer-encoding: + - chunked + x-processing-time: + - 735ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml new file mode 100644 index 000000000000..2841aff8d502 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client.test_update_capabilities.yaml @@ -0,0 +1,40 @@ +interactions: +- request: + body: 'b''{"phoneNumberCapabilitiesUpdate": {"+1area_code_for_search4864953": + {"add": []}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '64' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 20:52:41 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities?api-version=2020-07-20-preview1 + response: + body: '{"capabilitiesUpdateId": "sanitized"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Mon, 28 Sep 2020 20:52:42 GMT + ms-cv: + - 2wG6ECtNVUWh9yTw1e0F1Q.0 + transfer-encoding: + - chunked + x-processing-time: + - 882ms + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml new file mode 100644 index 000000000000..b1c09cffa120 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_cancel_search.yaml @@ -0,0 +1,25 @@ +interactions: +- request: + body: '' + headers: + Date: + - Mon, 28 Sep 2020 22:29:32 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id/cancel?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 22:29:33 GMT + ms-cv: Br5JTlNBNE66iA7S70L1xg.0 + x-processing-time: 894ms + status: + code: 202 + message: Accepted + url: https://sanitized.communication.azure.com/administration/phonenumbers/searches/sanitized/cancel?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml new file mode 100644 index 000000000000..54437a5a0e4d --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_configure_number.yaml @@ -0,0 +1,30 @@ +interactions: +- request: + body: 'b''{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}, "phoneNumber": "+1area_code_for_search4866306"}''' + headers: + Content-Length: + - '168' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:20 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: PATCH + uri: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration/configure?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 23:36:22 GMT + ms-cv: DaWW0P2dX0uW3zxujdXNZQ.0 + x-processing-time: 2855ms + status: + code: 202 + message: Accepted + url: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration/configure?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml new file mode 100644 index 000000000000..e22e20d79e0c --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_create_search.yaml @@ -0,0 +1,33 @@ +interactions: +- request: + body: 'b''b\''{"displayName": "testsearch20200014", "description": "testsearch20200014", + "phonePlanIds": ["phone_plan_id"], "areaCode": "area_code_for_search", "quantity": + 1}\''''' + headers: + Accept: + - application/json + Content-Length: + - '166' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:41:10 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches?api-version=2020-07-20-preview1 + response: + body: '{"searchId": "sanitized"}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:41:11 GMT + ms-cv: GgMka9ljgU6YI/sJAkla6A.0 + transfer-encoding: chunked + x-processing-time: 2452ms + status: + code: 201 + message: Created + url: https://sanitized.communication.azure.com/administration/phonenumbers/searches?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml new file mode 100644 index 000000000000..c7b1ea1b95c0 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_all_area_codes.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Length: + - '2' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:23 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/areacodes?locationType=NotRequired&phonePlanId=phone_plan_id_area_codes&api-version=2020-07-20-preview1 + response: + body: '{"primaryAreaCodes": ["833"], "secondaryAreaCodes": [], "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:24 GMT + ms-cv: xH2LI3yX8Uq7vldnjshP0g.0 + transfer-encoding: chunked + x-processing-time: 762ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/areacodes?locationType=NotRequired&phonePlanId=sanitized&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml new file mode 100644 index 000000000000..5bb55438d9d3 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_capabilities_update.yaml @@ -0,0 +1,28 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:24 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities/capabilities_id?api-version=2020-07-20-preview1 + response: + body: '{"capabilitiesUpdateId": "sanitized", "createdAt": "2020-09-28T17:49:13.2696607+00:00", + "capabilitiesUpdateStatus": "Complete", "phoneNumberCapabilitiesUpdates": "sanitized"}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:25 GMT + ms-cv: LDKKttbI10OoFujUhG/HEw.0 + transfer-encoding: chunked + x-processing-time: 936ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities/sanitized?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml new file mode 100644 index 000000000000..28d480278262 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_number_configuration.yaml @@ -0,0 +1,61 @@ +interactions: +- request: + body: 'b''{"phoneNumber": "+1area_code_for_search4866306"}''' + headers: + Accept: + - application/json + Content-Length: + - '31' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:26 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 23:36:35 GMT + ms-cv: qMAd5RJcGUScTUQawpDqaA.0 + x-processing-time: 9353ms + status: + code: 500 + message: Internal Server Error + url: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration?api-version=2020-07-20-preview1 +- request: + body: 'b''{"phoneNumber": "+1area_code_for_search4866306"}''' + headers: + Accept: + - application/json + Content-Length: + - '31' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:35 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration?api-version=2020-07-20-preview1 + response: + body: '{"pstnConfiguration": {"callbackUrl": "https://callbackurl", "applicationId": + "ApplicationId", "azurePstnTargetId": "AzurePstnTargetId"}}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:40 GMT + ms-cv: oSC8jj4poEK70ADvTtkOAA.0 + transfer-encoding: chunked + x-processing-time: 5461ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/numberconfiguration?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml new file mode 100644 index 000000000000..647556757ed4 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_phone_plan_location_options.yaml @@ -0,0 +1,240 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:41 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/phone_plan_group_id/phoneplans/phone_plan_id/locationoptions?locale=en-US&api-version=2020-07-20-preview1 + response: + body: '{"locationOptions": {"labelId": "state", "labelName": "State", "options": + [{"name": "AK", "value": "AK", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Anchorage", "value": "NOAM-US-AK-AN", "locationOptions": + []}]}]}, {"name": "AL", "value": "AL", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Birmingham", "value": "NOAM-US-AL-BI", + "locationOptions": []}, {"name": "Huntsville", "value": "NOAM-US-AL-HN", "locationOptions": + []}, {"name": "Mobile", "value": "NOAM-US-AL-MO", "locationOptions": []}, {"name": + "Montgomery", "value": "NOAM-US-AL-MN", "locationOptions": []}]}]}, {"name": + "AR", "value": "AR", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Fort Smith", "value": "NOAM-US-AR-FS", "locationOptions": + []}, {"name": "Jonesboro", "value": "NOAM-US-AR-JO", "locationOptions": []}, + {"name": "Little Rock", "value": "NOAM-US-AR-LR", "locationOptions": []}]}]}, + {"name": "AZ", "value": "AZ", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Phoenix", "value": "NOAM-US-AZ-PH", "locationOptions": + []}]}]}, {"name": "CA", "value": "CA", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Concord", "value": "NOAM-US-CA-CO", + "locationOptions": []}, {"name": "Fresno", "value": "NOAM-US-CA-FR", "locationOptions": + []}, {"name": "Irvine", "value": "NOAM-US-CA-IR", "locationOptions": []}, {"name": + "Los Angeles", "value": "NOAM-US-CA-LA", "locationOptions": []}, {"name": "Riverside", + "value": "NOAM-US-CA-RI", "locationOptions": []}, {"name": "Sacramento", "value": + "NOAM-US-CA-SA", "locationOptions": []}, {"name": "Salinas", "value": "NOAM-US-CA-SL", + "locationOptions": []}, {"name": "San Diego", "value": "NOAM-US-CA-SD", "locationOptions": + []}, {"name": "San Jose", "value": "NOAM-US-CA-SJ", "locationOptions": []}, + {"name": "Santa Barbara", "value": "NOAM-US-CA-SB", "locationOptions": []}, + {"name": "Santa Clarita", "value": "NOAM-US-CA-SC", "locationOptions": []}, + {"name": "Santa Rosa", "value": "NOAM-US-CA-SR", "locationOptions": []}, {"name": + "Stockton", "value": "NOAM-US-CA-ST", "locationOptions": []}]}]}, {"name": "CL", + "value": "CL", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Washington DC", "value": "NOAM-US-CL-DC", "locationOptions": + []}]}]}, {"name": "CO", "value": "CO", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Denver", "value": "NOAM-US-CO-DE", + "locationOptions": []}, {"name": "Grand Junction", "value": "NOAM-US-CO-GJ", + "locationOptions": []}, {"name": "Pueblo", "value": "NOAM-US-CO-PU", "locationOptions": + []}]}]}, {"name": "CT", "value": "CT", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Bridgeport", "value": "NOAM-US-CT-BR", + "locationOptions": []}, {"name": "Hartford", "value": "NOAM-US-CT-HA", "locationOptions": + []}]}]}, {"name": "DE", "value": "DE", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Wilmington", "value": "NOAM-US-DE-WI", + "locationOptions": []}]}]}, {"name": "FL", "value": "FL", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Cape Coral", + "value": "NOAM-US-FL-CC", "locationOptions": []}, {"name": "Gainesville", "value": + "NOAM-US-FL-GA", "locationOptions": []}, {"name": "Jacksonville", "value": "NOAM-US-FL-JA", + "locationOptions": []}, {"name": "Lakeland", "value": "NOAM-US-FL-LA", "locationOptions": + []}, {"name": "Miami", "value": "NOAM-US-FL-MI", "locationOptions": []}, {"name": + "Orlando", "value": "NOAM-US-FL-OR", "locationOptions": []}, {"name": "Port + St Lucie", "value": "NOAM-US-FL-PS", "locationOptions": []}, {"name": "Sarasota", + "value": "NOAM-US-FL-SA", "locationOptions": []}, {"name": "Tallahassee", "value": + "NOAM-US-FL-TA", "locationOptions": []}, {"name": "West Palm Beach", "value": + "NOAM-US-FL-WP", "locationOptions": []}]}]}, {"name": "GA", "value": "GA", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Albany", "value": + "NOAM-US-GA-AL", "locationOptions": []}, {"name": "Atlanta", "value": "NOAM-US-GA-AT", + "locationOptions": []}, {"name": "Augusta", "value": "NOAM-US-GA-AU", "locationOptions": + []}, {"name": "Macon", "value": "NOAM-US-GA-MA", "locationOptions": []}, {"name": + "Savannah", "value": "NOAM-US-GA-SA", "locationOptions": []}]}]}, {"name": "HI", + "value": "HI", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Honolulu", "value": "NOAM-US-HI-HO", "locationOptions": + []}]}]}, {"name": "IA", "value": "IA", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Cedar Rapids", "value": "NOAM-US-IA-CR", + "locationOptions": []}, {"name": "Davenport", "value": "NOAM-US-IA-DA", "locationOptions": + []}, {"name": "Mason City", "value": "NOAM-US-IA-MC", "locationOptions": []}]}]}, + {"name": "ID", "value": "ID", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Boise", "value": "NOAM-US-ID-BO", "locationOptions": + []}]}]}, {"name": "IL", "value": "IL", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Alton", "value": "NOAM-US-IL-AL", + "locationOptions": []}, {"name": "Aurora", "value": "NOAM-US-IL-AU", "locationOptions": + []}, {"name": "Big Rock", "value": "NOAM-US-IL-BK", "locationOptions": []}, + {"name": "Champaign", "value": "NOAM-US-IL-CA", "locationOptions": []}, {"name": + "Chicago", "value": "NOAM-US-IL-CH", "locationOptions": []}, {"name": "Cicero", + "value": "NOAM-US-IL-CI", "locationOptions": []}, {"name": "Rock Island", "value": + "NOAM-US-IL-RI", "locationOptions": []}, {"name": "Waukegan", "value": "NOAM-US-IL-WK", + "locationOptions": []}]}]}, {"name": "IN", "value": "IN", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Evansville", + "value": "NOAM-US-IN-EV", "locationOptions": []}, {"name": "Fort Wayne", "value": + "NOAM-US-IN-FW", "locationOptions": []}, {"name": "Gary", "value": "NOAM-US-IN-GA", + "locationOptions": []}, {"name": "Indianapolis", "value": "NOAM-US-IN-IN", "locationOptions": + []}, {"name": "South Bend", "value": "NOAM-US-IN-SB", "locationOptions": []}]}]}, + {"name": "KS", "value": "KS", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Dodge City", "value": "NOAM-US-KS-DC", "locationOptions": + []}, {"name": "Kansas City", "value": "NOAM-US-KS-KS", "locationOptions": []}, + {"name": "Topeka", "value": "NOAM-US-KS-TO", "locationOptions": []}, {"name": + "Wichita", "value": "NOAM-US-KS-WI", "locationOptions": []}]}]}, {"name": "KY", + "value": "KY", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Ashland", "value": "NOAM-US-KY-AS", "locationOptions": + []}, {"name": "Lexington", "value": "NOAM-US-KY-LE", "locationOptions": []}, + {"name": "Louisville", "value": "NOAM-US-KY-LO", "locationOptions": []}]}]}, + {"name": "LA", "value": "LA", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Baton Rouge", "value": "NOAM-US-LA-BR", "locationOptions": + []}, {"name": "Lafayette", "value": "NOAM-US-LA-LA", "locationOptions": []}, + {"name": "New Orleans", "value": "NOAM-US-LA-NO", "locationOptions": []}, {"name": + "Shreveport", "value": "NOAM-US-LA-SH", "locationOptions": []}]}]}, {"name": + "MA", "value": "MA", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Chicopee", "value": "NOAM-US-MA-CH", "locationOptions": + []}]}]}, {"name": "MD", "value": "MD", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Bethesda", "value": "NOAM-US-MD-BE", + "locationOptions": []}]}]}, {"name": "ME", "value": "ME", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Portland", "value": + "NOAM-US-ME-PO", "locationOptions": []}]}]}, {"name": "MI", "value": "MI", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Detroit", "value": + "NOAM-US-MI-DE", "locationOptions": []}, {"name": "Flint", "value": "NOAM-US-MI-FL", + "locationOptions": []}, {"name": "Grand Rapids", "value": "NOAM-US-MI-GP", "locationOptions": + []}, {"name": "Grant", "value": "NOAM-US-MI-GR", "locationOptions": []}, {"name": + "Lansing", "value": "NOAM-US-MI-LA", "locationOptions": []}, {"name": "Saginaw", + "value": "NOAM-US-MI-SA", "locationOptions": []}, {"name": "Sault Ste Marie", + "value": "NOAM-US-MI-SS", "locationOptions": []}, {"name": "Troy", "value": + "NOAM-US-MI-TR", "locationOptions": []}]}]}, {"name": "MN", "value": "MN", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Alexandria", + "value": "NOAM-US-MN-AL", "locationOptions": []}, {"name": "Duluth", "value": + "NOAM-US-MN-DU", "locationOptions": []}, {"name": "Minneapolis", "value": "NOAM-US-MN-MI", + "locationOptions": []}, {"name": "St. Paul", "value": "NOAM-US-MN-SP", "locationOptions": + []}]}]}, {"name": "MO", "value": "MO", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Columbia", "value": "NOAM-US-MO-CO", + "locationOptions": []}, {"name": "Kansas City", "value": "NOAM-US-MO-KS", "locationOptions": + []}, {"name": "Marshall", "value": "NOAM-US-MO-MA", "locationOptions": []}, + {"name": "Springfield", "value": "NOAM-US-MO-SP", "locationOptions": []}, {"name": + "St. Charles", "value": "NOAM-US-MO-SC", "locationOptions": []}, {"name": "St. + Louis", "value": "NOAM-US-MO-SL", "locationOptions": []}]}]}, {"name": "MS", + "value": "MS", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Biloxi", "value": "NOAM-US-MS-BI", "locationOptions": + []}, {"name": "Jackson", "value": "NOAM-US-MS-JA", "locationOptions": []}, {"name": + "Starkville", "value": "NOAM-US-MS-ST", "locationOptions": []}]}]}, {"name": + "MT", "value": "MT", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Billings", "value": "NOAM-US-MT-BI", "locationOptions": + []}]}]}, {"name": "NC", "value": "NC", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Charlotte", "value": "NOAM-US-NC-CH", + "locationOptions": []}, {"name": "Fayetteville", "value": "NOAM-US-NC-FA", "locationOptions": + []}, {"name": "Greensboro", "value": "NOAM-US-NC-GR", "locationOptions": []}, + {"name": "Raleigh", "value": "NOAM-US-NC-RA", "locationOptions": []}]}]}, {"name": + "NE", "value": "NE", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Kearney", "value": "NOAM-US-NE-KE", "locationOptions": + []}, {"name": "Omaha", "value": "NOAM-US-NE-OM", "locationOptions": []}]}]}, + {"name": "NJ", "value": "NJ", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Atlantic City", "value": "NOAM-US-NJ-AC", "locationOptions": + []}, {"name": "Camden", "value": "NOAM-US-NJ-CA", "locationOptions": []}, {"name": + "Newark", "value": "NOAM-US-NJ-NE", "locationOptions": []}]}]}, {"name": "NM", + "value": "NM", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Las Cruces", "value": "NOAM-US-NM-LC", "locationOptions": + []}]}]}, {"name": "NV", "value": "NV", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Las Vegas", "value": "NOAM-US-NV-LV", + "locationOptions": []}, {"name": "Reno", "value": "NOAM-US-NV-RE", "locationOptions": + []}]}]}, {"name": "NY", "value": "NY", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Albany", "value": "NOAM-US-NY-AL", + "locationOptions": []}, {"name": "Brentwood", "value": "NOAM-US-NY-BR", "locationOptions": + []}, {"name": "Elmira", "value": "NOAM-US-NY-EL", "locationOptions": []}, {"name": + "Hempstead", "value": "NOAM-US-NY-HE", "locationOptions": []}, {"name": "Kingston", + "value": "NOAM-US-NY-KI", "locationOptions": []}, {"name": "New York City", + "value": "NOAM-US-NY-NY", "locationOptions": []}, {"name": "Niagara Falls", + "value": "NOAM-US-NY-NF", "locationOptions": []}, {"name": "Rochester", "value": + "NOAM-US-NY-RO", "locationOptions": []}, {"name": "Syracuse", "value": "NOAM-US-NY-SY", + "locationOptions": []}, {"name": "Yonkers", "value": "NOAM-US-NY-YO", "locationOptions": + []}]}]}, {"name": "OH", "value": "OH", "locationOptions": [{"labelId": "city", + "labelName": "City", "options": [{"name": "Akron", "value": "NOAM-US-OH-AK", + "locationOptions": []}, {"name": "Cincinnati", "value": "NOAM-US-OH-CI", "locationOptions": + []}, {"name": "Columbus", "value": "NOAM-US-OH-CO", "locationOptions": []}, + {"name": "Dayton", "value": "NOAM-US-OH-DA", "locationOptions": []}, {"name": + "Toledo", "value": "NOAM-US-OH-TO", "locationOptions": []}]}]}, {"name": "OK", + "value": "OK", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Lawton", "value": "NOAM-US-OK-LA", "locationOptions": + []}, {"name": "Oklahoma City", "value": "NOAM-US-OK-OC", "locationOptions": + []}, {"name": "Tulsa", "value": "NOAM-US-OK-TU", "locationOptions": []}]}]}, + {"name": "PA", "value": "PA", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Erie", "value": "NOAM-US-PA-ER", "locationOptions": + []}, {"name": "Lancaster", "value": "NOAM-US-PA-LA", "locationOptions": []}, + {"name": "New Castle", "value": "NOAM-US-PA-NC", "locationOptions": []}, {"name": + "Philadelphia", "value": "NOAM-US-PA-PI", "locationOptions": []}, {"name": "Pittsburgh", + "value": "NOAM-US-PA-PT", "locationOptions": []}, {"name": "Scranton", "value": + "NOAM-US-PA-SC", "locationOptions": []}]}]}, {"name": "RI", "value": "RI", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Providence", + "value": "NOAM-US-RI-PR", "locationOptions": []}]}]}, {"name": "SC", "value": + "SC", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Charleston", "value": "NOAM-US-SC-CH", "locationOptions": []}, {"name": + "Columbia", "value": "NOAM-US-SC-CO", "locationOptions": []}, {"name": "Greenville", + "value": "NOAM-US-SC-GR", "locationOptions": []}]}]}, {"name": "SD", "value": + "SD", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Sioux Falls", "value": "NOAM-US-SD-SF", "locationOptions": []}]}]}, + {"name": "TN", "value": "TN", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Chattanooga", "value": "NOAM-US-TN-CH", "locationOptions": + []}, {"name": "Clarksville", "value": "NOAM-US-TN-CL", "locationOptions": []}, + {"name": "Jackson", "value": "NOAM-US-TN-JA", "locationOptions": []}, {"name": + "Knoxville", "value": "NOAM-US-TN-KN", "locationOptions": []}, {"name": "Memphis", + "value": "NOAM-US-TN-ME", "locationOptions": []}, {"name": "Nashville", "value": + "NOAM-US-TN-NA", "locationOptions": []}]}]}, {"name": "TX", "value": "TX", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Austin", "value": + "NOAM-US-TX-AU", "locationOptions": []}, {"name": "Corpus Christi", "value": + "NOAM-US-TX-CC", "locationOptions": []}, {"name": "Denton", "value": "NOAM-US-TX-DE", + "locationOptions": []}, {"name": "El Paso", "value": "NOAM-US-TX-EP", "locationOptions": + []}, {"name": "Fort Worth", "value": "NOAM-US-TX-FW", "locationOptions": []}, + {"name": "Galveston", "value": "NOAM-US-TX-GA", "locationOptions": []}, {"name": + "Houston", "value": "NOAM-US-TX-HO", "locationOptions": []}, {"name": "Lubbock", + "value": "NOAM-US-TX-LU", "locationOptions": []}, {"name": "Odessa", "value": + "NOAM-US-TX-OD", "locationOptions": []}, {"name": "Tyler", "value": "NOAM-US-TX-TY", + "locationOptions": []}]}]}, {"name": "UT", "value": "UT", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Salt Lake City", + "value": "NOAM-US-UT-SL", "locationOptions": []}, {"name": "St. George", "value": + "NOAM-US-UT-SG", "locationOptions": []}]}]}, {"name": "VA", "value": "VA", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Lynchburg", + "value": "NOAM-US-VA-LY", "locationOptions": []}, {"name": "Richmond", "value": + "NOAM-US-VA-RI", "locationOptions": []}, {"name": "Virginia Beach", "value": + "NOAM-US-VA-VB", "locationOptions": []}]}]}, {"name": "VT", "value": "VT", "locationOptions": + [{"labelId": "city", "labelName": "City", "options": [{"name": "Bennington", + "value": "NOAM-US-VT-BE", "locationOptions": []}, {"name": "Brattleboro", "value": + "NOAM-US-VT-BR", "locationOptions": []}, {"name": "Burlington", "value": "NOAM-US-VT-BU", + "locationOptions": []}, {"name": "Middlebury", "value": "NOAM-US-VT-MB", "locationOptions": + []}, {"name": "Montpelier", "value": "NOAM-US-VT-MP", "locationOptions": []}, + {"name": "Newport", "value": "NOAM-US-VT-NE", "locationOptions": []}]}]}, {"name": + "WI", "value": "WI", "locationOptions": [{"labelId": "city", "labelName": "City", + "options": [{"name": "Green Bay", "value": "NOAM-US-WI-GB", "locationOptions": + []}, {"name": "Kenosha", "value": "NOAM-US-WI-KE", "locationOptions": []}, {"name": + "Madison", "value": "NOAM-US-WI-MA", "locationOptions": []}, {"name": "Milwaukee", + "value": "NOAM-US-WI-MI", "locationOptions": []}]}]}, {"name": "WV", "value": + "WV", "locationOptions": [{"labelId": "city", "labelName": "City", "options": + [{"name": "Charleston", "value": "NOAM-US-WV-CH", "locationOptions": []}]}]}, + {"name": "WY", "value": "WY", "locationOptions": [{"labelId": "city", "labelName": + "City", "options": [{"name": "Laramie", "value": "NOAM-US-WY-LA", "locationOptions": + []}]}]}]}}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:41 GMT + ms-cv: 8nUq6GVatEacy/p8kiqRCw.0 + transfer-encoding: chunked + x-processing-time: 686ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/sanitized/phoneplans/sanitized/locationoptions?locale=en-US&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml new file mode 100644 index 000000000000..8c436e502d75 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_release_by_id.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:42 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases/release_id?api-version=2020-07-20-preview1 + response: + body: '{"releaseId": "sanitized", "createdAt": "2020-09-28T20:09:36.2701214+00:00", + "status": "Failed", "errorMessage": "All numbers in Failed state after BVD call", + "phoneNumberReleaseStatusDetails": "sanitized"}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:42 GMT + ms-cv: yVEMC2mXsEyHauZmq0ZFPA.0 + transfer-encoding: chunked + x-processing-time: 459ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/releases/sanitized?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml new file mode 100644 index 000000000000..2ca06363cb93 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_get_search_by_id.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:43 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id?api-version=2020-07-20-preview1 + response: + body: '{"searchId": "sanitized", "displayName": "mysearch20200928", "createdAt": + "2020-09-28T23:34:32.3360015+00:00", "description": "mydescription", "phonePlanIds": + "sanitized", "areaCode": "area_code_for_search", "quantity": 1, "locationOptions": + [], "status": "Reserved", "phoneNumbers": "sanitized", "reservationExpiryDate": + "2020-09-28T23:50:49.3839544+00:00"}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:43 GMT + ms-cv: P1zGoqpgT06fkeq8C6+pcw.0 + transfer-encoding: chunked + x-processing-time: 742ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/searches/sanitized?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml new file mode 100644 index 000000000000..d7800f27b062 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_phone_numbers.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:44 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/phonenumbers?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phoneNumbers": "sanitized", "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:44 GMT + ms-cv: EH2E1Zka+EGFjbPr6TUNYA.0 + transfer-encoding: chunked + x-processing-time: 595ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/phonenumbers?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml new file mode 100644 index 000000000000..aa78b029dece --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_releases.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:44 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases?skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"entities": "sanitized", "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:45 GMT + ms-cv: II5poJgvcUGGyAE6o/9qOA.0 + transfer-encoding: chunked + x-processing-time: 706ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/releases?skip=0&take=100&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml new file mode 100644 index 000000000000..c97cec973db3 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_all_supported_countries.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:45 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"countries": [{"localizedName": "Australia", "countryCode": "AU"}, {"localizedName": + "Japan", "countryCode": "JP"}, {"localizedName": "United States", "countryCode": + "US"}], "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:46 GMT + ms-cv: CVi9HTPzcEeEqH7obRf9tA.0 + transfer-encoding: chunked + x-processing-time: 901ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/countries?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml new file mode 100644 index 000000000000..1138d9616585 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plan_groups.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:47 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups?locale=en-US&includeRateInformation=false&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phonePlanGroups": "sanitized", "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:47 GMT + ms-cv: 2JfFR8NjR06p3+cz6Rcc4w.0 + transfer-encoding: chunked + x-processing-time: 519ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups?locale=en-US&includeRateInformation=false&skip=0&take=100&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml new file mode 100644 index 000000000000..23f015234396 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_list_phone_plans.yaml @@ -0,0 +1,27 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:48 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: GET + uri: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/phone_plan_group_id/phoneplans?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 + response: + body: '{"phonePlans": "sanitized", "nextLink": null}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:48 GMT + ms-cv: qCvIQBx7mEev7YmmcSTSPQ.0 + transfer-encoding: chunked + x-processing-time: 583ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/countries/US/phoneplangroups/sanitized/phoneplans?locale=en-US&skip=0&take=100&api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml new file mode 100644 index 000000000000..57b89ebc1547 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_purchase_search.yaml @@ -0,0 +1,25 @@ +interactions: +- request: + body: '' + headers: + Date: + - Mon, 28 Sep 2020 23:23:44 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/searches/search_id_to_purchase/purchase?api-version=2020-07-20-preview1 + response: + body: + string: '' + headers: + content-length: '0' + date: Mon, 28 Sep 2020 23:23:45 GMT + ms-cv: vznK/aE7iECofyT07WWRFQ.0 + x-processing-time: 1402ms + status: + code: 202 + message: Accepted + url: https://sanitized.communication.azure.com/administration/phonenumbers/searches/sanitized/purchase?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml new file mode 100644 index 000000000000..555ece0bf35d --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_release_phone_numbers.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: '{"phoneNumbers": "sanitized"}' + headers: + Accept: + - application/json + Content-Length: + - '34' + Content-Type: + - application/json + Date: + - Fri, 02 Oct 2020 22:24:33 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/releases?api-version=2020-07-20-preview1 + response: + body: '{"releaseId": "sanitized"}' + headers: + content-type: application/json; charset=utf-8 + date: Fri, 02 Oct 2020 22:24:32 GMT + ms-cv: m6zSFyuKqkaYNOWKqeSZRg.0 + transfer-encoding: chunked + x-processing-time: 606ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/releases?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml new file mode 100644 index 000000000000..d851620517bd --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/recordings/test_phone_number_administration_client_async.test_update_capabilities.yaml @@ -0,0 +1,32 @@ +interactions: +- request: + body: 'b''{"phoneNumberCapabilitiesUpdate": {"+1area_code_for_search4866306": + {"add": []}}}''' + headers: + Accept: + - application/json + Content-Length: + - '64' + Content-Type: + - application/json + Date: + - Mon, 28 Sep 2020 23:36:48 GMT + User-Agent: + - azsdk-python-communication-administration/1.0.0b1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities?api-version=2020-07-20-preview1 + response: + body: '{"capabilitiesUpdateId": "sanitized"}' + headers: + content-type: application/json; charset=utf-8 + date: Mon, 28 Sep 2020 23:36:49 GMT + ms-cv: 6rr7snA3ek6iPySfBZZvHw.0 + transfer-encoding: chunked + x-processing-time: 1177ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/administration/phonenumbers/capabilities?api-version=2020-07-20-preview1 +version: 1 diff --git a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py new file mode 100644 index 000000000000..2f09606584ae --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client.py @@ -0,0 +1,261 @@ +# 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. +# -------------------------------------------------------------------------- +import pytest +import os +from azure.communication.administration import ( + PhoneNumberAdministrationClient, + PstnConfiguration, + NumberUpdateCapabilities, + CreateSearchOptions +) +from phone_number_helper import PhoneNumberUriReplacer +from _shared.testcase import ( + CommunicationTestCase, + BodyReplacerProcessor +) + +class PhoneNumberAdministrationClientTest(CommunicationTestCase): + + def setUp(self): + super(PhoneNumberAdministrationClientTest, self).setUp() + self.recording_processors.extend([ + BodyReplacerProcessor( + keys=["id", "token", "capabilitiesUpdateId", "phoneNumber", "phonePlanIds", + "phoneNumberCapabilitiesUpdates", "releaseId", + "phoneNumberReleaseStatusDetails", "searchId", "phoneNumbers", + "entities", "phonePlanGroups", "phonePlans", "phoneNumberCapabilitiesUpdate"] + ), + PhoneNumberUriReplacer()]) + self._phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string( + self.connection_str) + if self.is_live: + self.country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE') + self.locale = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_LOCALE') + self.phone_plan_group_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID') + self.phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID') + self.phone_plan_id_area_codes = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES') + self.area_code_for_search = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH') + self.search_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID') + self.search_id_to_purchase = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE') + self.search_id_to_cancel = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL') + self.phonenumber_to_configure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE') + self.phonenumber_to_get_config = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_GET_CONFIG') + self.phonenumber_to_unconfigure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_UNCONFIGURE') + self.phonenumber_for_capabilities = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES') + self.phonenumber_to_release = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_RELEASE') + self.capabilities_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID') + self.release_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID') + self.scrubber.register_name_pair( + self.phone_plan_group_id, + "phone_plan_group_id" + ) + self.scrubber.register_name_pair( + self.phone_plan_id, + "phone_plan_id" + ) + self.scrubber.register_name_pair( + self.phone_plan_id_area_codes, + "phone_plan_id_area_codes" + ) + self.scrubber.register_name_pair( + self.area_code_for_search, + "area_code_for_search" + ) + self.scrubber.register_name_pair( + self.search_id, + "search_id" + ) + self.scrubber.register_name_pair( + self.search_id_to_purchase, + "search_id_to_purchase" + ) + self.scrubber.register_name_pair( + self.search_id_to_cancel, + "search_id_to_cancel" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_configure, + "phonenumber_to_configure" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_get_config, + "phonenumber_to_get_config" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_unconfigure, + "phonenumber_to_unconfigure" + ) + self.scrubber.register_name_pair( + self.phonenumber_for_capabilities, + "phonenumber_for_capabilities" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_release, + "phonenumber_to_release" + ) + self.scrubber.register_name_pair( + self.capabilities_id, + "capabilities_id" + ) + self.scrubber.register_name_pair( + self.release_id, + "release_id" + ) + else: + self.connection_str = "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===" + self.country_code = "US" + self.locale = "en-us" + self.phone_plan_group_id = "phone_plan_group_id" + self.phone_plan_id = "phone_plan_id" + self.phone_plan_id_area_codes = "phone_plan_id_area_codes" + self.area_code_for_search = "area_code_for_search" + self.search_id = "search_id" + self.search_id_to_purchase = "search_id_to_purchase" + self.search_id_to_cancel = "search_id_to_cancel" + self.phonenumber_to_configure = "phonenumber_to_configure" + self.phonenumber_to_get_config = "phonenumber_to_get_config" + self.phonenumber_to_unconfigure = "phonenumber_to_unconfigure" + self.phonenumber_for_capabilities = "phonenumber_for_capabilities" + self.phonenumber_to_release = "phonenumber_to_release" + self.capabilities_id = "capabilities_id" + self.release_id = "release_id" + + @pytest.mark.live_test_only + def test_list_all_phone_numbers(self): + pages = self._phone_number_administration_client.list_all_phone_numbers() + assert pages.next() + + @pytest.mark.live_test_only + def test_get_all_area_codes(self): + area_codes = self._phone_number_administration_client.get_all_area_codes( + location_type="NotRequired", + country_code=self.country_code, + phone_plan_id=self.phone_plan_id_area_codes + ) + assert area_codes.primary_area_codes + + @pytest.mark.live_test_only + def test_get_capabilities_update(self): + capability_response = self._phone_number_administration_client.get_capabilities_update( + capabilities_update_id=self.capabilities_id + ) + assert capability_response.capabilities_update_id + + @pytest.mark.live_test_only + def test_update_capabilities(self): + update = NumberUpdateCapabilities(add=iter(["InboundCalling"])) + + phone_number_capabilities_update = { + self.phonenumber_for_capabilities: update + } + + capability_response = self._phone_number_administration_client.update_capabilities( + phone_number_capabilities_update=phone_number_capabilities_update + ) + assert capability_response.capabilities_update_id + + @pytest.mark.live_test_only + def test_list_all_supported_countries(self): + countries = self._phone_number_administration_client.list_all_supported_countries() + assert countries.next().localized_name + + @pytest.mark.live_test_only + def test_get_number_configuration(self): + phone_number_response = self._phone_number_administration_client.get_number_configuration( + phone_number=self.phonenumber_to_get_config + ) + assert phone_number_response.pstn_configuration + + @pytest.mark.live_test_only + def test_configure_number(self): + pstnConfig = PstnConfiguration( + callback_url="https://callbackurl", + application_id="ApplicationId" + ) + configure_number_response = self._phone_number_administration_client.configure_number( + pstn_configuration=pstnConfig, + phone_number=self.phonenumber_to_configure + ) + assert not configure_number_response + + @pytest.mark.live_test_only + def test_list_phone_plan_groups(self): + phone_plan_group_response = self._phone_number_administration_client.list_phone_plan_groups( + country_code=self.country_code + ) + assert phone_plan_group_response.next().phone_plan_group_id + + @pytest.mark.live_test_only + def test_list_phone_plans(self): + phone_plan_response = self._phone_number_administration_client.list_phone_plans( + country_code=self.country_code, + phone_plan_group_id=self.phone_plan_group_id + ) + assert phone_plan_response.next().phone_plan_id + + @pytest.mark.live_test_only + def test_get_phone_plan_location_options(self): + location_options_response = self._phone_number_administration_client.get_phone_plan_location_options( + country_code=self.country_code, + phone_plan_group_id=self.phone_plan_group_id, + phone_plan_id=self.phone_plan_id + ) + assert location_options_response.location_options.label_id + + @pytest.mark.live_test_only + def test_get_release_by_id(self): + phone_number_release_response = self._phone_number_administration_client.get_release_by_id( + release_id=self.release_id + ) + assert phone_number_release_response.release_id + + @pytest.mark.live_test_only + def test_list_all_releases(self): + releases_response = self._phone_number_administration_client.list_all_releases() + assert releases_response.next().id + + @pytest.mark.live_test_only + def test_release_phone_numbers(self): + releases_response = self._phone_number_administration_client.release_phone_numbers( + [self.phonenumber_to_release] + ) + assert releases_response.release_id + + @pytest.mark.live_test_only + def test_get_search_by_id(self): + phone_number_search_response = self._phone_number_administration_client.get_search_by_id( + search_id=self.search_id + ) + assert phone_number_search_response.search_id + + @pytest.mark.live_test_only + def test_create_search(self): + searchOptions = CreateSearchOptions( + area_code=self.area_code_for_search, + description="testsearch20200014", + display_name="testsearch20200014", + phone_plan_ids=[self.phone_plan_id], + quantity=1 + ) + search_response = self._phone_number_administration_client.create_search( + body=searchOptions + ) + assert search_response.search_id + + @pytest.mark.live_test_only + def test_cancel_search(self): + cancel_search_response = self._phone_number_administration_client.cancel_search( + search_id=self.search_id_to_cancel + ) + assert not cancel_search_response + + @pytest.mark.live_test_only + def test_purchase_search(self): + purchase_search_response = self._phone_number_administration_client.purchase_search( + search_id=self.search_id_to_purchase + ) + assert not purchase_search_response diff --git a/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py new file mode 100644 index 000000000000..f831124390d0 --- /dev/null +++ b/sdk/communication/azure-communication-administration/tests/test_phone_number_administration_client_async.py @@ -0,0 +1,319 @@ +# 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. +# -------------------------------------------------------------------------- +import pytest +from azure.communication.administration.aio import PhoneNumberAdministrationClient +from azure.communication.administration import ( + PstnConfiguration, + NumberUpdateCapabilities, + CreateSearchOptions +) +from phone_number_helper import PhoneNumberUriReplacer +from _shared.asynctestcase import ( + AsyncCommunicationTestCase +) +from _shared.testcase import BodyReplacerProcessor, ResponseReplacerProcessor +import os + +class PhoneNumberAdministrationClientTestAsync(AsyncCommunicationTestCase): + + def setUp(self): + super(PhoneNumberAdministrationClientTestAsync, self).setUp() + self.recording_processors.extend([ + BodyReplacerProcessor( + keys=["id", "token", "capabilitiesUpdateId", "phoneNumber", "phonePlanIds", + "phoneNumberCapabilitiesUpdates", "releaseId", + "phoneNumberReleaseStatusDetails", "searchId", "phoneNumbers", + "entities", "phonePlanGroups", "phonePlans", "phoneNumberCapabilitiesUpdate"] + ), + PhoneNumberUriReplacer(), + ResponseReplacerProcessor(keys=[self._resource_name])]) + self._phone_number_administration_client = PhoneNumberAdministrationClient.from_connection_string( + self.connection_str) + if self.is_live: + self.country_code = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_COUNTRY_CODE') + self.locale = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_LOCALE') + self.phone_plan_group_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_GROUP_ID') + self.phone_plan_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID') + self.phone_plan_id_area_codes = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONE_PLAN_ID_AREA_CODES') + self.area_code_for_search = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_AREA_CODE_FOR_SEARCH') + self.search_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID') + self.search_id_to_purchase = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_PURCHASE') + self.search_id_to_cancel = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_SEARCH_ID_TO_CANCEL') + self.phonenumber_to_configure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_CONFIGURE') + self.phonenumber_to_get_config = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_GET_CONFIG') + self.phonenumber_to_unconfigure = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_UNCONFIGURE') + self.phonenumber_for_capabilities = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_FOR_CAPABILITIES') + self.phonenumber_to_release = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_PHONENUMBER_TO_RELEASE') + self.capabilities_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_CAPABILITIES_ID') + self.release_id = os.getenv('AZURE_COMMUNICATION_SERVICE_PHONENUMBERS_RELEASE_ID') + self.scrubber.register_name_pair( + self.phone_plan_group_id, + "phone_plan_group_id" + ) + self.scrubber.register_name_pair( + self.phone_plan_id, + "phone_plan_id" + ) + self.scrubber.register_name_pair( + self.phone_plan_id_area_codes, + "phone_plan_id_area_codes" + ) + self.scrubber.register_name_pair( + self.area_code_for_search, + "area_code_for_search" + ) + self.scrubber.register_name_pair( + self.search_id, + "search_id" + ) + self.scrubber.register_name_pair( + self.search_id_to_purchase, + "search_id_to_purchase" + ) + self.scrubber.register_name_pair( + self.search_id_to_cancel, + "search_id_to_cancel" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_configure, + "phonenumber_to_configure" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_get_config, + "phonenumber_to_get_config" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_unconfigure, + "phonenumber_to_unconfigure" + ) + self.scrubber.register_name_pair( + self.phonenumber_for_capabilities, + "phonenumber_for_capabilities" + ) + self.scrubber.register_name_pair( + self.phonenumber_to_release, + "phonenumber_to_release" + ) + self.scrubber.register_name_pair( + self.capabilities_id, + "capabilities_id" + ) + self.scrubber.register_name_pair( + self.release_id, + "release_id" + ) + else: + self.connection_str = "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===" + self.country_code = "US" + self.locale = "en-us" + self.phone_plan_group_id = "phone_plan_group_id" + self.phone_plan_id = "phone_plan_id" + self.phone_plan_id_area_codes = "phone_plan_id_area_codes" + self.area_code_for_search = "area_code_for_search" + self.search_id = "search_id" + self.search_id_to_purchase = "search_id_to_purchase" + self.search_id_to_cancel = "search_id_to_cancel" + self.phonenumber_to_configure = "phonenumber_to_configure" + self.phonenumber_to_get_config = "phonenumber_to_get_config" + self.phonenumber_to_unconfigure = "phonenumber_to_unconfigure" + self.phonenumber_for_capabilities = "phonenumber_for_capabilities" + self.phonenumber_to_release = "phonenumber_to_release" + self.capabilities_id = "capabilities_id" + self.release_id = "release_id" + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_list_all_phone_numbers(self): + async with self._phone_number_administration_client: + pages = self._phone_number_administration_client.list_all_phone_numbers() + + items = [] + async for item in pages: + items.append(item) + assert len(items) > 0 + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_all_area_codes(self): + async with self._phone_number_administration_client: + area_codes = await self._phone_number_administration_client.get_all_area_codes( + location_type="NotRequired", + country_code=self.country_code, + phone_plan_id=self.phone_plan_id_area_codes + ) + assert area_codes.primary_area_codes + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_capabilities_update(self): + async with self._phone_number_administration_client: + capability_response = await self._phone_number_administration_client.get_capabilities_update( + capabilities_update_id=self.capabilities_id + ) + assert capability_response.capabilities_update_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_update_capabilities(self): + update = NumberUpdateCapabilities(add=iter(["InboundCalling"])) + + phone_number_capabilities_update = { + self.phonenumber_for_capabilities: update + } + + async with self._phone_number_administration_client: + capability_response = await self._phone_number_administration_client.update_capabilities( + phone_number_capabilities_update=phone_number_capabilities_update + ) + assert capability_response.capabilities_update_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_list_all_supported_countries(self): + async with self._phone_number_administration_client: + countries = self._phone_number_administration_client.list_all_supported_countries() + items = [] + async for item in countries: + items.append(item) + self.assertGreater(len(items), 0) + assert items[0].localized_name + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_number_configuration(self): + async with self._phone_number_administration_client: + phone_number_response = await self._phone_number_administration_client.get_number_configuration( + phone_number=self.phonenumber_to_get_config + ) + assert phone_number_response.pstn_configuration + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_configure_number(self): + pstnConfig = PstnConfiguration( + callback_url="https://callbackurl", + application_id="ApplicationId" + ) + async with self._phone_number_administration_client: + configure_number_response = await self._phone_number_administration_client.configure_number( + pstn_configuration=pstnConfig, + phone_number=self.phonenumber_to_configure + ) + assert not configure_number_response + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_list_phone_plan_groups(self): + async with self._phone_number_administration_client: + phone_plan_group_response = self._phone_number_administration_client.list_phone_plan_groups( + country_code=self.country_code + ) + + items = [] + async for item in phone_plan_group_response: + items.append(item) + assert len(items) > 0 + assert items[0].phone_plan_group_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_list_phone_plans(self): + async with self._phone_number_administration_client: + phone_plan_response = self._phone_number_administration_client.list_phone_plans( + country_code=self.country_code, + phone_plan_group_id=self.phone_plan_group_id + ) + + items = [] + async for item in phone_plan_response: + items.append(item) + assert len(items) > 0 + assert items[0].phone_plan_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_phone_plan_location_options(self): + async with self._phone_number_administration_client: + location_options_response = await self._phone_number_administration_client.get_phone_plan_location_options( + country_code=self.country_code, + phone_plan_group_id=self.phone_plan_group_id, + phone_plan_id=self.phone_plan_id + ) + assert location_options_response.location_options.label_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_release_by_id(self): + async with self._phone_number_administration_client: + phone_number_release_response = await self._phone_number_administration_client.get_release_by_id( + release_id=self.release_id + ) + assert phone_number_release_response.release_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_list_all_releases(self): + async with self._phone_number_administration_client: + releases_response = self._phone_number_administration_client.list_all_releases() + + items = [] + async for item in releases_response: + items.append(item) + self.assertGreater(len(items), 0) + assert items[0].id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_release_phone_numbers(self): + async with self._phone_number_administration_client: + releases_response = await self._phone_number_administration_client.release_phone_numbers( + [self.phonenumber_to_release] + ) + assert releases_response.release_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_get_search_by_id(self): + async with self._phone_number_administration_client: + phone_number_search_response = await self._phone_number_administration_client.get_search_by_id( + search_id=self.search_id + ) + assert phone_number_search_response.search_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_create_search(self): + searchOptions = CreateSearchOptions( + area_code=self.area_code_for_search, + description="testsearch20200014", + display_name="testsearch20200014", + phone_plan_ids=[self.phone_plan_id], + quantity=1 + ) + async with self._phone_number_administration_client: + search_response = await self._phone_number_administration_client.create_search( + body=searchOptions + ) + assert search_response.search_id + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_cancel_search(self): + async with self._phone_number_administration_client: + cancel_search_response = await self._phone_number_administration_client.cancel_search( + search_id=self.search_id_to_cancel + ) + assert not cancel_search_response + + @AsyncCommunicationTestCase.await_prepared_test + @pytest.mark.live_test_only + async def test_purchase_search(self): + async with self._phone_number_administration_client: + purchase_search_response = await self._phone_number_administration_client.purchase_search( + search_id=self.search_id_to_purchase + ) + assert not purchase_search_response diff --git a/sdk/communication/tests.yml b/sdk/communication/tests.yml index 34a16acfea6c..dfa72f6c02f7 100644 --- a/sdk/communication/tests.yml +++ b/sdk/communication/tests.yml @@ -9,4 +9,3 @@ jobs: EnvVars: AZURE_TEST_RUN_LIVE: 'true' AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING: $(python-communication-connection-string) - PHONE_NUMBER: $(python-communication-phone-number) \ No newline at end of file From 2549ec0d6c84703891c5a9e19027da79ede5e3b9 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 5 Oct 2020 10:38:17 -0700 Subject: [PATCH 70/71] Increment version for appconfiguration releases (#14245) Increment package version after release of azure_appconfiguration --- sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md | 3 +++ .../azure-appconfiguration/azure/appconfiguration/_version.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md index 659ab2e681a3..4c9cf31ac19e 100644 --- a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md @@ -3,6 +3,9 @@ ------------------- +## 1.1.2 (Unreleased) + + ## 1.1.1 (2020-10-05) ### Features diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py index 373777a19de0..40d308564e4d 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.1.1" +VERSION = "1.1.2" From e8cb47007a6ae6bdb6db0070064a3ee74a134dd6 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Mon, 5 Oct 2020 11:02:44 -0700 Subject: [PATCH 71/71] move the environment prep above the tooling that needs it (#14246) --- eng/pipelines/templates/steps/test_regression.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/templates/steps/test_regression.yml b/eng/pipelines/templates/steps/test_regression.yml index 1fba92c816f4..23b8ad2c9360 100644 --- a/eng/pipelines/templates/steps/test_regression.yml +++ b/eng/pipelines/templates/steps/test_regression.yml @@ -15,6 +15,10 @@ steps: artifactName: 'artifacts' targetPath: $(Build.ArtifactStagingDirectory) + - script: | + pip install -r eng/ci_tools.txt + displayName: 'Prep Environment' + - template: ../steps/set-dev-build.yml parameters: ServiceDirectory: ${{ parameters.ServiceDirectory }} @@ -25,10 +29,6 @@ steps: parameters: DevFeedName: ${{ parameters.DevFeedName }} - - script: | - pip install -r eng/ci_tools.txt - displayName: 'Prep Environment' - - task: PythonScript@0 displayName: 'Test Latest Released Dependents' inputs: